GNU Octave  4.4.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
axes::properties Class Reference

#include "graphics.in.h"

Inheritance diagram for axes::properties:
Collaboration diagram for axes::properties:

Public Member Functions

virtual void add_listener (const caseless_str &, const octave_value &, listener_mode=POSTSET)
 
virtual void adopt (const graphics_handle &h)
 
void check_axis_limits (Matrix &limits, const Matrix kids, const bool logscale, char &update_type)
 
void clear_zoom_stack (bool do_unzoom=true)
 
ColumnVector coord2pixel (double x, double y, double z) const
 
virtual void delete_children (bool clear=false)
 
virtual void delete_listener (const caseless_str &, const octave_value &, listener_mode=POSTSET)
 
std::set< std::stringdynamic_property_names (void) const
 
virtual octave_value get (const caseless_str &pname) const
 
virtual octave_value get (const std::string &pname) const
 
virtual octave_value get (const char *pname) const
 
virtual octave_value get (bool all=false) const
 
double get___fontsize_points__ (double box_pix_height=0) const
 
virtual octave_value get_alim (void) const
 
Matrix get_all_children (void) const
 
Matrix get_axis_limits (double xmin, double xmax, double min_pos, double max_neg, const bool logscale)
 
Matrix get_boundingbox (bool internal=false, const Matrix &parent_pix_size=Matrix()) const
 
Matrix get_children (void) const
 
virtual octave_value get_clim (void) const
 
Matrix get_extent (bool with_text=false, bool only_text_height=false) const
 
double get_fx (void) const
 
double get_fy (void) const
 
double get_fz (void) const
 
Matrix get_hidden_children (void) const
 
Matrix get_inverse_transform_matrix (void) const
 
bool get_is2D (bool include_kids=false) const
 
bool get_layer2Dtop (void) const
 
bool get_nearhoriz (void) const
 
Matrix get_opengl_matrix_1 (void) const
 
Matrix get_opengl_matrix_2 (void) const
 
virtual property get_property (const caseless_str &pname)
 
virtual graphics_toolkit get_toolkit (void) const
 
graphics_xform get_transform (void) const
 
Matrix get_transform_matrix (void) const
 
Matrix get_transform_zlim (void) const
 
bool get_x2Dtop (void) const
 
double get_x_max (void) const
 
double get_x_min (void) const
 
const scalerget_x_scaler (void) const
 
virtual octave_value get_xlim (void) const
 
double get_xPlane (void) const
 
double get_xPlaneN (void) const
 
double get_xpTick (void) const
 
double get_xpTickN (void) const
 
int get_xstate (void) const
 
double get_xticklen (void) const
 
double get_xtickoffset (void) const
 
bool get_xySym (void) const
 
bool get_xyzSym (void) const
 
bool get_y2Dright (void) const
 
double get_y_max (void) const
 
double get_y_min (void) const
 
const scalerget_y_scaler (void) const
 
virtual octave_value get_ylim (void) const
 
double get_yPlane (void) const
 
double get_yPlaneN (void) const
 
double get_ypTick (void) const
 
double get_ypTickN (void) const
 
int get_ystate (void) const
 
double get_yticklen (void) const
 
double get_ytickoffset (void) const
 
double get_z_max (void) const
 
double get_z_min (void) const
 
const scalerget_z_scaler (void) const
 
virtual octave_value get_zlim (void) const
 
double get_zPlane (void) const
 
double get_zPlaneN (void) const
 
double get_zpTick (void) const
 
double get_zpTickN (void) const
 
bool get_zSign (void) const
 
int get_zstate (void) const
 
double get_zticklen (void) const
 
double get_ztickoffset (void) const
 
virtual std::string graphics_object_name (void) const
 
bool has_dynamic_property (const std::string &pname)
 
virtual bool has_property (const caseless_str &) const
 
virtual void init_integerhandle (const octave_value &)
 
void insert_property (const std::string &name, property p)
 
virtual bool is_aliminclude (void) const
 
virtual bool is_climinclude (void) const
 
bool is_handle_visible (void) const
 
bool is_modified (void) const
 
virtual bool is_xliminclude (void) const
 
virtual bool is_yliminclude (void) const
 
virtual bool is_zliminclude (void) const
 
void mark_modified (void)
 
void override_defaults (base_graphics_object &obj)
 
void pan (const std::string &mode, double factor, bool push_to_zoom_stack=true)
 
ColumnVector pixel2coord (double px, double py) const
 
void push_zoom_stack (void)
 
void remove_child (const graphics_handle &h)
 
void renumber_child (graphics_handle old_gh, graphics_handle new_gh)
 
void renumber_parent (graphics_handle new_gh)
 
void reparent (const graphics_handle &new_parent)
 
void rotate3d (double x0, double x1, double y0, double y1, bool push_to_zoom_stack=true)
 
void rotate_view (double delta_az, double delta_el, bool push_to_zoom_stack=true)
 
virtual void set (const caseless_str &, const octave_value &)
 
void set___modified__ (const octave_value &val)
 
void set_defaults (base_graphics_object &obj, const std::string &mode)
 
void set_from_list (base_graphics_object &obj, property_list &defaults)
 
void set_has3Dkids (bool val)
 
void set_modified (const octave_value &val)
 
void set_parent (const octave_value &val)
 
void set_tag (const octave_value &val)
 
void sync_positions (void)
 
void translate_view (const std::string &mode, double x0, double x1, double y0, double y1, bool push_to_zoom_stack=true)
 
