GNU Octave  6.2.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
figure::properties Class Reference

#include "graphics.in.h"

Inheritance diagram for figure::properties:
Collaboration diagram for figure::properties:

Public Member Functions

virtual void add_listener (const caseless_str &, const octave_value &, listener_mode=GCB_POSTSET)
 
void adopt (const graphics_handle &h)
 
Matrix bbox2position (const Matrix &bbox) const
 
array_property closereq color_property color_property (color_values(1, 1, 1), radio_values("none")) array_property colormap
 
virtual void delete_children (bool clear=false, bool from_root=false)
 
virtual void delete_listener (const caseless_str &, const octave_value &, listener_mode=GCB_POSTSET)
 
std::set< std::string > dynamic_property_names (void) const
 
virtual octave_value get (bool all=false) const
 
virtual octave_value get (const caseless_str &pname) const
 
virtual octave_value get (const char *pname) const
 
virtual octave_value get (const std::string &pname) const
 
virtual octave_value get_alim (void) const
 
Matrix get_all_children (void) const
 
Matrix get_boundingbox (bool internal=false, const Matrix &parent_pix_size=Matrix()) const
 
Matrix get_children (void) const
 
void get_children_of_type (const caseless_str &type, bool get_invisible, bool traverse, std::list< graphics_object > &children_list) const
 
virtual octave_value get_clim (void) const
 
Matrix get_hidden_children (void) const
 
virtual property get_property (const caseless_str &pname)
 
std::string get_title (void) const
 
octave::graphics_toolkit get_toolkit (void) const
 
virtual octave_value get_xlim (void) const
 
virtual octave_value get_ylim (void) const
 
virtual octave_value get_zlim (void) const
 
array_property closereq color_property handle_property currentobject graphics_handle () array_property currentpoint r
 
array_property closereq color_property graphics_handle () string_property currentcharacter r
 
virtual std::string graphics_object_name (void) const
 
bool has_dynamic_property (const std::string &pname) const
 
virtual bool has_property (const caseless_str &) const
 
void init_integerhandle (const octave_value &val)
 
void insert_property (const std::string &name, property p)
 
virtual bool is_aliminclude (void) const
 
virtual bool is_climinclude (void) const
 
bool is_handle_visible (void) const
 
bool is_modified (void) const
 
virtual bool is_xliminclude (void) const
 
virtual bool is_yliminclude (void) const
 
virtual bool is_zliminclude (void) const
 
Matrix map_from_boundingbox (double x, double y) const
 
Matrix map_to_boundingbox (double x, double y) const
 
void mark_modified (void)
 
array_property Matrix () callback_property closerequestfcn
 
array_property closereq color_property handle_property currentobject off string_property bool_property on bool_property integerhandle on bool_property on callback_property Matrix () callback_property keyreleasefcn
 
array_property closereq color_property handle_property currentobject off string_property bool_property on bool_property integerhandle on bool_property on callback_property Matrix () radio_property menubar
 
array_property closereq color_property handle_property currentobject Matrix (2, 1, 0) bool_property dockcontrols
 
array_property Matrix (64, 1, 1) callback_property buttondownfcn
 
void override_defaults (base_graphics_object &obj)
 
void remove_child (const graphics_handle &h, bool from_root=false)
 
void renumber_child (graphics_handle old_gh, graphics_handle new_gh)
 
void renumber_parent (graphics_handle new_gh)
 
void reparent (const graphics_handle &new_parent)
 
virtual void set (const caseless_str &, const octave_value &)
 
void set___graphics_toolkit__ (const octave_value &val)
 
void set___modified__ (const octave_value &val)
 
void set_beingdeleted (const octave_value &val)
 
void set_boundingbox (const Matrix &bb, bool internal=false, bool do_notify_toolkit=true)
 
void set_from_list (base_graphics_object &obj, property_list &defaults)
 
void set_modified (const octave_value &val)
 
void set_outerposition (const octave_value &val, bool do_notify_toolkit=true)
 
void set_parent (const octave_value &val)
 
