SoShapeSimplifyAction(3)
β¨ 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) constvoid apply (SoAction *beingApplied)virtual void invalidateState (void)AppliedCode getWhatAppliedTo (void) constSoNode * getNodeAppliedTo (void) constSoPath * getPathAppliedTo (void) constconst SoPathList * getPathListAppliedTo (void) constconst SoPathList * getOriginalPathListAppliedTo (void) constSbBool isLastPathListAppliedTo (void) constPathCode getPathCode (int &numindices, const int *&indices)void traverse (SoNode *const node)SbBool hasTerminated (void) constconst SoPath * getCurPath (void)SoState * getState (void) constPathCode getCurPathCode (void) constvirtual 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) constvirtual 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 * stateSoActionMethodList * 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
- fedora 43: Coin4-devel 4.0.10-1.fc43 Β· BSD-3-Clause AND GPL-3.0-or-later
- fedora 43: Coin4-devel 4.0.10-1.fc43 Β· BSD-3-Clause AND GPL-3.0-or-later
- fedora 44: Coin4-devel 4.0.10-1.fc44 Β· BSD-3-Clause AND GPL-3.0-or-later
- fedora 44: Coin4-devel 4.0.10-1.fc44 Β· BSD-3-Clause AND GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms