#include "graphics.h"
Public Types | |
enum | { ID_COLOR = 4000 , ID_DISPLAYNAME = 4001 , ID_LINEJOIN = 4002 , ID_LINESTYLE = 4003 , ID_LINEWIDTH = 4004 , ID_MARKER = 4005 , ID_MARKEREDGECOLOR = 4006 , ID_MARKERFACECOLOR = 4007 , ID_MARKERSIZE = 4008 , ID_XDATA = 4009 , ID_XDATASOURCE = 4010 , ID_YDATA = 4011 , ID_YDATASOURCE = 4012 , ID_ZDATA = 4013 , ID_ZDATASOURCE = 4014 , ID_XLIM = 4015 , ID_YLIM = 4016 , ID_ZLIM = 4017 , ID_XLIMINCLUDE = 4018 , ID_YLIMINCLUDE = 4019 , ID_ZLIMINCLUDE = 4020 } |
Public Types inherited from base_properties | |
enum | { ID_BEINGDELETED = 0 , ID_BUSYACTION = 1 , ID_BUTTONDOWNFCN = 2 , ID_CHILDREN = 3 , ID_CLIPPING = 4 , ID_CONTEXTMENU = 5 , ID_CREATEFCN = 6 , ID_DELETEFCN = 7 , ID_HANDLEVISIBILITY = 8 , ID_HITTEST = 9 , ID_INTERRUPTIBLE = 10 , ID_PARENT = 11 , ID_PICKABLEPARTS = 12 , ID_SELECTED = 13 , ID_SELECTIONHIGHLIGHT = 14 , ID_TAG = 15 , ID_TYPE = 16 , ID_UICONTEXTMENU = 17 , ID_USERDATA = 18 , ID_VISIBLE = 19 , ID___APPDATA__ = 20 , ID___MODIFIED__ = 21 , ID___MYHANDLE__ = 22 } |
Public Member Functions | |
properties ()=delete | |
properties (const graphics_handle &mh, const graphics_handle &p) | |
~properties ()=default | |
std::set< std::string > | all_property_names () const |
bool | color_is (const std::string &v) const |
bool | color_is_rgb () const |
octave_value | get (bool all=false) const |
octave_value | get (const caseless_str &pname) const |
octave_value | get (const char *pname) const |
octave_value | get (const std::string &pname) const |
octave_value | get_color () const |
Matrix | get_color_rgb () const |
std::string | get_displayname () const |
std::string | get_linejoin () const |
std::string | get_linestyle () const |
double | get_linewidth () const |
std::string | get_marker () const |
octave_value | get_markeredgecolor () const |
Matrix | get_markeredgecolor_rgb () const |
octave_value | get_markerfacecolor () const |
Matrix | get_markerfacecolor_rgb () const |
double | get_markersize () const |
property | get_property (const caseless_str &pname) |
octave_value | get_xdata () const |
std::string | get_xdatasource () const |
octave_value | get_xlim () const |
std::string | get_xliminclude () const |
octave_value | get_ydata () const |
std::string | get_ydatasource () const |
octave_value | get_ylim () const |
std::string | get_yliminclude () const |
octave_value | get_zdata () const |
std::string | get_zdatasource () const |
octave_value | get_zlim () const |
std::string | get_zliminclude () const |
std::string | graphics_object_name () const |
bool | has_property (const caseless_str &pname) const |
bool | is_xliminclude () const |
bool | is_yliminclude () const |
bool | is_zliminclude () const |
bool | linejoin_is (const std::string &v) const |
bool | linestyle_is (const std::string &v) const |
bool | marker_is (const std::string &v) const |
bool | markeredgecolor_is (const std::string &v) const |
bool | markeredgecolor_is_rgb () const |
bool | markerfacecolor_is (const std::string &v) const |
bool | markerfacecolor_is_rgb () const |
void | set (const caseless_str &pname, const octave_value &val) |
void | set_color (const octave_value &val) |
void | set_displayname (const octave_value &val) |
void | set_linejoin (const octave_value &val) |
void | set_linestyle (const octave_value &val) |
void | set_linewidth (const octave_value &val) |
void | set_marker (const octave_value &val) |
void | set_markeredgecolor (const octave_value &val) |
void | set_markerfacecolor (const octave_value &val) |
void | set_markersize (const octave_value &val) |
void | set_xdata (const octave_value &val) |
void | set_xdatasource (const octave_value &val) |
void | set_xlim (const octave_value &val) |
void | set_xliminclude (const octave_value &val) |
void | set_ydata (const octave_value &val) |
void | set_ydatasource (const octave_value &val) |
void | set_ylim (const octave_value &val) |
void | set_yliminclude (const octave_value &val) |
void | set_zdata (const octave_value &val) |
void | set_zdatasource (const octave_value &val) |
void | set_zlim (const octave_value &val) |
void | set_zliminclude (const octave_value &val) |
Public Member Functions inherited from base_properties | |
base_properties (const std::string &ty="unknown", const graphics_handle &mh=graphics_handle(), const graphics_handle &p=graphics_handle()) | |
virtual | ~base_properties ()=default |
virtual void | add_listener (const caseless_str &, const octave_value &, listener_mode=GCB_POSTSET) |
virtual void | adopt (const graphics_handle &h) |
std::set< std::string > | all_property_names () const |
bool | busyaction_is (const std::string &v) const |
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 () const |
void | execute_buttondownfcn (const octave_value &new_data=octave_value()) const |
void | execute_createfcn (const octave_value &new_data=octave_value()) const |
void | execute_deletefcn (const octave_value &new_data=octave_value()) const |
octave_value | get___appdata__ () const |
std::string | get___modified__ () const |
graphics_handle | get___myhandle__ () const |
virtual octave_value | get_alim () const |
Matrix | get_all_children () const |
std::string | get_beingdeleted () const |
virtual Matrix | get_boundingbox (bool=false, const Matrix &=Matrix()) const |
std::string | get_busyaction () const |
octave_value | get_buttondownfcn () const |
Matrix | get_children () 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 () const |
std::string | get_clipping () const |
graphics_handle | get_contextmenu () const |
octave_value | get_createfcn () const |
octave_value | get_deletefcn () const |
std::string | get_handlevisibility () const |
Matrix | get_hidden_children () const |
std::string | get_hittest () const |
std::string | get_interruptible () const |
graphics_handle | get_parent () const |
std::string | get_pickableparts () const |
std::string | get_selected () const |
std::string | get_selectionhighlight () const |
std::string | get_tag () const |
virtual octave::graphics_toolkit | get_toolkit () const |
std::string | get_type () const |
graphics_handle | get_uicontextmenu () const |
octave_value | get_userdata () const |
std::string | get_visible () const |
bool | handlevisibility_is (const std::string &v) const |
bool | has_dynamic_property (const std::string &pname) const |
virtual void | init_integerhandle (const octave_value &) |
void | insert_property (const std::string &name, property p) |
bool | is___modified__ () const |
virtual bool | is_aliminclude () const |
bool | is_beingdeleted () const |
virtual bool | is_climinclude () const |
bool | is_clipping () const |
bool | is_handle_visible () const |
bool | is_hittest () const |
bool | is_interruptible () const |
bool | is_modified () const |
bool | is_selected () const |
bool | is_selectionhighlight () const |
bool | is_visible () const |
void | mark_modified () |
void | override_defaults (base_graphics_object &obj) |
bool | pickableparts_is (const std::string &v) const |
virtual void | remove_child (const graphics_handle &h, bool=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) |
void | set___appdata__ (const octave_value &val) |
void | set___modified__ (const octave_value &val) |
void | set_beingdeleted (const octave_value &val) |
void | set_busyaction (const octave_value &val) |
void | set_buttondownfcn (const octave_value &val) |
void | set_children (const octave_value &val) |
void | set_clipping (const octave_value &val) |
void | set_contextmenu (const octave_value &val) |
void | set_createfcn (const octave_value &val) |
void | set_deletefcn (const octave_value &val) |
void | set_from_list (base_graphics_object &obj, property_list &defaults) |
void | set_handlevisibility (const octave_value &val) |
void | set_hittest (const octave_value &val) |
void | set_interruptible (const octave_value &val) |
void | set_modified (const octave_value &val) |
void | set_parent (const octave_value &val) |
void | set_pickableparts (const octave_value &val) |
void | set_selected (const octave_value &val) |
void | set_selectionhighlight (const octave_value &val) |
void | set_tag (const octave_value &val) |
void | set_uicontextmenu (const octave_value &val) |
void | set_userdata (const octave_value &val) |
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_beingdeleted () |
virtual void | update_boundingbox () |
virtual void | update_contextmenu () const |
virtual void | update_handlevisibility () |
virtual void | update_visible () |
Static Public Member Functions | |
static std::set< std::string > | core_property_names () |
static property_list::pval_map_type | factory_defaults () |
static bool | has_core_property (const caseless_str &pname) |
static bool | has_readonly_property (const caseless_str &pname) |
static std::set< std::string > | readonly_property_names () |
Static Public Member Functions inherited from base_properties | |
static std::set< std::string > | core_property_names () |
static property_list::pval_map_type | factory_defaults () |
static bool | has_core_property (const caseless_str &pname) |
static bool | has_readonly_property (const caseless_str &pname) |
static std::set< std::string > | readonly_property_names () |
Protected Member Functions | |
void | init () |
Protected Member Functions inherited from base_properties | |
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) |
Definition at line 7300 of file graphics.h.
anonymous enum |
Definition at line 7383 of file graphics.h.
line::properties::properties | ( | const graphics_handle & | mh, |
const graphics_handle & | p | ||
) |
Definition at line 3131 of file graphics-props.cc.
|
delete |
|
default |
std::set< std::string > line::properties::all_property_names | ( | ) | const |
Definition at line 3495 of file graphics-props.cc.
References base_properties::all_property_names().
|
inline |
Definition at line 7409 of file graphics.h.
References color_property::is().
Referenced by opengl_renderer::draw_line().
|
inline |
Definition at line 7408 of file graphics.h.
References color_property::is_rgb().
|
static |
Definition at line 3417 of file graphics-props.cc.
References base_properties::core_property_names().
|
static |
Definition at line 3385 of file graphics-props.cc.
References base_properties::factory_defaults(), and m.
|
virtual |
Reimplemented from base_properties.
Definition at line 3239 of file graphics-props.cc.
References base_properties::get(), m, and octave_value::map_value().
|
virtual |
Reimplemented from base_properties.
Definition at line 3275 of file graphics-props.cc.
|
inlinevirtual |
Reimplemented from base_properties.
Definition at line 7328 of file graphics.h.
|
inlinevirtual |
Reimplemented from base_properties.
Definition at line 7323 of file graphics.h.
|
inline |
Definition at line 7411 of file graphics.h.
References color_property::get().
|
inline |
Definition at line 7410 of file graphics.h.
References color_property::is_rgb(), and color_property::rgb().
Referenced by opengl_renderer::draw_line().
|
inline |
Definition at line 7413 of file graphics.h.
References string_property::string_value().
|
inline |
Definition at line 7416 of file graphics.h.
References radio_property::current_value().
Referenced by opengl_renderer::draw_line().
|
inline |
Definition at line 7419 of file graphics.h.
References radio_property::current_value().
Referenced by opengl_renderer::draw_line().
|
inline |
Definition at line 7421 of file graphics.h.
References double_property::double_value().
Referenced by opengl_renderer::draw_line().
|
inline |
Definition at line 7424 of file graphics.h.
References radio_property::current_value().
Referenced by opengl_renderer::draw_line().
|
inline |
Definition at line 7429 of file graphics.h.
References color_property::get().
|
inline |
Definition at line 7428 of file graphics.h.
References color_property::is_rgb(), and color_property::rgb().
Referenced by opengl_renderer::draw_line().
|
inline |
Definition at line 7434 of file graphics.h.
References color_property::get().
|
inline |
Definition at line 7433 of file graphics.h.
References color_property::is_rgb(), and color_property::rgb().
Referenced by opengl_renderer::draw_line().
|
inline |
Definition at line 7436 of file graphics.h.
References double_property::double_value().
Referenced by opengl_renderer::draw_line().
|
virtual |
Reimplemented from base_properties.
Definition at line 3332 of file graphics-props.cc.
|
inline |
Definition at line 7438 of file graphics.h.
References array_property::get().
Referenced by opengl_renderer::draw_line().
|
inline |
Definition at line 7440 of file graphics.h.
References string_property::string_value().
|
inlinevirtual |
Reimplemented from base_properties.
Definition at line 7450 of file graphics.h.
References array_property::get().
|
inline |
Definition at line 7457 of file graphics.h.
References radio_property::current_value().
|
inline |
Definition at line 7442 of file graphics.h.
References array_property::get().
Referenced by opengl_renderer::draw_line().
|
inline |
Definition at line 7444 of file graphics.h.
References string_property::string_value().
|
inlinevirtual |
Reimplemented from base_properties.
Definition at line 7452 of file graphics.h.
References array_property::get().
|
inline |
Definition at line 7460 of file graphics.h.
References radio_property::current_value().
|
inline |
Definition at line 7446 of file graphics.h.
References array_property::get().
Referenced by opengl_renderer::draw_line().
|
inline |
Definition at line 7448 of file graphics.h.
References string_property::string_value().
|
inlinevirtual |
Reimplemented from base_properties.
Definition at line 7454 of file graphics.h.
References array_property::get().
|
inline |
Definition at line 7463 of file graphics.h.
References radio_property::current_value().
|
inlinevirtual |
Reimplemented from base_properties.
Definition at line 7335 of file graphics.h.
|
static |
Definition at line 3457 of file graphics-props.cc.
Referenced by property_list::set().
|
virtual |
Reimplemented from base_properties.
Definition at line 3507 of file graphics-props.cc.
|
static |
Definition at line 3487 of file graphics-props.cc.
|
inlineprotectedvirtual |
Reimplemented from base_properties.
Definition at line 7651 of file graphics.h.
References double_property::add_constraint().
|
inlinevirtual |
Reimplemented from base_properties.
Definition at line 7456 of file graphics.h.
References bool_property::is_on().
|
inlinevirtual |
Reimplemented from base_properties.
Definition at line 7459 of file graphics.h.
References bool_property::is_on().
|
inlinevirtual |
Reimplemented from base_properties.
Definition at line 7462 of file graphics.h.
References bool_property::is_on().
|
inline |
Definition at line 7415 of file graphics.h.
References radio_property::is().
|
inline |
Definition at line 7418 of file graphics.h.
References radio_property::is().
Referenced by opengl_renderer::draw_line().
|
inline |
Definition at line 7423 of file graphics.h.
References radio_property::is().
Referenced by opengl_renderer::draw_line().
|
inline |
Definition at line 7427 of file graphics.h.
References color_property::is().
Referenced by opengl_renderer::draw_line().
|
inline |
Definition at line 7426 of file graphics.h.
References color_property::is_rgb().
|
inline |
Definition at line 7432 of file graphics.h.
References color_property::is().
Referenced by opengl_renderer::draw_line().
|
inline |
Definition at line 7431 of file graphics.h.
References color_property::is_rgb().
|
static |
Definition at line 3465 of file graphics-props.cc.
References base_properties::readonly_property_names().
|
virtual |
Reimplemented from base_properties.
Definition at line 3186 of file graphics-props.cc.
|
inline |
Definition at line 7466 of file graphics.h.
References base_property::set().
|
inline |
Definition at line 7474 of file graphics.h.
References base_property::set().
|
inline |
Definition at line 7482 of file graphics.h.
References base_property::set().
|
inline |
Definition at line 7490 of file graphics.h.
References base_property::set().
|
inline |
Definition at line 7498 of file graphics.h.
References base_property::set().
|
inline |
Definition at line 7506 of file graphics.h.
References base_property::set().
|
inline |
Definition at line 7514 of file graphics.h.
References base_property::set().
|
inline |
Definition at line 7522 of file graphics.h.
References base_property::set().
|
inline |
Definition at line 7530 of file graphics.h.
References base_property::set().
|
inline |
Definition at line 7538 of file graphics.h.
References base_property::set().
|
inline |
Definition at line 7547 of file graphics.h.
References base_property::set().
|
inline |
Definition at line 7589 of file graphics.h.
References GCB_POSTSET, base_property::run_listeners(), and base_property::set().
|
inline |
Definition at line 7619 of file graphics.h.
References GCB_POSTSET, base_property::run_listeners(), and base_property::set().
|
inline |
Definition at line 7555 of file graphics.h.
References base_property::set().
|
inline |
Definition at line 7564 of file graphics.h.
References base_property::set().
|
inline |
Definition at line 7599 of file graphics.h.
References GCB_POSTSET, base_property::run_listeners(), and base_property::set().
|
inline |
Definition at line 7629 of file graphics.h.
References GCB_POSTSET, base_property::run_listeners(), and base_property::set().
|
inline |
Definition at line 7572 of file graphics.h.
References base_property::set().
|
inline |
Definition at line 7581 of file graphics.h.
References base_property::set().
|
inline |
Definition at line 7609 of file graphics.h.
References GCB_POSTSET, base_property::run_listeners(), and base_property::set().
|
inline |
Definition at line 7639 of file graphics.h.
References GCB_POSTSET, base_property::run_listeners(), and base_property::set().