ProtoInterpolator Class Reference

#include <Interpolator.h>

Inheritance diagram for ProtoInterpolator:

Proto ProtoColorInterpolator ProtoCoordinateInterpolator ProtoPositionInterpolator ProtoScalarInterpolator List of all members.

Public Member Functions

 ProtoInterpolator (Scene *scene, const char *name, int keyType, int keysType, FieldValue *defaultValue)
virtual ~ProtoInterpolator ()
virtual Nodecreate (Scene *scene)=0

Constructor & Destructor Documentation

ProtoInterpolator::ProtoInterpolator ( Scene scene,
const char *  name,
int  keyType,
int  keysType,
FieldValue defaultValue 
)

virtual ProtoInterpolator::~ProtoInterpolator (  )  [inline, virtual]


Member Function Documentation

virtual Node* ProtoInterpolator::create ( Scene scene  )  [pure virtual]

Creates a Node (VRML ProtoBody). As the Proto(VRML Proto definition) is initialised in this class.

Returns:
a ProtoNode(scene,this) object which inherits from Node. e.g. the ProtoGroup::create will return a NodeGroup, the ProtoLOD::create() a NodeLOD etc.

Reimplemented from Proto.

Implemented in ProtoColorInterpolator, ProtoCoordinateInterpolator, ProtoPositionInterpolator, and ProtoScalarInterpolator.


Generated on Thu Jan 18 10:06:21 2007 for vhdPLUS by  doxygen 1.5.1-p1