80#ifndef _SO_ROTATE_SPHERICAL_DRAGGER_
81#define _SO_ROTATE_SPHERICAL_DRAGGER_
196 bool copyConnections);
222 static const unsigned char geomBuffer[];
#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)
This is a dictionary mapping (size_t) integer keys to (void *) data pointers.
Base class for nodekits that move in response to click-drag-release mouse events.
Abstract base class for objects that contain fields.
Sensor class that can be attached to Inventor fields.
Object you can rotate about a spherical surface by dragging with the mouse.
static void doneCB(void *, SoDragger *)
static void startCB(void *, SoDragger *)
bool userProj
using a user defined projector?
SoFieldSensor * fieldSensor
const SbSphereProjector * getProjector() const
Get the projector.
SbSphereProjector * sphereProj
Sphere projector to use.
static void initClass()
initialize the class
SbVec3f prevWorldHitPt
used during interaction
virtual bool setUpConnections(bool onOff, bool doItAlways=FALSE)
detach/attach any sensors, callbacks, and/or field connections.
virtual ~SoRotateSphericalDragger()
virtual void copyContents(const SoFieldContainer *fromFC, bool copyConnections)
Redefines this to also copy the projector.
SbMatrix prevMotionMatrix
used during interaction
SoRotateSphericalDragger()
Constructor.
void setProjector(SbSphereProjector *p)
Set a different sphere projector.
static void valueChangedCB(void *, SoDragger *)
static void motionCB(void *, SoDragger *)
static void fieldSensorCB(void *, SoSensor *)
Field containing a rotation.
Abstract base class for Inventor sensors.