Transforms a 3D vector by a 4x4 matrix. More...
#include <Inventor/engines/SoTransformVec3f.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
SoTransformVec3f () | |
Static Public Member Functions | |
static SoType | getClassTypeId () |
Public Attributes | |
SoMFVec3f | vector |
SoMFMatrix | matrix |
SoEngineOutput | point |
SoEngineOutput | direction |
SoEngineOutput | normalDirection |
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
vector | 0 0 0 |
matrix | 1 0 0 0 |
0 1 0 0 | |
0 0 1 0 | |
0 0 0 1 |
SoTransformVec3f::SoTransformVec3f | ( | ) |
Constructor.
static SoType SoTransformVec3f::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoEngine.
virtual SoType SoTransformVec3f::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Implements SoTypedObject.
( SoMFVec3f ) Vector transformed by matrix, ignoring translation.
Input transformation matrix.
( SoMFVec3f ) Normalized direction.
( SoMFVec3f ) Vector transformed by matrix.
Input row vector.