GNU Octave  3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Member Functions | Private Attributes | List of all members
graphics_object Class Reference

#include "graphics.h"

Collaboration diagram for graphics_object:
Collaboration graph
[legend]

Public Member Functions

 graphics_object (void)
 graphics_object (base_graphics_object *new_rep)
 graphics_object (const graphics_object &obj)
 graphics_object (void)
 graphics_object (base_graphics_object *new_rep)
 graphics_object (const graphics_object &obj)
 ~graphics_object (void)
 ~graphics_object (void)
void add_property_listener (const std::string &nm, const octave_value &v, listener_mode mode=POSTSET)
void add_property_listener (const std::string &nm, const octave_value &v, listener_mode mode=POSTSET)
void adopt (const graphics_handle &h)
void adopt (const graphics_handle &h)
void defaults (void) const
void defaults (void) const
void delete_property_listener (const std::string &nm, const octave_value &v, listener_mode mode=POSTSET)
void delete_property_listener (const std::string &nm, const octave_value &v, listener_mode mode=POSTSET)
void finalize (void)
void finalize (void)
octave_value get (bool all=false) const
octave_value get (const caseless_str &name) const
octave_value get (const std::string &name) const
octave_value get (const char *name) const
octave_value get (bool all=false) const
octave_value get (const caseless_str &name) const
octave_value get (const std::string &name) const
octave_value get (const char *name) const
octave_value get_alim (void) const
octave_value get_alim (void) const
graphics_object get_ancestor (const std::string &type) const
graphics_object get_ancestor (const std::string &type) const
octave_value get_clim (void) const
octave_value get_clim (void) const
octave_value get_default (const caseless_str &name) const
octave_value get_default (const caseless_str &name) const
octave_value get_defaults (void) const
octave_value get_defaults (void) const
octave_value get_factory_default (const caseless_str &name) const
octave_value get_factory_default (const caseless_str &name) const
octave_value get_factory_defaults (void) const
octave_value get_factory_defaults (void) const
graphics_handle get_handle (void) const
graphics_handle get_handle (void) const
graphics_handle get_parent (void) const
graphics_handle get_parent (void) const
base_propertiesget_properties (void)
const base_propertiesget_properties (void) const
base_propertiesget_properties (void)
const base_propertiesget_properties (void) const
graphics_toolkit get_toolkit (void) const
graphics_toolkit get_toolkit (void) const
octave_value get_xlim (void) const
octave_value get_xlim (void) const
octave_value get_ylim (void) const
octave_value get_ylim (void) const
octave_value get_zlim (void) const
octave_value get_zlim (void) const
void initialize (void)
void initialize (void)
bool is_aliminclude (void) const
bool is_aliminclude (void) const
bool is_climinclude (void) const
bool is_climinclude (void) const
bool is_handle_visible (void) const
bool is_handle_visible (void) const
bool is_xliminclude (void) const
bool is_xliminclude (void) const
bool is_yliminclude (void) const
bool is_yliminclude (void) const
bool is_zliminclude (void) const
bool is_zliminclude (void) const
bool isa (const std::string &go_name) const
bool isa (const std::string &go_name) const
void mark_modified (void)
void mark_modified (void)
 operator bool (void) const
 operator bool (void) const
graphics_objectoperator= (const graphics_object &obj)
graphics_objectoperator= (const graphics_object &obj)
void override_defaults (base_graphics_object &obj)
void override_defaults (base_graphics_object &obj)
void remove_child (const graphics_handle &h)
void remove_child (const graphics_handle &h)
void reparent (const graphics_handle &h)
void reparent (const graphics_handle &h)
void reset_default_properties (void)
void reset_default_properties (void)
void set (const caseless_str &name, const octave_value &val)
void set (const octave_value_list &args)
void set (const Array< std::string > &names, const Cell &values, octave_idx_type row)
void set (const octave_map &m)
void set (const caseless_str &name, const octave_value &val)
void set (const octave_value_list &args)
void set (const Array< std::string > &names, const Cell &values, octave_idx_type row)
void set (const octave_map &m)
void set_defaults (const std::string &mode)
void set_defaults (const std::string &mode)
void set_from_list (property_list &plist)
void set_from_list (property_list &plist)
void set_value_or_default (const caseless_str &name, const octave_value &val)
void set_value_or_default (const caseless_str &name, const octave_value &val)
std::string type (void) const
std::string type (void) const
void update (int id)
void update (int id)
void update_axis_limits (const std::string &axis_type)
void update_axis_limits (const std::string &axis_type, const graphics_handle &h)
void update_axis_limits (const std::string &axis_type)
void update_axis_limits (const std::string &axis_type, const graphics_handle &h)
bool valid_object (void) const
bool valid_object (void) const
std::string values_as_string (void)
std::string values_as_string (void)
octave_map values_as_struct (void)
octave_map values_as_struct (void)

