122 { callbackFunc = func; callbackData = userData; }
144 bool copyConnections);
#define SoEXTENDER
Provide inline template functions for abs, swap, min, max, and clamp.
#define INVENTOR_API
Disable some annoying warnings on MSVC 6.
void INVENTOR_API SoCallbackCB(void *userData, SoAction *action)
Callback functions registered with this node should be of this type.
#define SO_NODE_HEADER(className)
Non-abstract classes have everything abstract classes have, plus a way to create an instance.
Abstract base class for all actions.
Performs a generic traversal of the scene graph.
Provides custom behavior during actions.
virtual void getBoundingBox(SoGetBoundingBoxAction *action)
virtual void GLRender(SoGLRenderAction *action)
These virtual functions implement all of the actions for nodes, Most of the default implementations d...
virtual void write(SoWriteAction *action)
virtual void callback(SoCallbackAction *action)
virtual void pick(SoPickAction *action)
virtual void search(SoSearchAction *action)
void setCallback(SoCallbackCB *func, void *userData=NULL)
Sets pointer to callback function and user data.
virtual void copyContents(const SoFieldContainer *fromFC, bool copyConnections)
Copies the contents of the given node into this instance.
virtual void doAction(SoAction *action)
Traversal methods for all the actions:
virtual void getMatrix(SoGetMatrixAction *action)
SoCallback()
Creates a callback node with default settings.
virtual void handleEvent(SoHandleEventAction *action)
Abstract base class for objects that contain 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.
Abstract base class for all database nodes.
Abstract base class for picking objects in a scene.
Searches for nodes in a scene graph.
Writes a scene graph to a file.