#include <MatrixTransform.h>
Inheritance diagram for H3D::MatrixTransform:

Public Types | |
| typedef H3D::SFMatrix4f | SFMatrix4f |
Public Member Functions | |
| MatrixTransform (Inst< MFChild > _addChildren=0, Inst< MFChild > _removeChildren=0, Inst< MFChild > _children=0, Inst< SFNode > _metadata=0, Inst< SFBound > _bound=0, Inst< SFVec3f > _bboxCenter=0, Inst< SFVec3f > _bboxSize=0, Inst< SFTransformedBound > _transformedBound=0, Inst< SFMatrix4f > _matrix=0, Inst< SFMatrix4f > _accumulatedForward=0, Inst< SFMatrix4f > _accumulatedInverse=0) | |
| Constructor. | |
| virtual void | render () |
| Render the children. | |
Public Attributes | |
| auto_ptr< SFMatrix4f > | matrix |
| The transformation matrix. | |
| auto_ptr< SFMatrix4f > | accumulatedForward |
| The accumulated forward transform matrix. | |
| auto_ptr< SFMatrix4f > | accumulatedInverse |
| The accumulated inverse transform matrix. | |
| auto_ptr< SFTransformedBound > | transformedBound |
| This is the same as the bound field, but with the transformation applied to the bound. | |
Static Public Attributes | |
| static H3DNodeDatabase | database |
| The H3DNodeDatabase for this node. | |
Classes | |
| class | SFTransformedBound |
| SFTransformedBound maintains the routes from the owner Node's bound and matrix field to the contained TransformedBoxBound instance's boxBound and matrix field. More... | |
The matrix field is a 4x4 matrix defining the transform matrix from the children's coordinate system to its ancestors coordinate system.
The bboxCenter and bboxSize fields specify a bounding box that encloses the children of the Transform node. This is a hint that may be used for optimization purposes. The results are undefined if the specified bounding box is smaller than the actual bounding box of the children at any time. A default bboxSize value, (-1, -1, -1), implies that the bounding box is not specified and, if needed, shall be calculated by the browser. The bounding box shall be large enough at all times to enclose the union of the group's children's bounding boxes; it shall not include any transformations performed by the group itself (i.e., the bounding box is defined in the local coordinate system of the children). The results are undefined if the specified bounding box is smaller than the true bounding box of the group.
|
|
The accumulated forward transform matrix.
Access type: inputOutput |
|
|
The accumulated inverse transform matrix.
Access type: inputOutput |
|
|
The transformation matrix.
Access type: inputOutput
|
|
|
This is the same as the bound field, but with the transformation applied to the bound.
Access type: outputOnly
|
1.4.5