Class SoComposeVec2s
- 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.SoComposeVec2s
-
- All Implemented Interfaces:
SafeDisposable
public class SoComposeVec2s extends SoEngine
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.
File format/default:
ComposeVec2s {
x 0 y 0 - See Also:
SoDecomposeVec2s
,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
(SoMFVec2s
) Vector composed of x and y components.SoMFShort
x
The x component.SoMFShort
y
The y component.-
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
-
Constructor Summary
Constructors Constructor Description SoComposeVec2s()
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 SoMFShort x
The x component.
-
y
public final SoMFShort y
The y component.
-
vector
public final SoEngineOutput vector
(SoMFVec2s
) Vector composed of x and y components.
-
-