openvrml::vrml97_node::normal_node Class Reference

Inheritance diagram for openvrml::vrml97_node::normal_node:
[legend]

List of all members.


Detailed Description

Normal node instances.

Public Member Functions

 normal_node (const node_type &type, const boost::shared_ptr< openvrml::scope > &scope)
 Construct.
virtual ~normal_node () throw ()
 Destroy.
virtual const std::vector
< vec3f > & 
vector () const throw ()
 Get the array of normal vectors.

Private Attributes

exposedfield< mfvec3fvector_
 vector exposedField.

Friends

class normal_class
 Class object for Normal nodes.

Constructor & Destructor Documentation

openvrml::vrml97_node::normal_node::normal_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::normal_node.

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

Destroy.

Implements openvrml::normal_node.


Member Function Documentation

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

Get the array of normal vectors.

Returns:
the array of normal vectors.

Implements openvrml::normal_node.


Friends And Related Function Documentation

openvrml::vrml97_node::normal_node::normal_class [friend]

Class object for Normal nodes.


Member Data Documentation

vector exposedField.