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 | |
root_figure (void) | |
root_figure (void) | |
~root_figure (void) | |
~root_figure (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 |
octave_value | get_factory_default (const caseless_str &name) const |
octave_value | get_factory_default (const caseless_str &name) const |
octave_value | get_factory_defaults (void) const |
octave_value | get_factory_defaults (void) const |
property_list | get_factory_defaults_list (void) const |
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 |
void | mark_modified (void) |
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) |
virtual void | set_defaults (const std::string &) |
virtual void | set_defaults (const std::string &) |
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 |
virtual void | update_axis_limits (const std::string &axis_type) |
virtual void | update_axis_limits (const std::string &axis_type, const graphics_handle &h) |
virtual void | update_axis_limits (const std::string &axis_type) |
virtual 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) |
virtual void | initialize (const graphics_object &go) |
virtual 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 |
Static Private Member Functions | |
static property_list::plist_map_type | init_factory_properties (void) |
static property_list::plist_map_type | init_factory_properties (void) |
Private Attributes | |
property_list | default_properties |
properties | xproperties |
Static Private Attributes | |
static property_list | factory_properties = root_figure::init_factory_properties () |
Definition at line 3464 of file graphics.h.
|
inline |
Definition at line 3788 of file graphics.h.
|
inline |
Definition at line 3791 of file graphics.h.
|
inline |
Definition at line 3260 of file graphics.in.h.
|
inline |
Definition at line 3263 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 3288 of file graphics.in.h.
|
inlinevirtual |
Reimplemented from base_graphics_object.
Definition at line 3816 of file graphics.h.
References root_figure::properties::get().
|
inlinevirtual |
Reimplemented from base_graphics_object.
Definition at line 3302 of file graphics.in.h.
|
inlinevirtual |
Reimplemented from base_graphics_object.
Definition at line 3830 of file graphics.h.
References error(), and octave_value::is_undefined().
|
inlinevirtual |
Reimplemented from base_graphics_object.
Definition at line 3328 of file graphics.in.h.
|
inlinevirtual |
Reimplemented from base_graphics_object.
Definition at line 3856 of file graphics.h.
|
inlinevirtual |
Reimplemented from base_graphics_object.
Definition at line 3333 of file graphics.in.h.
|
inlinevirtual |
Reimplemented from base_graphics_object.
Definition at line 3861 of file graphics.h.
|
inlinevirtual |
Reimplemented from base_graphics_object.
Definition at line 3318 of file graphics.in.h.
|
inlinevirtual |
Reimplemented from base_graphics_object.
Definition at line 3846 of file graphics.h.
References error(), and octave_value::is_undefined().
|
inlinevirtual |
Reimplemented from base_graphics_object.
Definition at line 3338 of file graphics.in.h.
|
inlinevirtual |
Reimplemented from base_graphics_object.
Definition at line 3866 of file graphics.h.
|
inlinevirtual |
Reimplemented from base_graphics_object.
Definition at line 3343 of file graphics.in.h.
|
inlinevirtual |
Reimplemented from base_graphics_object.
Definition at line 3871 of file graphics.h.
|
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(), reset_default_properties(), figure::reset_default_properties(), uitoolbar::reset_default_properties(), axes::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(), axes::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 3348 of file graphics.in.h.
|
inlinevirtual |
Reimplemented from base_graphics_object.
Definition at line 3350 of file graphics.in.h.
|
inlinevirtual |
Reimplemented from base_graphics_object.
Definition at line 3876 of file graphics.h.
|
inlinevirtual |
Reimplemented from base_graphics_object.
Definition at line 3878 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 3356 of file graphics.in.h.
|
inlinevirtual |
Reimplemented from base_graphics_object.
Definition at line 3884 of file graphics.h.
References base_properties::has_readonly_property(), and root_figure::properties::has_readonly_property().
Referenced by root_figure::properties::set().
|
staticprivate |
|
staticprivate |
Definition at line 9740 of file graphics.cc.
References figure::properties::factory_defaults(), axes::properties::factory_defaults(), line::properties::factory_defaults(), text::properties::factory_defaults(), image::properties::factory_defaults(), patch::properties::factory_defaults(), surface::properties::factory_defaults(), hggroup::properties::factory_defaults(), uimenu::properties::factory_defaults(), uicontextmenu::properties::factory_defaults(), uicontrol::properties::factory_defaults(), uipanel::properties::factory_defaults(), uitoolbar::properties::factory_defaults(), uipushtool::properties::factory_defaults(), and uitoggletool::properties::factory_defaults().
|
inlineprotectedvirtualinherited |
Reimplemented in axes, and axes.
Definition at line 2933 of file graphics.in.h.
|
inlineprotectedvirtualinherited |
Reimplemented in axes, and axes.
Definition at line 3191 of file graphics.h.
References graphics_object::get_toolkit(), and graphics_toolkit::initialize().
Referenced by base_graphics_toolkit::initialize(), and axes::initialize().
|
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().
|
inlinevirtual |
Reimplemented from base_graphics_object.
Definition at line 3265 of file graphics.in.h.
|
inlinevirtual |
Reimplemented from base_graphics_object.
Definition at line 3793 of file graphics.h.
|
inlinevirtual |
Reimplemented from base_graphics_object.
Definition at line 3267 of file graphics.in.h.
|
inlinevirtual |
Reimplemented from base_graphics_object.
Definition at line 3795 of file graphics.h.
References 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 3761 of file graphics.cc.
References figure::default_properties, figure::properties::factory_defaults(), base_graphics_object::get_handle(), figure::xproperties, and xreset_default_properties().
|
inlinevirtual |
Reimplemented from base_graphics_object.
Definition at line 3277 of file graphics.in.h.
|
inlinevirtual |
Reimplemented from base_graphics_object.
Definition at line 3805 of file graphics.h.
References caseless_str::compare(), and root_figure::properties::set().
|
inlinevirtualinherited |
Reimplemented in axes, and axes.
Definition at line 2743 of file graphics.in.h.
|
inlinevirtualinherited |
Reimplemented in axes, and axes.
Definition at line 3001 of file graphics.h.
References error().
Referenced by axes::reset_default_properties().
|
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 override_defaults(), figure::override_defaults(), axes::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().
|
virtualinherited |
|
virtualinherited |
|
virtualinherited |
Reimplemented in hggroup, axes, hggroup, and axes.
Definition at line 3179 of file graphics.cc.
References error(), gh_manager::get_object(), base_graphics_object::get_parent(), graphics_object::update_axis_limits(), and figure::valid_object().
Referenced by hggroup::update_axis_limits().
|
virtualinherited |
Reimplemented in hggroup, axes, hggroup, and axes.
Definition at line 3193 of file graphics.cc.
References error(), gh_manager::get_object(), base_graphics_object::get_parent(), graphics_object::update_axis_limits(), and figure::valid_object().
|
inlinevirtual |
Reimplemented from base_graphics_object.
Definition at line 3352 of file graphics.in.h.
|
inlinevirtual |
Reimplemented from base_graphics_object.
Definition at line 3880 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 3893 of file graphics.h.
|
staticprivate |
Definition at line 3895 of file graphics.h.
|
protectedinherited |
Definition at line 3218 of file graphics.h.
|
private |
Definition at line 3784 of file graphics.h.