Open Inventor Reference
|
Transforms a 3D vector by a 4x4 matrix. More...
#include <Inventor/engines/SoTransformVec3f.h>
Public Member Functions | |
SoTransformVec3f () | |
Constructor. | |
Static Public Member Functions | |
static void | initClass () |
Initializes base engine class. | |
Public Attributes | |
Inputs | |
SoMFVec3f | vector |
Input row vector. | |
SoMFMatrix | matrix |
Input transformation matrix. | |
Outputs | |
SoEngineOutput | point |
Vector transformed by matrix. | |
SoEngineOutput | direction |
Vector transformed by matrix, ignoring translation. | |
SoEngineOutput | normalDirection |
Normalized direction. |
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
Definition at line 100 of file SoTransformVec3f.h.
SoTransformVec3f::SoTransformVec3f | ( | ) |
static void SoTransformVec3f::initClass | ( | ) | [static] |
Reimplemented from SoEngine.
Definition at line 124 of file SoTransformVec3f.h.
Definition at line 113 of file SoTransformVec3f.h.
Definition at line 127 of file SoTransformVec3f.h.
Definition at line 121 of file SoTransformVec3f.h.
Definition at line 110 of file SoTransformVec3f.h.