GNU Octave  4.0.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
Classes | Public Member Functions | Protected Member Functions | Protected Attributes | Private Attributes | List of all members
figure Class Reference

#include "graphics.h"

Inheritance diagram for figure:
Inheritance graph
[legend]
Collaboration diagram for figure:
Collaboration graph
[legend]

Classes

class  properties
 

Public Member Functions

 figure (const graphics_handle &mh, const graphics_handle &p)
 
 figure (const graphics_handle &mh, const graphics_handle &p)
 
 ~figure (void)
 
 ~figure (void)
 
virtual void add_property_listener (const std::string &nm, const octave_value &v, listener_mode mode=POSTSET)
 
virtual void add_property_listener (const std::string &nm, const octave_value &v, listener_mode mode=POSTSET)
 
virtual void adopt (const graphics_handle &h)
 
virtual void adopt (const graphics_handle &h)
 
void build_user_defaults_map (property_list::pval_map_type &def, const std::string go_name) const
 
void build_user_defaults_map (property_list::pval_map_type &def, const std::string go_name) const
 
virtual void defaults (void) const
 
virtual void defaults (void) const
 
virtual void delete_property_listener (const std::string &nm, const octave_value &v, listener_mode mode=POSTSET)
 
virtual void delete_property_listener (const std::string &nm, const octave_value &v, listener_mode mode=POSTSET)
 
virtual octave_value get (bool all=false) const
 
octave_value get (const caseless_str &name) const
 
octave_value get (const caseless_str &name) 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
 
property_list get_defaults_list (void) const
 
property_list get_defaults_list (void) const
 
virtual octave_value get_factory_default (const caseless_str &) const
 
virtual octave_value get_factory_default (const caseless_str &) const
 
virtual octave_value get_factory_defaults (void) const
 
virtual octave_value get_factory_defaults (void) const
 
virtual property_list get_factory_defaults_list (void) const
 
virtual property_list get_factory_defaults_list (void) const
 
graphics_handle get_handle (void) const
 
graphics_handle get_handle (void) const
 
virtual graphics_handle get_parent (void) const
 
virtual 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
 
virtual graphics_toolkit get_toolkit (void) const
 
virtual graphics_toolkit get_toolkit (void) const
 
bool has_readonly_property (const caseless_str &pname) const
 
bool has_readonly_property (const caseless_str &pname) const
 
bool isa (const std::string &go_name) const
 
bool isa (const std::string &go_name) const
 
virtual void mark_modified (void)
 
virtual void mark_modified (void)
 
void override_defaults (base_graphics_object &obj)
 
void override_defaults (base_graphics_object &obj)
 
virtual void remove_all_listeners (void)
 
virtual void remove_all_listeners (void)
 
virtual void remove_child (const graphics_handle &h)
 
virtual void remove_child (const graphics_handle &h)
 
virtual void reparent (const graphics_handle &np)
 
virtual void reparent (const graphics_handle &np)
 
void reset_default_properties (void)
 
void reset_default_properties (void)
 
void set (const caseless_str &name, const octave_value &value)
 
void set (const caseless_str &name, const octave_value &value)
 
virtual void set_defaults (const std::string &)
 
virtual void set_defaults (const std::string &)
 
virtual void set_from_list (property_list &plist)
 
virtual void set_from_list (property_list &plist)
 
virtual std::string type (void) const
 
virtual std::string type (void) const
 
virtual void update_axis_limits (const std::string &axis_type)
 
virtual void update_axis_limits (const std::string &axis_type, const graphics_handle &h)
 
virtual void update_axis_limits (const std::string &axis_type)
 
virtual void update_axis_limits (const std::string &axis_type, const graphics_handle &h)
 
bool valid_object (void) const
 
bool valid_object (void) const
 
bool valid_toolkit_object (void) const
 
bool valid_toolkit_object (void) const
 
virtual std::string value_as_string (const std::string &prop)
 
virtual std::string value_as_string (const std::string &prop)
 
virtual std::string values_as_string (void)
 
virtual std::string values_as_string (void)
 
virtual octave_scalar_map values_as_struct (void)
 
virtual octave_scalar_map values_as_struct (void)
 

Protected Member Functions

virtual void finalize (const graphics_object &go)
 
virtual void finalize (const graphics_object &go)
 
virtual void initialize (const graphics_object &go)
 
virtual void initialize (const graphics_object &go)
 
virtual void update (const graphics_object &go, int id)
 
virtual void update (const graphics_object &go, int id)
 

Protected Attributes

octave_refcount< intcount
 
bool toolkit_flag
 

Private Attributes

property_list default_properties
 
properties xproperties
 

Detailed Description

Definition at line 3902 of file graphics.h.

Constructor & Destructor Documentation

figure::figure ( const graphics_handle mh,
const graphics_handle p 
)
inline

Definition at line 4914 of file graphics.h.

figure::~figure ( void  )
inline

Definition at line 4918 of file graphics.h.

figure::figure ( const graphics_handle mh,
const graphics_handle p 
)
inline

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

figure::~figure ( void  )
inline

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