void set_position (const octave_value &val, bool do_notify_toolkit=true)
 
void set_tag (const octave_value &val)
 
void set_toolkit (const octave::graphics_toolkit &b)
 
void set_visible (const octave_value &val)
 
virtual void update_autopos (const std::string &elem_type)
 
virtual void update_axis_limits (const std::string &axis_type) const
 
virtual void update_axis_limits (const std::string &axis_type, const graphics_handle &h) const
 
virtual void update_boundingbox (void)
 
void update_paperunits (const caseless_str &old_paperunits)
 
virtual void update_uicontextmenu (void) const
 
void update_units (const caseless_str &old_units)
 
array_property closereq color_property viridis_colormap () handle_property currentaxes S
 

Static Public Member Functions

static property_list::pval_map_type factory_defaults (void)
 

Public Attributes

array_property alphamap
 
array_property closereq color_property color
 
array_property closereq color_property handle_property currentobject off string_property filename
 
array_property closereq color_property handle_property currentobject off string_property bool_property graphicssmoothing
 
array_property closereq color_property handle_property currentobject off string_property bool_property on bool_property integerhandle on bool_property inverthardcopy
 
array_property closereq color_property handle_property currentobject off string_property bool_property on bool_property integerhandle on bool_property on callback_property keypressfcn
 
array_property closereq color_property handle_property currentobject r
 
array_property closereq color_property handle_property currentobject off string_property bool_property on bool_property integerhandle S
 

Protected Member Functions

octave_value get_dynamic (bool all=false) const
 
octave_value get_dynamic (const caseless_str &pname) const
 
property get_property_dynamic (const caseless_str &pname) const
 
void set_dynamic (const caseless_str &pname, const octave_value &val)
 

Protected Attributes

BEGIN_BASE_PROPERTIES bool_property beingdeleted off radio_property busyaction
 
std::set< std::string > dynamic_properties
 
BEGIN_BASE_PROPERTIES bool_property beingdeleted s
 

Detailed Description

Definition at line 3100 of file graphics.in.h.

Member Function Documentation

◆ add_listener()

void base_properties::add_listener ( const caseless_str pname,
const octave_value val,
listener_mode  mode = GCB_POSTSET 
)
virtualinherited

Definition at line 3621 of file graphics.cc.

◆ adopt()

void figure::properties::adopt ( const graphics_handle h)
virtual

◆ bbox2position()

Matrix figure::properties::bbox2position ( const Matrix bbox) const

Definition at line 4271 of file graphics.cc.

References convert_position(), and screen_size_pixels().

Referenced by QtHandles::Figure::updateBoundingBox().

◆ color_property()

array_property closereq color_property figure::properties::color_property ( color_values(1, 1, 1)  ,
radio_values("none")   
)

◆ delete_children()

virtual void base_properties::delete_children ( bool  clear = false,
bool  from_root = false 
)
inlinevirtualinherited

Definition at line 2327 of file graphics.in.h.

Referenced by gh_manager::free().

◆ delete_listener()

void base_properties::delete_listener ( const caseless_str pname,
const octave_value val,
listener_mode  mode = GCB_POSTSET 
)
virtualinherited

Definition at line 3632 of file graphics.cc.

Referenced by do_cleanup_waitfor_listener().

◆ dynamic_property_names()

std::set< std::string > base_properties::dynamic_property_names ( void  ) const
inherited

Definition at line 3338 of file graphics.cc.

◆ factory_defaults()

◆ get() [1/4]

virtual octave_value base_properties::get ( bool  all = false) const
virtualinherited

◆ get() [2/4]

virtual octave_value base_properties::get ( const caseless_str pname) const
virtualinherited

◆ get() [3/4]

virtual octave_value base_properties::get ( const char *  pname) const
inlinevirtualinherited

Definition at line 2229 of file graphics.in.h.

◆ get() [4/4]

virtual octave_value base_properties::get ( const std::string &  pname) const
inlinevirtualinherited

Definition at line 2224 of file graphics.in.h.

