Classes | |
class | SoAction |
Abstract base class for all actions. More... | |
class | SoBevelAction |
![]() | |
class | SoBoxHighlightRenderAction |
A selection highlight style. More... | |
class | SoCallbackAction |
Performs a generic traversal of a scene graph or path. More... | |
class | SoDistributeAction |
![]() | |
class | SoGetBoundingBoxAction |
Computes bounding box of a scene. More... | |
class | SoGetMatrixAction |
Computes transformation matrix for a subgraph. More... | |
class | SoGetPrimitiveCountAction |
![]() | |
class | SoGlobalSimplifyAction |
![]() | |
class | SoGLRenderAction |
Renders a scene graph using OpenGL. More... | |
class | SoHandleEventAction |
Allows nodes in a graph to receive input events. More... | |
class | SoLineHighlightRenderAction |
Selection highlight style. More... | |
class | SoPickAction |
Abstract base class for picking objects in a scene. More... | |
class | SoRayPickAction |
Intersects objects with a ray cast into scene. More... | |
class | SoReorganizeAction |
![]() | |
class | SoSearchAction |
Searches for nodes in a scene graph. More... | |
class | SoSearchPathAction |
![]() | |
class | SoSearchStepAction |
![]() | |
class | SoShapeSimplifyAction |
![]() | |
class | SoSimplifyAction |
![]() | |
class | SoSplitGeometryAction |
![]() | |
class | SoToHTMLAction |
![]() | |
class | SoToVRML2Action |
![]() | |
class | SoToVRMLAction |
![]() | |
class | SoWriteAction |
Writes a scene graph to a file. More... | |
class | SoIntersectionDetectionAction |
![]() | |
Variables | |
SoShapeHighlightRenderAction | __pad0__ |
SoShapeHighlightRenderAction __pad0__ |
A polygon selection highlight style.
SoShapeHighlightRenderAction is a render action which renders the scene graph and then renders again the polygons of selected objects in a highlight color.Selected objects are specified by the first SoSelection node in the scene to which this action is applied. A highlight render action can be passed to the setGLRenderAction() method of render area and viewer classes to have an effect on scene graphs.
// Scene graph SoSelection selectionNode = new SoSelection(); . . . // Viewer SoWinExaminerViewer* viewer = new SoWinExaminerViewer(); viewer->setSceneGraph( selectionNode ); // Set the highlight render action viewer->setGLRenderAction( new SoShapeHighlightRenderAction() ); // Request automatic redraw when selection changes viewer->redrawOnSelectionChange( selectionNode );
SoLineHighlightRenderAction, SoGLRenderAction, SoSelection, SoWinRenderArea, SoDrawStyle, SoInteraction