Member Function Documentation

virtual void base_graphics_object::add_property_listener ( const std::string &  nm,
const octave_value v,
listener_mode  mode = POSTSET 
)
inlinevirtualinherited

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

virtual void base_graphics_object::add_property_listener ( const std::string &  nm,
const octave_value v,
listener_mode  mode = POSTSET 
)
inlinevirtualinherited
virtual void base_graphics_object::adopt ( const graphics_handle h)
inlinevirtualinherited

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

virtual void base_graphics_object::adopt ( const graphics_handle h)
inlinevirtualinherited
void base_graphics_object::build_user_defaults_map ( property_list::pval_map_type def,
const std::string  go_name 
) const
inherited
void base_graphics_object::build_user_defaults_map ( property_list::pval_map_type def,
const std::string  go_name 
) const
inherited
virtual void base_graphics_object::defaults ( void  ) const
inlinevirtualinherited

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

virtual void base_graphics_object::defaults ( void  ) const
inlinevirtualinherited

Definition at line 3114 of file graphics.h.

References error(), gripe_not_implemented(), and graphics_object::valid_object().

virtual void base_graphics_object::delete_property_listener ( const std::string &  nm,
const octave_value v,
listener_mode  mode = POSTSET 
)
inlinevirtualinherited

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

virtual void base_graphics_object::delete_property_listener ( const std::string &  nm,
const octave_value v,
listener_mode  mode = POSTSET 
)
inlinevirtualinherited
virtual void base_graphics_object::finalize ( const graphics_object go)
inlineprotectedvirtualinherited

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

virtual void base_graphics_object::finalize ( const graphics_object go)
inlineprotectedvirtualinherited
virtual octave_value base_graphics_object::get ( bool  all = false) const
inlinevirtualinherited
octave_value figure::get ( const caseless_str name) const
inlinevirtual

Reimplemented from base_graphics_object.

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

octave_value figure::get ( const caseless_str name) const
inlinevirtual

Reimplemented from base_graphics_object.

Definition at line 4945 of file graphics.h.

References figure::properties::get().

octave_value figure::get_default ( const caseless_str name) const
virtual

Reimplemented from base_graphics_object.

octave_value figure::get_default ( const caseless_str name) const
virtual
octave_value figure::get_defaults ( void  ) const
inlinevirtual

Reimplemented from base_graphics_object.

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

octave_value figure::get_defaults ( void  ) const
inlinevirtual

Reimplemented from base_graphics_object.

Definition at line 4959 of file graphics.h.

property_list figure::get_defaults_list ( void  ) const
inlinevirtual

Reimplemented from base_graphics_object.

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

property_list figure::get_defaults_list ( void  ) const
inlinevirtual

Reimplemented from base_graphics_object.

Definition at line 4964 of file graphics.h.

Referenced by base_graphics_object::build_user_defaults_map().

virtual octave_value base_graphics_object::get_factory_default ( const caseless_str ) const
virtualinherited

Reimplemented in root_figure, and root_figure.

octave_value base_graphics_object::get_factory_default ( const caseless_str name) const
virtualinherited
virtual octave_value base_graphics_object::get_factory_defaults ( void  ) const
inlinevirtualinherited

Reimplemented in root_figure, and root_figure.

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

virtual octave_value base_graphics_object::get_factory_defaults ( void  ) const
inlinevirtualinherited

Reimplemented in root_figure, and root_figure.

Definition at line 3045 of file graphics.h.

References error(), and octave_value().

virtual property_list base_graphics_object::get_factory_defaults_list ( void  ) const
inlinevirtualinherited

Reimplemented in root_figure, and root_figure.

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

virtual property_list base_graphics_object::get_factory_defaults_list ( void  ) const
inlinevirtualinherited

Reimplemented in root_figure, and root_figure.

Definition at line 3051 of file graphics.h.

References error().

graphics_handle base_graphics_object::get_handle ( void  ) const
inlineinherited

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

graphics_handle base_graphics_object::get_handle ( void  ) const
inlineinherited
virtual graphics_handle base_graphics_object::get_parent ( void  ) const
inlinevirtualinherited

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

virtual graphics_handle base_graphics_object::get_parent ( void  ) const
inlinevirtualinherited
base_properties& figure::get_properties ( void  )
inlinevirtual

Reimplemented from base_graphics_object.

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

const base_properties& figure::get_properties ( void  ) const
inlinevirtual

Reimplemented from base_graphics_object.

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

base_properties& figure::get_properties ( void  )
inlinevirtual
const base_properties& figure::get_properties ( void  ) const
inlinevirtual

Reimplemented from base_graphics_object.

Definition at line 4971 of file graphics.h.

virtual graphics_toolkit base_graphics_object::get_toolkit ( void  ) const
inlinevirtualinherited

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

virtual graphics_toolkit base_graphics_object::get_toolkit ( void  ) const
inlinevirtualinherited
bool figure::has_readonly_property ( const caseless_str pname) const
inlinevirtual

Reimplemented from base_graphics_object.

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

