GNU Octave
3.8.0
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) |
Private Attributes | |
std::list< graphics_object > | callback_objects |
int | event_processing |
std::list< graphics_event > | event_queue |
std::list< graphics_handle > | figure_list |
octave_mutex | graphics_lock |
std::set< graphics_handle > | handle_free_list |
std::map< graphics_handle, graphics_object > | handle_map |
double | next_handle |
Static Private Attributes | |
static gh_manager * | instance = 0 |
Definition at line 12585 of file graphics.h.
|
private |
Definition at line 5741 of file graphics.in.h.
|
private |
Definition at line 12847 of file graphics.h.
|
private |
Definition at line 5738 of file graphics.in.h.
|
private |
Definition at line 12844 of file graphics.h.
|
private |
Definition at line 5735 of file graphics.in.h.
|
private |
Definition at line 12841 of file graphics.h.
|
private |
Definition at line 5740 of file graphics.in.h.
|
private |
Definition at line 12846 of file graphics.h.
|
private |
Definition at line 5737 of file graphics.in.h.
|
private |
Definition at line 12843 of file graphics.h.
|
private |
Definition at line 5733 of file graphics.in.h.
|
private |
Definition at line 12839 of file graphics.h.
|
protected |
Definition at line 7996 of file graphics.cc.
References gtk_manager::default_toolkit(), and handle_map.
Referenced by create_instance().
|
protected |
Definition at line 5506 of file graphics.in.h.
Definition at line 12612 of file graphics.h.
Referenced by create_instance().
Definition at line 5705 of file graphics.in.h.
Definition at line 12811 of file graphics.h.
Referenced by do_octave_atexit().
Definition at line 8009 of file graphics.cc.
References singleton_cleanup_list::add(), cleanup_instance(), gh_manager(), and instance.
|
inlinestatic |
Definition at line 5583 of file graphics.in.h.
|
inlinestatic |
Definition at line 12689 of file graphics.h.
Referenced by root_figure::properties::remove_child(), and figure::properties::set_integerhandle().
Definition at line 2505 of file graphics.cc.
References close_figure(), force_close_figure(), lookup(), Array< T >::numel(), and octave_handle::ok().
|
inlineprivate |
Definition at line 5839 of file graphics.in.h.
|
inlineprivate |
Definition at line 12945 of file graphics.h.
References is_handle_visible().
Definition at line 8475 of file graphics.cc.
References command_editor::add_event_hook(), action_container::empty(), event_processing, process_events(), and command_editor::remove_event_hook().
|
private |
|
private |
Definition at line 8273 of file graphics.cc.
References action_container::add_fcn(), octave_handle::as_octave_value(), callback_objects, octave_value::cell_value(), octave_value::class_name(), octave_value::columns(), error(), error_state, eval_string(), feval(), octave_value::function_value(), get_object(), 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(), Array< T >::length(), octave_value::length(), restore_gcbo(), octave_value::rows(), octave_value::string_value(), and xset_gcbo().
|
private |
|
private |
Definition at line 8259 of file graphics.cc.
References graphics_event::create_callback_event(), do_post_event(), execute_callback(), and octave_thread::is_octave_thread().
Definition at line 5815 of file graphics.in.h.
Definition at line 12921 of file graphics.h.
References is_handle_visible(), and octave_handle::value().
|
private |
|
private |
Definition at line 2277 of file graphics.cc.
References ceil(), base_properties::delete_children(), error(), base_properties::execute_deletefcn(), base_properties::get_deletefcn(), make_handle_fraction(), octave_handle::ok(), base_properties::set_beingdeleted(), and octave_handle::value().
|
private |
|
private |
Definition at line 2235 of file graphics.cc.
References ceil(), and make_handle_fraction().
|
inlineprivate |
Definition at line 5782 of file graphics.in.h.
|
inlineprivate |
Definition at line 12888 of file graphics.h.
References octave_handle::ok().
Definition at line 5797 of file graphics.in.h.
Definition at line 12903 of file graphics.h.
References is_handle_visible(), and octave_handle::value().
Definition at line 5856 of file graphics.in.h.
Definition at line 12962 of file graphics.h.
|
inlineprivate |
Definition at line 5775 of file graphics.in.h.
|
inlineprivate |
Definition at line 12881 of file graphics.h.
References xisnan().
|
private |
|
private |
Definition at line 8050 of file graphics.cc.
References handle_map, and graphics_object::initialize().
|
private |
|
private |
Definition at line 8018 of file graphics.cc.
References error(), base_properties::execute_createfcn(), get_handle(), base_graphics_object::get_properties(), handle_map, graphics_object::initialize(), and make_graphics_object_from_type().
|
private |
|
private |
Definition at line 8075 of file graphics.cc.
References figure_list.
Referenced by do_push_figure().
|
private |
|
private |
Definition at line 8351 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(), and graphics_object::valid_object().
|
private |
|
private |
Definition at line 8343 of file graphics.cc.
References 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 8393 of file graphics.cc.
References graphics_event::create_function_event(), and do_post_event().
|
private |
|
private |
Definition at line 8401 of file graphics.cc.
References graphics_event::create_set_event(), and do_post_event().
Definition at line 8411 of file graphics.cc.
References callback_objects, action_container::empty(), event_processing, graphics_event::execute(), Fdrawnow(), flush_octave_stdout(), graphics_object::get_properties(), base_properties::is_interruptible(), lock(), graphics_event::ok(), process_events(), command_editor::remove_event_hook(), unlock(), and Vdrawnow_requested.
|
private |
|
private |
Definition at line 8067 of file graphics.cc.
References do_pop_figure(), and figure_list.
|
private |
|
private |
Definition at line 2324 of file graphics.cc.
References ceil(), error(), make_handle_fraction(), and octave_handle::value().
Definition at line 8247 of file graphics.cc.
References callback_objects, and xset_gcbo().
Definition at line 5858 of file graphics.in.h.
Definition at line 12964 of file graphics.h.
Definition at line 5860 of file graphics.in.h.
Definition at line 12966 of file graphics.h.
Definition at line 5687 of file graphics.in.h.
Definition at line 12793 of file graphics.h.
|
inlinestatic |
Definition at line 5628 of file graphics.in.h.
|
inlinestatic |
Definition at line 5648 of file graphics.in.h.
|
inlinestatic |
Definition at line 12734 of file graphics.h.
References error_state, graphics_object::get(), and graphics_object::valid_object().
Referenced by close_figure(), do_execute_listener(), callback_property::execute(), callback_event::execute(), and F__go_execute_callback__().
|
inlinestatic |
Definition at line 12754 of file graphics.h.
|
inlinestatic |
Definition at line 5621 of file graphics.in.h.
|
inlinestatic |
Definition at line 12727 of file graphics.h.
Referenced by base_property::run_listeners().
Definition at line 5615 of file graphics.in.h.
Definition at line 12721 of file graphics.h.
Referenced by F__go_figure_handles__(), and Fdrawnow().
Definition at line 5682 of file graphics.in.h.
Definition at line 12788 of file graphics.h.
|
inlinestatic |
Definition at line 5515 of file graphics.in.h.
|
inlinestatic |
Definition at line 12621 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 5508 of file graphics.in.h.
|
inlinestatic |
Definition at line 12614 of file graphics.h.
Referenced by do_make_graphics_handle().
|
inlinestatic |
Definition at line 5539 of file graphics.in.h.
|
inlinestatic |
Definition at line 5544 of file graphics.in.h.
|
inlinestatic |
Definition at line 12645 of file graphics.h.
References lookup().
Referenced by adopt(), calc_dimensions(), axes::properties::calc_tightbox(), convert_cdata(), convert_text_position(), 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_post_callback(), opengl_renderer::draw(), set_event::execute(), F__calc_dimensions__(), F__get__(), F__go_axes_init__(), F__go_figure__(), F__image_pixel_size__(), Faddlistener(), Faddproperty(), Fdellistener(), Fdrawnow(), Fget(), base_graphics_toolkit::finalize(), finalize_r(), Freset(), Fset(), Fwaitfor(), graphics_object::get_ancestor(), axes::properties::get_boundingbox(), uicontrol::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(), get_property_from_handle(), base_properties::get_toolkit(), base_graphics_toolkit::initialize(), initialize_r(), is_figure(), base_properties::mark_modified(), base_properties::override_defaults(), figure::properties::remove_child(), reparent(), screen_size_pixels(), base_property::set(), figure::properties::set_integerhandle(), base_properties::set_parent(), set_property_in_handle(), axes::properties::set_text_child(), base_graphics_toolkit::update(), base_properties::update_autopos(), base_properties::update_axis_limits(), base_graphics_object::update_axis_limits(), base_properties::update_boundingbox(), hggroup::properties::update_limits(), axes::properties::update_title_position(), axes::properties::update_units(), uicontrol::properties::update_units(), uipanel::properties::update_units(), axes::properties::update_xlabel_position(), axes::properties::update_ylabel_position(), axes::properties::update_zlabel_position(), waitfor_listener(), xcreatefcn(), xget(), xinitialize(), xset(), and xset_gcbo().
|
inlinestatic |
Definition at line 12650 of file graphics.h.
Definition at line 5589 of file graphics.in.h.
Definition at line 12695 of file graphics.h.
Referenced by F__go_handles__().
Definition at line 5489 of file graphics.in.h.
Definition at line 12595 of file graphics.h.
References error().
|
inlinestatic |
Definition at line 5693 of file graphics.in.h.
|
inlinestatic |
Definition at line 12799 of file graphics.h.
References graphics_object::is_handle_visible(), and graphics_object::valid_object().
Referenced by children_property::do_get_children(), and is_handle_visible().
Definition at line 5595 of file graphics.in.h.
Definition at line 12701 of file graphics.h.
Referenced by do_process_events(), and Fdrawnow().
|
inlinestatic |
Definition at line 5528 of file graphics.in.h.
|
inlinestatic |
Definition at line 5533 of file graphics.in.h.
|
inlinestatic |
Definition at line 12634 of file graphics.h.
Referenced by calc_dimensions(), delete_graphics_object(), do_cleanup_waitfor_listener(), F__go_axes_init__(), F__go_delete__(), F__go_execute_callback__(), F__go_figure__(), Faddlistener(), Faddproperty(), Fdellistener(), Fdrawnow(), Fwaitfor(), is_handle_visible(), make_graphics_object(), axes::properties::set_text_child(), and waitfor_listener().
|
inlinestatic |
Definition at line 12639 of file graphics.h.
References octave_value::double_value(), octave_value::is_real_scalar(), and lookup().
|
inlinestatic |
Definition at line 5563 of file graphics.in.h.
|
inlinestatic |
Definition at line 12669 of file graphics.h.
Referenced by F__go_figure__().
|
inlinestatic |
Definition at line 5550 of file graphics.in.h.
|
inlinestatic |
Definition at line 12656 of file graphics.h.
Referenced by axes::properties::delete_text_child(), F__go_figure__(), make_graphics_object(), axes::properties::set_defaults(), and axes::properties::set_text_child().
|
inlinestatic |
Definition at line 5577 of file graphics.in.h.
|
inlinestatic |
Definition at line 12683 of file graphics.h.
Referenced by root_figure::properties::remove_child().
|
inlinestatic |
Definition at line 5656 of file graphics.in.h.
|
inlinestatic |
Definition at line 12762 of file graphics.h.
|
inlinestatic |
Definition at line 5664 of file graphics.in.h.
|
inlinestatic |
Definition at line 12770 of file graphics.h.
|
inlinestatic |
Definition at line 5670 of file graphics.in.h.
|
inlinestatic |
Definition at line 12776 of file graphics.h.
Definition at line 5677 of file graphics.in.h.
Definition at line 12783 of file graphics.h.
Referenced by do_enable_event_processing(), do_post_event(), do_process_events(), and Fdrawnow().
|
inlinestatic |
Definition at line 5571 of file graphics.in.h.
|
inlinestatic |
Definition at line 12677 of file graphics.h.
Referenced by F__go_figure__(), and root_figure::properties::set_currentfigure().
|
inlinestatic |
Definition at line 5521 of file graphics.in.h.
|
inlinestatic |
Definition at line 12627 of file graphics.h.
Referenced by figure::properties::set_integerhandle().
Definition at line 5879 of file graphics.in.h.
Definition at line 12985 of file graphics.h.
Referenced by do_execute_callback().
Definition at line 5601 of file graphics.in.h.
Definition at line 12707 of file graphics.h.
Definition at line 5609 of file graphics.in.h.
Definition at line 12715 of file graphics.h.
Referenced by do_process_events(), and Fdrawnow().
|
private |
Definition at line 12869 of file graphics.h.
Referenced by do_execute_callback(), do_post_callback(), do_process_events(), and do_restore_gcbo().
|
private |
Definition at line 12872 of file graphics.h.
Referenced by do_enable_event_processing(), and do_process_events().
|
private |
Definition at line 12866 of file graphics.h.
|
private |
Definition at line 12860 of file graphics.h.
Referenced by do_pop_figure(), and do_push_figure().
|
private |
Definition at line 12863 of file graphics.h.
|
private |
Definition at line 12853 of file graphics.h.
|
private |
Definition at line 12850 of file graphics.h.
Referenced by do_make_figure_handle(), do_make_graphics_handle(), and gh_manager().
|
staticprivate |
Definition at line 12837 of file graphics.h.
Referenced by create_instance().
|
private |
Definition at line 12856 of file graphics.h.