Open Inventor Reference
SoInterpolate Class Reference

Base class for all interpolator engines. More...

#include <Inventor/engines/SoInterpolate.h>

Inheritance diagram for SoInterpolate:
SoEngine SoFieldContainer SoBase SoInterpolateFloat SoInterpolateRotation SoInterpolateVec2f SoInterpolateVec3f SoInterpolateVec4f

List of all members.

Static Public Member Functions

static void initClass ()
 Initializes base engine class.
static void initClasses ()
 init all builtin derived classes

Public Attributes

Inputs
SoSFFloat alpha
 Interpolation control value.
Outputs
SoEngineOutput output
 Interpolated value.

Protected Member Functions

 SoInterpolate ()
 ~SoInterpolate ()

Static Protected Member Functions

static int max (int a, int b)
static int clamp (int i, int n)

Detailed Description

SoInterpolate is the abstract base class for all interpolator engines. An interpolator engine linearly interpolates between two values, based on the alpha input value. The alpha value should be between 0.0 and 1.0. The interpolator engines derived from this class define the input fields that are to be interpolated.

See Also
SoEngineOutput, SoInterpolateFloat, SoInterpolateRotation, SoInterpolateVec2f, SoInterpolateVec3f, SoInterpolateVec4f

Definition at line 103 of file SoInterpolate.h.


Constructor & Destructor Documentation

SoInterpolate::SoInterpolate ( ) [protected]
SoInterpolate::~SoInterpolate ( ) [protected]

Member Function Documentation

static int SoInterpolate::clamp ( int  i,
int  n 
) [inline, static, protected]

Definition at line 133 of file SoInterpolate.h.

static void SoInterpolate::initClass ( ) [static]

Reimplemented from SoEngine.

static void SoInterpolate::initClasses ( ) [static]

Reimplemented from SoEngine.

static int SoInterpolate::max ( int  a,
int  b 
) [inline, static, protected]

Definition at line 132 of file SoInterpolate.h.


Member Data Documentation

Definition at line 112 of file SoInterpolate.h.

The type of the output value is the same as the type of the input values, which is specified by the derived classes.

Definition at line 122 of file SoInterpolate.h.


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