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