Class SoDecomposeVec2f
- 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.SoDecomposeVec2f
-
- All Implemented Interfaces:
SafeDisposable
public class SoDecomposeVec2f extends SoEngine
Decomposes 2D vectors into floating-point values. This engine takes as input a 2D vector, and decomposes it into two single floating-point values.The input can have multiple values, allowing the engine to decompose several vectors in parallel.
File format/default:
DecomposeVec2f {
vector 0 0 - See Also:
SoComposeVec2f
,SoEngineOutput
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
-
Field Summary
Fields Modifier and Type Field Description SoMFVec2f
vector
Vector to be decomposed.SoEngineOutput
x
(SoMFFloat
) First component of the vector.SoEngineOutput
y
(SoMFFloat
) Second component of the vector.-
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
-
Constructor Summary
Constructors Constructor Description SoDecomposeVec2f()
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
-
vector
public final SoMFVec2f vector
Vector to be decomposed.
-
x
public final SoEngineOutput x
(SoMFFloat
) First component of the vector.
-
y
public final SoEngineOutput y
(SoMFFloat
) Second component of the vector.
-
-