◆ get_alim()

virtual octave_value base_properties::get_alim ( void  ) const
inlinevirtualinherited

Definition at line 2349 of file graphics.in.h.

References octave_value().

Referenced by axes::update_axis_limits(), and hggroup::update_axis_limits().

◆ get_all_children()

◆ get_boundingbox()

Matrix figure::properties::get_boundingbox ( bool  internal = false,
const Matrix parent_pix_size = Matrix () 
) const
virtual

Reimplemented from base_properties.

Definition at line 4254 of file graphics.cc.

References convert_position(), and screen_size_pixels().

Referenced by QtHandles::Figure::Figure(), and QtHandles::Figure::update().

◆ get_children()

◆ get_children_of_type()

void base_properties::get_children_of_type ( const caseless_str type,
bool  get_invisible,
bool  traverse,
std::list< graphics_object > &  children_list 
) const
inherited

◆ get_clim()

virtual octave_value base_properties::get_clim ( void  ) const
inlinevirtualinherited

Definition at line 2350 of file graphics.in.h.

References octave_value().

Referenced by axes::update_axis_limits(), and hggroup::update_axis_limits().

◆ get_dynamic() [1/2]

octave_value base_properties::get_dynamic ( bool  all = false) const
protectedinherited

Definition at line 3325 of file graphics.cc.

References m.

◆ get_dynamic() [2/2]

octave_value base_properties::get_dynamic ( const caseless_str pname) const
protectedinherited

Definition at line 3313 of file graphics.cc.

References error().

◆ get_hidden_children()

Matrix base_properties::get_hidden_children ( void  ) const
inlineinherited

Definition at line 2302 of file graphics.in.h.

◆ get_property()

◆ get_property_dynamic()

property base_properties::get_property_dynamic ( const caseless_str pname) const
protectedinherited

Definition at line 3371 of file graphics.cc.

References error().

◆ get_title()

std::string figure::properties::get_title ( void  ) const

Definition at line 5004 of file graphics.cc.

Referenced by axes::initialize(), and QtHandles::Figure::update().

◆ get_toolkit()

octave::graphics_toolkit figure::properties::get_toolkit ( void  ) const
virtual

Reimplemented from base_properties.

Definition at line 4179 of file graphics.cc.

Referenced by set_event::execute(), F__show_figure__(), and Fdrawnow().

◆ get_xlim()

virtual octave_value base_properties::get_xlim ( void  ) const
inlinevirtualinherited

◆ get_ylim()

virtual octave_value base_properties::get_ylim ( void  ) const
inlinevirtualinherited

◆ get_zlim()

virtual octave_value base_properties::get_zlim ( void  ) const
inlinevirtualinherited

Definition at line 2353 of file graphics.in.h.

References octave_value().

Referenced by axes::update_axis_limits(), and hggroup::update_axis_limits().

◆ graphics_handle() [1/2]

array_property closereq color_property handle_property currentobject figure::properties::graphics_handle ( )

◆ graphics_handle() [2/2]

array_property closereq color_property figure::properties::graphics_handle ( )

◆ graphics_object_name()

virtual std::string base_properties::graphics_object_name ( void  ) const
inlinevirtualinherited

◆ has_dynamic_property()

bool base_properties::has_dynamic_property ( const std::string &  pname) const
inherited

Definition at line 3344 of file graphics.cc.

Referenced by Fwaitfor().

◆ has_property()

virtual bool base_properties::has_property ( const caseless_str ) const
inlinevirtualinherited

◆ init_integerhandle()

void figure::properties::init_integerhandle ( const octave_value val)
inlinevirtual

Reimplemented from base_properties.

Definition at line 3103 of file graphics.in.h.

◆ insert_property()

void base_properties::insert_property ( const std::string &  name,
property  p 
)
inlineinherited

Definition at line 2213 of file graphics.in.h.

References name, property::set_name(), and property::set_parent().

Referenced by Faddproperty().

◆ is_aliminclude()

