man SoTransformVec3f () - transforms a 3D vector by a 4x4 matrix

NAME

SoTransformVec3f - transforms a 3D vector by a 4x4 matrix

INHERITS FROM

SoBase > SoFieldContainer > SoEngine > SoTransformVec3f

SYNOPSIS

#include <Inventor/engines/SoTransformVec3f.h> Inputs from class SoTransformVec3f: c } c } vector

c } c } matrix Outputs from class SoTransformVec3f: c } c } point

c } c } direction

c } c } normalDirection Methods from class SoTransformVec3f: c } c } SoTransformVec3f() Methods from class SoEngine: c } c } getClassTypeId()

c } c } getOutputs(SoEngineOutputList &list) const

c } c } getOutput(const SbName &outputName) const

c } c } getOutputName(const SoEngineOutput *output, SbName &outputName) const

c } c } copy() const

c } c } getByName(const SbName &name)

c } c } getByName(const SbName &name, SoEngineList &list) Methods from class SoFieldContainer: c } c } setToDefaults()

c } c } hasDefaultValues() const

c } c } fieldsAreEqual(const SoFieldContainer *fc) const

c } c } copyFieldValues(const SoFieldContainer *fc, SbBool copyConnections = FALSE)

c } c } set(const char *fieldDataString)

c } c } get(SbString &fieldDataString)

c } c } getFields(SoFieldList &resultList) const

c } c } getField(const SbName &fieldName) const

c } c } getFieldName(const SoField *field, SbName &fieldName) const

c } c } isNotifyEnabled() const

c } c } enableNotify(SbBool flag) Methods from class SoBase: c } c } ref()

c } c } unref() const

c } c } unrefNoDelete() const

c } c } touch()

c } c } getTypeId() const

c } c } isOfType(SoType type) const

c } c } setName(const SbName &name)

c } c } getName() const

DESCRIPTION

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

INPUTS

c } c } vector

Input row vector. c } c } matrix

Input transformation matrix.

OUTPUTS

c } c } point

Vector transformed by matrix. c } c } direction

Vector transformed by matrix, ignoring translation. c } c } normalDirection

Normalized direction.

METHODS

c } c } SoTransformVec3f()

Constructor

FILE FORMAT/DEFAULTS

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