57#ifndef _SO_SPOT_LIGHT_MANIP_
58#define _SO_SPOT_LIGHT_MANIP_
60#include <Inventor/SbLinear.h>
61#include <Inventor/draggers/SoDragger.h>
62#include <Inventor/nodes/SoSpotLight.h>
63#include <Inventor/sensors/SoFieldSensor.h>
226 virtual void doAction(
SoAction *action );
238 static void initClass();
239 static void exitClass();
242 virtual bool isGroup() {
return true; }
245 virtual void internalRemoveChild(
int index );
246 virtual void internalRemoveChild(
SoNode *child) { internalRemoveChild(internalFindChild(child)); }
247 virtual void internalRemoveAllChildren();
248 virtual void internalAddChild(
SoNode *child );
249 virtual int internalFindChild(
const SoNode *child )
const;
250 virtual void internalInsertChild(
SoNode *child,
int newChildIndex );
251 virtual SoNode *internalGetChild(
int index)
const {
return (*children)[index]; }
252 virtual void internalReplaceChild(
int index,
SoNode *newChild);
253 virtual void internalReplaceChild(
SoNode *oldChild,
SoNode *newChild) { internalReplaceChild(internalFindChild(oldChild),newChild); }
261 static void transferFieldValues(
const SoSpotLight *from,
268 static void fieldSensorCB(
void *,
SoSensor *);
269 static void valueChangedCB(
void *,
SoDragger *);
271 void setDragger(
SoDragger *newDragger );
274 virtual SbBool readInstance(
SoInput *in,
unsigned short flags);
280 int getNumChildren()
const {
return (children->getLength()); }
Abstract base class for all actions.
Performs a generic traversal of a scene graph or path.
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 Open Inventor fields.
Renders a scene graph using Open Inventor's Render Engine.
Computes bounding box of a scene.
Computes transformation matrix for a subgraph.
Allows nodes in a graph to receive input events.
Abstract base class for all database nodes.
Path that points to a list of hierarchical nodes.
Abstract base class for picking objects in a scene.
Searches for nodes in a scene graph.
Abstract base class for Open Inventor sensors.
Node representing a spotlight source.
Spotlight node with 3D interface for editing location, direction, and beam width.
SbBool replaceManip(SoPath *p, SoSpotLight *newOne) const
Replaces the tail of the path, which must be this manipulator, with the given SoSpotLight node.
SoDragger * getDragger()
Returns the dragger being used by this manipulator.
SoSpotLightManip()
Constructor.
SbBool replaceNode(SoPath *p)
Replaces the tail of the path with this manipulator.
Writes a scene graph to a file.