Class SoComposeVec2f
- 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.SoComposeVec2f
-
- All Implemented Interfaces:
SafeDisposable
public class SoComposeVec2f extends SoEngine
Composes 2D vectors from floating-point values. This engine takes two floating-point inputs and composes a 2D floating-point 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:
ComposeVec2f {
x 0 y 0 - See Also:
SoDecomposeVec2f
,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
(SoMFVec2f
) Vector composed of x and y components.SoMFFloat
x
The x component.SoMFFloat
y
The y component.-
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
-
Constructor Summary
Constructors Constructor Description SoComposeVec2f()
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 SoMFFloat x
The x component.
-
y
public final SoMFFloat y
The y component.
-
vector
public final SoEngineOutput vector
(SoMFVec2f
) Vector composed of x and y components.
-
-