51#ifndef _SO_DIRECTIONAL_LIGHT_MANIP_
52#define _SO_DIRECTIONAL_LIGHT_MANIP_
223 virtual void doAction(
SoAction *action );
234 static void initClass();
235 static void exitClass();
238 virtual bool isGroup() {
return true; }
241 virtual void internalRemoveChild(
int index );
242 virtual void internalRemoveChild(
SoNode *child) { internalRemoveChild(internalFindChild(child)); }
243 virtual void internalRemoveAllChildren();
244 virtual void internalAddChild(
SoNode *child );
245 virtual int internalFindChild(
const SoNode *child )
const;
246 virtual void internalInsertChild(
SoNode *child,
int newChildIndex );
247 virtual SoNode *internalGetChild(
int index)
const {
return (*children)[index]; }
248 virtual void internalReplaceChild(
int index,
SoNode *newChild);
249 virtual void internalReplaceChild(
SoNode *oldChild,
SoNode *newChild) { internalReplaceChild(internalFindChild(oldChild),newChild); }
258 static void valueChangedCB(
void *,
SoDragger *);
262 static void fieldSensorCB(
void *,
SoSensor *);
264 void setDragger(
SoDragger *newDragger );
267 virtual SbBool readInstance(
SoInput *in,
unsigned short flags);
273 int getNumChildren()
const {
return (children->getLength()); }
#define SO_NODE_HEADER(className)
Abstract base class for all actions.
Performs a generic traversal of a scene graph or path.
Node representing a directional light source.
Directional light node with 3D interface for editing direction.
SoDirectionalLightManip()
Constructor.
SbBool replaceNode(SoPath *p)
Replaces the tail of the path with this manipulator.
SbBool replaceManip(SoPath *p, SoDirectionalLight *newOne) const
Replaces the tail of the path, which must be this manipulator, with the given SoDirectionalLight node...
SoDragger * getDragger()
Returns the dragger being used by this manipulator.
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.
Writes a scene graph to a file.