Class SoTransformVec3f
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.SoTransformVec3f
- All Implemented Interfaces:
SafeDisposable
Transforms a 3D vector by a 4x4 matrix.
This engine takes as input a three dimensional floating-point vector and a transformation matrix. The vector is assumed to be a row vector.
The engine multiplies the vector by the matrix and returns the result in the output point. The output direction contains the result when the matrix multiplication assumes the vector is a direction, and therefore ignores the translation part of the matrix. The output normalDirection contains the normalized direction
File format/default:
TransformVec3f {
| vector | 0 0 0 |
| matrix | 1 0 0 0 |
| 0 1 0 0 | |
| 0 0 1 0 | |
| 0 0 0 1 |
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal SoEngineOutput(SoMFVec3f) Vector transformed by matrix, ignoring translation.final SoMFMatrixInput transformation matrix.final SoEngineOutput(SoMFVec3f) Normalized direction.final SoEngineOutput(SoMFVec3f) Vector transformed by matrix.final SoMFVec3fInput row vector.Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.openinventor.inventor.engines.SoEngine
copy, getByName, getOutput, getOutputNameMethods inherited from class com.openinventor.inventor.fields.SoFieldContainer
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaultsMethods inherited from class com.openinventor.inventor.misc.SoBase
dispose, getName, isDisposable, isSynchronizable, setName, setSynchronizable, touchMethods inherited from class com.openinventor.inventor.Inventor
getNativeResourceHandle
-
Field Details
-
Constructor Details
-
SoTransformVec3f
public SoTransformVec3f()Constructor.
-