56#ifndef _SO_POINT_LIGHT_MANIP_
57#define _SO_POINT_LIGHT_MANIP_
231 bool copyConnections);
249 int getNumChildren()
const {
return (children->
getLength()); }
#define SoEXTENDER
Provide inline template functions for abs, swap, min, max, and clamp.
#define INVENTOR_API
Disable some annoying warnings on MSVC 6.
#define SO_NODE_HEADER(className)
Non-abstract classes have everything abstract classes have, plus a way to create an instance.
int getLength() const
Returns number of pointers in list.
Abstract base class for all actions.
Performs a generic traversal of the scene graph.
This class maintains a list of child nodes for any node.
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 Inventor fields.
Renders a scene graph using OpenGL.
Computes bounding box of a scene.
Computes transformation matrix for subgraph.
Allows nodes in a graph to receive input events.
Path that points to a list of hierarchical nodes.
Abstract base class for picking objects in a scene.
Point light node with 3D interface for editing location.
static void fieldSensorCB(void *, SoSensor *)
virtual ~SoPointLightManip()
void setDragger(SoDragger *newDragger)
bool replaceNode(SoPath *p)
Replaces the tail of the path with this manipulator.
virtual void callback(SoCallbackAction *action)
virtual void GLRender(SoGLRenderAction *action)
Creates a light source during rendering.
bool replaceManip(SoPath *p, SoPointLight *newOne) const
Replaces the tail of the path, which must be this manipulator, with the given SoPointLight node.
SoFieldSensor * locationFieldSensor
SoPointLightManip()
Constructor.
virtual void search(SoSearchAction *action)
SoDragger * getDragger()
Returns a pointer to the dragger being used by this manipulator.
virtual void pick(SoPickAction *action)
virtual void doAction(SoAction *action)
These functions implement all actions for nodekits.
static void initClass()
initialize the class
virtual void getBoundingBox(SoGetBoundingBoxAction *action)
static void valueChangedCB(void *, SoDragger *)
SoFieldSensor * colorFieldSensor
virtual void handleEvent(SoHandleEventAction *action)
virtual void getMatrix(SoGetMatrixAction *action)
virtual SoChildList * getChildren() const
Returns pointer to children, or NULL if none.
virtual void copyContents(const SoFieldContainer *fromFC, bool copyConnections)
Redefines this to also copy the dragger.
static void transferFieldValues(const SoPointLight *from, SoPointLight *to)
Node representing a point light source.
Searches for nodes in a scene graph.
Abstract base class for Inventor sensors.