coin_actions(3)

πŸ“¦
version 4.0.10 Β· 4 versions
, in fedora 43, fedora 44

πŸ’– coin_actions β€” Action Classes πŸ’–

okay bestie, welcome to coin_actions(3), the Coin manny page that's literally just a whole roster of action classes. Actions = objects that walk a scene graph to drive some scene-related process. That's the whole vibe. Let's get into it πŸ¦‹


✨ NAME ✨

coin_actions β€” Action Classes, no cap πŸ’…

Actions are objects that traverse a scene graph to drive some scene-related process.


🌸 SYNOPSIS 🌸

πŸŽ€ Classes πŸŽ€

  • class SoAction β€” the base class, the mother of ALL traversal actions, periodt. πŸ‘‘
  • class SoBoxHighlightRenderAction β€” renders the scene with highlighted boxes around selections. it's giving "look at me" energy πŸ’…
  • class SoCallbackAction β€” invokes callbacks at specific nodes.
  • class SoGLRenderAction β€” renders the scene graph with OpenGL calls. the main character fr πŸ”₯
  • class SoGetBoundingBoxAction β€” calculates bounding boxes for nodes and subgraphs.
  • class SoGetMatrixAction β€” an action for accumulating the transformation matrix of a subgraph.
  • class SoGetPrimitiveCountAction β€” counts the primitives in a scene. she's doing inventory ✨
  • class SoHandleEventAction β€” distributes user events to the scene.
  • class SoLineHighlightRenderAction β€” renders selections with line highlighting.
  • class SoPickAction β€” the base class for picking actions.
  • class SoRayPickAction β€” does ray intersection with scene graphs. pew pew πŸ”«βœ¨
  • class SoReorganizeAction β€” reorganizes your scene graph to optimize traversal/rendering. glow-up for your graph πŸ’–
  • class SoSearchAction β€” provides methods for searching through scene graphs. fbi open up πŸ™ˆ
  • class SoToVRMLAction β€” builds a new scene graph using only VRML 1.0 nodes.
  • class SoToVRML2Action β€” builds a new scene graph, using only VRML97/VRML2 nodes.
  • class SoWriteAction β€” writes a scene graph to file. πŸ“
  • class SoAudioRenderAction β€” renders the aural parts of the scene graph. sound on πŸ”Š
  • class SoActionMethodList β€” contains function pointers for action methods.
  • class SoEnabledElementsList β€” a container for type info for element types that are enabled in actions.
  • class SoIntersectionDetectionAction β€” for detecting intersecting primitives in a scene. 🚨

πŸ’œ Detailed Description πŸ’œ

Actions are objects that traverse a scene graph to drive some scene-related process. that's the definition, memorize it bestie 🫢

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 β€” so sneaky, so effortless β€” and the only actions one might need to get acquainted with are SoSearchAction and SoWriteAction. those two are the ones you'll actually touch on the daily ✨

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. that's the "I do it myself" era πŸ’…

The remaining actions are mostly more special-purpose actions of various kinds, except for the SoCallbackAction. yes, she's the exception, she's built different πŸ’€

Before going to the step of implementing an extension action, one should really take a good look at the SoCallbackAction class β€” it's 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. no cap, it saves you SO much work, learn from her πŸ™


πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for Coin from the source code. yes bestie, a robot wrote her, and she ate πŸ’…βœ¨


okay that's the whole page! this gorgeous thing is Coin version 4.0.10, dated Thu Jun 25 2026 00:00:00, and it goes by coin_actions(3). slay, bye πŸŽ€πŸ’–πŸŒˆ

πŸ“¦ where this page comes from