bool figure::has_readonly_property ( const caseless_str pname) const
inlinevirtual
virtual void base_graphics_object::initialize ( const graphics_object go)
inlineprotectedvirtualinherited

Reimplemented in axes, and axes.

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

virtual void base_graphics_object::initialize ( const graphics_object go)
inlineprotectedvirtualinherited

Reimplemented in axes, and axes.

Definition at line 3191 of file graphics.h.

References graphics_object::get_toolkit(), and graphics_toolkit::initialize().

Referenced by base_graphics_toolkit::initialize(), and axes::initialize().

bool base_graphics_object::isa ( const std::string &  go_name) const
inlineinherited

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

bool base_graphics_object::isa ( const std::string &  go_name) const
inlineinherited

Definition at line 3154 of file graphics.h.

Referenced by graphics_object::get_ancestor().

virtual void base_graphics_object::mark_modified ( void  )
inlinevirtualinherited

Reimplemented in root_figure, and root_figure.

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

virtual void base_graphics_object::mark_modified ( void  )
inlinevirtualinherited
void figure::override_defaults ( base_graphics_object obj)
inlinevirtual

Reimplemented from base_graphics_object.

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

void figure::override_defaults ( base_graphics_object obj)
inlinevirtual
virtual void base_graphics_object::remove_all_listeners ( void  )
virtualinherited
void base_graphics_object::remove_all_listeners ( void  )
virtualinherited
virtual void base_graphics_object::remove_child ( const graphics_handle h)
inlinevirtualinherited

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

virtual void base_graphics_object::remove_child ( const graphics_handle h)
inlinevirtualinherited
virtual void base_graphics_object::reparent ( const graphics_handle np)
inlinevirtualinherited

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

virtual void base_graphics_object::reparent ( const graphics_handle np)
inlinevirtualinherited
void figure::reset_default_properties ( void  )
virtual

Reimplemented from base_graphics_object.

void figure::reset_default_properties ( void  )
virtual
void figure::set ( const caseless_str name,
const octave_value value 
)
inlinevirtual

Reimplemented from base_graphics_object.

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

void figure::set ( const caseless_str name,
const octave_value value 
)
inlinevirtual

Reimplemented from base_graphics_object.

Definition at line 4934 of file graphics.h.

References caseless_str::compare(), and figure::properties::set().

virtual void base_graphics_object::set_defaults ( const std::string &  )
inlinevirtualinherited

Reimplemented in axes, and axes.

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

virtual void base_graphics_object::set_defaults ( const std::string &  )
inlinevirtualinherited

Reimplemented in axes, and axes.

Definition at line 3001 of file graphics.h.

References error().

Referenced by axes::reset_default_properties().

virtual void base_graphics_object::set_from_list ( property_list plist)
inlinevirtualinherited

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

virtual void base_graphics_object::set_from_list ( property_list plist)
inlinevirtualinherited
virtual std::string base_graphics_object::type ( void  ) const
inlinevirtualinherited

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

virtual std::string base_graphics_object::type ( void  ) const
inlinevirtualinherited
virtual void base_graphics_object::update ( const graphics_object go,
int  id 
)
inlineprotectedvirtualinherited

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

virtual void base_graphics_object::update ( const graphics_object go,
int  id 
)
inlineprotectedvirtualinherited
virtual void base_graphics_object::update_axis_limits ( const std::string &  axis_type)
virtualinherited

Reimplemented in hggroup, axes, hggroup, and axes.

virtual void base_graphics_object::update_axis_limits ( const std::string &  axis_type,
const graphics_handle h 
)
virtualinherited

Reimplemented in hggroup, axes, hggroup, and axes.

void base_graphics_object::update_axis_limits ( const std::string &  axis_type)
virtualinherited
void base_graphics_object::update_axis_limits ( const std::string &  axis_type,
const graphics_handle h 
)
virtualinherited
bool figure::valid_object ( void  ) const
inlinevirtual

Reimplemented from base_graphics_object.

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

bool figure::valid_object ( void  ) const
inlinevirtual
bool base_graphics_object::valid_toolkit_object ( void  ) const
inlineinherited

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

bool base_graphics_object::valid_toolkit_object ( void  ) const
inlineinherited

Definition at line 3146 of file graphics.h.

virtual std::string base_graphics_object::value_as_string ( const std::string &  prop)
virtualinherited
std::string base_graphics_object::value_as_string ( const std::string &  prop)
virtualinherited
virtual std::string base_graphics_object::values_as_string ( void  )
virtualinherited
std::string base_graphics_object::values_as_string ( void  )
virtualinherited
virtual octave_scalar_map base_graphics_object::values_as_struct ( void  )
virtualinherited
octave_scalar_map base_graphics_object::values_as_struct ( void  )
virtualinherited

Member Data Documentation

octave_refcount< int > base_graphics_object::count
protectedinherited

Definition at line 3214 of file graphics.h.

Referenced by graphics_object::operator=().

property_list figure::default_properties
private
bool base_graphics_object::toolkit_flag
protectedinherited

Definition at line 3218 of file graphics.h.

properties figure::xproperties
private

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