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

This node linearly interpolates among a list of SFFloat values to produce an SFFloat value_changed event. More...

#include <H3D/ScalarInterpolator.h>

Inheritance diagram for H3D::ScalarInterpolator:

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

 ScalarInterpolator (Inst< SFNode > _metadata=0, Inst< SFFloat > _set_fraction=0, Inst< MFFloat > _key=0, Inst< MFFloat > _keyValue=0, Inst< SFValue > _value_changed=0)
 Construtor.

Public Attributes

auto_ptr< MFFloatkeyValue
 The values to interpolate between.
auto_ptr< SFValuevalue_changed
 The interpolated result value.

Static Public Attributes

static H3DNodeDatabase database
 The H3DNodeDatabase for this node.


Detailed Description

This node linearly interpolates among a list of SFFloat values to produce an SFFloat value_changed event.

This interpolator is appropriate for any parameter defined using a single floating point value. Examples include width, radius, and intensity fields. The keyValue field shall contain exactly as many numbers as there are key frames in the key field.

Internal routes:
ScalarInterpolator.dot

Member Data Documentation

The values to interpolate between.

Access type: inputOutput

ScalarInterpolator_keyValue.dot

Referenced by ScalarInterpolator().

The interpolated result value.

Access type: outputOnly

ScalarInterpolator_value_changed.dot

Referenced by ScalarInterpolator().


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

Generated on Fri Nov 7 10:30:49 2008 for H3D API by  doxygen 1.5.7