void unzoom (void)
 
void update_aspectratios (void)
 
void update_autopos (const std::string &elem_type)
 
void update_axes_layout (void)
 
virtual void update_axis_limits (const std::string &axis_type) const
 
virtual void update_axis_limits (const std::string &axis_type, const graphics_handle &h) const
 
void update_boundingbox (void)
 
void update_camera (void)
 
void update_fontunits (const caseless_str &old_fontunits)
 
void update_handlevisibility (void)
 
void update_title_position (void)
 
void update_transform (void)
 
virtual void update_uicontextmenu (void) const
 
void update_units (const caseless_str &old_units)
 
void update_xlabel_position (void)
 
void update_xlim ()
 
void update_ylabel_position (void)
 
void update_ylim (void)
 
void update_zlabel_position (void)
 
void update_zlim (void)
 
void zoom (const std::string &mode, double factor, bool push_to_zoom_stack=true)
 
void zoom (const std::string &mode, const Matrix &xl, const Matrix &yl, bool push_to_zoom_stack=true)
 
void zoom_about_point (const std::string &mode, double x, double y, double factor, bool push_to_zoom_stack=true)
 

Static Public Member Functions

static property_list::pval_map_type factory_defaults (void)
 

Protected Member Functions

octave_value get_dynamic (const caseless_str &pname) const
 
octave_value get_dynamic (bool all=false) const
 
property get_property_dynamic (const caseless_str &pname)
 
void set_dynamic (const caseless_str &pname, const octave_value &val)
 

Protected Attributes

BEGIN_BASE_PROPERTIES bool_property beingdeleted
 
BEGIN_BASE_PROPERTIES bool_property off radio_property busyaction
 
std::set< std::stringdynamic_properties
 

Private Member Functions

double calc_tick_sep (double minval, double maxval)
 
void calc_ticklabels (const array_property &ticks, any_property &labels, bool is_logscale, const bool is_origin, const int other_axislocation, const array_property &axis_lims)
 
void calc_ticks_and_lims (array_property &lims, array_property &ticks, array_property &mticks, bool limmode_is_auto, bool tickmode_is_auto, bool is_logscale)
 
Matrix calc_tightbox (const Matrix &init_pos)
 
void delete_text_child (handle_property &h)
 
void fix_limits (array_property &lims)
 
octave_value get_colormap (void) const
 
