8 #ifndef META_OCEAN_SCENEDESCRIPTION_SDX_X3D_ORIENTATION_INTERPOLATOR_H
9 #define META_OCEAN_SCENEDESCRIPTION_SDX_X3D_ORIENTATION_INTERPOLATOR_H
17 namespace SceneDescription
This class implements a node specification object.
Definition: scenedescription/Node.h:77
This class implements an orientation interpolator node.
Definition: OrientationInterpolator.h:31
void onInterpolate(const size_t leftIndex, const size_t rightIndex, const Scalar interpolationFactor, const Timestamp eventTimestamp) override
Event function to interpolate between two values.
NodeSpecification specifyNode()
Specifies the node type and the fields of this node.
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.
OrientationInterpolator(const SDXEnvironment *environment)
Creates a new orientation interpolator node.
size_t objectAddress() const override
Returns the address of the most derived object.
std::vector< Quaternion > QuaternionValues
Definition of a vector holding quaternion rotation values.
Definition: OrientationInterpolator.h:37
QuaternionValues quaternionRotations_
Vector holding the quaternion rotation values of the key values.
Definition: OrientationInterpolator.h:94
SingleRotation valueChanged_
Value_changed field.
Definition: OrientationInterpolator.h:91
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...
MultiRotation keyValue_
KeyValue field.
Definition: OrientationInterpolator.h:88
This class implements an abstract x3d interpolator node object.
Definition: X3DInterpolatorNode.h:33
This class implements a node environment container.
Definition: SDXNode.h:62
This class implements a timestamp.
Definition: Timestamp.h:36
float Scalar
Definition of a scalar type.
Definition: Math.h:128
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15