Private Attributes

base_graphics_objectrep

Detailed Description

Definition at line 3135 of file graphics.h.

Constructor & Destructor Documentation

graphics_object::graphics_object ( void  )
inline

Definition at line 3138 of file graphics.h.

graphics_object::graphics_object ( base_graphics_object new_rep)
inline

Definition at line 3140 of file graphics.h.

graphics_object::graphics_object ( const graphics_object obj)
inline

Definition at line 3143 of file graphics.h.

graphics_object::~graphics_object ( void  )
inline

Definition at line 3162 of file graphics.h.

graphics_object::graphics_object ( void  )
inline

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

graphics_object::graphics_object ( base_graphics_object new_rep)
inline

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

graphics_object::graphics_object ( const graphics_object obj)
inline

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

graphics_object::~graphics_object ( void  )
inline

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

Member Function Documentation

void graphics_object::add_property_listener ( const std::string &  nm,
const octave_value v,
listener_mode  mode = POSTSET 
)
inline

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

void graphics_object::add_property_listener ( const std::string &  nm,
const octave_value v,
listener_mode  mode = POSTSET 
)
inline

Definition at line 3315 of file graphics.h.

Referenced by Faddlistener(), and Fwaitfor().

void graphics_object::adopt ( const graphics_handle h)
inline

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

void graphics_object::adopt ( const graphics_handle h)
inline

Definition at line 3243 of file graphics.h.

Referenced by adopt().

void graphics_object::defaults ( void  ) const
inline

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

void graphics_object::defaults ( void  ) const
inline

Definition at line 3247 of file graphics.h.

void graphics_object::delete_property_listener ( const std::string &  nm,
const octave_value v,
listener_mode  mode = POSTSET 
)
inline

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

void graphics_object::delete_property_listener ( const std::string &  nm,
const octave_value v,
listener_mode  mode = POSTSET 
)
inline

Definition at line 3319 of file graphics.h.

Referenced by Fdellistener().

void graphics_object::finalize ( void  )
inline

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

void graphics_object::finalize ( void  )
inline

Definition at line 3325 of file graphics.h.

Referenced by finalize_r().

octave_value graphics_object::get ( bool  all = false) const
inline

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

octave_value graphics_object::get ( const caseless_str name) const
inline

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

octave_value graphics_object::get ( const std::string &  name) const
inline

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

octave_value graphics_object::get ( const char name) const
inline

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

octave_value graphics_object::get ( bool  all = false) const
inline
octave_value graphics_object::get ( const caseless_str name) const
inline

Definition at line 3196 of file graphics.h.

octave_value graphics_object::get ( const std::string &  name) const
inline

Definition at line 3204 of file graphics.h.

octave_value graphics_object::get ( const char name) const
inline

Definition at line 3209 of file graphics.h.

octave_value graphics_object::get_alim ( void  ) const
inline

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

octave_value graphics_object::get_alim ( void  ) const
inline

Definition at line 3280 of file graphics.h.

Referenced by get_children_limits().

graphics_object graphics_object::get_ancestor ( const std::string &  type) const
graphics_object graphics_object::get_ancestor ( const std::string &  type) const
octave_value graphics_object::get_clim ( void  ) const
inline

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

octave_value graphics_object::get_clim ( void  ) const
inline

Definition at line 3283 of file graphics.h.

Referenced by get_children_limits().

octave_value graphics_object::get_default ( const caseless_str name) const
inline

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

octave_value graphics_object::get_default ( const caseless_str name) const
inline
octave_value graphics_object::get_defaults ( void  ) const
inline

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

octave_value graphics_object::get_defaults ( void  ) const
inline

Definition at line 3224 of file graphics.h.

octave_value graphics_object::get_factory_default ( const caseless_str name) const
inline

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

octave_value graphics_object::get_factory_default ( const caseless_str name) const
inline

Definition at line 3219 of file graphics.h.

Referenced by base_graphics_object::get_factory_default().

octave_value graphics_object::get_factory_defaults ( void  ) const
inline

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

octave_value graphics_object::get_factory_defaults ( void  ) const
inline

Definition at line 3226 of file graphics.h.

graphics_handle graphics_object::get_handle ( void  ) const
inline

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

