| Home | Download | Screen shots | Discussion | Documentation |
|---|
Abstract base class for coordinate nodes. More...
#include <openvrml/node.h>

Public Member Functions | |
| virtual | ~coordinate_node ()=0 throw () |
| Destroy. | |
| const std::vector< vec3f > & | point () const throw () |
| Get the points encapsulated by this node. | |
Protected Member Functions | |
| coordinate_node (const node_type &type, const boost::shared_ptr< openvrml::scope > &scope) throw () | |
| Construct. | |
Private Member Functions | |
| virtual coordinate_node * | to_coordinate () throw () |
Cast to a coordinate_node. | |
| virtual const std::vector < vec3f > & | do_point () const =0 throw () |
| Get the points encapsulated by this node. | |
Abstract base class for coordinate nodes.
| openvrml::coordinate_node::~coordinate_node | ( | ) | throw () [pure virtual] |
Destroy.
| openvrml::coordinate_node::coordinate_node | ( | const node_type & | type, |
| const boost::shared_ptr< openvrml::scope > & | scope | ||
| ) | throw () [protected] |
Construct.
| [in] | type | the node_type associated with the node. |
| [in] | scope | the scope the node belongs to. |
| const std::vector< openvrml::vec3f > & openvrml::coordinate_node::point | ( | ) | const throw () |
Get the points encapsulated by this node.
This function delegates to do_point.
| openvrml::coordinate_node * openvrml::coordinate_node::to_coordinate | ( | ) | throw () [private, virtual] |
Cast to a coordinate_node.
coordinate_node. Reimplemented from openvrml::node.
| const std::vector< openvrml::vec3f > & openvrml::coordinate_node::do_point | ( | ) | const throw () [private, pure virtual] |
Get the points encapsulated by this node.