50#ifndef _SO_POINT_LIGHT_MANIP_
51#define _SO_POINT_LIGHT_MANIP_
53#include <Inventor/SbLinear.h>
54#include <Inventor/draggers/SoDragger.h>
55#include <Inventor/nodes/SoPointLight.h>
56#include <Inventor/sensors/SoFieldSensor.h>
214 virtual void doAction(
SoAction *action );
225 static void initClass();
226 static void exitClass();
229 virtual bool isGroup() {
return true; }
232 virtual void internalRemoveChild(
int index );
233 virtual void internalRemoveChild(
SoNode *child) { internalRemoveChild(internalFindChild(child)); }
234 virtual void internalRemoveAllChildren();
235 virtual void internalAddChild(
SoNode *child );
236 virtual int internalFindChild(
const SoNode *child )
const;
237 virtual void internalInsertChild(
SoNode *child,
int newChildIndex );
238 virtual SoNode *internalGetChild(
int index)
const {
return (*children)[index]; }
239 virtual void internalReplaceChild(
int index,
SoNode *newChild);
240 virtual void internalReplaceChild(
SoNode *oldChild,
SoNode *newChild) { internalReplaceChild(internalFindChild(oldChild),newChild); }
248 static void transferFieldValues(
const SoPointLight *from,
251 static void valueChangedCB(
void *,
SoDragger *);
255 static void fieldSensorCB(
void *,
SoSensor *);
257 void setDragger(
SoDragger *newDragger );
260 virtual SbBool readInstance(
SoInput *in,
unsigned short flags);
266 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.
Node representing a point light source.
Point light node with 3D interface for editing location.
SbBool replaceManip(SoPath *p, SoPointLight *newOne) const
Replaces the tail of the path, which must be this manipulator, with the given SoPointLight node.
SoPointLightManip()
Constructor.
SbBool replaceNode(SoPath *p)
Replaces the tail of the path with this manipulator.
SoDragger * getDragger()
Returns the dragger being used by this manipulator.
Searches for nodes in a scene graph.
Abstract base class for Open Inventor sensors.
Writes a scene graph to a file.