51#ifndef _SO_ROTATE_CYLINDRICAL_DRAGGER_
52#define _SO_ROTATE_CYLINDRICAL_DRAGGER_
54#include <Inventor/SbLinear.h>
55#include <Inventor/draggers/SoDragger.h>
56#include <Inventor/fields/SoSFRotation.h>
57#include <Inventor/sensors/SoSensor.h>
190 SO_KIT_CATALOG_ENTRY_HEADER(rotatorSwitch);
191 SO_KIT_CATALOG_ENTRY_HEADER(rotator);
192 SO_KIT_CATALOG_ENTRY_HEADER(rotatorActive);
193 SO_KIT_CATALOG_ENTRY_HEADER(feedbackSwitch);
194 SO_KIT_CATALOG_ENTRY_HEADER(feedback);
195 SO_KIT_CATALOG_ENTRY_HEADER(feedbackActive);
227 static void initClass();
228 static void exitClass();
240 static void startCB(
void *,
SoDragger * );
241 static void motionCB(
void *,
SoDragger * );
242 static void doneCB(
void *,
SoDragger * );
245 static void fieldSensorCB(
void *,
SoSensor * );
246 static void valueChangedCB(
void *,
SoDragger * );
264 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 rotate along a cylindrical surface by dragging with the mouse.
void setProjector(SbCylinderProjector *p)
Sets a different cylinder projector.
SoRotateCylindricalDragger()
Constructor.
SoSFRotation rotation
Orientation of the dragger.
const SbCylinderProjector * getProjector() const
Gets the cylinder projector.
Field containing a rotation.
Abstract base class for Open Inventor sensors.