man SoSFMatrix () - field containing a 4x4 matrix

NAME

SoSFMatrix - field containing a 4x4 matrix

INHERITS FROM

SoField > SoSField > SoSFMatrix

SYNOPSIS

#include <Inventor/fields/SoSFMatrix.h> Methods from class SoSFMatrix: c } c } setValue(float a11, float a12, float a13, float a14, float a21, float a22, float a23, float a24, float a31, float a32, float a33, float a34, float a41, float a42, float a43, float a44)

c } c } getClassTypeId()

c } c } getTypeId() const

c } c } getValue() const

c } c } operator =(const SbMatrix & newValue)

c } c } setValue(const SbMatrix & newValue)

c } c } operator ==(const SoSFMatrix &f) const

c } c } operator !=(const SoSFMatrix &f) const Methods from class SoField: c } c } setIgnored(SbBool ignore)

c } c } isIgnored() const

c } c } isDefault() const

c } c } isOfType(SoType type) const

c } c } set(const char *valueString)

c } c } get(SbString &valueString)

c } c } touch()

c } c } connectFrom(SoField *fromField)

c } c } connectFrom(SoEngineOutput *fromEngine)

c } c } disconnect()

c } c } isConnected() const

c } c } isConnectedFromField() const

c } c } getConnectedField(SoField *&writingField) const

c } c } isConnectedFromEngine() const

c } c } getConnectedEngine(SoEngineOutput *&engineOutput) const

c } c } enableConnection(SbBool flag)

c } c } isConnectionEnabled() const

c } c } getForwardConnections(SoFieldList &list) const

c } c } getContainer() const

DESCRIPTION

A field containing a transformation matrix (an SbMatrix). SoSFMatrices are written to file as 16 floating point numbers separated by whitespace. For example, an identity matrix is written as:

1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1

METHODS

c } c } setValue(float a11, float a12, float a13, float a14, float a21, float a22, float a23, float a24, float a31, float a32, float a33, float a34, float a41, float a42, float a43, float a44)

Sets this field to contain the matrix given by the 16 values. For a translation matrix, the x, y and z translations should be in the a41, a42, and a43 arguments. c } c } getClassTypeId()

c } c } getTypeId() const

Returns the type for this class or a particular object of this class. c } c } getValue() const

Returns this field's value. c } c } operator =(const SbMatrix & newValue)

c } c } setValue(const SbMatrix & newValue)

Sets this field to newValue. c } c } operator ==(const SoSFMatrix &f) const

c } c } operator !=(const SoSFMatrix &f) const

Returns TRUE if f is of the same type and has the same value as this field.

SEE ALSO

SoField, SoSField, SoMFMatrix, SbMatrix