Group node that saves and restores transformation state. More...
#include <Inventor/nodes/SoTransformSeparator.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
SoTransformSeparator () | |
SoTransformSeparator (int nChildren) | |
Static Public Member Functions | |
static SoType | getClassTypeId () |
Group node that saves and restores transformation state.
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 though the camera will view the scene. Similarly, this node can be used to isolate transformations to light sources or other objects.
SoResetTransform, SoTransformation
SoTransformSeparator::SoTransformSeparator | ( | ) |
Creates a transform separator node with default settings.
SoTransformSeparator::SoTransformSeparator | ( | int | nChildren | ) |
Constructor that takes approximate number of children.
static SoType SoTransformSeparator::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoGroup.
virtual SoType SoTransformSeparator::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from SoGroup.