#include "graphics.in.h"
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 |
Definition at line 3100 of file graphics.in.h.
|
virtualinherited |
Definition at line 3621 of file graphics.cc.
|
virtual |
Reimplemented from base_properties.
Definition at line 4208 of file graphics.cc.
References octave::__get_gh_manager__(), base_properties::adopt(), octave_handle::as_octave_value(), gh_manager::get_object(), and graphics_object::type().
Definition at line 4271 of file graphics.cc.
References convert_position(), and screen_size_pixels().
Referenced by QtHandles::Figure::updateBoundingBox().
array_property closereq color_property figure::properties::color_property | ( | color_values(1, 1, 1) | , |
radio_values("none") | |||
) |
|
inlinevirtualinherited |
Definition at line 2327 of file graphics.in.h.
Referenced by gh_manager::free().
|
virtualinherited |
Definition at line 3632 of file graphics.cc.
Referenced by do_cleanup_waitfor_listener().
|
inherited |
Definition at line 3338 of file graphics.cc.
|
staticinherited |
|
virtualinherited |
|
virtualinherited |
Referenced by octave::opengl_renderer::set_font().
|
inlinevirtualinherited |
Definition at line 2229 of file graphics.in.h.
|
inlinevirtualinherited |
Definition at line 2224 of file graphics.in.h.
|
inlinevirtualinherited |
Definition at line 2349 of file graphics.in.h.
References octave_value().
Referenced by axes::update_axis_limits(), and hggroup::update_axis_limits().
|
inlineinherited |
Definition at line 2297 of file graphics.in.h.
Referenced by octave::opengl_renderer::draw_all_lights(), octave::opengl_renderer::draw_figure(), octave::opengl_renderer::draw_uibuttongroup(), octave::opengl_renderer::draw_uipanel(), finalize_r(), initialize_r(), QtHandles::Canvas::select_object(), and update_text_pos().
|
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().
|
inlineinherited |
Definition at line 2292 of file graphics.in.h.
Referenced by calc_dimensions(), QtHandles::Canvas::canvasWheelEvent(), octave::opengl_renderer::draw_hggroup(), axes::update_axis_limits(), hggroup::update_axis_limits(), and QtHandles::Canvas::updateCurrentPoint().
|
inherited |
Definition at line 3643 of file graphics.cc.
References octave::__get_gh_manager__(), base_properties::get_children_of_type(), gh_manager::get_object(), graphics_object::get_properties(), graphics_object::isa(), gh_manager::lookup(), Array< T >::numel(), and octave_handle::ok().
Referenced by base_properties::get_children_of_type().
|
inlinevirtualinherited |
Definition at line 2350 of file graphics.in.h.
References octave_value().
Referenced by axes::update_axis_limits(), and hggroup::update_axis_limits().
|
protectedinherited |
Definition at line 3325 of file graphics.cc.
References m.
|
protectedinherited |
Definition at line 3313 of file graphics.cc.
References error().
|
inlineinherited |
Definition at line 2302 of file graphics.in.h.
|
virtualinherited |
|
protectedinherited |
Definition at line 3371 of file graphics.cc.
References error().
std::string figure::properties::get_title | ( | void | ) | const |
Definition at line 5004 of file graphics.cc.
Referenced by axes::initialize(), and QtHandles::Figure::update().
|
virtual |
Reimplemented from base_properties.
Definition at line 4179 of file graphics.cc.
Referenced by set_event::execute(), F__show_figure__(), and Fdrawnow().
|
inlinevirtualinherited |
Definition at line 2351 of file graphics.in.h.
References octave_value().
Referenced by QtHandles::Canvas::select_object(), axes::update_axis_limits(), and hggroup::update_axis_limits().
|
inlinevirtualinherited |
Definition at line 2352 of file graphics.in.h.
References octave_value().
Referenced by QtHandles::Canvas::select_object(), axes::update_axis_limits(), and hggroup::update_axis_limits().
|
inlinevirtualinherited |
Definition at line 2353 of file graphics.in.h.
References octave_value().
Referenced by axes::update_axis_limits(), and hggroup::update_axis_limits().
array_property closereq color_property handle_property currentobject figure::properties::graphics_handle | ( | ) |
array_property closereq color_property figure::properties::graphics_handle | ( | ) |
|
inlinevirtualinherited |
Definition at line 2197 of file graphics.in.h.
Referenced by octave::opengl_renderer::draw(), gh_manager::execute_callback(), and xreset_default_properties().
|
inherited |
Definition at line 3344 of file graphics.cc.
Referenced by Fwaitfor().
|
inlinevirtualinherited |
Definition at line 2241 of file graphics.in.h.
References panic_impossible.
Referenced by do_cleanup_waitfor_listener(), octave::opengl_renderer::draw_axes_boxes(), octave::opengl_renderer::draw_axes_y_grid(), and Faddproperty().
|
inlinevirtual |
Reimplemented from base_properties.
Definition at line 3103 of file graphics.in.h.
|
inlineinherited |
Definition at line 2213 of file graphics.in.h.
References name, property::set_name(), and property::set_parent().
Referenced by Faddproperty().
|
inlinevirtualinherited |
Reimplemented in surface::properties, patch::properties, and image::properties.
Definition at line 2355 of file graphics.in.h.
|
inlinevirtualinherited |
Reimplemented in surface::properties, patch::properties, and image::properties.
Definition at line 2356 of file graphics.in.h.
|
inherited |
Definition at line 3505 of file graphics.cc.
References callback_props::empty(), and executing_callbacks.
|
inlineinherited |
Definition at line 2247 of file graphics.in.h.
Referenced by Fdrawnow().
|
inlinevirtualinherited |
Definition at line 2357 of file graphics.in.h.
|
inlinevirtualinherited |
Definition at line 2358 of file graphics.in.h.
|
inlinevirtualinherited |
Definition at line 2359 of file graphics.in.h.
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.
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.
|
inherited |
Definition at line 3432 of file graphics.cc.
References octave::__get_gh_manager__(), gh_manager::get_object(), base_graphics_object::get_parent(), and graphics_object::mark_modified().
Referenced by set_toolkit().
array_property figure::properties::Matrix | ( | void | ) |
Referenced by set_toolkit().
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 | ) |
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 | ) |
array_property closereq color_property handle_property currentobject figure::properties::Matrix | ( | 2 | , |
1 | , | ||
0 | |||
) |
array_property figure::properties::Matrix | ( | 64 | , |
1 | , | ||
1 | |||
) |
|
inherited |
Definition at line 3449 of file graphics.cc.
References octave::__get_gh_manager__(), gh_manager::get_object(), base_graphics_object::get_parent(), and graphics_object::override_defaults().
|
virtual |
Reimplemented from base_properties.
Definition at line 4139 of file graphics.cc.
References octave::__get_gh_manager__(), gh_manager::get_object(), graphics_object::isa(), Array< T >::numel(), and base_properties::remove_child().
|
inlineinherited |
Definition at line 2332 of file graphics.in.h.
|
inlineinherited |
Definition at line 2337 of file graphics.in.h.
|
inlineinherited |
Definition at line 2315 of file graphics.in.h.
|
virtualinherited |
void figure::properties::set___graphics_toolkit__ | ( | const octave_value & | val | ) |
Definition at line 4185 of file graphics.cc.
References octave::__get_gtk_manager__(), error(), octave::gtk_manager::find_toolkit(), octave::graphics_toolkit::get_name(), octave_value::is_string(), base_graphics_object::mark_modified(), and octave_value::string_value().
|
inlineinherited |
Definition at line 2313 of file graphics.in.h.
|
inlineinherited |
Definition at line 2282 of file graphics.in.h.
Referenced by gh_manager::free().
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().
|
protectedinherited |
Definition at line 3355 of file graphics.cc.
References error(), and base_graphics_object::mark_modified().
|
inherited |
Definition at line 3269 of file graphics.cc.
References base_graphics_object::defaults(), error(), and base_graphics_object::set().
|
inlineinherited |
Definition at line 2311 of file graphics.in.h.
Referenced by Fdrawnow().
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().
|
inherited |
Definition at line 3383 of file graphics.cc.
References octave::__get_gh_manager__(), base_graphics_object::adopt(), octave_handle::as_octave_value(), error(), graphics_object::get_handle(), gh_manager::get_object(), base_graphics_object::get_parent(), graphics_object::get_parent(), graphics_object::get_properties(), gh_manager::lookup(), octave_handle::ok(), graphics_object::remove_child(), base_properties::set_parent(), and octave_value::xdouble_value().
Referenced by base_properties::set_parent().
void figure::properties::set_position | ( | const octave_value & | val, |
bool | do_notify_toolkit = true |
||
) |
Definition at line 4331 of file graphics.cc.
References octave::__get_gh_manager__(), GCB_POSTSET, base_graphics_object::mark_modified(), and gh_manager::post_callback().
Referenced by set_event::execute().
|
inlineinherited |
Definition at line 2288 of file graphics.in.h.
void figure::properties::set_toolkit | ( | const octave::graphics_toolkit & | b | ) |
Definition at line 2129 of file graphics.cc.
References finalize_r(), octave::graphics_toolkit::get_name(), initialize_r(), base_properties::mark_modified(), and Matrix().
void figure::properties::set_visible | ( | const octave_value & | val | ) |
Definition at line 4243 of file graphics.cc.
References octave_value::string_value(), and xset().
|
virtualinherited |
Reimplemented in axes::properties.
Definition at line 3543 of file graphics.cc.
References octave::__get_gh_manager__(), gh_manager::get_object(), base_graphics_object::get_parent(), graphics_object::get_properties(), base_properties::update_autopos(), and graphics_object::valid_object().
Referenced by base_properties::update_autopos().
|
virtualinherited |
Definition at line 3461 of file graphics.cc.
References octave::__get_gh_manager__(), gh_manager::get_object(), and graphics_object::update_axis_limits().
|
virtualinherited |
Definition at line 3473 of file graphics.cc.
References octave::__get_gh_manager__(), gh_manager::get_object(), and graphics_object::update_axis_limits().
|
virtualinherited |
Reimplemented in axes::properties.
Definition at line 3526 of file graphics.cc.
References octave::__get_gh_manager__(), gh_manager::get_object(), graphics_object::get_properties(), Array< T >::numel(), base_properties::update_boundingbox(), and graphics_object::valid_object().
Referenced by QtHandles::ButtonGroup::eventFilter(), QtHandles::Panel::eventFilter(), base_properties::update_boundingbox(), QtHandles::ButtonGroup::updateLayout(), and QtHandles::Panel::updateLayout().
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().
|
virtualinherited |
Definition at line 3486 of file graphics.cc.
References octave::__get_gh_manager__(), uicontextmenu::properties::add_dependent_obj(), base_graphics_object::get(), gh_manager::get_object(), graphics_object::get_properties(), graphics_object::isa(), and octave_value::isempty().
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().
array_property closereq color_property figure::properties::viridis_colormap | ( | ) |
array_property figure::properties::alphamap |
Definition at line 3149 of file graphics.in.h.
|
protectedinherited |
Definition at line 2381 of file graphics.in.h.
array_property closereq color_property figure::properties::color |
Definition at line 3152 of file graphics.in.h.
|
protectedinherited |
Definition at line 2368 of file graphics.in.h.
array_property closereq color_property handle_property currentobject off string_property figure::properties::filename |
Definition at line 3159 of file graphics.in.h.
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.
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.
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.
array_property closereq color_property handle_property currentobject figure::properties::r |
Definition at line 3156 of file graphics.in.h.
|
protectedinherited |
Definition at line 2380 of file graphics.in.h.
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.