graphics_handle graphics_object::get_handle ( void  ) const
inline
graphics_handle graphics_object::get_parent ( void  ) const
inline

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

graphics_handle graphics_object::get_parent ( void  ) const
inline

Definition at line 3235 of file graphics.h.

Referenced by delete_graphics_object(), reparent(), and base_properties::set_parent().

base_properties& graphics_object::get_properties ( void  )
inline

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

const base_properties& graphics_object::get_properties ( void  ) const
inline

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

base_properties& graphics_object::get_properties ( void  )
inline

Definition at line 3251 of file graphics.h.

Referenced by base_graphics_object::add_property_listener(), base_graphics_object::adopt(), calc_dimensions(), axes::properties::calc_tightbox(), property::create(), delete_graphics_object(), base_graphics_object::delete_property_listener(), do_cleanup_waitfor_listener(), children_property::do_get_children(), gh_manager::do_post_callback(), gh_manager::do_process_events(), set_event::execute(), F__go_figure__(), F__image_pixel_size__(), Faddproperty(), Fdrawnow(), gnuplot_graphics_toolkit::finalize(), finalize_r(), Fwaitfor(), base_graphics_object::get(), axes::properties::get_boundingbox(), uicontrol::properties::get_boundingbox(), uipanel::properties::get_boundingbox(), axes::properties::get_extent(), uicontrol::properties::get_extent(), base_graphics_object::get_handle(), base_graphics_object::get_parent(), base_graphics_object::get_toolkit(), initialize_r(), base_graphics_object::mark_modified(), base_graphics_object::override_defaults(), base_graphics_object::remove_child(), base_graphics_object::reparent(), base_graphics_object::set(), base_graphics_object::set_from_list(), figure::properties::set_integerhandle(), base_properties::set_parent(), base_graphics_object::type(), gnuplot_graphics_toolkit::update(), base_properties::update_autopos(), base_properties::update_boundingbox(), axes::properties::update_title_position(), axes::properties::update_units(), uicontrol::properties::update_units(), uipanel::properties::update_units(), axes::properties::update_xlabel_position(), axes::properties::update_ylabel_position(), axes::properties::update_zlabel_position(), xcreatefcn(), and xset_gcbo().

const base_properties& graphics_object::get_properties ( void  ) const
inline

Definition at line 3253 of file graphics.h.

graphics_toolkit graphics_object::get_toolkit ( void  ) const
inline

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

graphics_toolkit graphics_object::get_toolkit ( void  ) const
inline
octave_value graphics_object::get_xlim ( void  ) const
inline

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

octave_value graphics_object::get_xlim ( void  ) const
inline

Definition at line 3286 of file graphics.h.

Referenced by get_children_limits().

octave_value graphics_object::get_ylim ( void  ) const
inline

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

octave_value graphics_object::get_ylim ( void  ) const
inline

Definition at line 3289 of file graphics.h.

Referenced by get_children_limits().

octave_value graphics_object::get_zlim ( void  ) const
inline

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

octave_value graphics_object::get_zlim ( void  ) const
inline

Definition at line 3292 of file graphics.h.

Referenced by get_children_limits().

void graphics_object::initialize ( void  )
inline

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

void graphics_object::initialize ( void  )
inline
bool graphics_object::is_aliminclude ( void  ) const
inline

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

bool graphics_object::is_aliminclude ( void  ) const
inline

Definition at line 3295 of file graphics.h.

Referenced by get_children_limits().

bool graphics_object::is_climinclude ( void  ) const
inline

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

bool graphics_object::is_climinclude ( void  ) const
inline

Definition at line 3298 of file graphics.h.

Referenced by get_children_limits().

bool graphics_object::is_handle_visible ( void  ) const
inline

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

bool graphics_object::is_handle_visible ( void  ) const
inline

Definition at line 3310 of file graphics.h.

Referenced by gh_manager::is_handle_visible().

bool graphics_object::is_xliminclude ( void  ) const
inline

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

bool graphics_object::is_xliminclude ( void  ) const
inline

Definition at line 3301 of file graphics.h.

Referenced by get_children_limits().

bool graphics_object::is_yliminclude ( void  ) const
inline

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

bool graphics_object::is_yliminclude ( void  ) const
inline

Definition at line 3304 of file graphics.h.

Referenced by get_children_limits().

bool graphics_object::is_zliminclude ( void  ) const
inline

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

bool graphics_object::is_zliminclude ( void  ) const
inline

Definition at line 3307 of file graphics.h.

Referenced by get_children_limits().

bool graphics_object::isa ( const std::string &  go_name) const
inline

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

