Open Inventor Reference
|
Node that resets the current transformation to identity. More...
#include <Inventor/nodes/SoResetTransform.h>
Public Types | |
enum | ResetType { TRANSFORM = 0x01, BBOX = 0x02 } |
Which things get reset: More... | |
Public Member Functions | |
SoResetTransform () | |
Creates a reset transformation node with default settings. | |
virtual void | doAction (SoAction *action) |
This method performs the "typical" operation of a node for any action. | |
virtual void | callback (SoCallbackAction *action) |
virtual void | GLRender (SoGLRenderAction *action) |
These virtual functions implement all of the actions for nodes, Most of the default implementations do nothing. | |
virtual void | getBoundingBox (SoGetBoundingBoxAction *action) |
virtual void | getMatrix (SoGetMatrixAction *action) |
virtual void | pick (SoPickAction *action) |
Static Public Member Functions | |
static void | initClass () |
Initializes base node class. | |
Public Attributes | |
Fields | |
SoSFBitMask | whatToReset |
Specifies which items to reset when the node is traversed. | |
Protected Member Functions | |
virtual | ~SoResetTransform () |
This node resets the current transformation to identity. It can be used to apply an absolute world space transformation afterwards, such as translating to a specific point from within a hierarchy. An SoResetTransform node should probably be used under an SoSeparator or SoTransformSeparator so it won't change transformations for the rest of the scene graph. An SoResetTransform node can also be used to reset the current bounding box to empty during traversal of an SoGetBoundingBoxAction, if the whatToReset field has the BBOX bit set.
ResetTransform { whatToReset TRANSFORM }
Definition at line 103 of file SoResetTransform.h.
Definition at line 109 of file SoResetTransform.h.
SoResetTransform::SoResetTransform | ( | ) |
virtual SoResetTransform::~SoResetTransform | ( | ) | [protected, virtual] |
virtual void SoResetTransform::callback | ( | SoCallbackAction * | action | ) | [virtual] |
Reimplemented from SoNode.
virtual void SoResetTransform::doAction | ( | SoAction * | action | ) | [virtual] |
The default implementation does nothing.
Reimplemented from SoNode.
virtual void SoResetTransform::getBoundingBox | ( | SoGetBoundingBoxAction * | action | ) | [virtual] |
Reimplemented from SoNode.
virtual void SoResetTransform::getMatrix | ( | SoGetMatrixAction * | action | ) | [virtual] |
Reimplemented from SoNode.
virtual void SoResetTransform::GLRender | ( | SoGLRenderAction * | action | ) | [virtual] |
Reimplemented from SoNode.
static void SoResetTransform::initClass | ( | ) | [static] |
Reimplemented from SoTransformation.
virtual void SoResetTransform::pick | ( | SoPickAction * | action | ) | [virtual] |
Reimplemented from SoNode.
Definition at line 118 of file SoResetTransform.h.