virtual bool base_properties::is_aliminclude ( void  ) const
inlinevirtualinherited

Reimplemented in surface::properties, patch::properties, and image::properties.

Definition at line 2355 of file graphics.in.h.

◆ is_climinclude()

virtual bool base_properties::is_climinclude ( void  ) const
inlinevirtualinherited

Reimplemented in surface::properties, patch::properties, and image::properties.

Definition at line 2356 of file graphics.in.h.

◆ is_handle_visible()

bool base_properties::is_handle_visible ( void  ) const
inherited

Definition at line 3505 of file graphics.cc.

References callback_props::empty(), and executing_callbacks.

◆ is_modified()

bool base_properties::is_modified ( void  ) const
inlineinherited

Definition at line 2247 of file graphics.in.h.

Referenced by Fdrawnow().

◆ is_xliminclude()

virtual bool base_properties::is_xliminclude ( void  ) const
inlinevirtualinherited

Definition at line 2357 of file graphics.in.h.

◆ is_yliminclude()

virtual bool base_properties::is_yliminclude ( void  ) const
inlinevirtualinherited

Definition at line 2358 of file graphics.in.h.

◆ is_zliminclude()

virtual bool base_properties::is_zliminclude ( void  ) const
inlinevirtualinherited

Definition at line 2359 of file graphics.in.h.

◆ map_from_boundingbox()

Matrix figure::properties::map_from_boundingbox ( double  x,
double  y 
) const

Definition at line 4297 of file graphics.cc.

References convert_position(), Matrix::extract_n(), and x.

◆ map_to_boundingbox()

Matrix figure::properties::map_to_boundingbox ( double  x,
double  y 
) const

Definition at line 4314 of file graphics.cc.

References convert_position(), Matrix::extract_n(), and x.

◆ mark_modified()

void base_properties::mark_modified ( void  )
inherited

◆ Matrix() [1/5]

array_property figure::properties::Matrix ( void  )

Referenced by set_toolkit().

◆ Matrix() [2/5]

array_property closereq color_property handle_property currentobject off string_property bool_property on bool_property integerhandle on bool_property on callback_property figure::properties::Matrix ( void  )

◆ Matrix() [3/5]

array_property closereq color_property handle_property currentobject off string_property bool_property on bool_property integerhandle on bool_property on callback_property figure::properties::Matrix ( void  )

◆ Matrix() [4/5]

array_property closereq color_property handle_property currentobject figure::properties::Matrix ( ,
,
 
)

◆ Matrix() [5/5]

array_property figure::properties::Matrix ( 64  ,
,
 
)

◆ override_defaults()

void base_properties::override_defaults ( base_graphics_object obj)
inherited

◆ remove_child()

void figure::properties::remove_child ( const graphics_handle h,
bool  from_root = false 
)
virtual

◆ renumber_child()

void base_properties::renumber_child ( graphics_handle  old_gh,
graphics_handle  new_gh 
)
inlineinherited

Definition at line 2332 of file graphics.in.h.

◆ renumber_parent()

void base_properties::renumber_parent ( graphics_handle  new_gh)
inlineinherited

Definition at line 2337 of file graphics.in.h.

◆ reparent()

void base_properties::reparent ( const graphics_handle new_parent)
inlineinherited

Definition at line 2315 of file graphics.in.h.

◆ set()

◆ set___graphics_toolkit__()

◆ set___modified__()

void base_properties::set___modified__ ( const octave_value val)
inlineinherited

Definition at line 2313 of file graphics.in.h.

◆ set_beingdeleted()

void base_properties::set_beingdeleted ( const octave_value val)
inlineinherited

Definition at line 2282 of file graphics.in.h.

Referenced by gh_manager::free().

◆ set_boundingbox()

void figure::properties::set_boundingbox ( const Matrix bb,
bool  internal = false,
bool  do_notify_toolkit = true 
)

Definition at line 4284 of file graphics.cc.

References screen_size_pixels().

◆ set_dynamic()

void base_properties::set_dynamic ( const caseless_str pname,
const octave_value val 
)
protectedinherited

