actions — Action Classes
— Actions are objects that traverse a scene graph to drive some scene-related process.
The SoAction class is the base class for all traversal actions.
The SoBoxHighlightRenderAction class renders the scene with highlighted boxes around selections.
The SoCallbackAction class invokes callbacks at specific nodes.
The SoGLRenderAction class renders the scene graph with OpenGL calls.
The SoGetBoundingBoxAction class calculates bounding boxes for nodes and subgraphs.
The SoGetMatrixAction class is an action for accumulating the transformation matrix of a subgraph.
The SoGetPrimitiveCountAction class counts the primitives in a scene.
The SoHandleEventAction class distributes user events to the scene.
The SoLineHighlightRenderAction class renders selections with line highlighting.
The SoPickAction class is the base class for picking actions.
The SoRayPickAction class does ray intersection with scene graphs.
The SoReorganizeAction class reorganizes your scene graph to optimize traversal/rendering.
The SoSearchAction class provides methods for searching through scene graphs.
The SoToVRMLAction class builds a new scene graph using only VRML 1.0 nodes.
The SoToVRML2Action class builds a new scene graph, using only VRML97/VRML2 nodes.
The SoWriteAction class writes a scene graph to file.
The SoAudioRenderAction class renders the aural parts of the scene graph.
The SoActionMethodList class contains function pointers for action methods.
The SoEnabledElementsList class is a container for type info for element types that are enabled in actions.
The SoIntersectionDetectionAction class is for detecting intersecting primitives in a scene.
Actions are objects that traverse a scene graph to drive some scene-related process.
One example is OpenGL rendering, and another one ray picking. At the most basic level, most action management will be done for the user behind the scenes in an SoSceneManager object, and the only actions one might need to get acquainted with are SoSearchAction and SoWriteAction.
For more advanced usage of Coin, one might want (or need) to take full control over driving all the actions oneself, in which case one will also need to know about the SoGLRenderAction, SoHandleEventAction, SoGetBoundingBoxAction, and SoRayPickAction.
The remaining actions are mostly more special-purpose actions of various kinds, except for the SoCallbackAction.
Before going to the step of implementing an extension action, one should really take a good look at the SoCallbackAction class, which is a general-purpose action that can be used as the framework for implementing almost any traversal-based process, with callback-hooks for all kinds of events that happen during traversal. In most cases, one can avoid the hassle of writing a new action, and just use SoCallbackAction instead.
Generated automatically by Doxygen for Coin from the source code.