118#ifndef _SO_SPOT_LIGHT_DRAGGER_
119#define _SO_SPOT_LIGHT_DRAGGER_
414 static void initClass();
415 static void exitClass();
421 static void startCB(
void *,
SoDragger * );
422 static void motionCB(
void *,
SoDragger * );
423 static void doneCB(
void *,
SoDragger * );
432 static void fieldSensorCB(
void *,
SoSensor * );
433 static void valueChangedCB(
void *,
SoDragger * );
436 void setBeamScaleFromAngle(
float beamAngle);
448 virtual void setDefaultOnNonWritingFields();
453 static const char geomBuffer[];
#define FALSE
Possible value of SbBool.
#define SO_KIT_CATALOG_ENTRY_HEADER(partName)
#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 Open Inventor fields.
Field containing a floating-point value.
Field containing a rotation.
Field containing a three-dimensional vector.
Abstract base class for Open Inventor sensors.
Spotlight shaped dragger that allows you to change position, direction, and width of the beam.
SoSFRotation rotation
Orientation of the rotating part (an arrow by default).
SoSpotLightDragger()
Constructor.
SoSFFloat angle
Angle between center and edge of beam.
SoSFVec3f translation
Position of the dragger.