man SoComposeMatrix () - composes a transformation matrix
NAME
SoComposeMatrix - composes a transformation matrix
INHERITS FROM
SoBase > SoFieldContainer > SoEngine > SoComposeMatrix
SYNOPSIS
#include <Inventor/engines/SoCompose.h>
Inputs from class SoComposeMatrix:
c
}
c
}
translation
c
}
c
}
rotation
c
}
c
}
scaleFactor
c
}
c
}
scaleOrientation
c
}
c
}
center
Outputs from class SoComposeMatrix:
c
}
c
}
matrix
Methods from class SoComposeMatrix:
c
}
c
}
SoComposeMatrix()
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 has inputs that specify values for translation, rotation, scale, and center of transformation. As output, it produces a transformation matrix that transforms objects into the space specified by the scale, rotation, and translation inputs (in that order). The input fields can have multiple values, allowing the engine to compose several matrices in parallel. Some inputs may have more values than others. In such cases, the last value of the shorter inputs will be repeated as necessary.
INPUTS
c
}
c
}
translation
Translation in x, y, and z.
c
}
c
}
rotation
Rotation.
c
}
c
}
scaleFactor
Scale factors in x, y, and z.
c
}
c
}
scaleOrientation
Rotational space for scaling.
c
}
c
}
center
Center point for scaling and rotating.
OUTPUTS
c
}
c
}
matrix
Transformation matrix that transforms from object space into the space specified by the inputs.
METHODS
c
}
c
}
SoComposeMatrix()
Constructor
FILE FORMAT/DEFAULTS
ComposeMatrix { translation 0 0 0 rotation 0 0 1 0 scaleFactor 1 1 1 scaleOrientation 0 0 1 0 center 0 0 0 }
SEE ALSO
SoDecomposeMatrix, SoEngineOutput