8#ifndef META_OCEAN_SCENEDESCRIPTION_SDX_X3D_COORDINATE_INTERPOLATOR_H
9#define META_OCEAN_SCENEDESCRIPTION_SDX_X3D_COORDINATE_INTERPOLATOR_H
This class implements a node specification object.
Definition scenedescription/Node.h:77
CoordinateInterpolator(const SDXEnvironment *environment)
Creates a new coordinate interpolator node.
MultiVector3 keyValue_
KeyValue field.
Definition CoordinateInterpolator.h:81
size_t objectAddress() const override
Returns the address of the most derived object.
void onInterpolate(const size_t leftIndex, const size_t rightIndex, const Scalar interpolationFactor, const Timestamp eventTimestamp) override
Event function to interpolate between two values.
MultiVector3 valueChanged_
Value_changed field.
Definition CoordinateInterpolator.h:84
NodeSpecification specifyNode()
Specifies the node type and the fields of this node.
unsigned int interpolationValues_
Number of parallel interpolation values.
Definition CoordinateInterpolator.h:87
void onSingleValue(const size_t index, const Timestamp eventTimestamp) override
Event function for single value 'interpolates'.
void onFieldChanged(const std::string &fieldName) override
Event function to inform the node about a changed field.
void onInitialize(const Rendering::SceneRef &scene, const Timestamp timestamp) override
Event function to inform the node that it has been initialized and can apply all internal values to c...
X3DInterpolatorNode(const SDXEnvironment *environment)
Creates a new abstract x3d interpolator node.
This class implements a node environment container.
Definition SDXNode.h:62
This class implements a timestamp.
Definition Timestamp.h:64
float Scalar
Definition of a scalar type.
Definition Math.h:129
SmartObjectRef< Scene > SceneRef
Definition of a smart object reference holding a scene node.
Definition rendering/Scene.h:29
Field1D< Vector3 > MultiVector3
Definition of a multi field with 3D vector values.
Definition Field1D.h:96
Namespace of the S(scene)D(escription)X X3D SceneDescription library.
Definition Appearance.h:26
Definition Appearance.h:23
Namespace of the SceneDescription library.
Definition DynamicNode.h:21
The namespace covering the entire Ocean framework.
Definition Accessor.h:15