bool graphics_object::isa ( const std::string &  go_name) const
inline
void graphics_object::mark_modified ( void  )
inline

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

void graphics_object::mark_modified ( void  )
inline

Definition at line 3168 of file graphics.h.

Referenced by base_properties::mark_modified().

graphics_object::operator bool ( void  ) const
inline

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

graphics_object::operator bool ( void  ) const
inline

Definition at line 3273 of file graphics.h.

graphics_object& graphics_object::operator= ( const graphics_object obj)
inline

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

graphics_object& graphics_object::operator= ( const graphics_object obj)
inline

Definition at line 3148 of file graphics.h.

References base_graphics_object::count, and rep.

void graphics_object::override_defaults ( base_graphics_object obj)
inline

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

void graphics_object::override_defaults ( base_graphics_object obj)
inline

Definition at line 3170 of file graphics.h.

Referenced by base_properties::override_defaults().

void graphics_object::remove_child ( const graphics_handle h)
inline

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

void graphics_object::remove_child ( const graphics_handle h)
inline

Definition at line 3241 of file graphics.h.

Referenced by delete_graphics_object(), reparent(), and base_properties::set_parent().

void graphics_object::reparent ( const graphics_handle h)
inline

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

void graphics_object::reparent ( const graphics_handle h)
inline

Definition at line 3245 of file graphics.h.

Referenced by reparent().

void graphics_object::reset_default_properties ( void  )
inline

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

void graphics_object::reset_default_properties ( void  )
inline

Definition at line 3329 of file graphics.h.

void graphics_object::set ( const caseless_str name,
const octave_value val 
)
inline

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

void graphics_object::set ( const octave_value_list args)
void graphics_object::set ( const Array< std::string > &  names,
const Cell values,
octave_idx_type  row 
)
void graphics_object::set ( const octave_map m)
void graphics_object::set ( const caseless_str name,
const octave_value val 
)
inline

Definition at line 3177 of file graphics.h.

Referenced by Fset(), reparent(), set_property_in_handle(), and xset().

void graphics_object::set ( const octave_value_list args)

Definition at line 1952 of file graphics.cc.

References error(), error_state, and octave_value_list::length().

void graphics_object::set ( const Array< std::string > &  names,
const Cell values,
octave_idx_type  row 
)

Definition at line 1996 of file graphics.cc.

References Array< T >::columns(), error(), error_state, names(), and Array< T >::numel().

void graphics_object::set ( const octave_map m)
void graphics_object::set_defaults ( const std::string &  mode)
inline

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

void graphics_object::set_defaults ( const std::string &  mode)
inline

Definition at line 3192 of file graphics.h.

Referenced by F__go_axes_init__().

void graphics_object::set_from_list ( property_list plist)
inline

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

void graphics_object::set_from_list ( property_list plist)
inline

Definition at line 3175 of file graphics.h.

void graphics_object::set_value_or_default ( const caseless_str name,
const octave_value val 
)
void graphics_object::set_value_or_default ( const caseless_str name,
const octave_value val 
)
std::string graphics_object::type ( void  ) const
inline

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

std::string graphics_object::type ( void  ) const
inline

Definition at line 3271 of file graphics.h.

Referenced by get_graphics_object_type().

void graphics_object::update ( int  id)
inline

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

void graphics_object::update ( int  id)
inline

Definition at line 3327 of file graphics.h.

Referenced by base_property::set(), and figure::properties::set_integerhandle().

void graphics_object::update_axis_limits ( const std::string &  axis_type)
inline

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

void graphics_object::update_axis_limits ( const std::string &  axis_type,
const graphics_handle h 
)
inline

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

void graphics_object::update_axis_limits ( const std::string &  axis_type)
inline
void graphics_object::update_axis_limits ( const std::string &  axis_type,
const graphics_handle h 
)
inline

Definition at line 3263 of file graphics.h.

bool graphics_object::valid_object ( void  ) const
inline

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

bool graphics_object::valid_object ( void  ) const
inline
std::string graphics_object::values_as_string ( void  )
inline

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

std::string graphics_object::values_as_string ( void  )
inline

Definition at line 3231 of file graphics.h.

Referenced by Fset().

octave_map graphics_object::values_as_struct ( void  )
inline

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

octave_map graphics_object::values_as_struct ( void  )
inline

Definition at line 3233 of file graphics.h.

Referenced by Fset().

Member Data Documentation

base_graphics_object * graphics_object::rep
private

Definition at line 3333 of file graphics.h.

Referenced by operator=().


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