Open Inventor Reference
|
Group node that saves and restores transformation state. More...
#include <Inventor/nodes/SoTransformSeparator.h>
Public Member Functions | |
SoTransformSeparator () | |
Creates a transform separator node with default settings. | |
SoTransformSeparator (int nChildren) | |
Constructor that takes approximate number of children. | |
virtual void | doAction (SoAction *action) |
Implement actions. | |
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 | pick (SoPickAction *action) |
virtual void | getBoundingBox (SoGetBoundingBoxAction *action) |
virtual void | getMatrix (SoGetMatrixAction *action) |
Static Public Member Functions | |
static void | initClass () |
Initializes base node class. | |
Protected Member Functions | |
virtual | ~SoTransformSeparator () |
This group node is similar to the SoSeparator node in that it saves state before traversing its children and restores it afterwards. However, it saves only the current transformation; all other state is left as is. This node can be useful for positioning a camera, since the transformations to the camera will not affect the rest of the scene, even through the camera will view the scene. Similarly, this node can be used to isolate transformations to light sources or other objects.
TransformSeparator { }
Definition at line 93 of file SoTransformSeparator.h.
SoTransformSeparator::SoTransformSeparator | ( | ) |
SoTransformSeparator::SoTransformSeparator | ( | int | nChildren | ) |
virtual SoTransformSeparator::~SoTransformSeparator | ( | ) | [protected, virtual] |
virtual void SoTransformSeparator::callback | ( | SoCallbackAction * | action | ) | [virtual] |
Reimplemented from SoGroup.
virtual void SoTransformSeparator::doAction | ( | SoAction * | action | ) | [virtual] |
Reimplemented from SoGroup.
virtual void SoTransformSeparator::getBoundingBox | ( | SoGetBoundingBoxAction * | action | ) | [virtual] |
Reimplemented from SoGroup.
virtual void SoTransformSeparator::getMatrix | ( | SoGetMatrixAction * | action | ) | [virtual] |
Reimplemented from SoGroup.
virtual void SoTransformSeparator::GLRender | ( | SoGLRenderAction * | action | ) | [virtual] |
Reimplemented from SoGroup.
static void SoTransformSeparator::initClass | ( | ) | [static] |
Reimplemented from SoGroup.
virtual void SoTransformSeparator::pick | ( | SoPickAction * | action | ) | [virtual] |
Reimplemented from SoGroup.