GNU Octave
4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "graphics.h"
Public Member Functions | |
base_graphics_object (void) | |
base_graphics_object (void) | |
virtual | ~base_graphics_object (void) |
virtual | ~base_graphics_object (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 |
virtual octave_value | get (const caseless_str &pname) const |
virtual octave_value | get (bool all=false) const |
virtual octave_value | get (const caseless_str &pname) const |
virtual octave_value | get_default (const caseless_str &) const |
virtual octave_value | get_default (const caseless_str &) const |
virtual octave_value | get_defaults (void) const |
virtual octave_value | get_defaults (void) const |
virtual property_list | get_defaults_list (void) const |
virtual 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 |
virtual base_properties & | get_properties (void) |
virtual const base_properties & | get_properties (void) const |
virtual base_properties & | get_properties (void) |
virtual const base_properties & | get_properties (void) const |
virtual graphics_toolkit | get_toolkit (void) const |
virtual graphics_toolkit | get_toolkit (void) const |
virtual bool | has_readonly_property (const caseless_str &pname) const |
virtual 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) |
virtual void | override_defaults (base_graphics_object &obj) |
virtual 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) |
virtual void | reset_default_properties (void) |
virtual void | reset_default_properties (void) |
virtual void | set (const caseless_str &pname, const octave_value &pval) |
virtual void | set (const caseless_str &pname, const octave_value &pval) |
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) |
virtual bool | valid_object (void) const |
virtual 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 | |
base_graphics_object (const base_graphics_object &) | |
base_graphics_object (const base_graphics_object &) | |
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) |
base_graphics_object & | operator= (const base_graphics_object &) |
base_graphics_object & | operator= (const base_graphics_object &) |
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 |
Friends | |
class | graphics_object |
Definition at line 2957 of file graphics.h.
|
inline |
Definition at line 2962 of file graphics.h.
|
inlinevirtual |
Definition at line 2964 of file graphics.h.
|
inlineprotected |
Definition at line 3222 of file graphics.h.
|
inline |
Definition at line 2704 of file graphics.in.h.
|
inlinevirtual |
Definition at line 2706 of file graphics.in.h.
|
inlineprotected |
Definition at line 2964 of file graphics.in.h.
|
inlinevirtual |
Definition at line 2912 of file graphics.in.h.
|
inlinevirtual |
Definition at line 3170 of file graphics.h.
References base_properties::add_listener(), graphics_object::get_properties(), and graphics_object::valid_object().
|
inlinevirtual |
Definition at line 2840 of file graphics.in.h.
|
inlinevirtual |
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().
void base_graphics_object::build_user_defaults_map | ( | property_list::pval_map_type & | def, |
const std::string | go_name | ||
) | const |
void base_graphics_object::build_user_defaults_map | ( | property_list::pval_map_type & | def, |
const std::string | go_name | ||
) | const |
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 get_parent().
|
inlinevirtual |
Definition at line 2856 of file graphics.in.h.
|
inlinevirtual |
Definition at line 3114 of file graphics.h.
References error(), gripe_not_implemented(), and graphics_object::valid_object().
|
inlinevirtual |
Definition at line 2920 of file graphics.in.h.
|
inlinevirtual |
Definition at line 3178 of file graphics.h.
References base_properties::delete_listener(), graphics_object::get_properties(), and graphics_object::valid_object().
|
inlineprotectedvirtual |
Definition at line 2939 of file graphics.in.h.
|
inlineprotectedvirtual |
Definition at line 3197 of file graphics.h.
References graphics_toolkit::finalize(), and graphics_object::get_toolkit().
Referenced by base_graphics_toolkit::finalize().
|
inlinevirtual |
Definition at line 2748 of file graphics.in.h.
|
inlinevirtual |
Reimplemented in uitoolbar, axes, uitoolbar, figure, axes, root_figure, figure, and root_figure.
Definition at line 2759 of file graphics.in.h.
|
inlinevirtual |
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 in uitoolbar, axes, uitoolbar, figure, axes, root_figure, figure, and root_figure.
Definition at line 3017 of file graphics.h.
References error(), base_properties::get(), graphics_object::get_properties(), octave_value(), and graphics_object::valid_object().
|
virtual |
Reimplemented in uitoolbar, axes, uitoolbar, figure, axes, root_figure, figure, and root_figure.
|
virtual |
Reimplemented in uitoolbar, axes, uitoolbar, figure, axes, root_figure, figure, and root_figure.
Definition at line 9192 of file graphics.cc.
References graphics_object::get_default(), gh_manager::get_object(), and get_parent().
|
inlinevirtual |
Reimplemented in uitoolbar, axes, uitoolbar, figure, axes, root_figure, figure, and root_figure.
Definition at line 2774 of file graphics.in.h.
|
inlinevirtual |
Reimplemented in uitoolbar, axes, uitoolbar, figure, axes, root_figure, figure, and root_figure.
Definition at line 3032 of file graphics.h.
References error(), and octave_value().
|
inlinevirtual |
Reimplemented in uitoolbar, axes, uitoolbar, figure, axes, root_figure, figure, and root_figure.
Definition at line 2780 of file graphics.in.h.
|
inlinevirtual |
Reimplemented in uitoolbar, axes, uitoolbar, figure, axes, root_figure, figure, and root_figure.
Definition at line 3038 of file graphics.h.
References error(), and graphics_object::valid_object().
|
virtual |
Reimplemented in root_figure, and root_figure.
|
virtual |
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().
|
inlinevirtual |
Reimplemented in root_figure, and root_figure.
Definition at line 2787 of file graphics.in.h.
|
inlinevirtual |
Reimplemented in root_figure, and root_figure.
Definition at line 3045 of file graphics.h.
References error(), and octave_value().
|
inlinevirtual |
Reimplemented in root_figure, and root_figure.
Definition at line 2793 of file graphics.in.h.
|
inlinevirtual |
Reimplemented in root_figure, and root_figure.
Definition at line 3051 of file graphics.h.
References error().
|
inline |
Definition at line 2821 of file graphics.in.h.
|
inline |
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 reset_default_properties(), root_figure::reset_default_properties(), figure::reset_default_properties(), uitoolbar::reset_default_properties(), axes::update_axis_limits(), value_as_string(), values_as_string(), and values_as_struct().
|
inlinevirtual |
Definition at line 2810 of file graphics.in.h.
|
inlinevirtual |
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 build_user_defaults_map(), axes::properties::calc_tightbox(), graphics_object::get_ancestor(), axes::properties::get_boundingbox(), uicontrol::properties::get_boundingbox(), uipanel::properties::get_boundingbox(), 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(), update_axis_limits(), axes::properties::update_units(), uicontrol::properties::update_units(), and uipanel::properties::update_units().
|
inlinevirtual |
Reimplemented in uitoggletool, uipushtool, uitoolbar, uipanel, uicontrol, uicontextmenu, uimenu, hggroup, surface, patch, image, text, line, axes, uitoggletool, uipushtool, uitoolbar, uipanel, uicontrol, uicontextmenu, uimenu, hggroup, surface, patch, figure, image, text, line, axes, root_figure, figure, and root_figure.
Definition at line 2867 of file graphics.in.h.
|
inlinevirtual |
Reimplemented in uitoggletool, uipushtool, uitoolbar, uipanel, uicontrol, uicontextmenu, uimenu, hggroup, surface, patch, image, text, line, axes, uitoggletool, uipushtool, uitoolbar, uipanel, uicontrol, uicontextmenu, uimenu, hggroup, surface, patch, figure, image, text, line, axes, root_figure, figure, and root_figure.
Definition at line 2874 of file graphics.in.h.
|
inlinevirtual |
Reimplemented in uitoggletool, uipushtool, uitoolbar, uipanel, uicontrol, uicontextmenu, uimenu, hggroup, surface, patch, image, text, line, axes, uitoggletool, uipushtool, uitoolbar, uipanel, uicontrol, uicontextmenu, uimenu, hggroup, surface, patch, figure, image, text, line, axes, root_figure, figure, and root_figure.
Definition at line 3125 of file graphics.h.
References error(), and QtHandles::Utils::properties().
Referenced by gh_manager::do_make_graphics_handle().
|
inlinevirtual |
Reimplemented in uitoggletool, uipushtool, uitoolbar, uipanel, uicontrol, uicontextmenu, uimenu, hggroup, surface, patch, image, text, line, axes, uitoggletool, uipushtool, uitoolbar, uipanel, uicontrol, uicontextmenu, uimenu, hggroup, surface, patch, figure, image, text, line, axes, root_figure, figure, and root_figure.
Definition at line 3132 of file graphics.h.
References error(), and QtHandles::Utils::properties().
|
inlinevirtual |
Definition at line 2901 of file graphics.in.h.
|
inlinevirtual |
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 in uitoggletool, uipushtool, uitoolbar, uipanel, uicontrol, uicontextmenu, uimenu, hggroup, surface, patch, image, text, line, axes, uitoggletool, uipushtool, uitoolbar, uipanel, uicontrol, uicontextmenu, uimenu, hggroup, surface, patch, figure, image, text, line, axes, root_figure, figure, and root_figure.
Definition at line 2799 of file graphics.in.h.
|
inlinevirtual |
Reimplemented in uitoggletool, uipushtool, uitoolbar, uipanel, uicontrol, uicontextmenu, uimenu, hggroup, surface, patch, image, text, line, axes, uitoggletool, uipushtool, uitoolbar, uipanel, uicontrol, uicontextmenu, uimenu, hggroup, surface, patch, figure, image, text, line, axes, root_figure, figure, and root_figure.
Definition at line 3057 of file graphics.h.
References base_properties::has_readonly_property().
|
inlineprotectedvirtual |
Reimplemented in axes, and axes.
Definition at line 2933 of file graphics.in.h.
|
inlineprotectedvirtual |
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().
|
inline |
Definition at line 2896 of file graphics.in.h.
|
inline |
Definition at line 3154 of file graphics.h.
Referenced by graphics_object::get_ancestor().
|
inlinevirtual |
Reimplemented in root_figure, and root_figure.
Definition at line 2708 of file graphics.in.h.
|
inlinevirtual |
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().
|
inlineprotected |
Definition at line 2966 of file graphics.in.h.
|
inlineprotected |
Definition at line 3224 of file graphics.h.
|
inlinevirtual |
Reimplemented in uitoolbar, axes, uitoolbar, figure, axes, root_figure, figure, and root_figure.
Definition at line 2716 of file graphics.in.h.
|
inlinevirtual |
Reimplemented in uitoolbar, axes, uitoolbar, figure, axes, root_figure, figure, and root_figure.
Definition at line 2974 of file graphics.h.
References error(), graphics_object::get_properties(), base_properties::override_defaults(), and graphics_object::valid_object().
|
virtual |
|
virtual |
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.
|
inlinevirtual |
Definition at line 2832 of file graphics.in.h.
|
inlinevirtual |
Definition at line 3090 of file graphics.h.
References error(), graphics_object::get_properties(), base_properties::remove_child(), and graphics_object::valid_object().
|
inlinevirtual |
Definition at line 2848 of file graphics.in.h.
|
inlinevirtual |
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 in uitoolbar, axes, uitoolbar, figure, axes, root_figure, figure, and root_figure.
|
virtual |
Reimplemented in uitoolbar, axes, uitoolbar, figure, axes, root_figure, figure, and root_figure.
Definition at line 3263 of file graphics.cc.
References property_list::find(), graphics_object::get_factory_defaults_list(), get_handle(), gh_manager::get_object(), figure::valid_object(), and xreset_default_properties().
|
inlinevirtual |
Reimplemented in uitoolbar, axes, uitoolbar, figure, axes, root_figure, figure, and root_figure.
Definition at line 2735 of file graphics.in.h.
|
inlinevirtual |
Reimplemented in uitoolbar, axes, uitoolbar, figure, axes, root_figure, figure, and root_figure.
Definition at line 2993 of file graphics.h.
References error(), graphics_object::get_properties(), base_properties::set(), and graphics_object::valid_object().
Referenced by base_properties::set_from_list().
|
inlinevirtual |
Reimplemented in axes, and axes.
Definition at line 2743 of file graphics.in.h.
|
inlinevirtual |
Reimplemented in axes, and axes.
Definition at line 3001 of file graphics.h.
References error().
Referenced by axes::reset_default_properties().
|
inlinevirtual |
Definition at line 2727 of file graphics.in.h.
|
inlinevirtual |
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(), axes::override_defaults(), and uitoolbar::override_defaults().
|
inlinevirtual |
Definition at line 2890 of file graphics.in.h.
|
inlinevirtual |
Definition at line 3148 of file graphics.h.
References graphics_object::get_properties(), and graphics_object::valid_object().
|
inlineprotectedvirtual |
Definition at line 2948 of file graphics.in.h.
|
inlineprotectedvirtual |
Definition at line 3206 of file graphics.h.
References graphics_object::get_toolkit(), and graphics_toolkit::update().
Referenced by base_graphics_toolkit::update().
|
virtual |
|
virtual |
|
virtual |
Reimplemented in hggroup, axes, hggroup, and axes.
Definition at line 3179 of file graphics.cc.
References error(), gh_manager::get_object(), get_parent(), graphics_object::update_axis_limits(), and figure::valid_object().
Referenced by hggroup::update_axis_limits().
|
virtual |
Reimplemented in hggroup, axes, hggroup, and axes.
Definition at line 3193 of file graphics.cc.
References error(), gh_manager::get_object(), get_parent(), graphics_object::update_axis_limits(), and figure::valid_object().
|
inlinevirtual |
Reimplemented in uitoggletool, uipushtool, uitoolbar, uipanel, uicontrol, uicontextmenu, uimenu, hggroup, surface, patch, image, text, line, axes, uitoggletool, uipushtool, uitoolbar, uipanel, uicontrol, uicontextmenu, uimenu, hggroup, surface, patch, figure, image, text, line, axes, root_figure, figure, and root_figure.
Definition at line 2886 of file graphics.in.h.
|
inlinevirtual |
Reimplemented in uitoggletool, uipushtool, uitoolbar, uipanel, uicontrol, uicontextmenu, uimenu, hggroup, surface, patch, image, text, line, axes, uitoggletool, uipushtool, uitoolbar, uipanel, uicontrol, uicontextmenu, uimenu, hggroup, surface, patch, figure, image, text, line, axes, root_figure, figure, and root_figure.
Definition at line 3144 of file graphics.h.
|
inline |
Definition at line 2888 of file graphics.in.h.
|
inline |
Definition at line 3146 of file graphics.h.
|
virtual |
|
virtual |
Definition at line 3311 of file graphics.cc.
References error(), 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().
|
virtual |
|
virtual |
Definition at line 3276 of file graphics.cc.
References octave_map::begin(), octave_map::end(), error(), 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().
|
virtual |
|
virtual |
Definition at line 3340 of file graphics.cc.
References octave_scalar_map::assign(), octave_scalar_map::begin(), octave_scalar_map::end(), error(), get_handle(), gh_manager::get_object(), figure::get_properties(), base_properties::get_property(), graphics_object::has_readonly_property(), and figure::valid_object().
|
friend |
Definition at line 2960 of file graphics.h.
Referenced by graphics_object::get_ancestor().
|
protected |
Definition at line 3214 of file graphics.h.
Referenced by graphics_object::operator=().
|
protected |
Definition at line 3218 of file graphics.h.