H3D::SplinePositionInterpolator2D Class Reference
[X3D node classes.]

The SplinePositionInterpolator2D node non-linearly interpolates among a list of 2D vectors to produce an SFVec2f value_changed event. More...

#include <H3D/SplinePositionInterpolator2D.h>

Inheritance diagram for H3D::SplinePositionInterpolator2D:

Inheritance graph

List of all members.

Classes

struct  SFValue
 The SFValue field updates the interpolated value from the fields routed to it. More...

Public Member Functions

 SplinePositionInterpolator2D (Inst< SFNode > _metadata=0, Inst< SFFloat > _set_fraction=0, Inst< MFFloat > _key=0, Inst< MFVec2f > _keyValue=0, Inst< MFVec2f > _keyVelocity=0, Inst< SFValue > _value_changed=0, Inst< SFBool > _closed=0, Inst< SFBool > _normalizeVelocity=0)
 Construtor.

Public Attributes

auto_ptr< MFVec2fkeyValue
 The values to interpolate between.
auto_ptr< MFVec2fkeyVelocity
 KeyVelocity values, if left empty they are calculated using the keyValues.
auto_ptr< SFBoolclosed
 Specifies if the loop is Open or Closed.
auto_ptr< SFBoolnormalizeVelocity
 Specifies if the Velocity should be normalized.
auto_ptr< SFValuevalue_changed
 The interpolated result value.

Static Public Attributes

static H3DNodeDatabase database
 The H3DNodeDatabase for this node.


Detailed Description

The SplinePositionInterpolator2D node non-linearly interpolates among a list of 2D vectors to produce an SFVec2f value_changed event.

The keyValue, keyVelocity, and key fields shall each have the same number of values.

Internal routes:
SplinePositionInterpolator2D.dot

Member Data Documentation

Specifies if the loop is Open or Closed.

Access type: inputOutput Default value: FALSE

SplinePositionInterpolator2D_closed.dot

The values to interpolate between.

Access type: inputOutput SplinePositionInterpolator2D_keyValue.dot

Referenced by SplinePositionInterpolator2D().

KeyVelocity values, if left empty they are calculated using the keyValues.

Access type: inputOutput

SplinePositionInterpolator2D_keyVelocity.dot

Referenced by SplinePositionInterpolator2D().

Specifies if the Velocity should be normalized.

Default value: FALSE
Access type: inputOutput

SplinePositionInterpolator2D_normalizeVelocity.dot

The interpolated result value.

Access type: outputOnly

SplinePositionInterpolator2D_value_changed.dot

Referenced by SplinePositionInterpolator2D().


The documentation for this class was generated from the following files:

Generated on Fri Nov 7 10:31:03 2008 for H3D API by  doxygen 1.5.7