107#ifndef _SO_SPOT_LIGHT_DRAGGER_
108#define _SO_SPOT_LIGHT_DRAGGER_
300 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)
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 floating-point value.
Field containing a rotation.
Field containing a three-dimensional vector.
Abstract base class for Inventor sensors.
Spotlight shaped dragger that allows you to change position, direction, and width of the beam.
SoFieldSensor * angleFieldSensor
virtual bool setUpConnections(bool onOff, bool doItAlways=FALSE)
detach/attach any sensors, callbacks, and/or field connections.
virtual void setDefaultOnNonWritingFields()
Called by the SoBaseKit::write() method.
static void motionCB(void *, SoDragger *)
SbPlaneProjector * planeProj
used during interaciton with beam
static void doneCB(void *, SoDragger *)
SoFieldSensor * translFieldSensor
virtual ~SoSpotLightDragger()
void setBeamScaleFromAngle(float beamAngle)
Returns scaleFactor for beamScale part to display beamAngle.
static void startCB(void *, SoDragger *)
static void initClass()
Initialize the class.
SoFieldSensor * rotFieldSensor
static void fieldSensorCB(void *, SoSensor *)
SoSpotLightDragger()
Constructor.
static void valueChangedCB(void *, SoDragger *)