Open Inventor Reference
|
Base class for all interpolator engines. More...
#include <Inventor/engines/SoInterpolate.h>
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) |
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.
Definition at line 103 of file SoInterpolate.h.
SoInterpolate::SoInterpolate | ( | ) | [protected] |
SoInterpolate::~SoInterpolate | ( | ) | [protected] |
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.
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.