#include <Inventor/nodes/SoTransform.h>
Inheritance diagram for SoTransform::
Like SoMatrixTransform, nodes of this type gives the application programmer maximum flexibility when specifying geometry transformations in a scene graph. If you want to set and keep the various components of the transformation matrix in separate entities, this node type is preferable, though.
The order of operations is: first scaling is done, then rotation, then translation.
|
Constructor. |
|
Destructor. |
|
Sets up initialization for data common to all instances of this class, like submitting necessary information to the Coin type system. Reimplemented from SoTransformation. Reimplemented in SoCenterballManip, SoHandleBoxManip, SoJackManip, SoTabBoxManip, SoTrackballManip, SoTransformBoxManip, SoTransformManip, and SoTransformerManip. |
|
Sets the transformation to translate to frompoint, with a rotation so that the (0,0,-1) vector is rotated into the vector from frompoint to topoint. |
|
Calculates the matrices to/from scale space. |
|
Calculates the matrices to/from rotation space. |
|
Calculates the matrices to/from translation space. |
|
Premultiplies this transformation by mat. |
|
Postmultiplies this transformation by mat. |
|
Premultiplies this transformation by the transformation in nodeonright. |
|
Postmultiplies this transformation by the transformation in nodeonleft. |
|
Sets the fields to create a transformation equal to mat. |
|
Sets the center field to newcenter. This might affect one or more of the other fields. |
|
This function performs the typical operation of a node for any action. Reimplemented from SoNode. Reimplemented in SoTransformManip. |
|
Action method for the SoGLRenderAction. This is called during rendering traversals. Nodes influencing the rendering state in any way or who wants to throw geometry primitives at OpenGL overrides this method. Reimplemented from SoNode. Reimplemented in SoTransformManip. |
|
Action method for SoCallbackAction. Simply updates the state according to how the node behaves for the render action, so the application programmer can use the SoCallbackAction for extracting information about the scene graph. Reimplemented from SoNode. Reimplemented in SoTransformManip. |
|
Action method for the SoGetBoundingBoxAction. Calculates bounding box and center coordinates for node and modifies the values of the action to encompass the bounding box for this node and to shift the center point for the scene more towards the one for this node. Nodes influencing how geometry nodes calculates their bounding box also overrides this method to change the relevant state variables. Reimplemented from SoNode. Reimplemented in SoTransformManip. |
|
Action method for SoGetMatrixAction. Updates action by accumulating with the transformation matrix of this node (if any). Reimplemented from SoNode. Reimplemented in SoTransformManip. |
|
Action method for SoPickAction. Does common processing for SoPickAction action instances. Reimplemented from SoNode. Reimplemented in SoTransformManip. |
|
Action method for the SoGetPrimitiveCountAction. Calculates the number of triangle, line segment and point primitives for the node and adds these to the counters of the action. Nodes influencing how geometry nodes calculates their primitive count also overrides this method to change the relevant state variables. Reimplemented from SoNode. |
|
The translation part of the transformation. |
|
The rotation part of the transformation. |
|
The scaling part of the transformation. |
|
The orientation the object is set to before scaling. |
|
The center point for the rotation. |