openvrml::vrml97_node::coordinate_node Class Reference

Inheritance diagram for openvrml::vrml97_node::coordinate_node:
[legend]
List of all members.

Detailed Description

Coordinate node instances.


Public Member Functions

 coordinate_node (const node_type &type, const boost::shared_ptr< openvrml::scope > &scope)
 Construct.
virtual ~coordinate_node () throw ()
 Destroy.
virtual const std::vector<
vec3f > & 
point () const throw ()
 Get the points encapsulated by this node.

Private Attributes

exposedfield< mfvec3fpoint_
 point exposedField.

Friends

class coordinate_class
 Class object for Coordinate nodes.

Constructor & Destructor Documentation

openvrml::vrml97_node::coordinate_node::coordinate_node ( const node_type type,
const boost::shared_ptr< openvrml::scope > &  scope 
)

Construct.

Parameters:
type the node_type associated with the node.
scope the scope to which the node belongs.

Reimplemented from openvrml::coordinate_node.

openvrml::vrml97_node::coordinate_node::~coordinate_node (  )  throw () [virtual]

Destroy.

Implements openvrml::coordinate_node.


Member Function Documentation

const std::vector< vec3f > & openvrml::vrml97_node::coordinate_node::point (  )  const throw () [virtual]

Get the points encapsulated by this node.

Returns:
the array of points for this node.

Implements openvrml::coordinate_node.


Friends And Related Function Documentation

openvrml::vrml97_node::coordinate_node::coordinate_class [friend]

Class object for Coordinate nodes.


Member Data Documentation

point exposedField.