Interpolates 4D floating-point vectors. More...
#include <Inventor/engines/SoInterpolate.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
SoInterpolateVec4f () | |
Static Public Member Functions | |
static SoType | getClassTypeId () |
Public Attributes | |
SoMFVec4f | input0 |
SoMFVec4f | input1 |
Interpolates 4D floating-point vectors.
This engine linearly interpolates between two 4D vectors, based on the alpha input value. The alpha value should be between 0.0 and 1.0.
The input fields can have multiple vectors, allowing the engine to interpolate several objects in parallel. One of the inputs may have more values than the other. In that case, the last value of the shorter input will be repeated as necessary.
alpha | 0 |
input0 | 0 0 0 0 |
input1 | 0 0 0 0 |
SoEngineOutput, SoInterpolateFloat, SoInterpolateRotation, SoInterpolateVec2f, SoInterpolateVec3f
SoInterpolateVec4f::SoInterpolateVec4f | ( | ) |
Constructor.
static SoType SoInterpolateVec4f::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoInterpolate.
virtual SoType SoInterpolateVec4f::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from SoInterpolate.
The engine linearly interpolates from input0 to input1.
The engine linearly interpolates from input0 to input1.