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

Normal Class Reference

Normal node instances. More...

Inheritance diagram for Normal:

AbstractBase NormalNode Node Node List of all members.

Public Methods

 Normal (const NodeType &nodeType, const ScopePtr &scope)
 Constructor.

virtual ~Normal () throw ()
 Destructor.

virtual const MFVec3fgetVector () const throw ()
 Get the array of normal vectors.


Private Methods

void processSet_vector (const FieldValue &mfvec3f, double timestamp) throw (std::bad_cast, std::bad_alloc)
 set_vector eventIn handler.


Private Attributes

MFVec3f vector

Friends

class NormalClass

Detailed Description

Normal node instances.


Constructor & Destructor Documentation

Normal const NodeType   nodeType,
const ScopePtr   scope
 

Constructor.

Parameters:
nodeType the NodeType associated with the node.
scope the Scope to which the node belongs.

~Normal   throw () [virtual]
 

Destructor.


Member Function Documentation

const MFVec3f & getVector   const throw () [virtual]
 

Get the array of normal vectors.

Returns:
the array of normal vectors.

Implements NormalNode.

void processSet_vector const FieldValue   mfvec3f,
double    timestamp
throw (std::bad_cast, std::bad_alloc) [private]
 

set_vector eventIn handler.

Parameters:
mfvec3f an MFVec3f value.
timestamp the current time.
Exceptions:
std::bad_cast if mfvec3f is not an MFVec3f.
std::bad_alloc if memory allocation fails.