Class SoTransformVec3f

  • All Implemented Interfaces:
    SafeDisposable

    public class SoTransformVec3f
    extends SoEngine
    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:
    SoEngineOutput
    • Constructor Detail

      • SoTransformVec3f

        public SoTransformVec3f()
        Constructor.