man actions (Fonctions bibliothèques) -

NAME

Actions -

Classes

class SoAction

"TheSoActionclassisthebaseclassforalltraversalactions.

Applying actions is the basic mechanism in Coin for executing various operations on scene graphs or paths within scene graphs, including search operations, rendering, interaction through picking, etc. " class SoAudioRenderAction

"TheSoAudioRenderActionclassrenderstheauralpartsofthescenegraph.

Applying this method at a root node for a scene graph, path or pathlist will render all sound-related nodes contained within that instance to the current SoAudioDevice. " class SoBoxHighlightRenderAction

"TheSoBoxHighlightRenderActionclassrendersthescenewithhighlightedboxesaroundselections.

This action performs the same tasks as its parent class, SoGLRenderAction, with the added ability to render highlighted bounding boxes around geometry in selected nodes. This is a simple but convenient way of giving feedback to the user upon interaction with the scene graph. " class SoCallbackAction

"TheSoCallbackActionclassinvokescallbacksatspecificnodes.

This action has mechanisms for tracking traversal position and traversal state. In combination with the ability to pass geometry primitives to callback actions set by the user, this does for instance make it rather straightforward to extract the geometry of a scene graph. " class SoGLRenderAction

"TheSoGLRenderActionclassrendersthescenegraphwithOpenGLcalls.

Applying this method at a root node for a scene graph, path or pathlist will render all geometry contained within that instance to the current OpenGL context. " class SoGetBoundingBoxAction

"TheSoGetBoundingBoxActionclasscalculatesboundingboxesfornodesandsubgraphs.

If this action is applied to a path or scene graph root, it will calculate the bounding box and the center point of the geometry contained within the scene. " class SoGetMatrixAction

"TheSoGetMatrixActionclassisanactionforaccumulatingthetransformationmatrixofasubgraph.

This action makes it easy to calculate and convert to and from the global coordinate system of your scene and local coordinates of parts in a hierarchical model. " class SoGetPrimitiveCountAction

"TheSoGetPrimitiveCountActionclasscountstheprimitivesinascene.

Apply this action to a scene if you need to know the number of primitives present in a scenegraph, or parts of a scenegraph. " class SoHandleEventAction

"TheSoHandleEventActionclassdistributesusereventstothescene.

This is the action used by the GUI viewer classes to pass interaction events from the window system to the nodes in the scene graph. " class SoLineHighlightRenderAction

"TheSoLineHighlightRenderActionclassrendersselectionswithlinehighlighting.

See the documentation of SoBoxHighlightRenderAction. " class SoPickAction

"TheSoPickActionclassisthebaseclassforpickingactions.

The basis for all interaction features that Coin provides for the application programmer is the pick actions. Draggers, manipulators, SoSelection nodes, etc all make use of the functionality provided by the pick actions for selecting and manipulating scene geometry in various ways. " class SoRayPickAction

"TheSoRayPickActionclassdoesrayintersectionwithscenegraphs.

For interaction with the scene graph geometry, it is necessary to be able to do intersection testing for rays. This functionality is provided by the SoRayPickAction class. " class SoSearchAction

"TheSoSearchActionclassprovidesmethodsforsearchingthroughscenegraphs.

Nodes can be searched for by pointer, type, and name, or a combination of those criteria. Types can be interpreted as exact types, or the type can match nodes derived from it. Every single node can be searched, or normal traversal rules can be followed when searching (this is especially important to note with regard to switch nodes). " class SoToVRMLAction

"TheSoToVRMLActionclassbuildsanewscenegraphusingonlyVRML1.0nodes.

This action is used for converting a scene graph of VRML2/VRML97 nodes to a new scene graph using only VRML1 compatible nodes. " class SoToVRML2Action

"TheSoToVRML2Actionclassbuildsanewscenegraph,usingonlyVRML97/VRML2nodes.

This action is used for converting a scene graph of VRML1/Coin nodes to a new scene graph using only VRML97/VRML2 nodes. " class SoWriteAction

"TheSoWriteActionclasswritesascenegraphtofile.

When applied to a scene, this action writes its contents to the stream contained within an SoOutput instance. This can be a file, a memory buffer or a system filehandle like stdout, for instance. " class SoIntersectionDetectionAction

"TheSoIntersectionDetectionActionclassisfordetectingintersectingprimitivesinascene.

Note that only collisions between actual geometry in the scene is detected, so the contents of some special nodes like e.g. SoText2 and SoImage (which projects to screen-plane bitmap graphics, and not actual polygons) will not be considered for collision detection. " class SoActionMethodList

"TheSoActionMethodListclasscontainsfunctionpointersforactionmethods.

An SoActionMethodList contains one function pointer per node type. Each action contains an SoActioMethodList to know which functions to call during scene graph traversal. " class SoEnabledElementsList

"TheSoEnabledElementsListclassisacontainerfortypeinfoforelementtypesthatareenabledinactions.

This class is probably not interesting for the application programmer. "