SoShapeSimplifyAction(3)

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

✨ NAME ✨

okay so bestie, welcome to SoShapeSimplifyAction(3) β€” it's a page from the Coin manual, and the class it's about is literally called SoShapeSimplifyAction. That's the whole name. Short, sweet, iconic. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

It inherits SoSimplifyAction. That's the vibe. That's the lineage. πŸ‘‘

πŸ’– Public Member Functions

  • virtual SoType getTypeId (void) const β€” the one function this class brings to the party all by itself.

🌸 Public Member Functions inherited from SoSimplifyAction

  • SoSimplifyAction (void)
  • virtual ~SoSimplifyAction (void)
  • virtual void apply (SoNode *root)
  • virtual void apply (SoPath *path)
  • virtual void apply (const SoPathList &pathlist, SbBool obeysrules=FALSE)

πŸŽ€ Public Member Functions inherited from SoAction

  • virtual ~SoAction (void)
  • virtual SbBool isOfType (SoType type) const
  • void apply (SoAction *beingApplied)
  • virtual void invalidateState (void)
  • AppliedCode getWhatAppliedTo (void) const
  • SoNode * getNodeAppliedTo (void) const
  • SoPath * getPathAppliedTo (void) const
  • const SoPathList * getPathListAppliedTo (void) const
  • const SoPathList * getOriginalPathListAppliedTo (void) const
  • SbBool isLastPathListAppliedTo (void) const
  • PathCode getPathCode (int &numindices, const int *&indices)
  • void traverse (SoNode *const node)
  • SbBool hasTerminated (void) const
  • const SoPath * getCurPath (void)
  • SoState * getState (void) const
  • PathCode getCurPathCode (void) const
  • virtual SoNode * getCurPathTail (void)
  • void usePathCode (int &numindices, const int *&indices)
  • void pushCurPath (const int childindex, SoNode *node=NULL)
  • void popCurPath (const PathCode prevpathcode)
  • void pushCurPath (void)
  • void popPushCurPath (const int childindex, SoNode *node=NULL)
  • void popCurPath (void)
  • void switchToPathTraversal (SoPath *path)
  • void switchToNodeTraversal (SoNode *node)

🌈 Static Public Member Functions

  • static SoType getClassTypeId (void)
  • static void addMethod (const SoType type, SoActionMethod method)
  • static void enableElement (const SoType type, const int stackindex)
  • static void initClass (void)

πŸ’œ Static Public Member Functions inherited from SoSimplifyAction

  • static SoType getClassTypeId (void)
  • static void addMethod (const SoType type, SoActionMethod method)
  • static void enableElement (const SoType type, const int stackindex)
  • static void initClass (void)

πŸ“ Static Public Member Functions inherited from SoAction

  • static void initClass (void)
  • static void initClasses (void)
  • static SoType getClassTypeId (void)
  • static void nullAction (SoAction *action, SoNode *node)

πŸ¦‹ Protected Member Functions

  • virtual const SoEnabledElementsList & getEnabledElements (void) const
  • virtual void beginTraversal (SoNode *node)

✨ Protected Member Functions inherited from SoAction

  • SoAction (void)
  • virtual void endTraversal (SoNode *node)
  • void setTerminated (const SbBool flag)
  • virtual SbBool shouldCompactPathList (void) const

🌸 Static Protected Member Functions

  • static SoEnabledElementsList * getClassEnabledElements (void)
  • static SoActionMethodList * getClassActionMethods (void)

πŸŽ€ Static Protected Member Functions inherited from SoSimplifyAction

  • static SoEnabledElementsList * getClassEnabledElements (void)
  • static SoActionMethodList * getClassActionMethods (void)

🧚 Static Protected Member Functions inherited from SoAction

  • static SoEnabledElementsList * getClassEnabledElements (void)
  • static SoActionMethodList * getClassActionMethods (void)

πŸ‘‘ Additional Inherited Members

🌟 Public Types inherited from SoAction

  • enum AppliedCode { NODE = 0, PATH = 1, PATH_LIST = 2 }
  • enum PathCode { NO_PATH = 0, IN_PATH = 1, BELOW_PATH = 2, OFF_PATH = 3 }

πŸ’Ž Protected Attributes inherited from SoAction

  • SoState * state
  • SoActionMethodList * traversalMethods

πŸ’… Member Function Documentation πŸ’…

🌟 virtual SoType SoShapeSimplifyAction::getTypeId (void ) const [virtual]

So this one hands you back the type identification of an object derived from a class that inherits SoAction. What's it for? Runtime type checking, and "downward" casting. Fr fr, it's how you figure out what you're actually holding. 🫢

It's reimplemented from SoSimplifyAction.

πŸ’€ void SoShapeSimplifyAction::addMethod (const SoType type, SoActionMethod method) [static]

ngl, this API member is considered internal to the library, because it's not likely to be of interest to the application programmer. So if you're out here writing an app, this one's not your business bestie. πŸ™ˆ

πŸ’€ void SoShapeSimplifyAction::enableElement (const SoType type, const int stackindex) [static]

Same energy: this API member is considered internal to the library, since it's not likely to be of interest to the application programmer. 🫢

πŸ¦‹ virtual const SoEnabledElementsList & SoShapeSimplifyAction::getEnabledElements (void ) const [protected], [virtual]

Returns the list of enabled elements. That's it, that's the whole description. Simple. Elegant. Periodt. ✨

It's reimplemented from SoSimplifyAction.

πŸ”₯ virtual void SoShapeSimplifyAction::beginTraversal (SoNode * node) [protected], [virtual]

okay this one's the main character of the traversal world. This virtual method gets called from SoAction::apply(), and it's the entry point for the actual scene graph traversal.

You can override it to initialize the action at traversal start β€” specifically for those initializations you want in the action subclasses that inherit SoAction. πŸŽ€

The default method just calls traverse(). And heads up: any overridden implementation of this method must call traverse() too (or call SoAction::beginTraversal()) to trigger the scene graph traversal. No skipping that step, or nothing actually traverses. 😭

It's reimplemented from SoSimplifyAction.


✍️ Author

Generated automatically by Doxygen for Coin from the source code. Not a human, just a robot doing its lil thing. πŸ€–πŸ’–


and that's the whole page bestie!! πŸ’œ this was Coin version 4.0.10, dated Thu Jun 25 2026 00:00:00, filed under SoShapeSimplifyAction(3). slay, go read some source code, ily πŸ«Άβœ¨πŸŽ€

πŸ“¦ where this page comes from