GNU Octave
4.2.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "graphics.h"
Classes | |
class | auto_lock |
Protected Member Functions | |
gh_manager (void) | |
gh_manager (void) | |
Private Types | |
typedef std::list < graphics_handle > ::const_iterator | const_figure_list_iterator |
typedef std::list < graphics_handle > ::const_iterator | const_figure_list_iterator |
typedef std::set < graphics_handle > ::const_iterator | const_free_list_iterator |
typedef std::set < graphics_handle > ::const_iterator | const_free_list_iterator |
typedef std::map < graphics_handle, graphics_object > ::const_iterator | const_iterator |
typedef std::map < graphics_handle, graphics_object > ::const_iterator | const_iterator |
typedef std::list < graphics_handle >::iterator | figure_list_iterator |
typedef std::list < graphics_handle >::iterator | figure_list_iterator |
typedef std::set < graphics_handle >::iterator | free_list_iterator |
typedef std::set < graphics_handle >::iterator | free_list_iterator |
typedef std::map < graphics_handle, graphics_object >::iterator | iterator |
typedef std::map < graphics_handle, graphics_object >::iterator | iterator |
Static Private Member Functions | |
static void | restore_gcbo (void) |
static void | restore_gcbo (void) |
Static Private Attributes | |
static gh_manager * | instance = 0 |
Definition at line 13738 of file graphics.h.
|
private |
Definition at line 6306 of file graphics.in.h.
|
private |
Definition at line 13995 of file graphics.h.
|
private |
Definition at line 6303 of file graphics.in.h.
|
private |
Definition at line 13992 of file graphics.h.
|
private |
Definition at line 6300 of file graphics.in.h.
|
private |
Definition at line 13989 of file graphics.h.
|
private |
Definition at line 6305 of file graphics.in.h.
|
private |
Definition at line 13994 of file graphics.h.
|
private |
Definition at line 6302 of file graphics.in.h.
|
private |
Definition at line 13991 of file graphics.h.
|
private |
Definition at line 6298 of file graphics.in.h.
|
private |
Definition at line 13987 of file graphics.h.
|
protected |
Definition at line 9244 of file graphics.cc.
References gtk_manager::default_toolkit(), and handle_map.
Referenced by create_instance().
|
protected |
|
inlinestatic |
Definition at line 6072 of file graphics.in.h.
|
inlinestatic |
Definition at line 13761 of file graphics.h.
Referenced by create_instance().
|
inlinestatic |
Definition at line 6270 of file graphics.in.h.
|
inlinestatic |
Definition at line 13959 of file graphics.h.
|
static |
|
static |
Definition at line 9257 of file graphics.cc.
References singleton_cleanup_list::add(), cleanup_instance(), gh_manager(), and instance.
|
inlinestatic |
Definition at line 6149 of file graphics.in.h.
|
inlinestatic |
Definition at line 13838 of file graphics.h.
Referenced by root_figure::properties::remove_child(), and figure::properties::set_integerhandle().
|
private |
|
private |
Definition at line 2721 of file graphics.cc.
References close_figure(), force_close_figure(), h, lookup(), Array< T >::numel(), octave_handle::ok(), and warning().
|
inlineprivate |
Definition at line 6401 of file graphics.in.h.
|
inlineprivate |
Definition at line 14090 of file graphics.h.
References is_handle_visible(), and retval.
|
private |
|
private |
Definition at line 9785 of file graphics.cc.
References octave::command_editor::add_event_hook(), action_container::empty(), event_processing, process_events(), and octave::command_editor::remove_event_hook().
|
private |
|
private |
Definition at line 9547 of file graphics.cc.
References action_container::add_fcn(), octave_handle::as_octave_value(), c, callback_objects, octave_value::cell_value(), octave_value::class_name(), octave_value::columns(), error(), eval_string(), fcn, Fdrawnow(), feval(), frame, octave_value::function_value(), get_object(), graphics_object::get_properties(), base_properties::graphics_object_name(), octave_value::is_cell(), octave_value::is_defined(), octave_value::is_empty(), octave_value::is_function(), octave_value::is_function_handle(), octave_value::is_string(), octave_value::length(), nm, Array< T >::numel(), ovl(), recover_from_exception(), restore_gcbo(), octave_value::rows(), s, string, octave_value::string_value(), Vdrawnow_requested, and xset_gcbo().
|
private |
|
private |
Definition at line 9533 of file graphics.cc.
References graphics_event::create_callback_event(), do_post_event(), execute_callback(), and octave_thread::is_octave_thread().
Definition at line 6381 of file graphics.in.h.
Definition at line 14070 of file graphics.h.
References is_handle_visible(), octave_value::resize(), and retval.
|
private |
|
private |
Definition at line 2500 of file graphics.cc.
References octave::math::ceil(), base_properties::delete_children(), error(), base_properties::execute_deletefcn(), base_properties::get_deletefcn(), make_handle_fraction(), octave_handle::ok(), p, base_properties::set_beingdeleted(), val, and octave_handle::value().
|
private |
|
private |
Definition at line 2459 of file graphics.cc.
References octave::math::ceil(), make_handle_fraction(), p, and retval.
|
inlineprivate |
Definition at line 6348 of file graphics.in.h.
|
inlineprivate |
Definition at line 14037 of file graphics.h.
References octave_handle::ok().
Definition at line 6363 of file graphics.in.h.
Definition at line 14052 of file graphics.h.
References is_handle_visible(), octave_value::resize(), retval, and octave_handle::value().
|
inlineprivate |
Definition at line 6414 of file graphics.in.h.
|
inlineprivate |
Definition at line 14103 of file graphics.h.
References octave_mutex::lock().
|
inlineprivate |
Definition at line 6340 of file graphics.in.h.
|
inlineprivate |
Definition at line 14029 of file graphics.h.
References octave::math::isnan().
|
private |
|
private |
Definition at line 9325 of file graphics.cc.
References h, handle_map, graphics_object::initialize(), graphics_object::override_defaults(), and val.
|
private |
|
private |
Definition at line 9266 of file graphics.cc.
References error(), base_properties::execute_createfcn(), get_handle(), get_object(), base_graphics_object::get_properties(), axes::properties::get_title(), axes::properties::get_xlabel(), axes::properties::get_ylabel(), axes::properties::get_zlabel(), h, handle_map, make_graphics_object_from_type(), and graphics_object::override_defaults().
|
private |
|
private |
Definition at line 9352 of file graphics.cc.
References figure_list.
Referenced by do_push_figure().
|
private |
|
private |
Definition at line 9660 of file graphics.cc.
References callback_objects, caseless_str::compare(), graphics_event::create_callback_event(), do_post_event(), base_properties::get_busyaction(), get_object(), graphics_object::get_properties(), base_properties::is_interruptible(), graphics_object::isa(), string, and graphics_object::valid_object().
|
private |
|
private |
Definition at line 9652 of file graphics.cc.
References octave::command_editor::add_event_hook(), and process_events().
Referenced by do_execute_listener(), do_post_callback(), do_post_function(), and do_post_set().
|
private |
|
private |
Definition at line 9703 of file graphics.cc.
References graphics_event::create_function_event(), and do_post_event().
|
private |
|
private |
Definition at line 9711 of file graphics.cc.
References graphics_event::create_set_event(), and do_post_event().
Definition at line 9721 of file graphics.cc.
References callback_objects, e, action_container::empty(), event_processing, graphics_event::execute(), Fdrawnow(), flush_octave_stdout(), graphics_object::get_properties(), base_properties::is_interruptible(), graphics_event::ok(), process_events(), octave::command_editor::remove_event_hook(), and Vdrawnow_requested.
|
private |
|
private |
Definition at line 9344 of file graphics.cc.
References do_pop_figure(), and figure_list.
|
private |
|
private |
Definition at line 2543 of file graphics.cc.
References octave::math::ceil(), error(), make_handle_fraction(), p, and octave_handle::value().
|
private |
|
private |
Definition at line 9522 of file graphics.cc.
References callback_objects, and xset_gcbo().
Referenced by restore_gcbo().
|
inlineprivate |
Definition at line 6416 of file graphics.in.h.
|
inlineprivate |
Definition at line 14105 of file graphics.h.
References octave_mutex::try_lock().
|
inlineprivate |
Definition at line 6418 of file graphics.in.h.
|
inlineprivate |
Definition at line 14107 of file graphics.h.
References octave_mutex::unlock().
|
inlinestatic |
Definition at line 6252 of file graphics.in.h.
|
inlinestatic |
Definition at line 13941 of file graphics.h.
Referenced by QtHandles::__init__(), and QtHandles::__shutdown__().
|
inlinestatic |
Definition at line 6194 of file graphics.in.h.
|
inlinestatic |
Definition at line 6213 of file graphics.in.h.
|
inlinestatic |
Definition at line 13883 of file graphics.h.
References graphics_object::get(), and graphics_object::valid_object().
Referenced by close_figure(), do_execute_listener(), callback_property::execute(), and callback_event::execute().
|
inlinestatic |
Definition at line 13902 of file graphics.h.
|
inlinestatic |
Definition at line 6187 of file graphics.in.h.
|
inlinestatic |
Definition at line 13876 of file graphics.h.
Referenced by base_property::run_listeners().
Definition at line 6181 of file graphics.in.h.
Definition at line 13870 of file graphics.h.
Referenced by Fdrawnow().
|
inlinestatic |
Definition at line 6247 of file graphics.in.h.
|
inlinestatic |
Definition at line 13936 of file graphics.h.
|
inlinestatic |
Definition at line 6081 of file graphics.in.h.
|
inlinestatic |
Definition at line 13770 of file graphics.h.
Referenced by delete_graphics_object(), axes::properties::delete_text_child(), children_property::do_delete_children(), and axes::properties::set_text_child().
|
inlinestatic |
Definition at line 6074 of file graphics.in.h.
|
inlinestatic |
Definition at line 13763 of file graphics.h.
Referenced by do_make_graphics_handle(), and figure::properties::set_integerhandle().
|
inlinestatic |
Definition at line 6105 of file graphics.in.h.
|
inlinestatic |
Definition at line 6110 of file graphics.in.h.
|
inlinestatic |
Definition at line 13794 of file graphics.h.
References lookup().
Referenced by QtHandles::__init__(), adopt(), figure::properties::adopt(), base_graphics_object::build_user_defaults_map(), axes::properties::calc_tightbox(), QtHandles::Container::canvas(), QtHandles::Canvas::canvasAutoAxes(), QtHandles::Canvas::canvasKeyPressEvent(), QtHandles::Canvas::canvasMouseMoveEvent(), QtHandles::Canvas::canvasMousePressEvent(), QtHandles::Canvas::canvasMouseReleaseEvent(), QtHandles::Canvas::canvasToggleAxes(), QtHandles::Canvas::canvasToggleGrid(), QtHandles::Canvas::canvasWheelEvent(), convert_cdata(), convert_text_position(), QtHandles::ObjectFactory::createObject(), delete_graphics_object(), axes::properties::delete_text_child(), do_cleanup_waitfor_listener(), children_property::do_delete_children(), do_execute_callback(), children_property::do_get_children(), do_make_graphics_handle(), do_post_callback(), QtHandles::GLCanvas::draw(), octave::opengl_renderer::draw(), octave::opengl_renderer::draw_all_lights(), octave::opengl_renderer::draw_axes_x_grid(), octave::opengl_renderer::draw_axes_y_grid(), octave::opengl_renderer::draw_axes_z_grid(), set_event::execute(), QtHandles::ContextMenu::executeAt(), F__zoom__(), Fdrawnow(), Fget(), base_graphics_toolkit::finalize(), finalize_r(), for(), Freset(), G__osmesa_print__(), graphics_object::get_ancestor(), axes::properties::get_boundingbox(), uicontrol::properties::get_boundingbox(), uibuttongroup::properties::get_boundingbox(), uipanel::properties::get_boundingbox(), get_children_limits(), base_graphics_object::get_default(), figure::get_default(), axes::get_default(), uitoolbar::get_default(), axes::properties::get_extent(), uicontrol::properties::get_extent(), base_graphics_object::get_factory_default(), text::properties::get_fontsize_points(), get_graphics_object_type(), base_properties::get_toolkit(), QtHandles::hasUiControlChildren(), QtHandles::hasUiMenuChildren(), if(), base_graphics_toolkit::initialize(), initialize_r(), is_figure(), base_properties::mark_modified(), QtHandles::Object::object(), base_properties::override_defaults(), QtHandles::Object::parentObject(), QtHandles::Canvas::print(), QtHandles::Utils::properties(), figure::properties::remove_child(), reparent(), base_graphics_object::reset_default_properties(), screen_size_pixels(), QtHandles::Canvas::select_object(), base_property::set(), axes::properties::set_defaults(), figure::properties::set_integerhandle(), base_properties::set_parent(), uibuttongroup::properties::set_selectedobject(), axes::properties::set_text_child(), QtHandles::ButtonControl::update(), QtHandles::ButtonGroup::update(), base_graphics_toolkit::update(), base_properties::update_autopos(), base_properties::update_axis_limits(), base_graphics_object::update_axis_limits(), base_properties::update_boundingbox(), text::properties::update_fontunits(), axes::properties::update_label_color(), hggroup::properties::update_limits(), axes::properties::update_title_position(), base_properties::update_uicontextmenu(), axes::properties::update_units(), uicontrol::properties::update_units(), uibuttongroup::properties::update_units(), uipanel::properties::update_units(), axes::properties::update_xlabel_position(), axes::properties::update_ylabel_position(), axes::properties::update_zlabel_position(), QtHandles::Figure::updateBoundingBoxHelper(), QtHandles::Canvas::updateCurrentPoint(), base_graphics_object::value_as_string(), base_graphics_object::values_as_string(), base_graphics_object::values_as_struct(), waitfor_listener(), xcreatefcn(), xget(), xinitialize(), xreset_default_properties(), xset(), xset_gcbo(), and uicontextmenu::~uicontextmenu().
|
inlinestatic |
Definition at line 13799 of file graphics.h.
Definition at line 6155 of file graphics.in.h.
Definition at line 13844 of file graphics.h.
|
inlinestatic |
Definition at line 6059 of file graphics.in.h.
|
inlinestatic |
Definition at line 13748 of file graphics.h.
|
inlinestatic |
Definition at line 6258 of file graphics.in.h.
|
inlinestatic |
Definition at line 13947 of file graphics.h.
References graphics_object::is_handle_visible(), retval, and graphics_object::valid_object().
Referenced by children_property::do_get_children(), and is_handle_visible().
|
inlinestatic |
Definition at line 6161 of file graphics.in.h.
|
inlinestatic |
Definition at line 13850 of file graphics.h.
Referenced by Fdrawnow().
|
inlinestatic |
Definition at line 6094 of file graphics.in.h.
|
inlinestatic |
Definition at line 6099 of file graphics.in.h.
|
inlinestatic |
Definition at line 13783 of file graphics.h.
Referenced by delete_graphics_object(), do_cleanup_waitfor_listener(), do_close_all_figures(), handle_property::do_set(), F__zoom__(), Fdrawnow(), if(), is_handle(), is_handle_visible(), reparent(), base_properties::set_parent(), axes::properties::set_text_child(), waitfor_listener(), and while().
|
inlinestatic |
Definition at line 13788 of file graphics.h.
References octave_value::double_value(), octave_value::is_real_scalar(), and lookup().
|
inlinestatic |
Definition at line 6129 of file graphics.in.h.
|
inlinestatic |
Definition at line 13818 of file graphics.h.
|
inlinestatic |
Definition at line 6116 of file graphics.in.h.
|
inlinestatic |
Definition at line 13805 of file graphics.h.
Referenced by axes::properties::delete_text_child(), and axes::properties::set_defaults().
|
inlinestatic |
Definition at line 6143 of file graphics.in.h.
|
inlinestatic |
Definition at line 13832 of file graphics.h.
Referenced by root_figure::properties::remove_child().
|
inlinestatic |
Definition at line 6221 of file graphics.in.h.
|
inlinestatic |
Definition at line 13910 of file graphics.h.
Referenced by QtHandles::ContextMenu::aboutToShow(), QtHandles::Menu::actionHovered(), QtHandles::Menu::actionTriggered(), QtHandles::ButtonGroup::buttonClicked(), QtHandles::Canvas::canvasKeyPressEvent(), QtHandles::Canvas::canvasKeyReleaseEvent(), QtHandles::Canvas::canvasMouseMoveEvent(), QtHandles::Canvas::canvasMousePressEvent(), QtHandles::Canvas::canvasMouseReleaseEvent(), QtHandles::PushTool::clicked(), QtHandles::ButtonControl::clicked(), QtHandles::PopupMenuControl::currentIndexChanged(), QtHandles::EditControl::editingFinished(), QtHandles::BaseControl::eventFilter(), QtHandles::Figure::eventNotifyBefore(), QtHandles::ListBoxControl::itemSelectionChanged(), QtHandles::EditControl::returnPressed(), QtHandles::ButtonControl::toggled(), QtHandles::ToggleTool::triggered(), and QtHandles::SliderControl::valueChanged().
|
inlinestatic |
Definition at line 6229 of file graphics.in.h.
|
inlinestatic |
Definition at line 13918 of file graphics.h.
Referenced by QtHandles::Figure::updateBoundingBox().
|
inlinestatic |
Definition at line 6235 of file graphics.in.h.
|
inlinestatic |
Definition at line 13924 of file graphics.h.
Referenced by QtHandles::ContextMenu::aboutToHide(), QtHandles::ContextMenu::aboutToShow(), QtHandles::ButtonGroup::buttonToggled(), QtHandles::Canvas::canvasKeyPressEvent(), QtHandles::Canvas::canvasMousePressEvent(), QtHandles::PopupMenuControl::currentIndexChanged(), QtHandles::EditControl::editingFinished(), QtHandles::BaseControl::eventFilter(), QtHandles::ListBoxControl::itemSelectionChanged(), QtHandles::EditControl::returnPressed(), QtHandles::ButtonControl::toggled(), QtHandles::ToggleTool::triggered(), QtHandles::PopupMenuControl::update(), QtHandles::Canvas::updateCurrentPoint(), and QtHandles::SliderControl::valueChanged().
|
inlinestatic |
Definition at line 6242 of file graphics.in.h.
|
inlinestatic |
Definition at line 13931 of file graphics.h.
Referenced by do_enable_event_processing(), do_post_event(), do_process_events(), and Fdrawnow().
|
inlinestatic |
Definition at line 6137 of file graphics.in.h.
|
inlinestatic |
Definition at line 13826 of file graphics.h.
Referenced by root_figure::properties::set_currentfigure().
|
inlinestatic |
Definition at line 6087 of file graphics.in.h.
|
inlinestatic |
Definition at line 13776 of file graphics.h.
Referenced by figure::properties::set_integerhandle().
|
inlinestaticprivate |
Definition at line 6437 of file graphics.in.h.
|
inlinestaticprivate |
Definition at line 14126 of file graphics.h.
References do_restore_gcbo().
Referenced by do_execute_callback().
|
inlinestatic |
Definition at line 6167 of file graphics.in.h.
|
inlinestatic |
Definition at line 13856 of file graphics.h.
|
inlinestatic |
Definition at line 6175 of file graphics.in.h.
|
inlinestatic |
Definition at line 13864 of file graphics.h.
Referenced by Fdrawnow().
|
private |
Definition at line 14017 of file graphics.h.
Referenced by do_execute_callback(), do_post_callback(), do_process_events(), and do_restore_gcbo().
|
private |
Definition at line 14020 of file graphics.h.
Referenced by do_enable_event_processing(), and do_process_events().
|
private |
Definition at line 14014 of file graphics.h.
|
private |
Definition at line 14008 of file graphics.h.
Referenced by do_pop_figure(), and do_push_figure().
|
private |
Definition at line 14011 of file graphics.h.
|
private |
Definition at line 14001 of file graphics.h.
|
private |
Definition at line 13998 of file graphics.h.
Referenced by do_make_figure_handle(), do_make_graphics_handle(), and gh_manager().
|
staticprivate |
Definition at line 13985 of file graphics.h.
Referenced by create_instance().
|
private |
Definition at line 14004 of file graphics.h.