Definition at line 3355 of file graphics.cc.

References error(), and base_graphics_object::mark_modified().

◆ set_from_list()

void base_properties::set_from_list ( base_graphics_object obj,
property_list defaults 
)
inherited

◆ set_modified()

void base_properties::set_modified ( const octave_value val)
inlineinherited

Definition at line 2311 of file graphics.in.h.

Referenced by Fdrawnow().

◆ set_outerposition()

void figure::properties::set_outerposition ( const octave_value val,
bool  do_notify_toolkit = true 
)

Definition at line 4369 of file graphics.cc.

References base_graphics_object::mark_modified().

Referenced by set_event::execute().

◆ set_parent()

◆ set_position()

void figure::properties::set_position ( const octave_value val,
bool  do_notify_toolkit = true 
)

◆ set_tag()

void base_properties::set_tag ( const octave_value val)
inlineinherited

Definition at line 2288 of file graphics.in.h.

◆ set_toolkit()

void figure::properties::set_toolkit ( const octave::graphics_toolkit b)

◆ set_visible()

void figure::properties::set_visible ( const octave_value val)

Definition at line 4243 of file graphics.cc.

References octave_value::string_value(), and xset().

◆ update_autopos()

void base_properties::update_autopos ( const std::string &  elem_type)
virtualinherited

◆ update_axis_limits() [1/2]

void base_properties::update_axis_limits ( const std::string &  axis_type) const
virtualinherited

◆ update_axis_limits() [2/2]

void base_properties::update_axis_limits ( const std::string &  axis_type,
const graphics_handle h 
) const
virtualinherited

◆ update_boundingbox()

◆ update_paperunits()

void figure::properties::update_paperunits ( const caseless_str old_paperunits)

Definition at line 4681 of file graphics.cc.

References caseless_str::compare(), and papersize_from_type().

◆ update_uicontextmenu()

◆ update_units()

void figure::properties::update_units ( const caseless_str old_units)

Definition at line 4979 of file graphics.cc.

References convert_position(), and screen_size_pixels().

◆ viridis_colormap()

array_property closereq color_property figure::properties::viridis_colormap ( )

Member Data Documentation

◆ alphamap

array_property figure::properties::alphamap

Definition at line 3149 of file graphics.in.h.

◆ busyaction

BEGIN_BASE_PROPERTIES bool_property beingdeleted off radio_property base_properties::busyaction
protectedinherited

Definition at line 2381 of file graphics.in.h.

◆ color

array_property closereq color_property figure::properties::color

Definition at line 3152 of file graphics.in.h.

◆ dynamic_properties

std::set<std::string> base_properties::dynamic_properties
protectedinherited

Definition at line 2368 of file graphics.in.h.

◆ filename

array_property closereq color_property handle_property currentobject off string_property figure::properties::filename

Definition at line 3159 of file graphics.in.h.

◆ graphicssmoothing

array_property closereq color_property handle_property currentobject off string_property bool_property figure::properties::graphicssmoothing

Definition at line 3160 of file graphics.in.h.

◆ inverthardcopy

array_property closereq color_property handle_property currentobject off string_property bool_property on bool_property integerhandle on bool_property figure::properties::inverthardcopy

Definition at line 3162 of file graphics.in.h.

◆ keypressfcn

array_property closereq color_property handle_property currentobject off string_property bool_property on bool_property integerhandle on bool_property on callback_property figure::properties::keypressfcn

Definition at line 3163 of file graphics.in.h.

◆ r

array_property closereq color_property handle_property currentobject figure::properties::r

Definition at line 3156 of file graphics.in.h.

◆ s

BEGIN_BASE_PROPERTIES bool_property beingdeleted base_properties::s
protectedinherited

Definition at line 2380 of file graphics.in.h.

◆ S

array_property closereq color_property handle_property currentobject off string_property bool_property on bool_property integerhandle figure::properties::S

Definition at line 3161 of file graphics.in.h.


The documentation for this class was generated from the following files: