Main Page   Modules   Namespace List   Class Hierarchy   Compound List   Namespace Members   Compound Members   Related Pages  

openvrml::vrml97_node::coordinate_node Class Reference

Coordinate node instances. More...

Inheritance diagram for openvrml::vrml97_node::coordinate_node:

Inheritance graph
[legend]
Collaboration diagram for openvrml::vrml97_node::coordinate_node:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 coordinate_node (const node_type &type, const scope_ptr &scope)
 Construct.

virtual ~coordinate_node () throw ()
 Destroy.

virtual const std::vector<
vec3f > & 
point () const throw ()
 Get the points encapsulated by this node.


Private Member Functions

void process_set_point (const field_value &value, double timestamp) throw (std::bad_cast, std::bad_alloc)
 set_point eventIn handler.


Private Attributes

mfvec3f point_
 point exposedField.


Friends

class coordinate_class
 Class object for Coordinate nodes.


Detailed Description

Coordinate node instances.


Constructor & Destructor Documentation

openvrml::vrml97_node::coordinate_node::coordinate_node const node_type type,
const scope_ptr 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.

void openvrml::vrml97_node::coordinate_node::process_set_point const field_value value,
double  timestamp
throw (std::bad_cast, std::bad_alloc) [private]
 

set_point eventIn handler.

Parameters:
value an array of vectors representing points.
timestamp the current time.
Exceptions:
std::bad_cast if value is not an mfvec3f.
std::bad_alloc if memory allocation fails.

Friends And Related Function Documentation

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

Class object for Coordinate nodes.


Member Data Documentation

mfvec3f openvrml::vrml97_node::coordinate_node::point_ [private]
 

point exposedField.