GNU Octave
4.2.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include <cctype>
#include <cfloat>
#include <cstdlib>
#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 "oct-time.h"
#include "singleton-cleanup.h"
#include "builtin-defun-decls.h"
#include "defun.h"
#include "display.h"
#include "error.h"
#include "graphics.h"
#include "input.h"
#include "interpreter.h"
#include "ov.h"
#include "ovl.h"
#include "oct-map.h"
#include "ov-fcn-handle.h"
#include "pager.h"
#include "parse.h"
#include "text-renderer.h"
#include "unwind-prot.h"
#include "utils.h"
#include "octave-default-image.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, IS_REAL) |
#define | FIX_LIMITS |
#define | GO_BODY(TYPE) |
Typedefs | |
using | args.length ) = =0) print_usage( |
Referenced by array_property::is_equal().
#define CONVERT_CDATA_1 | ( | ARRAY_T, | |
VAL_FN, | |||
IS_REAL | |||
) |
Referenced by convert_cdata().
#define FIX_LIMITS |
Referenced by axes::update_axis_limits().
#define GO_BODY | ( | TYPE | ) |
using args.length = = 0) print_usage ( |
Definition at line 11578 of file graphics.cc.
endfunction addlistener | ( | gcf | , |
"position" | , | ||
@ | my_listener, | ||
"my string" | |||
) |
Definition at line 11196 of file graphics.cc.
References octave_value_list::length(), and print_usage().
addproperty | ( | "my_style" | , |
gcf | , | ||
"linelinestyle" | , | ||
"--" | |||
) |
|
static |
Definition at line 2765 of file graphics.cc.
References graphics_object::adopt(), and gh_manager::get_object().
|
inline |
Definition at line 5236 of file graphics.cc.
References double, Array< T >::fortran_vec(), and retval.
Referenced by axes::properties::update_camera().
|
static |
Definition at line 6690 of file graphics.cc.
References octave::math::finite(), octave_value::is_matrix_type(), m, octave_value::matrix_value(), Array< T >::numel(), and val.
Referenced by get_children_limits().
|
static |
Definition at line 11444 of file graphics.cc.
Referenced by if().
|
static |
Definition at line 11482 of file graphics.cc.
References do_cleanup_waitfor_listener(), and POSTSET.
Referenced by if().
|
static |
Definition at line 11486 of file graphics.cc.
References do_cleanup_waitfor_listener(), and PREDELETE.
Referenced by if().
|
static |
Definition at line 2701 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 902 of file graphics.cc.
References a, CONVERT_CDATA_1, Array< T >::data(), octave_value::dims(), dv, Array< T >::fortran_vec(), graphics_object::get(), base_properties::get___myhandle__(), graphics_object::get_ancestor(), gh_manager::get_object(), octave_value::is_bool_type(), octave_value::is_double_type(), octave_value::is_single_type(), octave_value::is_uint16_type(), octave_value::is_uint8_type(), octave_value::matrix_value(), dim_vector::ndims(), Array< T >::numel(), octave_value(), dim_vector::resize(), Array< T >::rows(), octave_value::type_name(), graphics_object::valid_object(), and warning().
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, |
bool | is_real, | ||
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 892 of file graphics.cc.
References convert_cdata_2().
|
static |
Definition at line 860 of file graphics.cc.
References octave::math::fix(), octave::math::isnan(), and x.
Referenced by convert_cdata_1().
|
static |
Definition at line 556 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(), uibuttongroup::properties::get_fontsize_points(), uipanel::properties::get_fontsize_points(), axes::properties::update_fontunits(), text::properties::update_fontunits(), uicontrol::properties::update_fontunits(), uibuttongroup::properties::update_fontunits(), and uipanel::properties::update_fontunits().
|
static |
Definition at line 5682 of file graphics.cc.
References convert_position(), Matrix::extract_n(), text::properties::get_units(), p, ColumnVector::resize(), retval, string, and graphics_xform::transform().
Referenced by axes::properties::update_title_position(), axes::properties::update_xlabel_position(), axes::properties::update_ylabel_position(), and axes::properties::update_zlabel_position().
|
static |
Definition at line 6492 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(), retval, octave_value::rows(), string, octave_value::string_value(), and val.
Referenced by axes::properties::set_linestyleorder().
|
static |
Definition at line 614 of file graphics.cc.
References caseless_str::compare(), octave_value::double_value(), f, Array< T >::numel(), retval, and xget().
Referenced by axes::properties::calc_tightbox(), convert_label_position(), convert_text_position(), figure::properties::get_auto_paperposition(), figure::properties::get_boundingbox(), axes::properties::get_boundingbox(), uicontrol::properties::get_boundingbox(), uibuttongroup::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(), uibuttongroup::properties::update_units(), and uipanel::properties::update_units().
|
static |
Definition at line 759 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(), retval, graphics_xform::transform(), graphics_xform::untransform(), and v2.
Referenced by text::properties::get_data_position(), text::properties::get_extent(), and text::properties::update_units().
|
static |
Definition at line 6394 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(), retval, octave_value::rows(), string, octave_value::string_value(), and val.
Referenced by axes::properties::set_xticklabel(), axes::properties::set_yticklabel(), and axes::properties::set_zticklabel().
|
inline |
Definition at line 5203 of file graphics.cc.
References v2, and xform_vector().
Referenced by axes::properties::update_camera().
|
inline |
Definition at line 8375 of file graphics.cc.
Referenced by surface::properties::update_vertex_normals().
|
static |
Definition at line 420 of file graphics.cc.
References m.
Referenced by axes::properties::factory_defaults(), and axes::properties::set_defaults().
|
static |
Definition at line 407 of file graphics.cc.
References m.
Referenced by axes::properties::factory_defaults(), axes::properties::init(), and axes::properties::set_defaults().
|
static |
Definition at line 444 of file graphics.cc.
References m.
Referenced by axes::properties::factory_defaults().
|
static |
Definition at line 459 of file graphics.cc.
References m.
Referenced by axes::properties::factory_defaults(), and axes::properties::set_defaults().
|
static |
Definition at line 433 of file graphics.cc.
References m.
Referenced by axes::properties::factory_defaults().
|
static |
Definition at line 241 of file graphics.cc.
References retval.
Referenced by axes::properties::factory_defaults(), and axes::properties::set_defaults().
|
static |
Definition at line 507 of file graphics.cc.
References retval.
Referenced by uicontrol::properties::factory_defaults().
|
static |
Definition at line 520 of file graphics.cc.
References retval.
Referenced by uicontrol::properties::factory_defaults().
|
static |
Definition at line 295 of file graphics.cc.
References retval.
Referenced by line::properties::factory_defaults().
|
static |
Definition at line 494 of file graphics.cc.
References m.
Referenced by figure::properties::factory_defaults().
|
static |
Definition at line 483 of file graphics.cc.
References m.
Referenced by figure::properties::factory_defaults().
|
static |
Definition at line 470 of file graphics.cc.
References m.
Referenced by figure::properties::factory_defaults(), axes::properties::get_boundingbox(), and uicontrol::properties::get_boundingbox().
|
static |
Definition at line 306 of file graphics.cc.
References default_im_data, m, and row.
Referenced by image::properties::factory_defaults().
|
static |
Definition at line 544 of file graphics.cc.
References m.
Referenced by light::properties::factory_defaults().
Definition at line 276 of file graphics.cc.
References m.
Referenced by axes::properties::factory_defaults(), and axes::properties::get_axis_limits().
|
static |
Definition at line 531 of file graphics.cc.
References retval.
Referenced by uibuttongroup::properties::factory_defaults(), and uipanel::properties::factory_defaults().
|
static |
Definition at line 363 of file graphics.cc.
References m.
Referenced by patch::properties::factory_defaults().
|
static |
Definition at line 375 of file graphics.cc.
References m.
Referenced by patch::properties::factory_defaults().
|
static |
Definition at line 387 of file graphics.cc.
References m.
Referenced by patch::properties::factory_defaults().
|
static |
Definition at line 397 of file graphics.cc.
References m.
Referenced by patch::properties::factory_defaults().
|
static |
Definition at line 216 of file graphics.cc.
References display_info::depth().
Referenced by root_figure::properties::factory_defaults().
|
static |
Definition at line 235 of file graphics.cc.
References display_info::x_dpi(), and display_info::y_dpi().
Referenced by root_figure::properties::factory_defaults().
|
static |
Definition at line 222 of file graphics.cc.
References display_info::height(), retval, and display_info::width().
Referenced by root_figure::properties::factory_defaults(), and root_figure::properties::update_units().
|
static |
Definition at line 357 of file graphics.cc.
References default_surface_zdata().
Referenced by surface::properties::factory_defaults().
|
static |
Definition at line 322 of file graphics.cc.
Referenced by surface::properties::factory_defaults().
|
static |
Definition at line 334 of file graphics.cc.
Referenced by surface::properties::factory_defaults().
|
static |
Definition at line 346 of file graphics.cc.
Referenced by default_surface_cdata(), and surface::properties::factory_defaults().
|
static |
Definition at line 2651 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().
|
static |
Definition at line 2680 of file graphics.cc.
References delete_graphics_object(), and gh_manager::lookup().
|
static |
Definition at line 2689 of file graphics.cc.
References delete_graphics_object(), Array< T >::elem(), frame, Array< T >::numel(), and action_container::protect_var().
|
static |
Definition at line 11450 of file graphics.cc.
References c, octave_value::cell_value(), base_properties::delete_listener(), 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 7704 of file graphics.cc.
Referenced by axes::properties::translate_view().
Definition at line 7565 of file graphics.cc.
References pow(), tmp, and val.
Referenced by axes::properties::zoom_about_point().
|
inline |
Definition at line 5191 of file graphics.cc.
References v2.
Referenced by norm(), and axes::properties::update_camera().
|
static |
Definition at line 68 of file graphics.cc.
References error().
Referenced by root_figure::properties::set_callbackobject(), figure::properties::set_currentaxes(), root_figure::properties::set_currentfigure(), and uibuttongroup::properties::set_selectedobject().
OCTAVE_EXPORT octave_value_list F__is_handle_visible__ | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 9889 of file graphics.cc.
References is_handle_visible(), ovl(), and print_usage().
Referenced by install_graphics_fcns().
OCTAVE_EXPORT octave_value_list F__zoom__ | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 11777 of file graphics.cc.
References axes::properties::clear_zoom_stack(), error(), gh_manager::get_object(), graphics_object::get_properties(), octave_value_list::length(), gh_manager::lookup(), octave_handle::ok(), ovl(), print_usage(), string, Vdrawnow_requested, and axes::properties::zoom().
Referenced by install_graphics_fcns().
OCTAVE_EXPORT octave_value_list Favailable_graphics_toolkits | ( | const octave_value_list & | , |
int | |||
) |
Definition at line 10979 of file graphics.cc.
References gtk_manager::available_toolkits_list(), and ovl().
Referenced by install_graphics_fcns().
OCTAVE_EXPORT octave_value_list Fdrawnow | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 11032 of file graphics.cc.
References caseless_str::compare(), octave::sys::file_ops::dir_sep_chars(), error(), gh_manager::figure_handle_list(), file, frame, fs, gcf(), gh_manager::get_object(), graphics_object::get_properties(), graphics_object::get_toolkit(), figure::properties::get_toolkit(), octave::sys::base_file_stat::is_dir(), base_properties::is_modified(), base_properties::is_visible(), octave_value_list::length(), gh_manager::lock(), gh_manager::lookup(), Array< T >::numel(), octave_handle::ok(), ovl(), graphics_toolkit::print_figure(), print_usage(), gh_manager::process_events(), action_container::protect_var(), graphics_toolkit::redraw_figure(), base_properties::set_modified(), string, gh_manager::unlock(), val, and Vdrawnow_requested.
Referenced by gh_manager::do_execute_callback(), gh_manager::do_process_events(), Freset(), G__fltk_check__(), install_graphics_fcns(), and main_window::new_figure_callback().
OCTAVE_EXPORT octave_value_list Fget | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 10224 of file graphics.cc.
References octave_map::cat(), error(), graphics_object::get(), get_graphics_object_type(), gh_manager::get_object(), hcv, m, Array< T >::numel(), OCTAVE_LOCAL_BUFFER, ovl(), print_usage(), Array< T >::resize(), retval, string, and tmp.
Referenced by install_graphics_fcns().
|
static |
Definition at line 1831 of file graphics.cc.
References graphics_object::finalize(), base_properties::get_all_children(), gh_manager::get_object(), graphics_object::get_properties(), k, 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 9841 of file graphics.cc.
References is_handle(), ovl(), and print_usage().
Referenced by install_graphics_fcns().
OCTAVE_EXPORT octave_value_list Floaded_graphics_toolkits | ( | const octave_value_list & | , |
int | |||
) |
Definition at line 11010 of file graphics.cc.
References gtk_manager::loaded_toolkits_list(), and ovl().
Referenced by install_graphics_fcns().
for | ( | ) |
Definition at line 10128 of file graphics.cc.
Referenced by symbol_table::parent_classes(), dim_vector::redim(), and octave::math::sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::wide_solve().
|
static |
Definition at line 2709 of file graphics.cc.
References delete_graphics_object(), and xset().
Referenced by gh_manager::do_close_all_figures().
Definition at line 7554 of file graphics.cc.
References x.
OCTAVE_EXPORT octave_value_list Fregister_graphics_toolkit | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 10991 of file graphics.cc.
References octave_value_list::length(), ovl(), print_usage(), gtk_manager::register_toolkit(), and string.
Referenced by octave::gui_application::execute(), and install_graphics_fcns().
OCTAVE_EXPORT octave_value_list Freset | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 9910 of file graphics.cc.
References Fdrawnow(), gh_manager::get_object(), hcv, Array< T >::numel(), ovl(), and print_usage().
Referenced by install_graphics_fcns().
OCTAVE_EXPORT octave_value_list Fwaitfor | ( | const octave_value_list & | args, |
int | |||
) |
Referenced by install_graphics_fcns().
graphics_handle gca | ( | void | ) |
Definition at line 2642 of file graphics.cc.
References octave_value::double_value(), gcf(), octave_value::is_empty(), NaN(), val, and xget().
graphics_handle gcf | ( | void | ) |
Definition at line 2632 of file graphics.cc.
References octave_value::double_value(), octave_value::is_empty(), NaN(), val, and xget().
Referenced by Fdrawnow(), and gca().
|
static |
Definition at line 994 of file graphics.cc.
References Array< T >::data(), double, e, octave::math::isinf(), and Array< T >::numel().
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 7104 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 10200 of file graphics.cc.
References error(), gh_manager::get_object(), retval, string, and graphics_object::type().
Referenced by Fget().
if | ( | request_drawnow | ) |
if | ( | !gh. | ok() | ) |
Definition at line 11211 of file graphics.cc.
if | ( | args. | length(), |
1 | |||
) |
Definition at line 11594 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(), error(), graphics_object::get(), gh_manager::get_object(), graphics_object::get_properties(), h, base_properties::has_dynamic_property(), id, octave_value::is_defined(), octave_value_list::length(), gh_manager::lookup(), octave_handle::ok(), PERSISTENT, pname, POSTSET, PREDELETE, s, waitfor_del_listener(), and waitfor_listener().
if | ( | timeout_index< 0 &&args. | length) >(max_arg_index+1 | ) |
Definition at line 11692 of file graphics.cc.
References caseless_str::compare(), error(), and s.
if | ( | timeout_index >= | 0 | ) |
Definition at line 11702 of file graphics.cc.
References error(), octave_value_list::length(), and warning().
if | ( | timeout | , |
0 | |||
) |
|
static |
Definition at line 1847 of file graphics.cc.
References base_properties::get_all_children(), gh_manager::get_object(), graphics_object::get_properties(), graphics_object::initialize(), k, and Array< T >::numel().
Referenced by figure::properties::set_toolkit().
Definition at line 2808 of file graphics.cc.
References gh_manager::get_object(), and graphics_object::isa().
|
static |
Definition at line 2772 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 2778 of file graphics.cc.
References h, gh_manager::lookup(), and octave_handle::ok().
|
static |
Definition at line 2786 of file graphics.cc.
References octave_value::array_value(), Array< T >::dims(), octave_value::double_value(), is_handle(), octave_value::is_numeric_type(), octave_value::is_real_scalar(), octave_value::is_real_type(), Array< T >::numel(), result, and retval.
|
static |
Definition at line 9852 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 9858 of file graphics.cc.
References is_handle_visible(), and gh_manager::lookup().
|
static |
Definition at line 9864 of file graphics.cc.
References octave_value::array_value(), Array< T >::dims(), octave_value::double_value(), is_handle_visible(), octave_value::is_numeric_type(), octave_value::is_real_scalar(), octave_value::is_real_type(), Array< T >::numel(), result, and retval.
|
static |
Definition at line 1023 of file graphics.cc.
References caseless_str::compare(), and result.
Referenced by property::create().
Definition at line 6725 of file graphics.cc.
References abs(), octave::math::floor(), and pow().
Referenced by axes::properties::calc_tick_sep().
|
static |
Definition at line 1102 of file graphics.cc.
References caseless_str::compare(), h, and p.
Referenced by property::create(), and gh_manager::do_make_graphics_handle().
|
static |
Definition at line 2451 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 6126 of file graphics.cc.
References octave::math::finite(), get_children_limits(), Inf, and octave::math::max().
Referenced by axes::properties::update_aspectratios().
|
inline |
Definition at line 5197 of file graphics.cc.
References dot().
Referenced by filter(), 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(), and FloatComplexMatrix::utsolve().
|
inline |
Definition at line 5184 of file graphics.cc.
References scale().
Referenced by axes::properties::update_camera().
|
static |
Definition at line 6111 of file graphics.cc.
References octave::math::min().
Referenced by axes::properties::update_aspectratios().
return ovl | ( | ) |
|
static |
Definition at line 3833 of file graphics.cc.
References caseless_str::compare(), and retval.
Referenced by figure::properties::get_auto_paperposition(), figure::properties::update_papertype(), and figure::properties::update_paperunits().
|
static |
Definition at line 2599 of file graphics.cc.
References base_graphics_object::adopt(), error(), gh_manager::get_object(), graphics_object::get_parent(), h, gh_manager::lookup(), NaN(), octave_handle::ok(), graphics_object::remove_child(), graphics_object::reparent(), graphics_object::set(), octave_handle::value(), and octave_value::xdouble_value().
Definition at line 5150 of file graphics.cc.
References xform_scale().
Referenced by aepbalance< T >::aepbalance(), aepbalance< T >::balancing_matrix(), G__glpk__(), axes::properties::get_scale(), octave_fftw::ifft(), octave_fftw::ifftNd(), hess< T >::init(), EIG::init(), FloatEIG::init(), lin_interpn(), normalize(), octave_print_internal(), pr_complex(), pr_float(), set_format(), Sylvester(), and axes::properties::update_camera().
|
inline |
Definition at line 5168 of file graphics.cc.
|
static |
Definition at line 851 of file graphics.cc.
References convert_position(), Matrix::extract_n(), graphics_object::get(), gh_manager::get_object(), octave_value::matrix_value(), octave_value::string_value(), and sz.
Referenced by figure::properties::get_auto_paperposition(), root_figure::properties::get_boundingbox(), figure::properties::get_boundingbox(), figure::properties::set_boundingbox(), and figure::properties::update_units().
set | ( | hf | , |
"paperorientation" | |||
) |
Definition at line 10111 of file graphics.cc.
Referenced by Screen::changeTabStop(), octave::opengl_renderer::draw_axes_x_grid(), octave::opengl_renderer::draw_axes_y_grid(), octave::opengl_renderer::draw_axes_z_grid(), octave_wait_for_input(), text::properties::set_string(), uicontrol::properties::set_string(), and TerminalModel::setAddToUtmp().
|
inline |
Definition at line 5118 of file graphics.cc.
References xform_vector().
Referenced by octave_stream_list::do_clear(), Fnproc(), G__eigs__(), Gfftw(), octave::crypto::hash(), property_list::lookup(), octregexp(), base_properties::cmp_caseless_str::operator()(), parse_options(), octave::textscan::parse_options(), property_list::set(), color_values::str2rgb(), graphics_xform::transform(), and graphics_xform::untransform().
Definition at line 5156 of file graphics.cc.
References xform_translate().
Referenced by Ui_annotation_dialog::retranslateUi(), Ui_settings_dialog::retranslateUi(), and axes::properties::update_camera().
|
inline |
Definition at line 5176 of file graphics.cc.
|
inline |
Definition at line 5215 of file graphics.cc.
References double, Array< T >::fortran_vec(), and m.
Referenced by axes::properties::update_camera().
|
static |
Definition at line 78 of file graphics.cc.
References caseless_str::compare(), error(), string_vector::list_in_columns(), string, 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(), light::properties::get(), patch::properties::get(), surface::properties::get(), hggroup::properties::get(), uimenu::properties::get(), uicontextmenu::properties::get(), uicontrol::properties::get(), uibuttongroup::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(), light::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(), uibuttongroup::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(), light::properties::set(), patch::properties::set(), surface::properties::set(), hggroup::properties::set(), uimenu::properties::set(), uicontextmenu::properties::set(), uicontrol::properties::set(), uibuttongroup::properties::set(), uipanel::properties::set(), uitoolbar::properties::set(), uipushtool::properties::set(), and uitoggletool::properties::set().
|
static |
Definition at line 132 of file graphics.cc.
References Array< T >::fortran_vec().
Referenced by figure::properties::factory_defaults().
|
static |
Definition at line 11523 of file graphics.cc.
References id, octave_value_list::length(), and ovl().
Referenced by if().
|
static |
Definition at line 11490 of file graphics.cc.
References graphics_object::get(), gh_manager::get_object(), id, octave_value_list::length(), gh_manager::lookup(), octave_handle::ok(), and ovl().
Referenced by if().
while | ( | true | ) |
Definition at line 11736 of file graphics.cc.
References id, gh_manager::lookup(), now, OCTAVE_QUIT, octave_sleep(), octave_handle::ok(), and octave::command_editor::run_event_hooks().
|
static |
Definition at line 2816 of file graphics.cc.
References base_properties::execute_createfcn(), gh_manager::get_object(), and graphics_object::get_properties().
|
inline |
Definition at line 5162 of file graphics.cc.
Referenced by axes::properties::get_extent(), octave::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 5246 of file graphics.cc.
References ColumnVector::extract_n(), and ColumnVector::transpose().
Referenced by axes::properties::update_camera().
|
inline |
Definition at line 5085 of file graphics.cc.
References m.
Referenced by axes::properties::update_camera(), graphics_xform::xform_eye(), and xform_translate().
Definition at line 5137 of file graphics.cc.
References m, x, xform_matrix(), and y.
Referenced by translate().
|
inline |
Definition at line 5096 of file graphics.cc.
Referenced by cross(), transform(), axes::properties::update_camera(), and graphics_xform::xform_vector().
|
inline |
Definition at line 5106 of file graphics.cc.
|
static |
Definition at line 2592 of file graphics.cc.
References graphics_object::get(), and gh_manager::get_object().
Referenced by close_figure(), convert_font_size(), convert_position(), gca(), gcf(), uibuttongroup::properties::get_boundingbox(), and uipanel::properties::get_boundingbox().
|
static |
Definition at line 2823 of file graphics.cc.
References gh_manager::get_object(), and graphics_object::initialize().
Referenced by axes::initialize().
|
static |
Definition at line 2858 of file graphics.cc.
References graphics_object::build_user_defaults_map(), gh_manager::get_object(), graphics_object::get_properties(), base_properties::graphics_object_name(), graphics_object::has_readonly_property(), p, pname, graphics_object::set(), and string.
Referenced by base_graphics_object::reset_default_properties(), root_figure::reset_default_properties(), figure::reset_default_properties(), and uitoolbar::reset_default_properties().
|
static |
Definition at line 2574 of file graphics.cc.
References gh_manager::get_object(), and graphics_object::set().
Referenced by axes::properties::delete_text_child(), force_close_figure(), axes::properties::init(), 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 2582 of file graphics.cc.
References gh_manager::get_object(), octave_value_list::length(), and graphics_object::set().
|
static |
Definition at line 9512 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().
paperorientation __pad0__ |
Definition at line 10113 of file graphics.cc.
OCTAVE_EXPORT octave_value_list while another program execution is suspended until the graphics object the function returns immediately In the second execution is suspended until the graphics object is destroyed or the property named the function returns immediately In the third execution is suspended until the graphics object is destroyed or the property named the property does not exist or the property is already set to ar {h} is a vector |
Definition at line 10224 of file graphics.cc.
and the properties code {"units"} |
Definition at line 9910 of file graphics.cc.
Definition at line 2686 of file graphics.cc.
|
static |
Definition at line 1703 of file graphics.cc.
Definition at line 10224 of file graphics.cc.
Definition at line 1675 of file graphics.cc.
OCTAVE_EXPORT octave_value_list while another program execution is suspended until the graphics object the function returns immediately In the second execution is suspended until the graphics object is destroyed or the property named the function returns immediately In the third form |
Definition at line 11575 of file graphics.cc.
Referenced by qrp< T >::init(), and qr< T >::init().
octave::unwind_protect frame |
Definition at line 11584 of file graphics.cc.
Referenced by call_mex(), QtHandles::ButtonGroup::create(), DEFUN(), delete_graphics_objects(), do_edit_history(), gh_manager::do_execute_callback(), do_history(), octave_dynamic_loader::do_load_mex(), octave_dynamic_loader::do_load_oct(), octave_builtin::do_multi_index_op(), octave_mex_function::do_multi_index_op(), octave_user_script::do_multi_index_op(), octave_user_function::do_multi_index_op(), do_rand(), do_run_history(), load_path::do_set(), octave::tree_evaluator::do_unwind_protect_cleanup_code(), do_who(), QtHandles::Panel::eventFilter(), QtHandles::ButtonGroup::eventFilter(), callback_property::execute(), execute_pkg_add_or_del(), F__ftp_mget__(), F__magick_read__(), Fdrawnow(), octave::base_parser::finish_array_list(), octave::base_parser::finish_colon_expression(), flush_octave_stdout(), octave::curl_transfer::ftp_file_or_dir_action(), G__delaunayn__(), G__eigs__(), G__voronoi__(), Gaudioread(), Gconvhulln(), generate_struct_completions(), get_debug_input(), octave::gl2ps_print(), octave::sys::glob(), file_editor_tab::handle_context_menu_break_condition(), octave_fcn_handle::load_ascii(), octave_fcn_handle::load_binary(), load_fcn_from_file(), octave_fcn_handle::load_hdf5(), looks_like_struct(), make_stack_frame_list(), maybe_enter_debugger(), tree::meets_bp_condition(), mexGetVariable(), mexPutVariable(), octave::base_url_transfer::mget_directory(), octave::base_url_transfer::mput_directory(), parse_fcn_file(), pr_where(), octave_struct::print_raw(), octave_class::print_raw(), octave_scalar_struct::print_raw(), octave::curl_transfer::pwd(), read_images(), read_indexed_images(), read_mat5_binary_element(), octave_class::reconstruct_exemplar(), QtHandles::Figure::redraw(), base_graphics_object::remove_all_listeners(), octave::curl_transfer::rename(), jit_convert::resolve(), run_command_and_return_output(), save_mat_binary_data(), sparse(), octave_class::subsasgn_common(), QtHandles::Panel::update(), QtHandles::ButtonGroup::update(), axes::properties::update_aspectratios(), axes::properties::update_axes_layout(), axes::update_axis_limits(), hggroup::update_axis_limits(), patch::properties::update_data(), patch::properties::update_fvc(), axes::properties::update_title_position(), axes::properties::update_xlabel_position(), axes::properties::update_ylabel_position(), axes::properties::update_zlabel_position(), QtHandles::Panel::updateLayout(), QtHandles::ButtonGroup::updateLayout(), jit_convert::visit(), octave::tree_evaluator::visit_complex_for_command(), octave::tree_evaluator::visit_do_until_command(), jit_convert::visit_do_until_command(), octave::tree_evaluator::visit_simple_for_command(), jit_convert::visit_simple_for_command(), octave::tree_evaluator::visit_try_catch_command(), octave::tree_evaluator::visit_while_command(), jit_convert::visit_while_command(), warning_1(), octave::sys::windows_glob(), and octave_oncleanup::~octave_oncleanup().
graphics_handle gh = gh_manager::lookup (h) |
Definition at line 11209 of file graphics.cc.
Referenced by QtHandles::Container::canvas(), property::create(), and handle_property::do_set().
Definition at line 11205 of file graphics.cc.
Referenced by octave::math::betaincinv(), history_dock_widget::construct(), octave::opengl_texture::create(), ddasic(), ddasid(), ddasik(), ddaspk(), ddasrt(), ddstp(), axes::properties::delete_text_child(), dmatd(), dnedd(), dnedk(), gh_manager::do_close_all_figures(), ch_manager::do_handle_list(), ch_manager::do_make_curl_handle(), gh_manager::do_make_figure_handle(), gh_manager::do_make_graphics_handle(), do_mgorth(), octave::opengl_renderer::draw_image(), QtHandles::ContextMenu::executeAt(), F__ftp_close__(), Fmgorth(), G__osmesa_print__(), H_remove_min(), if(), hess< T >::init(), chol< T >::init(), is_handle(), make_graphics_object_from_type(), QtHandles::Utils::makeImageFromCData(), octave::ft_text_renderer::push_new_line(), raw_help(), reparent(), base_property::set_parent(), QtHandles::ButtonGroup::update(), file_editor_tab::update_lexer(), and octave::ft_text_renderer::visit().
ColumnVector hcv = args(0).xvector_value ("set: H must be a graphics handle") |
Definition at line 10123 of file graphics.cc.
uint32_t id = 0 |
Definition at line 11587 of file graphics.cc.
Referenced by octave::math::airy(), octave::math::biry(), check_hdf5_id_value(), octave::opengl_texture::create(), jit_typeinfo::create_identity(), octave_rand::do_distribution(), drawcn(), Gaudiodevinfo(), tree_decl_elt::ident(), if(), CollocWt::init(), hook_function_list::insert(), octave::base_parser::make_classdef(), jit_extract_argument::name(), rethrow_error(), octave::base_parser::start_classdef_external_method(), verror(), vwarning(), waitfor_del_listener(), waitfor_listener(), and while().
|
static |
Definition at line 11586 of file graphics.cc.
int max_arg_index = 0 |
Definition at line 11589 of file graphics.cc.
nd deftypefn *int nargin = args.length () |
Definition at line 10115 of file graphics.cc.
Referenced by call_mex(), DEFUN(), do_bessel(), do_fft(), do_fft2(), do_fftn(), do_history(), do_minmax_body(), do_rand(), do_trilu(), F__dispatch__(), F__icholt__(), F__ilu0__(), F__lin_interpn__(), F__pchip_deriv__(), F__profiler_enable__(), F__version_info__(), Fbalance(), Fcolloc(), Fconv2(), Fdiary(), Feig(), Fellipj(), Ffilter(), Fgcd(), Fgenpath(), Fmore(), Fnproc(), Frats(), Fschur(), Fsetenv(), Fspparms(), Fsvd(), G__delaunayn__(), G__eigs__(), G__osmesa_print__(), G__voronoi__(), Gamd(), Gaudiodevinfo(), Gaudioread(), Gccolamd(), Gchol(), Gcolamd(), Gconvhulln(), Gfftw(), Gqr(), Gsymbfact(), hex2num(), Java_org_octave_Octave_call(), mexCallMATLAB(), mk_tmp_hist_file(), octave_jit_call(), octregexp(), parse_dbfunction_params(), pattern(), jit_typeinfo::register_generic(), graphics_object::set(), sparse(), and octave::xzip().
OCTAVE_EXPORT octave_value_list while another ode {waitfor} call is pending at the top-level. In the first form |
Definition at line 11575 of file graphics.cc.
caseless_str pname = args(1).xstring_value ("addlistener: PROP must be a string") |
Definition at line 11207 of file graphics.cc.
Referenced by base_graphics_object::build_user_defaults_map(), octave_fcn_handle::do_multi_index_op(), cdef_object::get(), cdef_object_scalar::get(), base_properties::get(), base_graphics_object::get(), root_figure::properties::get(), figure::properties::get(), axes::properties::get(), line::properties::get(), text::properties::get(), image::properties::get(), light::properties::get(), patch::properties::get(), surface::properties::get(), hggroup::properties::get(), uimenu::properties::get(), uicontextmenu::properties::get(), uicontrol::properties::get(), uibuttongroup::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(), light::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(), uibuttongroup::properties::get_property(), uipanel::properties::get_property(), uitoolbar::properties::get_property(), uipushtool::properties::get_property(), uitoggletool::properties::get_property(), if(), property_list::lookup(), property_list::set(), graphics_object::set(), root_figure::properties::set(), figure::properties::set(), axes::properties::set(), line::properties::set(), text::properties::set(), image::properties::set(), light::properties::set(), patch::properties::set(), surface::properties::set(), hggroup::properties::set(), uimenu::properties::set(), uicontextmenu::properties::set(), uicontrol::properties::set(), uibuttongroup::properties::set(), uipanel::properties::set(), uitoolbar::properties::set(), uipushtool::properties::set(), uitoggletool::properties::set(), base_properties::set_from_list(), and xreset_default_properties().
Definition at line 10125 of file graphics.cc.
return retval |
Definition at line 10120 of file graphics.cc.
Referenced by cam2xform(), convert_label_position(), convert_linestyleorder_string(), convert_position(), convert_text_position(), convert_ticklabel_string(), property::create(), default_colororder(), default_control_position(), default_control_sliderstep(), default_data(), default_panel_position(), default_screensize(), children_property::do_get_children(), gh_manager::do_get_handle(), gtk_manager::do_get_toolkit(), Fget(), axes::properties::get_axis_limits(), figure::get_default(), axes::get_default(), uitoolbar::get_default(), get_graphics_object_type(), is_handle(), is_handle_visible(), property_list::lookup(), papersize_from_type(), color_values::str2rgb(), base_graphics_object::value_as_string(), radio_values::values_as_cell(), radio_values::values_as_string(), base_graphics_object::values_as_string(), and base_graphics_object::values_as_struct().
octave::sys::time start |
Definition at line 11731 of file graphics.cc.
Referenced by idx_vector::idx_range_rep::as_array(), idx_vector::assign(), octave_sort< T >::binarysort(), idx_vector::bloop(), brace_expand(), idx_vector::idx_range_rep::checkelem(), idx_vector::copy_data(), Screen::copyLineToStream(), do_bsxfun_op(), do_inplace_bsxfun_op(), expand_amble(), idx_vector::idx_range_rep::extent(), idx_vector::fill(), find_starting_node(), main_window::focus_changed(), SparseMatrix::fsolve(), SparseComplexMatrix::fsolve(), Gaudioread(), idx_vector::idx_range_rep::get_start(), Gsymbfact(), dim_vector::increment_index(), idx_vector::index(), octave::math::sparse_chol< chol_type >::sparse_chol_rep< chol_type >::init(), idx_vector::idx_range_rep::is_colon_equiv(), idx_vector::loop(), octave::regexp::match(), octave_jit_paren_subsasgn_matrix_range(), octregexp(), idx_vector::idx_range_rep::print(), octave::textscan::read_until(), octave::regexp::replace(), octave::textscan::skip_whitespace(), idx_vector::idx_range_rep::sort_idx(), idx_vector::idx_range_rep::sort_uniq_clone(), sub2ind(), octave::sys::file_ops::tilde_expand(), idx_vector::idx_range_rep::unconvert(), Screen::writeSelectionToStream(), and idx_vector::idx_range_rep::xelem().
double timeout = 0 |
Definition at line 11592 of file graphics.cc.
Referenced by Emulation::Emulation(), find_files_dialog::find_files_dialog(), QConsolePrivate::QConsolePrivate(), TerminalView::showResizeNotification(), TerminalModel::TerminalModel(), TerminalView::TerminalView(), and Vt102Emulation::Vt102Emulation().
int timeout_index = -1 |
Definition at line 11590 of file graphics.cc.
Definition at line 6147 of file graphics.cc.
Definition at line 5471 of file graphics.cc.
Definition at line 7187 of file graphics.cc.
Definition at line 8507 of file graphics.cc.
Definition at line 8178 of file graphics.cc.
Definition at line 6045 of file graphics.cc.
Definition at line 5710 of file graphics.cc.
Definition at line 5811 of file graphics.cc.
Definition at line 5921 of file graphics.cc.
Definition at line 11361 of file graphics.cc.