52#ifndef _SO_DIRECTIONAL_LIGHT_DRAGGER_
53#define _SO_DIRECTIONAL_LIGHT_DRAGGER_
55#include <Inventor/SbLinear.h>
56#include <Inventor/draggers/SoDragger.h>
57#include <Inventor/fields/SoSFVec3f.h>
58#include <Inventor/fields/SoSFRotation.h>
59#include <Inventor/sensors/SoSensor.h>
273 SO_KIT_CATALOG_ENTRY_HEADER(material);
279 SO_KIT_CATALOG_ENTRY_HEADER(translatorSep);
280 SO_KIT_CATALOG_ENTRY_HEADER(translatorRotInv);
281 SO_KIT_CATALOG_ENTRY_HEADER(translator);
282 SO_KIT_CATALOG_ENTRY_HEADER(rotator);
302 static void initClass();
303 static void exitClass();
309 static void fieldSensorCB(
void *,
SoSensor * );
310 static void valueChangedCB(
void *,
SoDragger * );
322 virtual void setDefaultOnNonWritingFields();
327 static const char geomBuffer[];
Directional icon you rotate and translate by dragging with the mouse.
SoDirectionalLightDragger()
Constructor.
SoSFRotation rotation
Orientation of the rotating part (an arrow by default).
SoSFVec3f translation
Position of the origin of the directional light dragger.
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 rotation.
Field containing a three-dimensional vector.
Abstract base class for Open Inventor sensors.