GNU Octave
3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include <cctype>
#include <cfloat>
#include <cstdlib>
#include <ctime>
#include <algorithm>
#include <list>
#include <map>
#include <set>
#include <string>
#include <sstream>
#include "cmd-edit.h"
#include "file-ops.h"
#include "file-stat.h"
#include "oct-locbuf.h"
#include "singleton-cleanup.h"
#include "builtins.h"
#include "cutils.h"
#include "defun.h"
#include "display.h"
#include "error.h"
#include "graphics.h"
#include "input.h"
#include "ov.h"
#include "oct-obj.h"
#include "oct-map.h"
#include "ov-fcn-handle.h"
#include "pager.h"
#include "parse.h"
#include "toplev.h"
#include "txt-eng-ft.h"
#include "unwind-prot.h"
#include "graphics-props.cc"
Go to the source code of this file.
Classes | |
class | callback_event |
class | function_event |
class | set_event |
Macros | |
#define | CHECK_ARRAY_EQUAL(T, F, A) |
#define | CONVERT_CDATA_1(ARRAY_T, VAL_FN) |
#define | FIX_LIMITS |
#define | GO_BODY(TYPE) |
Variables | |
static std::map< caseless_str, graphics_object > | dprop_obj_map |
static bool | executing_callback = false |
static bool | updating_aspectratios = false |
static bool | updating_axes_layout = false |
static bool | updating_axis_limits = false |
static bool | updating_hggroup_limits = false |
static bool | updating_title_position = false |
static bool | updating_xlabel_position = false |
static bool | updating_ylabel_position = false |
static bool | updating_zlabel_position = false |
static std::map< uint32_t, bool > | waitfor_results |
Referenced by array_property::is_equal().
#define CONVERT_CDATA_1 | ( | ARRAY_T, | |
VAL_FN | |||
) |
Referenced by convert_cdata().
#define FIX_LIMITS |
Referenced by axes::update_axis_limits().
#define GO_BODY | ( | TYPE | ) |
Definition at line 9169 of file graphics.cc.
Referenced by F__go_axes__(), F__go_hggroup__(), F__go_image__(), F__go_line__(), F__go_patch__(), F__go_surface__(), F__go_text__(), F__go_uicontextmenu__(), F__go_uicontrol__(), F__go_uimenu__(), F__go_uipanel__(), F__go_uipushtool__(), F__go_uitoggletool__(), and F__go_uitoolbar__().
|
static |
Definition at line 2548 of file graphics.cc.
References graphics_object::adopt(), and gh_manager::get_object().
Referenced by hggroup::properties::adopt(), uimenu::properties::adopt(), F__go_figure__(), and make_graphics_object().
int calc_dimensions | ( | const graphics_object & | go | ) |
Definition at line 9182 of file graphics.cc.
References calc_dimensions(), graphics_object::get(), base_properties::get_children(), gh_manager::get_object(), graphics_object::get_properties(), octave_value::is_empty(), graphics_object::isa(), Array< T >::length(), gh_manager::lookup(), octave_handle::ok(), and graphics_object::valid_object().
Referenced by calc_dimensions(), and F__calc_dimensions__().
|
inline |
Definition at line 4652 of file graphics.cc.
References Array< T >::fortran_vec().
Referenced by axes::properties::update_camera().
|
static |
Definition at line 6050 of file graphics.cc.
References error_state, octave_value::is_matrix_type(), octave_value::matrix_value(), Array< T >::numel(), and xfinite().
Referenced by get_children_limits().
|
static |
Definition at line 10195 of file graphics.cc.
Referenced by Fwaitfor().
|
static |
Definition at line 10239 of file graphics.cc.
References do_cleanup_waitfor_listener(), and POSTSET.
Referenced by Fwaitfor().
|
static |
Definition at line 10243 of file graphics.cc.
References do_cleanup_waitfor_listener(), and PREDELETE.
Referenced by Fwaitfor().
|
static |
Definition at line 2485 of file graphics.cc.
References gh_manager::execute_callback(), OCTAVE_SAFE_CALL, and xget().
Referenced by gh_manager::do_close_all_figures().
|
static |
Definition at line 10177 of file graphics.cc.
References error_state, feval(), and octave_value_list::length().
Referenced by Fwaitfor(), and waitfor_listener().
|
static |
Definition at line 712 of file graphics.cc.
References CONVERT_CDATA_1, Array< T >::data(), octave_value::dims(), error(), error_state, Array< T >::fortran_vec(), graphics_object::get(), base_properties::get___myhandle__(), graphics_object::get_ancestor(), gh_manager::get_object(), octave_value::is_double_type(), octave_value::is_single_type(), octave_value::is_uint8_type(), octave_value::matrix_value(), Array< T >::numel(), octave_value(), Matrix::resize(), Array< T >::rows(), octave_value::type_name(), and graphics_object::valid_object().
Referenced by image::properties::get_color_data(), patch::properties::get_color_data(), and surface::properties::get_color_data().
void convert_cdata_1 | ( | bool | is_scaled, |
double | clim_0, | ||
double | clim_1, | ||
const double * | cmapv, | ||
const T * | cv, | ||
octave_idx_type | lda, | ||
octave_idx_type | nc, | ||
double * | av | ||
) |
Definition at line 703 of file graphics.cc.
References convert_cdata_2().
|
static |
Definition at line 671 of file graphics.cc.
References x, xisnan(), and xround().
Referenced by convert_cdata_1().
|
static |
Definition at line 367 of file graphics.cc.
References caseless_str::compare(), octave_value::double_value(), and xget().
Referenced by axes::properties::get_fontsize_points(), text::properties::get_fontsize_points(), uicontrol::properties::get_fontsize_points(), uipanel::properties::get_fontsize_points(), axes::properties::update_fontunits(), uicontrol::properties::update_fontunits(), and uipanel::properties::update_fontunits().
|
static |
Definition at line 5844 of file graphics.cc.
References string_vector::append(), octave_value::columns(), octave_value::is_cellstr(), octave_value::is_string(), octave_value::numel(), octave_value(), octave_value::reshape(), octave_value::rows(), and octave_value::string_value().
Referenced by axes::properties::set_linestyleorder().
|
static |
Definition at line 425 of file graphics.cc.
References caseless_str::compare(), octave_value::double_value(), f, Array< T >::numel(), and xget().
Referenced by axes::properties::calc_tightbox(), convert_text_position(), figure::properties::get_boundingbox(), axes::properties::get_boundingbox(), uicontrol::properties::get_boundingbox(), uipanel::properties::get_boundingbox(), uicontrol::properties::get_extent(), figure::properties::map_from_boundingbox(), figure::properties::map_to_boundingbox(), screen_size_pixels(), figure::properties::set_boundingbox(), figure::properties::update_units(), axes::properties::update_units(), uicontrol::properties::update_units(), and uipanel::properties::update_units().
|
static |
Definition at line 570 of file graphics.cc.
References caseless_str::compare(), convert_position(), Matrix::extract_n(), base_properties::get___myhandle__(), graphics_object::get_ancestor(), axes::properties::get_boundingbox(), gh_manager::get_object(), axes::properties::get_transform(), Array< T >::numel(), Matrix::resize(), graphics_xform::transform(), graphics_xform::untransform(), v1, and v2.
Referenced by text::properties::get_data_position(), text::properties::get_extent(), and text::properties::update_units().
|
static |
Definition at line 5743 of file graphics.cc.
References string_vector::append(), octave_value::array_value(), octave_value::columns(), octave_value::is_cellstr(), octave_value::is_numeric_type(), octave_value::is_string(), octave_value::numel(), octave_value(), octave_value::reshape(), octave_value::rows(), and octave_value::string_value().
Referenced by axes::properties::set_xticklabel(), axes::properties::set_yticklabel(), and axes::properties::set_zticklabel().
|
inline |
Definition at line 4623 of file graphics.cc.
References v1, v2, and xform_vector().
Referenced by axes::properties::update_camera().
|
inline |
Definition at line 7352 of file graphics.cc.
Referenced by surface::properties::update_normals().
Definition at line 269 of file graphics.cc.
Referenced by axes::properties::factory_defaults(), and axes::properties::set_defaults().
Definition at line 258 of file graphics.cc.
Referenced by axes::properties::factory_defaults(), axes::properties::init(), and axes::properties::set_defaults().
Definition at line 277 of file graphics.cc.
Referenced by axes::properties::factory_defaults().
Definition at line 290 of file graphics.cc.
Referenced by axes::properties::factory_defaults(), and axes::properties::set_defaults().
Definition at line 204 of file graphics.cc.
Referenced by axes::properties::factory_defaults(), and axes::properties::set_defaults().
Definition at line 330 of file graphics.cc.
Referenced by uicontrol::properties::factory_defaults().
Definition at line 343 of file graphics.cc.
Referenced by uicontrol::properties::factory_defaults().
Definition at line 247 of file graphics.cc.
Referenced by line::properties::factory_defaults().
Definition at line 319 of file graphics.cc.
Referenced by figure::properties::factory_defaults().
Definition at line 310 of file graphics.cc.
Referenced by figure::properties::factory_defaults().
Definition at line 299 of file graphics.cc.
Referenced by figure::properties::factory_defaults(), axes::properties::get_boundingbox(), and uicontrol::properties::get_boundingbox().
Definition at line 231 of file graphics.cc.
Referenced by axes::properties::factory_defaults(), and axes::properties::get_axis_limits().
Definition at line 354 of file graphics.cc.
Referenced by uipanel::properties::factory_defaults().
Definition at line 181 of file graphics.cc.
References display_info::depth().
Referenced by root_figure::properties::factory_defaults().
Definition at line 198 of file graphics.cc.
References display_info::x_dpi(), and display_info::y_dpi().
Referenced by root_figure::properties::factory_defaults().
Definition at line 187 of file graphics.cc.
References display_info::height(), and display_info::width().
Referenced by root_figure::properties::factory_defaults(), and root_figure::properties::update_units().
|
static |
Definition at line 2440 of file graphics.cc.
References gh_manager::free(), gh_manager::get_object(), graphics_object::get_parent(), graphics_object::get_properties(), base_properties::is_beingdeleted(), octave_handle::ok(), graphics_object::remove_child(), graphics_object::valid_object(), and Vdrawnow_requested.
Referenced by delete_graphics_object(), delete_graphics_objects(), and force_close_figure().
Definition at line 2472 of file graphics.cc.
References delete_graphics_object(), and gh_manager::lookup().
Definition at line 2478 of file graphics.cc.
References delete_graphics_object(), Array< T >::elem(), and Array< T >::numel().
Referenced by F__go_delete__().
|
static |
Definition at line 10201 of file graphics.cc.
References octave_value::cell_value(), base_properties::delete_listener(), error_state, gh_manager::get_object(), graphics_object::get_properties(), base_properties::has_property(), gh_manager::lookup(), Array< T >::numel(), octave_handle::ok(), PERSISTENT, and POSTSET.
Referenced by cleanup_waitfor_postset_listener(), and cleanup_waitfor_predelete_listener().
Definition at line 6994 of file graphics.cc.
References pow().
Referenced by axes::properties::translate_view().
Definition at line 6892 of file graphics.cc.
References pow().
Referenced by axes::properties::zoom_about_point().
|
inline |
Definition at line 4611 of file graphics.cc.
Referenced by install_dot_fcns(), norm(), and axes::properties::update_camera().
OCTAVE_EXPORT octave_value_list F__calc_dimensions__ | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 9221 of file graphics.cc.
References calc_dimensions(), error(), error_state, gh_manager::get_object(), octave_value::length(), and print_usage().
OCTAVE_EXPORT octave_value_list F__get__ | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 8946 of file graphics.cc.
References error(), error_state, graphics_object::get(), gh_manager::get_object(), Array< T >::length(), Array< T >::numel(), print_usage(), and Array< T >::resize().
OCTAVE_EXPORT octave_value_list F__go_axes__ | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 9246 of file graphics.cc.
References GO_BODY.
OCTAVE_EXPORT octave_value_list F__go_axes_init__ | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 9417 of file graphics.cc.
References error(), error_state, gh_manager::get_object(), octave_value::length(), gh_manager::lookup(), octave_NaN, octave_handle::ok(), print_usage(), and graphics_object::set_defaults().
OCTAVE_EXPORT octave_value_list F__go_delete__ | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 9372 of file graphics.cc.
References delete_graphics_objects(), Array< T >::elem(), error(), error_state, gh_manager::lookup(), Array< T >::numel(), octave_NaN, octave_handle::ok(), and print_usage().
OCTAVE_EXPORT octave_value_list F__go_execute_callback__ | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 9505 of file graphics.cc.
References error(), error_state, gh_manager::execute_callback(), octave_value::length(), gh_manager::lookup(), octave_handle::ok(), and print_usage().
OCTAVE_EXPORT octave_value_list F__go_figure__ | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 9074 of file graphics.cc.
References adopt(), caseless_str::compare(), D_NINT(), octave_value::double_value(), error(), error_state, gh_manager::get_object(), graphics_object::get_properties(), base_properties::init_integerhandle(), is_figure(), octave_value_list::length(), gh_manager::lookup(), gh_manager::make_figure_handle(), gh_manager::make_graphics_handle(), octave_NaN, octave_handle::ok(), print_usage(), gh_manager::push_figure(), octave_value_list::splice(), octave_handle::value(), xcreatefcn(), xinitialize(), xisnan(), and xset().
OCTAVE_EXPORT octave_value_list F__go_figure_handles__ | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 9488 of file graphics.cc.
References gh_manager::figure_handle_list(), and octave_value().
OCTAVE_EXPORT octave_value_list F__go_handles__ | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 9472 of file graphics.cc.
References gh_manager::handle_list(), and octave_value().
OCTAVE_EXPORT octave_value_list F__go_hggroup__ | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 9300 of file graphics.cc.
References GO_BODY.
OCTAVE_EXPORT octave_value_list F__go_image__ | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 9273 of file graphics.cc.
References GO_BODY.
OCTAVE_EXPORT octave_value_list F__go_line__ | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 9255 of file graphics.cc.
References GO_BODY.
OCTAVE_EXPORT octave_value_list F__go_patch__ | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 9291 of file graphics.cc.
References GO_BODY.
OCTAVE_EXPORT octave_value_list F__go_surface__ | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 9282 of file graphics.cc.
References GO_BODY.
OCTAVE_EXPORT octave_value_list F__go_text__ | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 9264 of file graphics.cc.
References GO_BODY.
OCTAVE_EXPORT octave_value_list F__go_uicontextmenu__ | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 9336 of file graphics.cc.
References GO_BODY.
OCTAVE_EXPORT octave_value_list F__go_uicontrol__ | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 9318 of file graphics.cc.
References GO_BODY.
OCTAVE_EXPORT octave_value_list F__go_uimenu__ | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 9309 of file graphics.cc.
References GO_BODY.
OCTAVE_EXPORT octave_value_list F__go_uipanel__ | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 9327 of file graphics.cc.
References GO_BODY.
OCTAVE_EXPORT octave_value_list F__go_uipushtool__ | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 9354 of file graphics.cc.
References GO_BODY.
OCTAVE_EXPORT octave_value_list F__go_uitoggletool__ | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 9363 of file graphics.cc.
References GO_BODY.
OCTAVE_EXPORT octave_value_list F__go_uitoolbar__ | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 9345 of file graphics.cc.
References GO_BODY.
OCTAVE_EXPORT octave_value_list F__image_pixel_size__ | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 9550 of file graphics.cc.
References error(), error_state, gh_manager::get_object(), graphics_object::get_properties(), graphics_object::isa(), octave_value::length(), image::properties::pixel_xsize(), image::properties::pixel_ysize(), and print_usage().
OCTAVE_EXPORT octave_value_list F__is_handle_visible__ | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 8584 of file graphics.cc.
References is_handle_visible(), and print_usage().
OCTAVE_EXPORT octave_value_list Faddlistener | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 9885 of file graphics.cc.
References graphics_object::add_property_listener(), caseless_str::compare(), error(), error_state, gh_manager::get_object(), gh_manager::lookup(), octave_handle::ok(), PERSISTENT, POSTSET, and print_usage().
OCTAVE_EXPORT octave_value_list Faddproperty | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 10081 of file graphics.cc.
References property::create(), error(), error_state, gh_manager::get_object(), graphics_object::get_properties(), base_properties::has_property(), base_properties::insert_property(), gh_manager::lookup(), octave_handle::ok(), print_usage(), and octave_value::string_value().
OCTAVE_EXPORT octave_value_list Favailable_graphics_toolkits | ( | const octave_value_list & | , |
int | |||
) |
Definition at line 9646 of file graphics.cc.
References gtk_manager::available_toolkits_list(), and octave_value().
OCTAVE_EXPORT octave_value_list Fdellistener | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 9957 of file graphics.cc.
References caseless_str::compare(), graphics_object::delete_property_listener(), error(), error_state, gh_manager::get_object(), gh_manager::lookup(), octave_handle::ok(), PERSISTENT, POSTSET, and print_usage().
OCTAVE_EXPORT octave_value_list Fdrawnow | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 9702 of file graphics.cc.
References caseless_str::compare(), file_ops::dir_sep_chars(), error(), error_state, gh_manager::figure_handle_list(), gcf(), gh_manager::get_object(), graphics_object::get_properties(), graphics_object::get_toolkit(), figure::properties::get_toolkit(), base_file_stat::is_dir(), base_properties::is_modified(), base_properties::is_visible(), Array< T >::length(), gh_manager::lock(), gh_manager::lookup(), octave_handle::ok(), graphics_toolkit::print_figure(), print_usage(), gh_manager::process_events(), action_container::protect_var(), graphics_toolkit::redraw_figure(), base_properties::set_modified(), gh_manager::unlock(), and Vdrawnow_requested.
Referenced by gh_manager::do_process_events(), Fkbhit(), Fpause(), Fsleep(), Fusleep(), and main_window::new_figure_callback().
OCTAVE_EXPORT octave_value_list Fget | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 8774 of file graphics.cc.
References octave_map::cat(), error(), error_state, graphics_object::get(), get_graphics_object_type(), gh_manager::get_object(), Array< T >::length(), Array< T >::numel(), OCTAVE_LOCAL_BUFFER, print_usage(), and Array< T >::resize().
|
static |
Definition at line 1650 of file graphics.cc.
References graphics_object::finalize(), base_properties::get_all_children(), gh_manager::get_object(), graphics_object::get_properties(), and Array< T >::numel().
Referenced by figure::properties::set_toolkit().
OCTAVE_EXPORT octave_value_list Fishandle | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 8529 of file graphics.cc.
References is_handle(), and print_usage().
OCTAVE_EXPORT octave_value_list Floaded_graphics_toolkits | ( | const octave_value_list & | , |
int | |||
) |
Definition at line 9684 of file graphics.cc.
References gtk_manager::loaded_toolkits_list(), and octave_value().
|
static |
Definition at line 2493 of file graphics.cc.
References delete_graphics_object(), and xset().
Referenced by gh_manager::do_close_all_figures().
Definition at line 6881 of file graphics.cc.
References x.
OCTAVE_EXPORT octave_value_list Fregister_graphics_toolkit | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 9658 of file graphics.cc.
References error(), error_state, print_usage(), and gtk_manager::register_toolkit().
OCTAVE_EXPORT octave_value_list Freset | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 8604 of file graphics.cc.
References error_state, gh_manager::get_object(), Array< T >::length(), octave_value(), print_usage(), and reset_default_properties().
OCTAVE_EXPORT octave_value_list Fset | ( | const octave_value_list & | args, |
int | nargout | ||
) |
Definition at line 8660 of file graphics.cc.
References error(), error_state, gh_manager::get_object(), Array< T >::length(), octave_value::length(), octave_stdout, print_usage(), graphics_object::set(), graphics_object::values_as_string(), graphics_object::values_as_struct(), and Vdrawnow_requested.
OCTAVE_EXPORT octave_value_list Fwaitfor | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 10342 of file graphics.cc.
References action_container::add_fcn(), graphics_object::add_property_listener(), cleanup_waitfor_id(), cleanup_waitfor_postset_listener(), cleanup_waitfor_predelete_listener(), caseless_str::compare(), compare_property_values(), error(), error_state, graphics_object::get(), gh_manager::get_object(), graphics_object::get_properties(), base_properties::has_dynamic_property(), octave_value::is_defined(), gh_manager::lookup(), OCTAVE_QUIT, octave_usleep(), octave_value(), octave_handle::ok(), PERSISTENT, POSTSET, PREDELETE, print_usage(), command_editor::run_event_hooks(), waitfor_del_listener(), waitfor_listener(), and warning().
graphics_handle gca | ( | void | ) |
Definition at line 2432 of file graphics.cc.
References octave_value::double_value(), gcf(), octave_value::is_empty(), octave_NaN, and xget().
graphics_handle gcf | ( | void | ) |
Definition at line 2423 of file graphics.cc.
References octave_value::double_value(), octave_value::is_empty(), octave_NaN, and xget().
Referenced by Fdrawnow(), and gca().
|
static |
Definition at line 787 of file graphics.cc.
References Array< T >::data(), Array< T >::numel(), and xisinf().
Referenced by array_property::get_data_limits().
void get_children_limits | ( | double & | min_val, |
double & | max_val, | ||
double & | min_pos, | ||
double & | max_neg, | ||
const Matrix & | kids, | ||
char | limit_type | ||
) |
Definition at line 6434 of file graphics.cc.
References check_limit_vals(), graphics_object::get_alim(), graphics_object::get_clim(), gh_manager::get_object(), graphics_object::get_xlim(), graphics_object::get_ylim(), graphics_object::get_zlim(), graphics_object::is_aliminclude(), graphics_object::is_climinclude(), graphics_object::is_xliminclude(), graphics_object::is_yliminclude(), graphics_object::is_zliminclude(), and Array< T >::numel().
Referenced by max_axes_scale(), axes::properties::translate_view(), axes::update_axis_limits(), hggroup::update_axis_limits(), and axes::properties::zoom_about_point().
|
static |
Definition at line 8751 of file graphics.cc.
References error(), gh_manager::get_object(), and graphics_object::type().
Referenced by Fget().
octave_value get_property_from_handle | ( | double | handle, |
const std::string & | property, | ||
const std::string & | func | ||
) |
Definition at line 10138 of file graphics.cc.
References error(), graphics_object::get(), and gh_manager::get_object().
Referenced by mexGet().
|
static |
Definition at line 66 of file graphics.cc.
References error().
Referenced by root_figure::properties::set_callbackobject(), figure::properties::set_currentaxes(), and root_figure::properties::set_currentfigure().
|
static |
Definition at line 1666 of file graphics.cc.
References base_properties::get_all_children(), gh_manager::get_object(), graphics_object::get_properties(), graphics_object::initialize(), and Array< T >::numel().
Referenced by figure::properties::set_toolkit().
Definition at line 2594 of file graphics.cc.
References gh_manager::get_object(), and graphics_object::isa().
Referenced by F__go_figure__().
|
static |
Definition at line 2555 of file graphics.cc.
References octave_handle::ok().
Referenced by Fishandle(), is_handle(), root_figure::properties::set_callbackobject(), figure::properties::set_currentaxes(), and root_figure::properties::set_currentfigure().
Definition at line 2561 of file graphics.cc.
References lookup(), and octave_handle::ok().
|
static |
Definition at line 2569 of file graphics.cc.
References octave_value::array_value(), Array< T >::dims(), octave_value::double_value(), error_state, is_handle(), octave_value::is_numeric_type(), octave_value::is_real_scalar(), octave_value::is_real_type(), Array< T >::numel(), and Array< T >::xelem().
|
static |
Definition at line 8544 of file graphics.cc.
References gh_manager::is_handle_visible(), and octave_handle::ok().
Referenced by gh_manager::do_current_figure(), gh_manager::do_figure_handle_list(), gh_manager::do_handle_list(), F__is_handle_visible__(), and is_handle_visible().
Definition at line 8550 of file graphics.cc.
References is_handle_visible(), and gh_manager::lookup().
|
static |
Definition at line 8556 of file graphics.cc.
References octave_value::array_value(), Array< T >::dims(), octave_value::double_value(), error_state, is_handle_visible(), octave_value::is_numeric_type(), octave_value::is_real_scalar(), octave_value::is_real_type(), Array< T >::numel(), and Array< T >::xelem().
Definition at line 136 of file graphics.cc.
References x.
Referenced by figure::properties::factory_defaults().
|
static |
Definition at line 816 of file graphics.cc.
References caseless_str::compare().
Referenced by property::create().
Definition at line 6085 of file graphics.cc.
References abs(), floor(), and pow().
Referenced by axes::properties::calc_tick_sep().
|
static |
Definition at line 8999 of file graphics.cc.
References adopt(), caseless_str::compare(), error(), error_state, octave_value_list::length(), gh_manager::lookup(), gh_manager::make_graphics_handle(), octave_NaN, octave_handle::ok(), octave_value_list::splice(), octave_handle::value(), Vdrawnow_requested, xcreatefcn(), xinitialize(), xisnan(), and xset().
|
static |
Definition at line 894 of file graphics.cc.
References caseless_str::compare().
Referenced by property::create(), and gh_manager::do_make_graphics_handle().
Definition at line 2227 of file graphics.cc.
Referenced by gh_manager::do_free(), gh_manager::do_get_handle(), and gh_manager::do_renumber_figure().
|
static |
Definition at line 5476 of file graphics.cc.
References get_children_limits(), octave_Inf, xfinite(), and xmax().
Referenced by axes::properties::update_aspectratios().
|
inline |
Definition at line 4617 of file graphics.cc.
References dot().
Referenced by filter(), install_data_fcns(), Matrix::ltsolve(), FloatMatrix::ltsolve(), ComplexMatrix::ltsolve(), FloatComplexMatrix::ltsolve(), matrix_complex_probe(), MatrixType::MatrixType(), Matrix::rcond(), FloatMatrix::rcond(), ComplexMatrix::rcond(), FloatComplexMatrix::rcond(), axes::properties::update_camera(), Matrix::utsolve(), FloatMatrix::utsolve(), ComplexMatrix::utsolve(), FloatComplexMatrix::utsolve(), xclange(), xdlange(), xslange(), and xzlange().
|
inline |
Definition at line 4604 of file graphics.cc.
References scale().
Referenced by axes::properties::update_camera().
|
static |
Definition at line 5461 of file graphics.cc.
References xmin().
Referenced by axes::properties::update_aspectratios().
|
static |
Definition at line 3476 of file graphics.cc.
References caseless_str::compare().
Referenced by figure::properties::update_papertype(), and figure::properties::update_paperunits().
|
static |
Definition at line 2383 of file graphics.cc.
References base_graphics_object::adopt(), octave_value::double_value(), error(), error_state, gh_manager::get_object(), graphics_object::get_parent(), lookup(), octave_NaN, octave_handle::ok(), graphics_object::remove_child(), graphics_object::reparent(), graphics_object::set(), and octave_handle::value().
|
static |
Definition at line 3224 of file graphics.cc.
References property_list::begin(), property_list::end(), and property_list::set().
Referenced by Freset().
Definition at line 4570 of file graphics.cc.
References xform_scale().
Referenced by DEFUN_DLD(), Fairy(), Flu(), axes::properties::get_scale(), octave_fftw::ifft(), octave_fftw::ifftNd(), HESS::init(), FloatHESS::init(), ComplexHESS::init(), FloatComplexHESS::init(), lin_interpn(), normalize(), octave_print_internal(), pr_complex(), pr_float(), set_format(), Sylvester(), axes::properties::update_camera(), xclange(), and xzlange().
|
inline |
Definition at line 4588 of file graphics.cc.
References x.
Definition at line 662 of file graphics.cc.
References convert_position(), Matrix::extract_n(), graphics_object::get(), gh_manager::get_object(), octave_value::matrix_value(), and octave_value::string_value().
Referenced by root_figure::properties::get_boundingbox(), figure::properties::get_boundingbox(), figure::properties::set_boundingbox(), and figure::properties::update_units().
bool set_property_in_handle | ( | double | handle, |
const std::string & | property, | ||
const octave_value & | arg, | ||
const std::string & | func | ||
) |
Definition at line 10155 of file graphics.cc.
References error(), error_state, gh_manager::get_object(), and graphics_object::set().
Referenced by mexSet().
|
inline |
Definition at line 4548 of file graphics.cc.
References xform_vector().
Referenced by DEFUN_DLD(), Fgammainc(), Fmatrix_type(), Fnproc(), property_list::lookup(), octregexp(), base_properties::cmp_caseless_str::operator()(), parse_options(), property_list::set(), color_values::str2rgb(), graphics_xform::transform(), and graphics_xform::untransform().
Definition at line 4576 of file graphics.cc.
References xform_translate().
Referenced by axes::properties::update_camera().
|
inline |
Definition at line 4596 of file graphics.cc.
References x.
Definition at line 4633 of file graphics.cc.
References Array< T >::fortran_vec().
Referenced by axes::properties::update_camera().
|
static |
Definition at line 76 of file graphics.cc.
References caseless_str::compare(), error(), string_vector::list_in_columns(), and warning_with_id().
Referenced by root_figure::properties::get(), figure::properties::get(), axes::properties::get(), line::properties::get(), text::properties::get(), image::properties::get(), patch::properties::get(), surface::properties::get(), hggroup::properties::get(), uimenu::properties::get(), uicontextmenu::properties::get(), uicontrol::properties::get(), uipanel::properties::get(), uitoolbar::properties::get(), uipushtool::properties::get(), uitoggletool::properties::get(), root_figure::properties::get_property(), figure::properties::get_property(), axes::properties::get_property(), line::properties::get_property(), text::properties::get_property(), image::properties::get_property(), patch::properties::get_property(), surface::properties::get_property(), hggroup::properties::get_property(), uimenu::properties::get_property(), uicontextmenu::properties::get_property(), uicontrol::properties::get_property(), uipanel::properties::get_property(), uitoolbar::properties::get_property(), uipushtool::properties::get_property(), uitoggletool::properties::get_property(), root_figure::properties::set(), figure::properties::set(), axes::properties::set(), line::properties::set(), text::properties::set(), image::properties::set(), patch::properties::set(), surface::properties::set(), hggroup::properties::set(), uimenu::properties::set(), uicontextmenu::properties::set(), uicontrol::properties::set(), uipanel::properties::set(), uitoolbar::properties::set(), uipushtool::properties::set(), and uitoggletool::properties::set().
|
static |
Definition at line 10289 of file graphics.cc.
References error_state, and octave_value_list::length().
Referenced by Fwaitfor().
|
static |
Definition at line 10247 of file graphics.cc.
References compare_property_values(), error_state, graphics_object::get(), gh_manager::get_object(), octave_value_list::length(), gh_manager::lookup(), and octave_handle::ok().
Referenced by Fwaitfor().
|
static |
Definition at line 2602 of file graphics.cc.
References base_properties::execute_createfcn(), gh_manager::get_object(), and graphics_object::get_properties().
Referenced by F__go_figure__(), and make_graphics_object().
|
inline |
Definition at line 4582 of file graphics.cc.
Referenced by axes::properties::get_extent(), opengl_renderer::get_transform(), graphics_xform::operator=(), graphics_xform::transform(), axes::properties::update_axes_layout(), axes::properties::update_camera(), axes::properties::update_title_position(), axes::properties::update_xlabel_position(), axes::properties::update_ylabel_position(), and axes::properties::update_zlabel_position().
|
inline |
Definition at line 4660 of file graphics.cc.
References ColumnVector::extract_n(), and ColumnVector::transpose().
Referenced by axes::properties::update_camera().
Definition at line 4523 of file graphics.cc.
Referenced by axes::properties::update_camera(), graphics_xform::xform_eye(), and xform_translate().
Definition at line 4562 of file graphics.cc.
References x, and xform_matrix().
Referenced by translate().
|
inline |
Definition at line 4532 of file graphics.cc.
Referenced by cross(), transform(), axes::properties::update_camera(), axes::properties::update_title_position(), axes::properties::update_xlabel_position(), axes::properties::update_ylabel_position(), axes::properties::update_zlabel_position(), and graphics_xform::xform_vector().
|
inline |
Definition at line 4540 of file graphics.cc.
References x.
|
static |
Definition at line 2376 of file graphics.cc.
References graphics_object::get(), and gh_manager::get_object().
Referenced by close_figure(), convert_font_size(), convert_position(), gca(), gcf(), and uipanel::properties::get_boundingbox().
|
static |
Definition at line 2609 of file graphics.cc.
References gh_manager::get_object(), and graphics_object::initialize().
Referenced by F__go_figure__(), axes::initialize(), and make_graphics_object().
|
static |
Definition at line 2358 of file graphics.cc.
References gh_manager::get_object(), and graphics_object::set().
Referenced by axes::properties::delete_text_child(), F__go_figure__(), force_close_figure(), axes::properties::init(), make_graphics_object(), root_figure::properties::remove_child(), axes::properties::set_defaults(), figure::properties::set_integerhandle(), axes::properties::set_text_child(), axes::properties::set_title(), figure::properties::set_visible(), axes::properties::set_xlabel(), axes::properties::set_ylabel(), and axes::properties::set_zlabel().
|
static |
Definition at line 2366 of file graphics.cc.
References gh_manager::get_object(), octave_value_list::length(), and graphics_object::set().
|
static |
Definition at line 8237 of file graphics.cc.
References octave_handle::as_octave_value(), gh_manager::get_object(), graphics_object::get_properties(), and root_figure::properties::set_callbackobject().
Referenced by gh_manager::do_execute_callback(), and gh_manager::do_restore_gcbo().
|
static |
Definition at line 1497 of file graphics.cc.
|
static |
Definition at line 1469 of file graphics.cc.
|
static |
Definition at line 5497 of file graphics.cc.
|
static |
Definition at line 4883 of file graphics.cc.
|
static |
Definition at line 6517 of file graphics.cc.
|
static |
Definition at line 7473 of file graphics.cc.
|
static |
Definition at line 5401 of file graphics.cc.
|
static |
Definition at line 5094 of file graphics.cc.
|
static |
Definition at line 5186 of file graphics.cc.
|
static |
Definition at line 5287 of file graphics.cc.
|
static |
Definition at line 10192 of file graphics.cc.