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

PositionInterpolator Class Reference

PositionInterpolator node instances. More...

Inheritance diagram for PositionInterpolator:

AbstractChild AbstractBase ChildNode Node Node List of all members.

Public Methods

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

virtual ~PositionInterpolator () throw ()
 Destructor.


Private Methods

void processSet_fraction (const FieldValue &sffloat, double timestamp) throw (std::bad_cast, std::bad_alloc)
 set_fraction eventIn handler.

void processSet_key (const FieldValue &mffloat, double timestamp) throw (std::bad_cast, std::bad_alloc)
 set_key eventIn handler.

void processSet_keyValue (const FieldValue &mfvec3f, double timestamp) throw (std::bad_cast, std::bad_alloc)
 set_keyValue field mutator.


Private Attributes

MFFloat key
 key exposedField.

MFVec3f keyValue
 keyValue exposedField.

SFVec3f value
 value_changed eventOut.


Friends

class PositionInterpolatorClass
 Class object for PositionInterpolator instances.


Detailed Description

PositionInterpolator node instances.


Constructor & Destructor Documentation

PositionInterpolator const NodeType   nodeType,
const ScopePtr   scope
 

Constructor.

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

~PositionInterpolator   throw () [virtual]
 

Destructor.


Member Function Documentation

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

set_fraction eventIn handler.

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

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

set_key eventIn handler.

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

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

set_keyValue field mutator.

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.

Friends And Related Function Documentation

PositionInterpolatorClass [friend]
 

Class object for PositionInterpolator instances.


Member Data Documentation

MFFloat key [private]
 

key exposedField.

MFVec3f keyValue [private]
 

keyValue exposedField.

SFVec3f value [private]
 

value_changed eventOut.