51#ifndef _SO_ROTATE_SPHERICAL_DRAGGER_
52#define _SO_ROTATE_SPHERICAL_DRAGGER_
54#include <Inventor/SbLinear.h>
55#include <Inventor/draggers/SoDragger.h>
56#include <Inventor/fields/SoSFRotation.h>
57#include <Inventor/sensors/SoSensor.h>
191 SO_KIT_CATALOG_ENTRY_HEADER(rotatorSwitch);
192 SO_KIT_CATALOG_ENTRY_HEADER(rotator);
193 SO_KIT_CATALOG_ENTRY_HEADER(rotatorActive);
194 SO_KIT_CATALOG_ENTRY_HEADER(feedbackSwitch);
195 SO_KIT_CATALOG_ENTRY_HEADER(feedback);
196 SO_KIT_CATALOG_ENTRY_HEADER(feedbackActive);
228 static void initClass();
229 static void exitClass();
243 static void startCB(
void *,
SoDragger * );
244 static void motionCB(
void *,
SoDragger * );
245 static void doneCB(
void *,
SoDragger * );
248 static void fieldSensorCB(
void *,
SoSensor * );
249 static void valueChangedCB(
void *,
SoDragger * );
267 static const char geomBuffer[];
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 Open Inventor fields.
Object you can rotate about a spherical surface by dragging with the mouse.
const SbSphereProjector * getProjector() const
Gets the sphere projector.
SoSFRotation rotation
Orientation of the dragger.
SoRotateSphericalDragger()
Constructor.
void setProjector(SbSphereProjector *p)
Sets a different sphere projector.
Field containing a rotation.
Abstract base class for Open Inventor sensors.