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
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)
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
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
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 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 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 3817 of file graphics.h.

Constructor & Destructor Documentation

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

Definition at line 4755 of file graphics.h.

References base_graphics_object::override_defaults().

figure::~figure ( void  )
inline

Definition at line 4761 of file graphics.h.

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

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

figure::~figure ( void  )
inline

Definition at line 3404 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 2813 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 2741 of file graphics.in.h.

virtual void base_graphics_object::adopt ( const graphics_handle h)
inlinevirtualinherited
virtual void base_graphics_object::defaults ( void  ) const
inlinevirtualinherited

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

virtual void base_graphics_object::defaults ( void  ) const
inlinevirtualinherited

Definition at line 3010 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 2821 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 2849 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 3431 of file graphics.in.h.

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

Reimplemented from base_graphics_object.

Definition at line 4788 of file graphics.h.

Referenced by 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 3445 of file graphics.in.h.

octave_value figure::get_defaults ( void  ) const
inlinevirtual

Reimplemented from base_graphics_object.

Definition at line 4802 of file graphics.h.

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 2701 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 2954 of file graphics.h.

References error(), and octave_value().

graphics_handle base_graphics_object::get_handle ( void  ) const
inlineinherited

Definition at line 2722 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 2711 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 3450 of file graphics.in.h.

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

Reimplemented from base_graphics_object.

Definition at line 3452 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 4809 of file graphics.h.

virtual graphics_toolkit base_graphics_object::get_toolkit ( void  ) const
inlinevirtualinherited

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

virtual graphics_toolkit base_graphics_object::get_toolkit ( void  ) const
inlinevirtualinherited
virtual void base_graphics_object::initialize ( const graphics_object go)
inlineprotectedvirtualinherited

Reimplemented in axes, and axes.

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

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

Reimplemented in axes, and axes.

Definition at line 3096 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 2797 of file graphics.in.h.

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

Definition at line 3050 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 2632 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 3406 of file graphics.in.h.

void figure::override_defaults ( base_graphics_object obj)
inlinevirtual

Reimplemented from base_graphics_object.

Definition at line 4763 of file graphics.h.

References base_graphics_object::set_from_list().

Referenced by axes::properties::set_defaults().

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 2733 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 2749 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 3420 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 4777 of file graphics.h.

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

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

Reimplemented in axes, and axes.

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

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

Reimplemented in axes, and axes.

Definition at line 2917 of file graphics.h.

References error().

virtual void base_graphics_object::set_from_list ( property_list plist)
inlinevirtualinherited

Definition at line 2648 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 2791 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 2858 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 3454 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 2789 of file graphics.in.h.

bool base_graphics_object::valid_toolkit_object ( void  ) const
inlineinherited

Definition at line 3042 of file graphics.h.

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 3119 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 3123 of file graphics.h.

properties figure::xproperties
private

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