Open Inventor Reference
|
Transform node with 3D interface for changing rotation and scaling. More...
#include <Inventor/manips/SoTrackballManip.h>
Public Member Functions | |
SoTrackballManip () | |
Constructor. | |
Static Public Member Functions | |
static void | initClass () |
initialize the class | |
Protected Member Functions | |
virtual | ~SoTrackballManip () |
SoTrackballManip is derived from SoTransform (by way of SoTransformManip). When its fields change, nodes following it in the scene graph rotate, scale, and/or translate.
As a subclass of SoTransformManip, this manipulator also has a 3D interface to edit some of its fields. In this case, the interface edits the rotation and scaleFactor fields.
A manipulator differs from a dragger. When you move a dragger, no other nodes are affected. When you move an SoTransformManip, other nodes move along with it. (See the reference page for SoTransformManip).
The interface for an SoTrackballManip is exactly the same as that of the SoTrackballDragger. To find out more about the interface, see the reference page for SoTrackballDragger. To find out how the manipulator uses a dragger to provide its interface, see the reference page for SoTransformManip.
On screen, this manipulator will surround the objects influenced by its motion. This is because it turns on the surroundScale part of the dragger (See the reference page for SoSurroundScale)
TrackballManip { translation 0 0 0 rotation 0 0 1 0 scaleFactor 1 1 1 scaleOrientation 0 0 1 0 center 0 0 0 }
Definition at line 112 of file SoTrackballManip.h.
SoTrackballManip::SoTrackballManip | ( | ) |
virtual SoTrackballManip::~SoTrackballManip | ( | ) | [protected, virtual] |
static void SoTrackballManip::initClass | ( | ) | [static] |
Reimplemented from SoTransformManip.