Composes 2D vectors from short values. More...
#include <Inventor/engines/SoCompose.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
SoComposeVec2s () | |
Static Public Member Functions | |
static SoType | getClassTypeId () |
Public Attributes | |
SoMFShort | x |
SoMFShort | y |
SoEngineOutput | vector |
Composes 2D vectors from short values.
This engine takes two integer inputs and composes a 2D short vector.
The input fields can have multiple values, allowing the engine to compose several vectors in parallel. One of the inputs may have more values than others. In such cases, the last value of the shorter input will be repeated as necessary.
x | 0 |
y | 0 |
SoDecomposeVec2s, SoEngineOutput
SoComposeVec2s::SoComposeVec2s | ( | ) |
Default Constructor.
static SoType SoComposeVec2s::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoEngine.
virtual SoType SoComposeVec2s::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Implements SoTypedObject.
( SoMFVec2s ) Vector composed of x and y components.
The x component.
The y component.