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

The SplineScalarInterpolator node non-linearly interpolates among a list of floats to produce an SFFloat value_changed event. More...

#include <H3D/SplineScalarInterpolator.h>

Inheritance diagram for H3D::SplineScalarInterpolator:

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

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

Public Attributes

auto_ptr< MFFloatkeyValue
 keyValues are the values to interpolate between
auto_ptr< MFFloatkeyVelocity
 KeyVelocity, if left empty they are calculated using the keyValues.
auto_ptr< SFBoolclosed
 Closed is a boolean that specifies if the loop is open or closed.
auto_ptr< SFBoolnormalizeVelocity
 NormalizeVelocity is a boolean that specifies if the keyVelocities 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 SplineScalarInterpolator node non-linearly interpolates among a list of floats to produce an SFFloat value_changed event.

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

Internal routes:
SplineScalarInterpolator.dot

Member Data Documentation

Closed is a boolean that specifies if the loop is open or closed.

Default value: SFBool = FALSE
Access type: inputOutput

SplineScalarInterpolator_closed.dot

keyValues are the values to interpolate between

Access type: inputOutput

SplineScalarInterpolator_keyValue.dot

Referenced by SplineScalarInterpolator().

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

Access type: inputOutput

SplineScalarInterpolator_keyVelocity.dot

Referenced by SplineScalarInterpolator().

NormalizeVelocity is a boolean that specifies if the keyVelocities should be normalized.

Default value: SFBool = FALSE
Access type: inputOutput

SplineScalarInterpolator_normalizeVelocity.dot

The interpolated result value.

Access type: outputOnly

SplineScalarInterpolator_value_changed.dot

Referenced by SplineScalarInterpolator().


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

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