Class SoComposeVec2i32
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.inventor.misc.SoBase
-
- com.openinventor.inventor.fields.SoFieldContainer
-
- com.openinventor.inventor.engines.SoEngine
-
- com.openinventor.inventor.engines.SoComposeVec2i32
-
- All Implemented Interfaces:
SafeDisposable
public class SoComposeVec2i32 extends SoEngine
Composes 2D vectors from int values. This engine takes two integer inputs and composes a 2D integer 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.
File format/default:
ComposeVec2i32 {
x 0 y 0 - See Also:
SoDecomposeVec2i32
,SoEngineOutput
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
-
Field Summary
Fields Modifier and Type Field Description SoEngineOutput
vector
(SoMFVec2i32
) Vector composed of x and y components.SoMFInt32
x
The x component.SoMFInt32
y
The y component.-
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
-
Constructor Summary
Constructors Constructor Description SoComposeVec2i32()
Default Constructor.
-
Method Summary
-
Methods inherited from class com.openinventor.inventor.engines.SoEngine
copy, getByName, getOutput, getOutputName
-
Methods inherited from class com.openinventor.inventor.fields.SoFieldContainer
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaults
-
Methods inherited from class com.openinventor.inventor.misc.SoBase
dispose, getName, isDisposable, isSynchronizable, setName, setSynchronizable, touch
-
Methods inherited from class com.openinventor.inventor.Inventor
getNativeResourceHandle
-
-
-
-
Field Detail
-
x
public final SoMFInt32 x
The x component.
-
y
public final SoMFInt32 y
The y component.
-
vector
public final SoEngineOutput vector
(SoMFVec2i32
) Vector composed of x and y components.
-
-