92#ifndef _SO_TRANSLATE_2_DRAGGER_
93#define _SO_TRANSLATE_2_DRAGGER_
234 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.
Sensor class that can be attached to Inventor fields.
Field containing a three-dimensional vector.
Abstract base class for Inventor sensors.
Object you can translate within a plane by dragging with the mouse.
static void finishCB(void *, SoDragger *)
virtual void initPlaneProjector()
Setup the projector at start of the translation.
SbPlaneProjector * planeProj
projector for planar translation
static void motionCB(void *, SoDragger *)
static void initClass()
initialize the class
virtual bool setUpConnections(bool onOff, bool doItAlways=FALSE)
detach/attach any sensors, callbacks, and/or field connections.
SoTranslate2Dragger()
Constructor.
virtual ~SoTranslate2Dragger()
static void fieldSensorCB(void *, SoSensor *)
static void metaKeyChangeCB(void *, SoDragger *)
Callback for pressing and releasing the meta keys.
static void startCB(void *, SoDragger *)
SoFieldSensor * fieldSensor
SbVec3f worldRestartPt
used if SHIFT key goes down to initiate a new gesture.
static void valueChangedCB(void *, SoDragger *)