SoTransformVec3f Class Reference
[Engines]

Transforms a 3D vector by a 4x4 matrix. More...

#include <Inventor/engines/SoTransformVec3f.h>

Inheritance diagram for SoTransformVec3f:
SoEngine SoFieldContainer SoBase SoRefCounter SoTypedObject

List of all members.

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

Detailed Description

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

SEE ALSO

SoEngineOutput


Constructor & Destructor Documentation

SoTransformVec3f::SoTransformVec3f (  ) 

Constructor.


Member Function Documentation

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.


Member Data Documentation

( SoMFVec3f ) Vector transformed by matrix, ignoring translation.

Input transformation matrix.

( SoMFVec3f ) Normalized direction.

( SoMFVec3f ) Vector transformed by matrix.

Input row vector.


The documentation for this class was generated from the following file:

Open Inventor Toolkit reference manual, generated on 4 Sep 2023
Copyright © Thermo Fisher Scientific All rights reserved.
https://www.openinventor.com/