Matrix get_ticklabel_extents (const Matrix &ticks, const string_vector &ticklabels, const Matrix &limits)
 
 if (xticklabelmode.is("auto")) calc_ticklabels(xtick
 
xscale yscale is("log") ? 2 if (yticklabelmode.is("auto")) calc_ticklabels(ytick
 
xscale is ("log")
 
xscale yscale is("log") ? 2 yscale is ("log")
 
void set_colormap (const octave_value &val)
 
void set_text_child (handle_property &h, const std::string &who, const octave_value &v)
 
 sync_positions ()
 
void update___colormap__ (void)
 
 update_axes_layout ()
 
void update_font (std::string prop="")
 
void update_fontangle (void)
 
void update_fontname (void)
 
void update_fontsize (void)
 
void update_fontweight (void)
 
void update_labelfontsizemultiplier (void)
 
void update_looseinset (void)
 
void update_outerposition (void)
 
void update_position (void)
 
void update_tickdir (void)
 
void update_tickdirmode (void)
 
void update_ticklength (void)
 
void update_titlefontsizemultiplier (void)
 
void update_titlefontweight (void)
 
void update_xaxislocation (void)
 
void update_xdir (void)
 
void update_xtick (void)
 
void update_xticklabelmode (void)
 
void update_xtickmode (void)
 
void update_ydir (void)
 
xscale yscale is("log") ? 2 yscale xscale is("log") ? 2 update_ylabel_position ()
 
void update_ytick (void)
 
void update_yticklabelmode (void)
 
void update_ytickmode (void)
 
void update_zdir (void)
 
void update_ztick (void)
 
void update_zticklabelmode (void)
 
void update_ztickmode (void)
 
xscale xaxislocation_is ("origin")
 
xscale yscale is("log") ? 2 yscale yaxislocation_is ("origin")
 

Private Attributes

radio_property activepositionproperty
 
double fx = 0.0
 
double fy = 0.0
 
double fz = 0.0
 
bool has3Dkids = false
 
radio_property set to origin instead
 
bool is2D = false
 
bool layer2Dtop = false
 
bool nearhoriz = false
 
scaler sx = scaler ()
 
scaler sy = scaler ()
 
scaler sz = scaler ()
 
octave::text_renderer txt_renderer
 
bool x2Dtop = false
 
Matrix x_gl_mat1 = Matrix ()
 
Matrix x_gl_mat2 = Matrix ()
 
Matrix x_render = Matrix ()
 
Matrix x_render_inv = Matrix ()
 
Matrix x_zlim = Matrix ()
 
double xPlane = 0.0
 
double xPlaneN = 0.0
 
double xpTick = 0.0
 
double xpTickN = 0.0
 
int xstate = 0
 
 xticklabel
 
double xticklen = 0.0
 
double xtickoffset = 0.0
 
bool xySym = false
 
bool xyzSym = false
 
bool y2Dright = false
 
double yPlane = 0.0
 
double yPlaneN = 0.0
 
double ypTick = 0.0
 
double ypTickN = 0.0
 
int ystate = 0
 
xscale yscale is("log") ? 2 yticklabel
 
double yticklen = 0.0
 
double ytickoffset = 0.0
 
std::list< octave_valuezoom_stack = std::list<octave_value> ()
 
double zPlane = 0.0
 
double zPlaneN = 0.0
 
double zpTick = 0.0
 
double zpTickN = 0.0
 
bool zSign = false
 
int zstate = 0
 
double zticklen = 0.0
 
double ztickoffset = 0.0
 

Detailed Description

Definition at line 3397 of file graphics.in.h.

Member Function Documentation

◆ add_listener()

void base_properties::add_listener ( const caseless_str pname,
const octave_value val,
listener_mode  mode = POSTSET 
)
virtualinherited

Definition at line 3380 of file graphics.cc.

References mode, p, pname, and val.

◆ adopt()

virtual void base_properties::adopt ( const graphics_handle h)
inlinevirtualinherited

Reimplemented in uimenu::properties, hggroup::properties, and figure::properties.

Definition at line 2247 of file graphics.in.h.

References h.

Referenced by figure::properties::adopt().

◆ calc_tick_sep()

double axes::properties::calc_tick_sep ( double  minval,
double  maxval 
)
private

Definition at line 7058 of file graphics.cc.

References a, b, magform(), pow(), and x.

◆ calc_ticklabels()

void axes::properties::calc_ticklabels ( const array_property ticks,
any_property labels,
bool  is_logscale,
const bool  is_origin,
const int  other_axislocation,
const array_property axis_lims 
)
private

◆ calc_ticks_and_lims()

void axes::properties::calc_ticks_and_lims ( array_property lims,
array_property ticks,
array_property mticks,
bool  limmode_is_auto,
bool  tickmode_is_auto,
bool  is_logscale 
)
private

◆ calc_tightbox()

◆ check_axis_limits()

void axes::properties::check_axis_limits ( Matrix limits,
const Matrix  kids,
const bool  logscale,
char &  update_type 
)

◆ clear_zoom_stack()

void axes::properties::clear_zoom_stack ( bool  do_unzoom = true)

Definition at line 8602 of file graphics.cc.

Referenced by QtHandles::autoscale_axes(), and F__zoom__().

◆ coord2pixel()

ColumnVector axes::properties::coord2pixel ( double  x,
double  y,
double  z 
) const
inline

Definition at line 3495 of file graphics.in.h.

◆ delete_children()

virtual void base_properties::delete_children ( bool  clear = false)
inlinevirtualinherited

Definition at line 2306 of file graphics.in.h.

Referenced by gh_manager::do_free().

◆ delete_listener()

void base_properties::delete_listener ( const caseless_str pname,
const octave_value val,
listener_mode  mode = POSTSET 
)
virtualinherited

Definition at line 3391 of file graphics.cc.

References mode, p, pname, and val.

Referenced by do_cleanup_waitfor_listener().

◆ delete_text_child()

◆ dynamic_property_names()

std::set< std::string > base_properties::dynamic_property_names ( void  ) const
inherited

Definition at line 3117 of file graphics.cc.

◆ factory_defaults()

◆ fix_limits()

void axes::properties::fix_limits ( array_property lims)
inlineprivate

Definition at line 4091 of file graphics.in.h.

◆ get() [1/4]

virtual octave_value base_properties::get ( const caseless_str pname) const
virtualinherited

◆ get() [2/4]

virtual octave_value base_properties::get ( const std::string pname) const
inlinevirtualinherited

Definition at line 2216 of file graphics.in.h.

References pname.

◆ get() [3/4]

virtual octave_value base_properties::get ( const char *  pname) const
inlinevirtualinherited

Definition at line 2221 of file graphics.in.h.

References pname.

◆ get() [4/4]

virtual octave_value base_properties::get ( bool  all = false) const
virtualinherited

◆ get___fontsize_points__()

double axes::properties::get___fontsize_points__ ( double  box_pix_height = 0) const

Definition at line 6912 of file graphics.cc.

References convert_font_size().

◆ get_alim()

virtual octave_value base_properties::get_alim ( void  ) const
inlinevirtualinherited

Definition at line 2328 of file graphics.in.h.

References octave_value().

Referenced by axes::update_axis_limits(), and hggroup::update_axis_limits().

◆ get_all_children()

◆ get_axis_limits()

Matrix axes::properties::get_axis_limits ( double  xmin,
double  xmax,
double  min_pos,
double  max_neg,
const bool  logscale 
)

◆ get_boundingbox()

◆ get_children()

◆ get_clim()

virtual octave_value base_properties::get_clim ( void  ) const
inlinevirtualinherited

Definition at line 2329 of file graphics.in.h.

References octave_value().

Referenced by axes::update_axis_limits(), and hggroup::update_axis_limits().

◆ get_colormap()

octave_value axes::properties::get_colormap ( void  ) const
private

Definition at line 5304 of file graphics.cc.

References graphics_object::get_ancestor(), and gh_manager::get_object().

◆ get_dynamic() [1/2]

octave_value base_properties::get_dynamic ( const caseless_str pname) const
protectedinherited

Definition at line 3092 of file graphics.cc.

References error(), and pname.

◆ get_dynamic() [2/2]

octave_value base_properties::get_dynamic ( bool  all = false) const
protectedinherited

Definition at line 3104 of file graphics.cc.

References octave_scalar_map::assign().

◆ get_extent()

Matrix axes::properties::get_extent ( bool  with_text = false,
bool  only_text_height = false 
) const

Definition at line 6622 of file graphics.cc.

References gh_manager::get_object(), graphics_object::get_properties(), i, Inf, k, max(), min(), p, and xform().

◆ get_fx()

double axes::properties::get_fx ( void  ) const
inline

◆ get_fy()

double axes::properties::get_fy ( void  ) const
inline

◆ get_fz()

double axes::properties::get_fz ( void  ) const
inline

◆ get_hidden_children()

Matrix base_properties::get_hidden_children ( void  ) const
inlineinherited

Definition at line 2285 of file graphics.in.h.

◆ get_inverse_transform_matrix()

Matrix axes::properties::get_inverse_transform_matrix ( void  ) const
inline

Definition at line 3446 of file graphics.in.h.

◆ get_is2D()

◆ get_layer2Dtop()

bool axes::properties::get_layer2Dtop ( void  ) const
inline

◆ get_nearhoriz()

bool axes::properties::get_nearhoriz ( void  ) const
inline

◆ get_opengl_matrix_1()

Matrix axes::properties::get_opengl_matrix_1 ( void  ) const
inline

◆ get_opengl_matrix_2()

Matrix axes::properties::get_opengl_matrix_2 ( void  ) const
inline

◆ get_property()

◆ get_property_dynamic()

property base_properties::get_property_dynamic ( const caseless_str pname)
protectedinherited

Definition at line 3151 of file graphics.cc.

References error(), and pname.

◆ get_ticklabel_extents()

Matrix axes::properties::get_ticklabel_extents ( const Matrix ticks,
const string_vector ticklabels,
const Matrix limits 
)
private

Definition at line 7651 of file graphics.cc.

References i, max(), min(), Array< T >::numel(), string, and val.

◆ get_toolkit()

graphics_toolkit base_properties::get_toolkit ( void  ) const
virtualinherited

◆ get_transform()

graphics_xform axes::properties::get_transform ( void  ) const
inline

◆ get_transform_matrix()

Matrix axes::properties::get_transform_matrix ( void  ) const
inline

Definition at line 3445 of file graphics.in.h.

◆ get_transform_zlim()

Matrix axes::properties::get_transform_zlim ( void  ) const
inline

◆ get_x2Dtop()

bool axes::properties::get_x2Dtop ( void  ) const
inline

Definition at line 3481 of file graphics.in.h.

Referenced by octave::opengl_renderer::draw_axes_x_grid().

◆ get_x_max()

double axes::properties::get_x_max ( void  ) const
inline

◆ get_x_min()

double axes::properties::get_x_min ( void  ) const
inline

◆ get_x_scaler()

const scaler& axes::properties::get_x_scaler ( void  ) const
inline

Definition at line 3404 of file graphics.in.h.

◆ get_xlim()

virtual octave_value base_properties::get_xlim ( void  ) const
inlinevirtualinherited

◆ get_xPlane()

◆ get_xPlaneN()

◆ get_xpTick()

double axes::properties::get_xpTick ( void  ) const
inline

◆ get_xpTickN()

double axes::properties::get_xpTickN ( void  ) const
inline

◆ get_xstate()

int axes::properties::get_xstate ( void  ) const
inline

Definition at line 3451 of file graphics.in.h.

Referenced by octave::opengl_renderer::draw_axes_x_grid().

◆ get_xticklen()

double axes::properties::get_xticklen ( void  ) const
inline

Definition at line 3475 of file graphics.in.h.

Referenced by octave::opengl_renderer::draw_axes_x_grid().

◆ get_xtickoffset()

double axes::properties::get_xtickoffset ( void  ) const
inline

Definition at line 3478 of file graphics.in.h.

Referenced by octave::opengl_renderer::draw_axes_x_grid().

◆ get_xySym()

bool axes::properties::get_xySym ( void  ) const
inline

◆ get_xyzSym()

bool axes::properties::get_xyzSym ( void  ) const
inline

◆ get_y2Dright()

bool axes::properties::get_y2Dright ( void  ) const
inline

Definition at line 3482 of file graphics.in.h.

Referenced by octave::opengl_renderer::draw_axes_y_grid().

◆ get_y_max()

double axes::properties::get_y_max ( void  ) const
inline

◆ get_y_min()

double axes::properties::get_y_min ( void  ) const
inline

◆ get_y_scaler()

const scaler& axes::properties::get_y_scaler ( void  ) const
inline

Definition at line 3405 of file graphics.in.h.

◆ get_ylim()

virtual octave_value base_properties::get_ylim ( void  ) const
inlinevirtualinherited

◆ get_yPlane()

◆ get_yPlaneN()

◆ get_ypTick()

double axes::properties::get_ypTick ( void  ) const
inline

◆ get_ypTickN()

double axes::properties::get_ypTickN ( void  ) const
inline

◆ get_ystate()

int axes::properties::get_ystate ( void  ) const
inline

Definition at line 3452 of file graphics.in.h.

Referenced by octave::opengl_renderer::draw_axes_y_grid().

◆ get_yticklen()

double axes::properties::get_yticklen ( void  ) const
inline

Definition at line 3476 of file graphics.in.h.

Referenced by octave::opengl_renderer::draw_axes_y_grid().

◆ get_ytickoffset()

double axes::properties::get_ytickoffset ( void  ) const
inline

Definition at line 3479 of file graphics.in.h.

Referenced by octave::opengl_renderer::draw_axes_y_grid().

◆ get_z_max()

double axes::properties::get_z_max ( void  ) const
inline

◆ get_z_min()

double axes::properties::get_z_min ( void  ) const
inline

◆ get_z_scaler()

const scaler& axes::properties::get_z_scaler ( void  ) const
inline

Definition at line 3406 of file graphics.in.h.

◆ get_zlim()

virtual octave_value base_properties::get_zlim ( void  ) const
inlinevirtualinherited

Definition at line 2332 of file graphics.in.h.

References octave_value().

Referenced by axes::update_axis_limits(), and hggroup::update_axis_limits().

◆ get_zPlane()

◆ get_zPlaneN()

◆ get_zpTick()

double axes::properties::get_zpTick ( void  ) const
inline

◆ get_zpTickN()

double axes::properties::get_zpTickN ( void  ) const
inline

◆ get_zSign()

bool axes::properties::get_zSign ( void  ) const
inline

Definition at line 3489 of file graphics.in.h.

Referenced by octave::opengl_renderer::draw_axes_z_grid().

◆ get_zstate()

int axes::properties::get_zstate ( void  ) const
inline

◆ get_zticklen()

double axes::properties::get_zticklen ( void  ) const
inline

Definition at line 3477 of file graphics.in.h.

Referenced by octave::opengl_renderer::draw_axes_z_grid().

◆ get_ztickoffset()

double axes::properties::get_ztickoffset ( void  ) const
inline

Definition at line 3480 of file graphics.in.h.

Referenced by octave::opengl_renderer::draw_axes_z_grid().

◆ graphics_object_name()

virtual std::string base_properties::graphics_object_name ( void  ) const
inlinevirtualinherited

◆ has_dynamic_property()

bool base_properties::has_dynamic_property ( const std::string pname)
inherited

Definition at line 3123 of file graphics.cc.

References pname.

Referenced by if().

◆ has_property()

virtual bool base_properties::has_property ( const caseless_str ) const
inlinevirtualinherited

◆ if() [1/2]

axes::properties::if ( xticklabelmode.  is"auto")
private

◆ if() [2/2]

xscale yscale is ("log") ? 2 axes::properties::if ( yticklabelmode.  is"auto")
private

◆ init_integerhandle()

virtual void base_properties::init_integerhandle ( const octave_value )
inlinevirtualinherited

Reimplemented in figure::properties.

Definition at line 2195 of file graphics.in.h.

References panic_impossible.

◆ insert_property()

void base_properties::insert_property ( const std::string name,
property  p 
)
inlineinherited

Definition at line 2205 of file graphics.in.h.

References name, and p.

◆ is() [1/2]

xscale axes::properties::is ( "log"  )
private

◆ is() [2/2]

xscale yscale is ("log") ? 2 yscale axes::properties::is ( "log"  )
private

◆ is_aliminclude()

virtual bool base_properties::is_aliminclude ( void  ) const
inlinevirtualinherited

Reimplemented in surface::properties, patch::properties, and image::properties.

Definition at line 2334 of file graphics.in.h.

◆ is_climinclude()

virtual bool base_properties::is_climinclude ( void  ) const
inlinevirtualinherited

Reimplemented in surface::properties, patch::properties, and image::properties.

Definition at line 2335 of file graphics.in.h.

◆ is_handle_visible()

bool base_properties::is_handle_visible ( void  ) const
inherited

Definition at line 3267 of file graphics.cc.

References callback_props::empty(), and executing_callbacks.

◆ is_modified()

bool base_properties::is_modified ( void  ) const
inlineinherited

Definition at line 2236 of file graphics.in.h.

◆ is_xliminclude()

virtual bool base_properties::is_xliminclude ( void  ) const
inlinevirtualinherited

Definition at line 2336 of file graphics.in.h.

◆ is_yliminclude()

virtual bool base_properties::is_yliminclude ( void  ) const
inlinevirtualinherited

Definition at line 2337 of file graphics.in.h.

◆ is_zliminclude()

virtual bool base_properties::is_zliminclude ( void  ) const
inlinevirtualinherited

Definition at line 2338 of file graphics.in.h.

◆ mark_modified()

void base_properties::mark_modified ( void  )
inherited

◆ override_defaults()

void base_properties::override_defaults ( base_graphics_object obj)
inherited

◆ pan()

void axes::properties::pan ( const std::string mode,
double  factor,
bool  push_to_zoom_stack = true 
)

Definition at line 8454 of file graphics.cc.

References mode.

Referenced by QtHandles::Canvas::canvasWheelEvent().

◆ pixel2coord()

ColumnVector axes::properties::pixel2coord ( double  px,
double  py 
) const
inline

◆ push_zoom_stack()

void axes::properties::push_zoom_stack ( void  )

Definition at line 8315 of file graphics.cc.

◆ remove_child()

void axes::properties::remove_child ( const graphics_handle h)
virtual

Reimplemented from base_properties.

Definition at line 5350 of file graphics.cc.

References h, and base_properties::remove_child().

◆ renumber_child()

void base_properties::renumber_child ( graphics_handle  old_gh,
graphics_handle  new_gh 
)
inlineinherited

Definition at line 2311 of file graphics.in.h.

◆ renumber_parent()

void base_properties::renumber_parent ( graphics_handle  new_gh)
inlineinherited

Definition at line 2316 of file graphics.in.h.

◆ reparent()

void base_properties::reparent ( const graphics_handle new_parent)
inlineinherited

Definition at line 2294 of file graphics.in.h.

◆ rotate3d()

void axes::properties::rotate3d ( double  x0,
double  x1,
double  y0,
double  y1,
bool  push_to_zoom_stack = true 
)

Definition at line 8471 of file graphics.cc.

References a, max(), and min().

Referenced by QtHandles::Canvas::canvasMouseMoveEvent().

◆ rotate_view()

void axes::properties::rotate_view ( double  delta_az,
double  delta_el,
bool  push_to_zoom_stack = true 
)

Definition at line 8518 of file graphics.cc.

References octave_value::matrix_value().

◆ set()

virtual void base_properties::set ( const caseless_str ,
const octave_value  
)
virtualinherited

◆ set___modified__()

void base_properties::set___modified__ ( const octave_value val)
inlineinherited

Definition at line 2292 of file graphics.in.h.

References val.

◆ set_colormap()

void axes::properties::set_colormap ( const octave_value val)
inlineprivate

Definition at line 4113 of file graphics.in.h.

◆ set_defaults()

◆ set_dynamic()

void base_properties::set_dynamic ( const caseless_str pname,
const octave_value val 
)
protectedinherited

Definition at line 3134 of file graphics.cc.

References error(), base_graphics_object::mark_modified(), pname, and val.

◆ set_from_list()

void base_properties::set_from_list ( base_graphics_object obj,
property_list defaults 
)
inherited

◆ set_has3Dkids()

void axes::properties::set_has3Dkids ( bool  val)
inline

Definition at line 3486 of file graphics.in.h.

◆ set_modified()

void base_properties::set_modified ( const octave_value val)
inlineinherited

Definition at line 2290 of file graphics.in.h.

References val.

◆ set_parent()

◆ set_tag()

void base_properties::set_tag ( const octave_value val)
inlineinherited

Definition at line 2271 of file graphics.in.h.

References val.

◆ set_text_child()

◆ sync_positions() [1/2]

void axes::properties::sync_positions ( void  )

Definition at line 4913 of file graphics.cc.

◆ sync_positions() [2/2]

axes::properties::sync_positions ( )
private

◆ translate_view()

void axes::properties::translate_view ( const std::string mode,
double  x0,
double  x1,
double  y0,
double  y1,
bool  push_to_zoom_stack = true 
)

Definition at line 8425 of file graphics.cc.

References do_translate(), get_children_limits(), Inf, and mode.

Referenced by QtHandles::Canvas::canvasMouseMoveEvent().

◆ unzoom()

void axes::properties::unzoom ( void  )

Definition at line 8541 of file graphics.cc.

◆ update___colormap__()

void axes::properties::update___colormap__ ( void  )
inlineprivate

Definition at line 4118 of file graphics.in.h.

◆ update_aspectratios()

void axes::properties::update_aspectratios ( void  )

◆ update_autopos()

void axes::properties::update_autopos ( const std::string elem_type)
virtual

Reimplemented from base_properties.

Definition at line 6388 of file graphics.cc.

◆ update_axes_layout() [1/2]

void axes::properties::update_axes_layout ( void  )

◆ update_axes_layout() [2/2]

axes::properties::update_axes_layout ( )
private

◆ update_axis_limits() [1/2]

void base_properties::update_axis_limits ( const std::string axis_type) const
virtualinherited

◆ update_axis_limits() [2/2]

void base_properties::update_axis_limits ( const std::string axis_type,
const graphics_handle h 
) const
virtualinherited

Definition at line 3242 of file graphics.cc.

References gh_manager::get_object(), h, and graphics_object::update_axis_limits().

◆ update_boundingbox()

void axes::properties::update_boundingbox ( void  )
inlinevirtual

Reimplemented from base_properties.

Definition at line 3415 of file graphics.in.h.

◆ update_camera()

◆ update_font()

void axes::properties::update_font ( std::string  prop = "")
private

Definition at line 6561 of file graphics.cc.

References gh_manager::get_object(), octave_value(), graphics_object::set(), and val.

◆ update_fontangle()

void axes::properties::update_fontangle ( void  )
inlineprivate

Definition at line 3970 of file graphics.in.h.

◆ update_fontname()

void axes::properties::update_fontname ( void  )
inlineprivate

Definition at line 3960 of file graphics.in.h.

◆ update_fontsize()

void axes::properties::update_fontsize ( void  )
inlineprivate

Definition at line 3965 of file graphics.in.h.

◆ update_fontunits()

void axes::properties::update_fontunits ( const caseless_str old_fontunits)

Definition at line 6900 of file graphics.cc.

References convert_font_size().

◆ update_fontweight()

void axes::properties::update_fontweight ( void  )
inlineprivate

Definition at line 3975 of file graphics.in.h.

◆ update_handlevisibility()

void axes::properties::update_handlevisibility ( void  )

◆ update_labelfontsizemultiplier()

void axes::properties::update_labelfontsizemultiplier ( void  )
inlineprivate

Definition at line 3987 of file graphics.in.h.

◆ update_looseinset()

void axes::properties::update_looseinset ( void  )
inlineprivate

Definition at line 4043 of file graphics.in.h.

◆ update_outerposition()

void axes::properties::update_outerposition ( void  )
inlineprivate

Definition at line 3999 of file graphics.in.h.

◆ update_position()

void axes::properties::update_position ( void  )
inlineprivate

Definition at line 4021 of file graphics.in.h.

◆ update_tickdir()

void axes::properties::update_tickdir ( void  )
inlineprivate

Definition at line 3879 of file graphics.in.h.

◆ update_tickdirmode()

void axes::properties::update_tickdirmode ( void  )
inlineprivate

Definition at line 3880 of file graphics.in.h.

◆ update_ticklength()

void axes::properties::update_ticklength ( void  )
private

Definition at line 5925 of file graphics.cc.

References abs(), AXE_DEPTH_DIR, and max().

◆ update_title_position()

◆ update_titlefontsizemultiplier()

void axes::properties::update_titlefontsizemultiplier ( void  )
inlineprivate

Definition at line 3981 of file graphics.in.h.

◆ update_titlefontweight()

void axes::properties::update_titlefontweight ( void  )
inlineprivate

Definition at line 3993 of file graphics.in.h.

◆ update_transform()

void axes::properties::update_transform ( void  )
inline

Definition at line 3427 of file graphics.in.h.

◆ update_uicontextmenu()

void base_properties::update_uicontextmenu ( void  ) const
virtualinherited

◆ update_units()

◆ update_xaxislocation()

void axes::properties::update_xaxislocation ( void  )
inlineprivate

Definition at line 3848 of file graphics.in.h.

◆ update_xdir()

void axes::properties::update_xdir ( void  )
inlineprivate

Definition at line 3874 of file graphics.in.h.

◆ update_xlabel_position()

◆ update_xlim()

void axes::properties::update_xlim ( )
inline

Definition at line 4133 of file graphics.in.h.

◆ update_xtick()

void axes::properties::update_xtick ( void  )
inlineprivate

Definition at line 3882 of file graphics.in.h.

◆ update_xticklabelmode()

void axes::properties::update_xticklabelmode ( void  )
inlineprivate

Definition at line 3933 of file graphics.in.h.

◆ update_xtickmode()

void axes::properties::update_xtickmode ( void  )
inlineprivate

Definition at line 3917 of file graphics.in.h.

◆ update_ydir()

void axes::properties::update_ydir ( void  )
inlineprivate

Definition at line 3875 of file graphics.in.h.

◆ update_ylabel_position() [1/2]

◆ update_ylabel_position() [2/2]

xscale yscale is ("log") ? 2 yscale xscale is ("log") ? 2 axes::properties::update_ylabel_position ( )
private

◆ update_ylim()

void axes::properties::update_ylim ( void  )
inline

Definition at line 4154 of file graphics.in.h.

◆ update_ytick()

void axes::properties::update_ytick ( void  )
inlineprivate

Definition at line 3895 of file graphics.in.h.

◆ update_yticklabelmode()

void axes::properties::update_yticklabelmode ( void  )
inlineprivate

Definition at line 3943 of file graphics.in.h.

◆ update_ytickmode()

void axes::properties::update_ytickmode ( void  )
inlineprivate

Definition at line 3922 of file graphics.in.h.

◆ update_zdir()

void axes::properties::update_zdir ( void  )
inlineprivate

Definition at line 3876 of file graphics.in.h.

◆ update_zlabel_position()

◆ update_zlim()

void axes::properties::update_zlim ( void  )
inline

Definition at line 4175 of file graphics.in.h.

◆ update_ztick()

void axes::properties::update_ztick ( void  )
inlineprivate

Definition at line 3908 of file graphics.in.h.

◆ update_zticklabelmode()

void axes::properties::update_zticklabelmode ( void  )
inlineprivate

Definition at line 3953 of file graphics.in.h.

◆ update_ztickmode()

void axes::properties::update_ztickmode ( void  )
inlineprivate

Definition at line 3927 of file graphics.in.h.

◆ xaxislocation_is()

xscale axes::properties::xaxislocation_is ( "origin"  )
private

◆ yaxislocation_is()

xscale yscale is ("log") ? 2 yscale axes::properties::yaxislocation_is ( "origin"  )
private

◆ zoom() [1/2]

void axes::properties::zoom ( const std::string mode,
double  factor,
bool  push_to_zoom_stack = true 
)

Definition at line 8301 of file graphics.cc.

References mode, x, and y.

Referenced by QtHandles::Canvas::canvasMouseReleaseEvent(), QtHandles::Canvas::canvasWheelEvent(), and F__zoom__().

◆ zoom() [2/2]

void axes::properties::zoom ( const std::string mode,
const Matrix xl,
const Matrix yl,
bool  push_to_zoom_stack = true 
)

Definition at line 8330 of file graphics.cc.

References mode, and warning().

◆ zoom_about_point()

void axes::properties::zoom_about_point ( const std::string mode,
double  x,
double  y,
double  factor,
bool  push_to_zoom_stack = true 
)

Definition at line 8272 of file graphics.cc.

References do_zoom(), get_children_limits(), Inf, mode, x, and y.

Referenced by QtHandles::Canvas::canvasMouseReleaseEvent().

Member Data Documentation

◆ activepositionproperty

radio_property axes::properties::activepositionproperty
private

Definition at line 3598 of file graphics.in.h.

◆ beingdeleted

BEGIN_BASE_PROPERTIES bool_property base_properties::beingdeleted
protectedinherited

Definition at line 2359 of file graphics.in.h.

◆ busyaction

BEGIN_BASE_PROPERTIES bool_property off radio_property base_properties::busyaction
protectedinherited

Definition at line 2359 of file graphics.in.h.

◆ dynamic_properties

std::set<std::string> base_properties::dynamic_properties
protectedinherited

Definition at line 2347 of file graphics.in.h.

◆ fx

double axes::properties::fx = 0.0
private

Definition at line 3562 of file graphics.in.h.

◆ fy

double axes::properties::fy = 0.0
private

Definition at line 3563 of file graphics.in.h.

◆ fz

double axes::properties::fz = 0.0
private

Definition at line 3564 of file graphics.in.h.

◆ has3Dkids

bool axes::properties::has3Dkids = false
private

Definition at line 3578 of file graphics.in.h.

◆ instead

radio_property set to origin axes::properties::instead
private

Definition at line 3598 of file graphics.in.h.

◆ is2D

bool axes::properties::is2D = false
private

Definition at line 3577 of file graphics.in.h.

◆ layer2Dtop

bool axes::properties::layer2Dtop = false
private

Definition at line 3576 of file graphics.in.h.

◆ nearhoriz

bool axes::properties::nearhoriz = false
private

Definition at line 3582 of file graphics.in.h.

◆ sx

scaler axes::properties::sx = scaler ()
private

Definition at line 3529 of file graphics.in.h.

◆ sy

scaler axes::properties::sy = scaler ()
private

Definition at line 3530 of file graphics.in.h.

◆ sz

scaler axes::properties::sz = scaler ()
private

Definition at line 3531 of file graphics.in.h.

◆ txt_renderer

octave::text_renderer axes::properties::txt_renderer
private

Definition at line 3585 of file graphics.in.h.

◆ x2Dtop

bool axes::properties::x2Dtop = false
private

Definition at line 3574 of file graphics.in.h.

◆ x_gl_mat1

Matrix axes::properties::x_gl_mat1 = Matrix ()
private

Definition at line 3535 of file graphics.in.h.

◆ x_gl_mat2

Matrix axes::properties::x_gl_mat2 = Matrix ()
private

Definition at line 3536 of file graphics.in.h.

◆ x_render

Matrix axes::properties::x_render = Matrix ()
private

Definition at line 3533 of file graphics.in.h.

◆ x_render_inv

Matrix axes::properties::x_render_inv = Matrix ()
private

Definition at line 3534 of file graphics.in.h.

◆ x_zlim

Matrix axes::properties::x_zlim = Matrix ()
private

Definition at line 3537 of file graphics.in.h.

◆ xPlane

double axes::properties::xPlane = 0.0
private

Definition at line 3546 of file graphics.in.h.

◆ xPlaneN

double axes::properties::xPlaneN = 0.0
private

Definition at line 3550 of file graphics.in.h.

◆ xpTick

double axes::properties::xpTick = 0.0
private

Definition at line 3554 of file graphics.in.h.

◆ xpTickN

double axes::properties::xpTickN = 0.0
private

Definition at line 3558 of file graphics.in.h.

◆ xstate

int axes::properties::xstate = 0
private

Definition at line 3542 of file graphics.in.h.

◆ xticklabel

axes::properties::xticklabel
private

Definition at line 3833 of file graphics.in.h.

◆ xticklen

double axes::properties::xticklen = 0.0
private

Definition at line 3566 of file graphics.in.h.

◆ xtickoffset

double axes::properties::xtickoffset = 0.0
private

Definition at line 3570 of file graphics.in.h.

◆ xySym

bool axes::properties::xySym = false
private

Definition at line 3579 of file graphics.in.h.

◆ xyzSym

bool axes::properties::xyzSym = false
private

Definition at line 3580 of file graphics.in.h.

◆ y2Dright

bool axes::properties::y2Dright = false
private

Definition at line 3575 of file graphics.in.h.

◆ yPlane

double axes::properties::yPlane = 0.0
private

Definition at line 3547 of file graphics.in.h.

◆ yPlaneN

double axes::properties::yPlaneN = 0.0
private

Definition at line 3551 of file graphics.in.h.

◆ ypTick

double axes::properties::ypTick = 0.0
private

Definition at line 3555 of file graphics.in.h.

◆ ypTickN

double axes::properties::ypTickN = 0.0
private

Definition at line 3559 of file graphics.in.h.

◆ ystate

int axes::properties::ystate = 0
private

Definition at line 3543 of file graphics.in.h.

◆ yticklabel

xscale yscale is ("log") ? 2 axes::properties::yticklabel
private

Definition at line 3840 of file graphics.in.h.

◆ yticklen

double axes::properties::yticklen = 0.0
private

Definition at line 3567 of file graphics.in.h.

◆ ytickoffset

double axes::properties::ytickoffset = 0.0
private

Definition at line 3571 of file graphics.in.h.

◆ zoom_stack

std::list<octave_value> axes::properties::zoom_stack = std::list<octave_value> ()
private

Definition at line 3539 of file graphics.in.h.

◆ zPlane

double axes::properties::zPlane = 0.0
private

Definition at line 3548 of file graphics.in.h.

◆ zPlaneN

double axes::properties::zPlaneN = 0.0
private

Definition at line 3552 of file graphics.in.h.

◆ zpTick

double axes::properties::zpTick = 0.0
private

Definition at line 3556 of file graphics.in.h.

◆ zpTickN

double axes::properties::zpTickN = 0.0
private

Definition at line 3560 of file graphics.in.h.

◆ zSign

bool axes::properties::zSign = false
private

Definition at line 3581 of file graphics.in.h.

◆ zstate

int axes::properties::zstate = 0
private

Definition at line 3544 of file graphics.in.h.

◆ zticklen

double axes::properties::zticklen = 0.0
private

Definition at line 3568 of file graphics.in.h.

◆ ztickoffset

double axes::properties::ztickoffset = 0.0
private

Definition at line 3572 of file graphics.in.h.


The documentation for this class was generated from the following files: