GNU Octave
4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "graphics.h"
Classes | |
class | properties |
Public Member Functions | |
axes (const graphics_handle &mh, const graphics_handle &p) | |
axes (const graphics_handle &mh, const graphics_handle &p) | |
~axes (void) | |
~axes (void) | |
virtual void | add_property_listener (const std::string &nm, const octave_value &v, listener_mode mode=POSTSET) |
virtual void | add_property_listener (const std::string &nm, const octave_value &v, listener_mode mode=POSTSET) |
virtual void | adopt (const graphics_handle &h) |
virtual void | adopt (const graphics_handle &h) |
void | build_user_defaults_map (property_list::pval_map_type &def, const std::string go_name) const |
void | build_user_defaults_map (property_list::pval_map_type &def, const std::string go_name) const |
virtual void | defaults (void) const |
virtual void | defaults (void) const |
virtual void | delete_property_listener (const std::string &nm, const octave_value &v, listener_mode mode=POSTSET) |
virtual void | delete_property_listener (const std::string &nm, const octave_value &v, listener_mode mode=POSTSET) |
virtual octave_value | get (bool all=false) const |
octave_value | get (const caseless_str &name) const |
octave_value | get (const caseless_str &name) const |
octave_value | get_default (const caseless_str &name) const |
octave_value | get_default (const caseless_str &name) const |
octave_value | get_defaults (void) const |
octave_value | get_defaults (void) const |
property_list | get_defaults_list (void) const |
property_list | get_defaults_list (void) const |
virtual octave_value | get_factory_default (const caseless_str &) const |
virtual octave_value | get_factory_default (const caseless_str &) const |
virtual octave_value | get_factory_defaults (void) const |
virtual octave_value | get_factory_defaults (void) const |
virtual property_list | get_factory_defaults_list (void) const |
virtual property_list | get_factory_defaults_list (void) const |
graphics_handle | get_handle (void) const |
graphics_handle | get_handle (void) const |
virtual graphics_handle | get_parent (void) const |
virtual graphics_handle | get_parent (void) const |
base_properties & | get_properties (void) |
const base_properties & | get_properties (void) const |
base_properties & | get_properties (void) |
const base_properties & | get_properties (void) const |
virtual graphics_toolkit | get_toolkit (void) const |
virtual graphics_toolkit | get_toolkit (void) const |
bool | has_readonly_property (const caseless_str &pname) const |
bool | has_readonly_property (const caseless_str &pname) const |
bool | isa (const std::string &go_name) const |
bool | isa (const std::string &go_name) const |
virtual void | mark_modified (void) |
virtual void | mark_modified (void) |
void | override_defaults (base_graphics_object &obj) |
void | override_defaults (base_graphics_object &obj) |
virtual void | remove_all_listeners (void) |
virtual void | remove_all_listeners (void) |
virtual void | remove_child (const graphics_handle &h) |
virtual void | remove_child (const graphics_handle &h) |
virtual void | reparent (const graphics_handle &np) |
virtual void | reparent (const graphics_handle &np) |
void | reset_default_properties (void) |
void | reset_default_properties (void) |
void | set (const caseless_str &name, const octave_value &value) |
void | set (const caseless_str &name, const octave_value &value) |
void | set_defaults (const std::string &mode) |
void | set_defaults (const std::string &mode) |
virtual void | set_from_list (property_list &plist) |
virtual void | set_from_list (property_list &plist) |
virtual std::string | type (void) const |
virtual std::string | type (void) const |
void | update_axis_limits (const std::string &axis_type) |
void | update_axis_limits (const std::string &axis_type, const graphics_handle &h) |
void | update_axis_limits (const std::string &axis_type) |
void | update_axis_limits (const std::string &axis_type, const graphics_handle &h) |
bool | valid_object (void) const |
bool | valid_object (void) const |
bool | valid_toolkit_object (void) const |
bool | valid_toolkit_object (void) const |
virtual std::string | value_as_string (const std::string &prop) |
virtual std::string | value_as_string (const std::string &prop) |
virtual std::string | values_as_string (void) |
virtual std::string | values_as_string (void) |
virtual octave_scalar_map | values_as_struct (void) |
virtual octave_scalar_map | values_as_struct (void) |
Protected Member Functions | |
virtual void | finalize (const graphics_object &go) |
virtual void | finalize (const graphics_object &go) |
void | initialize (const graphics_object &go) |
void | initialize (const graphics_object &go) |
virtual void | update (const graphics_object &go, int id) |
virtual void | update (const graphics_object &go, int id) |
Protected Attributes | |
octave_refcount< int > | count |
bool | toolkit_flag |
Private Attributes | |
property_list | default_properties |
properties | xproperties |
Definition at line 5079 of file graphics.h.
|
inline |
Definition at line 7181 of file graphics.h.
References axes::properties::update_transform().
|
inline |
Definition at line 7187 of file graphics.h.
|
inline |
Definition at line 4296 of file graphics.in.h.
|
inline |
Definition at line 4302 of file graphics.in.h.
|
inlinevirtualinherited |
Definition at line 2912 of file graphics.in.h.
|
inlinevirtualinherited |
Definition at line 3170 of file graphics.h.
References base_properties::add_listener(), graphics_object::get_properties(), and graphics_object::valid_object().
|
inlinevirtualinherited |
Definition at line 2840 of file graphics.in.h.
|
inlinevirtualinherited |
Definition at line 3098 of file graphics.h.
References base_properties::adopt(), error(), graphics_object::get_properties(), and graphics_object::valid_object().
Referenced by axes::properties::delete_text_child(), axes::properties::init(), reparent(), axes::properties::set_defaults(), base_properties::set_parent(), and axes::properties::set_text_child().
|
inherited |
|
inherited |
Definition at line 3237 of file graphics.cc.
References graphics_object::build_user_defaults_map(), property_list::end(), pval_vector::find(), property_list::find(), figure::get_defaults_list(), gh_manager::get_object(), and base_graphics_object::get_parent().
|
inlinevirtualinherited |
Definition at line 2856 of file graphics.in.h.
|
inlinevirtualinherited |
Definition at line 3114 of file graphics.h.
References error(), gripe_not_implemented(), and graphics_object::valid_object().
|
inlinevirtualinherited |
Definition at line 2920 of file graphics.in.h.
|
inlinevirtualinherited |
Definition at line 3178 of file graphics.h.
References base_properties::delete_listener(), graphics_object::get_properties(), and graphics_object::valid_object().
|
inlineprotectedvirtualinherited |
Definition at line 2939 of file graphics.in.h.
|
inlineprotectedvirtualinherited |
Definition at line 3197 of file graphics.h.
References graphics_toolkit::finalize(), and graphics_object::get_toolkit().
Referenced by base_graphics_toolkit::finalize().
|
inlinevirtualinherited |
Definition at line 3006 of file graphics.h.
References error(), base_properties::get(), graphics_object::get_properties(), octave_value(), and graphics_object::valid_object().
Referenced by base_properties::update_uicontextmenu().
|
inlinevirtual |
Reimplemented from base_graphics_object.
Definition at line 4334 of file graphics.in.h.
|
inlinevirtual |
Reimplemented from base_graphics_object.
Definition at line 7219 of file graphics.h.
References axes::properties::get().
|
virtual |
Reimplemented from base_graphics_object.
|
virtual |
Reimplemented from base_graphics_object.
Definition at line 6796 of file graphics.cc.
References figure::default_properties, graphics_object::get_default(), gh_manager::get_object(), base_graphics_object::get_parent(), octave_value::is_undefined(), and property_list::lookup().
|
inlinevirtual |
Reimplemented from base_graphics_object.
Definition at line 4349 of file graphics.in.h.
|
inlinevirtual |
Reimplemented from base_graphics_object.
Definition at line 7234 of file graphics.h.
|
inlinevirtual |
Reimplemented from base_graphics_object.
Definition at line 4354 of file graphics.in.h.
|
inlinevirtual |
Reimplemented from base_graphics_object.
Definition at line 7239 of file graphics.h.
|
virtualinherited |
Reimplemented in root_figure, and root_figure.
|
virtualinherited |
Reimplemented in root_figure, and root_figure.
Definition at line 9201 of file graphics.cc.
References graphics_object::get_factory_default(), and gh_manager::get_object().
Referenced by graphics_object::set_value_or_default().
|
inlinevirtualinherited |
Reimplemented in root_figure, and root_figure.
Definition at line 2787 of file graphics.in.h.
|
inlinevirtualinherited |
Reimplemented in root_figure, and root_figure.
Definition at line 3045 of file graphics.h.
References error(), and octave_value().
|
inlinevirtualinherited |
Reimplemented in root_figure, and root_figure.
Definition at line 2793 of file graphics.in.h.
|
inlinevirtualinherited |
Reimplemented in root_figure, and root_figure.
Definition at line 3051 of file graphics.h.
References error().
|
inlineinherited |
Definition at line 2821 of file graphics.in.h.
|
inlineinherited |
Definition at line 3079 of file graphics.h.
References error(), base_properties::get___myhandle__(), graphics_object::get_properties(), and graphics_object::valid_object().
Referenced by base_graphics_object::reset_default_properties(), root_figure::reset_default_properties(), figure::reset_default_properties(), uitoolbar::reset_default_properties(), update_axis_limits(), base_graphics_object::value_as_string(), base_graphics_object::values_as_string(), and base_graphics_object::values_as_struct().
|
inlinevirtualinherited |
Definition at line 2810 of file graphics.in.h.
|
inlinevirtualinherited |
Definition at line 3068 of file graphics.h.
References error(), base_properties::get_parent(), graphics_object::get_properties(), and graphics_object::valid_object().
Referenced by base_graphics_object::build_user_defaults_map(), axes::properties::calc_tightbox(), graphics_object::get_ancestor(), axes::properties::get_boundingbox(), uicontrol::properties::get_boundingbox(), uipanel::properties::get_boundingbox(), base_graphics_object::get_default(), figure::get_default(), get_default(), uitoolbar::get_default(), uicontrol::properties::get_extent(), base_properties::get_toolkit(), base_properties::mark_modified(), base_properties::override_defaults(), figure::properties::set_integerhandle(), base_properties::set_parent(), base_properties::update_autopos(), base_graphics_object::update_axis_limits(), axes::properties::update_units(), uicontrol::properties::update_units(), and uipanel::properties::update_units().
|
inlinevirtual |
Reimplemented from base_graphics_object.
Definition at line 4359 of file graphics.in.h.
|
inlinevirtual |
Reimplemented from base_graphics_object.
Definition at line 4361 of file graphics.in.h.
|
inlinevirtual |
Reimplemented from base_graphics_object.
Definition at line 7244 of file graphics.h.
|
inlinevirtual |
Reimplemented from base_graphics_object.
Definition at line 7246 of file graphics.h.
|
inlinevirtualinherited |
Definition at line 2901 of file graphics.in.h.
|
inlinevirtualinherited |
Definition at line 3159 of file graphics.h.
References error(), graphics_object::get_properties(), base_properties::get_toolkit(), and graphics_object::valid_object().
|
inlinevirtual |
Reimplemented from base_graphics_object.
Definition at line 4372 of file graphics.in.h.
|
inlinevirtual |
Reimplemented from base_graphics_object.
Definition at line 7257 of file graphics.h.
References base_properties::has_readonly_property(), and axes::properties::has_readonly_property().
Referenced by axes::properties::set().
|
protectedvirtual |
Reimplemented from base_graphics_object.
|
protectedvirtual |
Reimplemented from base_graphics_object.
Definition at line 8055 of file graphics.cc.
References figure::properties::get_title(), base_graphics_object::initialize(), xinitialize(), and figure::xproperties.
|
inlineinherited |
Definition at line 2896 of file graphics.in.h.
|
inlineinherited |
Definition at line 3154 of file graphics.h.
Referenced by graphics_object::get_ancestor().
|
inlinevirtualinherited |
Reimplemented in root_figure, and root_figure.
Definition at line 2708 of file graphics.in.h.
|
inlinevirtualinherited |
Reimplemented in root_figure, and root_figure.
Definition at line 2966 of file graphics.h.
References error(), graphics_object::get_properties(), base_properties::mark_modified(), and graphics_object::valid_object().
Referenced by figure::properties::set___mouse_mode__(), base_properties::set_dynamic(), axes::properties::set_fontunits(), text::properties::set_fontunits(), uicontrol::properties::set_fontunits(), uipanel::properties::set_fontunits(), figure::properties::set_integerhandle(), figure::properties::set_outerposition(), figure::properties::set_papertype(), figure::properties::set_paperunits(), figure::properties::set_position(), figure::properties::set_units(), axes::properties::set_units(), uipanel::properties::set_units(), axes::properties::set_xticklabel(), axes::properties::set_yticklabel(), and axes::properties::set_zticklabel().
|
inlinevirtual |
Reimplemented from base_graphics_object.
Definition at line 4304 of file graphics.in.h.
|
inlinevirtual |
Reimplemented from base_graphics_object.
Definition at line 7189 of file graphics.h.
References base_properties::override_defaults(), and base_graphics_object::set_from_list().
|
virtualinherited |
|
virtualinherited |
Definition at line 3208 of file graphics.cc.
References octave_map::begin(), property::delete_listener(), discard_error_messages, octave_map::end(), error_state, figure::get_properties(), base_properties::get_property(), action_container::protect_var(), Vdebug_on_error, and Vdebug_on_warning.
|
inlinevirtualinherited |
Definition at line 2832 of file graphics.in.h.
|
inlinevirtualinherited |
Definition at line 3090 of file graphics.h.
References error(), graphics_object::get_properties(), base_properties::remove_child(), and graphics_object::valid_object().
|
inlinevirtualinherited |
Definition at line 2848 of file graphics.in.h.
|
inlinevirtualinherited |
Definition at line 3106 of file graphics.h.
References error(), graphics_object::get_properties(), base_properties::reparent(), and graphics_object::valid_object().
Referenced by axes::properties::set_text_child().
|
virtual |
Reimplemented from base_graphics_object.
|
virtual |
Reimplemented from base_graphics_object.
Definition at line 8045 of file graphics.cc.
References figure::default_properties, and base_graphics_object::set_defaults().
|
inlinevirtual |
Reimplemented from base_graphics_object.
Definition at line 4318 of file graphics.in.h.
|
inlinevirtual |
Reimplemented from base_graphics_object.
Definition at line 7203 of file graphics.h.
References caseless_str::compare(), and axes::properties::set().
|
inlinevirtual |
Reimplemented from base_graphics_object.
Definition at line 4329 of file graphics.in.h.
|
inlinevirtual |
Reimplemented from base_graphics_object.
Definition at line 7214 of file graphics.h.
References axes::properties::set_defaults().
|
inlinevirtualinherited |
Definition at line 2727 of file graphics.in.h.
|
inlinevirtualinherited |
Definition at line 2985 of file graphics.h.
References error(), graphics_object::get_properties(), base_properties::set_from_list(), and graphics_object::valid_object().
Referenced by root_figure::override_defaults(), figure::override_defaults(), override_defaults(), and uitoolbar::override_defaults().
|
inlinevirtualinherited |
Definition at line 2890 of file graphics.in.h.
|
inlinevirtualinherited |
Definition at line 3148 of file graphics.h.
References graphics_object::get_properties(), and graphics_object::valid_object().
|
inlineprotectedvirtualinherited |
Definition at line 2948 of file graphics.in.h.
|
inlineprotectedvirtualinherited |
Definition at line 3206 of file graphics.h.
References graphics_object::get_toolkit(), and graphics_toolkit::update().
Referenced by base_graphics_toolkit::update().
|
virtual |
Reimplemented from base_graphics_object.
|
virtual |
Reimplemented from base_graphics_object.
|
virtual |
Reimplemented from base_graphics_object.
Definition at line 7508 of file graphics.cc.
References base_properties::get_children(), get_children_limits(), base_graphics_object::get_handle(), octave_Inf, action_container::protect_var(), Matrix::resize(), and figure::xproperties.
|
virtual |
Reimplemented from base_graphics_object.
Definition at line 7304 of file graphics.cc.
References FIX_LIMITS, base_properties::get_alim(), get_children_limits(), base_properties::get_clim(), base_graphics_object::get_handle(), base_properties::get_xlim(), base_properties::get_ylim(), base_properties::get_zlim(), octave_value::matrix_value(), octave_Inf, action_container::protect_var(), Matrix::resize(), octave_handle::value(), and figure::xproperties.
|
inlinevirtual |
Reimplemented from base_graphics_object.
Definition at line 4368 of file graphics.in.h.
|
inlinevirtual |
Reimplemented from base_graphics_object.
Definition at line 7253 of file graphics.h.
|
inlineinherited |
Definition at line 2888 of file graphics.in.h.
|
inlineinherited |
Definition at line 3146 of file graphics.h.
|
virtualinherited |
|
virtualinherited |
Definition at line 3311 of file graphics.cc.
References error(), base_graphics_object::get_handle(), gh_manager::get_object(), figure::get_properties(), base_properties::get_property(), graphics_object::has_readonly_property(), figure::valid_object(), and property::values_as_string().
|
virtualinherited |
|
virtualinherited |
Definition at line 3276 of file graphics.cc.
References octave_map::begin(), octave_map::end(), error(), base_graphics_object::get_handle(), gh_manager::get_object(), figure::get_properties(), base_properties::get_property(), graphics_object::has_readonly_property(), figure::valid_object(), and property::values_as_string().
|
virtualinherited |
|
virtualinherited |
Definition at line 3340 of file graphics.cc.
References octave_scalar_map::assign(), octave_scalar_map::begin(), octave_scalar_map::end(), error(), base_graphics_object::get_handle(), gh_manager::get_object(), figure::get_properties(), base_properties::get_property(), graphics_object::has_readonly_property(), and figure::valid_object().
|
protectedinherited |
Definition at line 3214 of file graphics.h.
Referenced by graphics_object::operator=().
|
private |
Definition at line 7269 of file graphics.h.
|
protectedinherited |
Definition at line 3218 of file graphics.h.
|
private |
Definition at line 7178 of file graphics.h.