80#ifndef _SO_ROTATE_CYLINDRICAL_DRAGGER_
81#define _SO_ROTATE_CYLINDRICAL_DRAGGER_
190 bool copyConnections);
216 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 rotate along a cylindrical surface by dragging with the mouse.
bool userProj
using a user defined projector?
virtual ~SoRotateCylindricalDragger()
static void valueChangedCB(void *, SoDragger *)
static void initClass()
initialize the class
virtual void copyContents(const SoFieldContainer *fromFC, bool copyConnections)
Redefines this to also copy the projector.
static void fieldSensorCB(void *, SoSensor *)
static void startCB(void *, SoDragger *)
void setProjector(SbCylinderProjector *p)
Set a different cylinder projector.
virtual bool setUpConnections(bool onOff, bool doItAlways=FALSE)
detach/attach any sensors, callbacks, and/or field connections.
SoRotateCylindricalDragger()
Constructor.
SoFieldSensor * fieldSensor
static void motionCB(void *, SoDragger *)
SbCylinderProjector * cylinderProj
Cylinder projector to use.
const SbCylinderProjector * getProjector() const
Get cylinder projector.
static void doneCB(void *, SoDragger *)
Field containing a rotation.
Abstract base class for Inventor sensors.