100#ifndef _SO_CENTERBALL_DRAGGER_
101#define _SO_CENTERBALL_DRAGGER_
288 static const unsigned char geomBuffer[];
#define SoEXTENDER
Provide inline template functions for abs, swap, min, max, and clamp.
#define INVENTOR_API
Disable some annoying warnings on MSVC 6.
#define SO_KIT_CATALOG_ENTRY_HEADER(partName)
This defines an SoSFNode field for the catalog part given.
#define SO_KIT_HEADER(className)
Striped ball you rotate and re-center by dragging with the mouse.
static void initClass()
initialize the class
virtual void setDefaultOnNonWritingFields()
Called by the SoBaseKit::write() method.
void transferCenterDraggerMotion(SoDragger *childDragger)
SoFieldSensor * rotFieldSensor
virtual void getMatrix(SoGetMatrixAction *action)
virtual bool setUpConnections(bool onOff, bool doItAlways=FALSE)
detach/attach any sensors, callbacks, and/or field connections.
static void kidStartCB(void *, SoDragger *)
void setSwitches(SoDragger *activeChild)
static void fieldSensorCB(void *, SoSensor *)
static void valueChangedCB(void *, SoDragger *)
SoFieldSensor * centerFieldSensor
static void kidFinishCB(void *, SoDragger *)
virtual void saveStartParameters()
Saves the matrix that moves the center relative to the motionMatrix after it calls the default SoDrag...
SoCenterballDragger()
Constructor.
virtual void getBoundingBox(SoGetBoundingBoxAction *action)
Differs from SoDragger as follows: If it has a surroundScale node with 'ignoreInBbox' set to TRUE,...
Base class for nodekits that move in response to click-drag-release mouse events.
Sensor class that can be attached to Inventor fields.
Computes bounding box of a scene.
Computes transformation matrix for subgraph.
Field containing a rotation.
Field containing a three-dimensional vector.
Abstract base class for Inventor sensors.