Open Inventor Reference
SoCenterballManip Class Reference

Transform node with 3D interface for editing rotation and center. More...

#include <Inventor/manips/SoCenterballManip.h>

Inheritance diagram for SoCenterballManip:
SoTransformManip SoTransform SoTransformation SoNode SoFieldContainer SoBase

List of all members.

Public Member Functions

 SoCenterballManip ()
 Constructor.

Static Public Member Functions

static void initClass ()
 initialize the class

Protected Member Functions

virtual void setDragger (SoDragger *newDragger)
virtual ~SoCenterballManip ()

Static Protected Member Functions

static void fieldSensorCB (void *, SoSensor *)
static void valueChangedCB (void *, SoDragger *)

Detailed Description

SoCenterballManip 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 center 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 SoCenterballManip is exactly the same as that of the SoCenterballDragger. To find out more about the interface, see the reference page for SoCenterballDragger. 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.)

File Format/Default
CenterballManip {
  translation 0 0 0
  rotation 0 0 1 0
  scaleFactor 1 1 1
  scaleOrientation 0 0 1 0
  center 0 0 0
}
See Also
SoCenterballDragger, SoHandleBoxManip, SoJackManip, SoTabBoxManip, SoTrackballManip, SoTransformBoxManip, SoTransformerManip, SoTransform, SoTransformManip

Definition at line 108 of file SoCenterballManip.h.


Constructor & Destructor Documentation

SoCenterballManip::SoCenterballManip ( )
virtual SoCenterballManip::~SoCenterballManip ( ) [protected, virtual]

Member Function Documentation

static void SoCenterballManip::fieldSensorCB ( void *  ,
SoSensor  
) [static, protected]

Reimplemented from SoTransformManip.

static void SoCenterballManip::initClass ( ) [static]

Reimplemented from SoTransformManip.

virtual void SoCenterballManip::setDragger ( SoDragger newDragger) [protected, virtual]

Reimplemented from SoTransformManip.

static void SoCenterballManip::valueChangedCB ( void *  ,
SoDragger  
) [static, protected]

Reimplemented from SoTransformManip.


The documentation for this class was generated from the following file: