#include <Inventor/draggers/SoHandleBoxDragger.h>
Inheritance diagram for SoHandleBoxDragger::
Public Methods | |
SoHandleBoxDragger (void) | |
Static Public Methods | |
void | initClass (void) |
Public Attributes | |
SoSFVec3f | scaleFactor |
SoSFVec3f | translation |
Protected Methods | |
~SoHandleBoxDragger () | |
virtual SbBool | setUpConnections (SbBool onoff, SbBool doitalways=FALSE) |
virtual void | setDefaultOnNonWritingFields (void) |
void | dragStart (void) |
void | drag (void) |
void | dragFinish (void) |
void | setAllPartsActive (SbBool onoroff) |
Static Protected Methods | |
void | startCB (void *f, SoDragger *d) |
void | motionCB (void *f, SoDragger *d) |
void | finishCB (void *f, SoDragger *d) |
void | metaKeyChangeCB (void *f, SoDragger *d) |
void | fieldSensorCB (void *f, SoSensor *s) |
void | valueChangedCB (void *f, SoDragger *d) |
Protected Attributes | |
SoFieldSensor * | translFieldSensor |
SoFieldSensor * | scaleFieldSensor |
A handlebox dragger is convenient to use for letting the user interact with geometry that can be scaled (uniformly or in a non-uniform way) and translated in 3D.
The dragger consists of a "cube" of interaction geometry. The end-user can click and drag any side of the cube to translate the dragger and click and drag any of the corner or edge markers for scaling operations.
|
Default constructor, sets up the dragger nodekit catalog with the interaction and feedback geometry. |
|
Protected destructor. (Dragger classes are derived from SoBase, so they are reference counted and automatically destroyed when their reference count goes to 0.) |
|
Initializes type system for this dragger class. Application programmers should usually not have to invoke this method, see documentation of SoInteraction::initClass(). Reimplemented from SoDragger. |
|
Sets up all internal connections for instances of this class. (This method will usually not be of interest to the application programmer, unless you want to extend the library with new custom nodekits or dragger classes. If so, see the SoBaseKit class documentation.) Reimplemented from SoInteractionKit. |
|
(Be aware that this method is unlikely to be of interest to the application programmer who does not want to extend the library with new custom nodekits or draggers. If you indeed are writing extensions, see the information in the SoBaseKit class documentation.)
A virtual method that should call SoField::setDefault() with argument This is typically done when:
Reimplemented from SoDragger. |
|
For internal use only. |
|
For internal use only. |
|
For internal use only. |
|
For internal use only. |
|
For internal use only. Reimplemented from SoInteractionKit. |
|
For internal use only. |
|
For internal use only. |
|
For internal use only. |
|
For internal use only. |
|
Activate or deactive all dragger geometry parts. |
|
Continuously updated to contain the current vector of scaling along the X, Y and Z axes. |
|
Continuously updated to contain the current translation from the dragger's local origo position. The application programmer applying this dragger in his code should connect the relevant node fields in the scene to this field to make it follow the dragger. |
|
For internal use only. |
|
For internal use only. |