SoGlobalSimplifyAction(3)
β¨ SoGlobalSimplifyAction(3) β¨
okay bestie, welcome to the Library Functions Manual page for SoGlobalSimplifyAction(3). this is the tea. π«π
π¦ NAME π¦
SoGlobalSimplifyAction β the SoGlobalSimplifyAction class is for globally simplifying the geometry of a scene graph, globally. yes, globally twice. it's giving "I said what I said." π
πΈ SYNOPSIS πΈ
Inherits SoSimplifyAction.
π Public Member Functions π
virtual SoType getTypeId (void) constSoGlobalSimplifyAction (void)virtual ~SoGlobalSimplifyAction (void)
π 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
π Detailed Description π
The SoGlobalSimplifyAction class is for globally simplifying the geometry of a scene graph, globally. no cap, that's the whole vibe. π
β¨
π Constructor & Destructor Documentation π
SoGlobalSimplifyAction::SoGlobalSimplifyAction (void )
A constructor. it makes the thing. iconic. π
SoGlobalSimplifyAction::~SoGlobalSimplifyAction (void ) [virtual]
The destructor. it cleans up. slay. π
π₯ Member Function Documentation π₯
SoType SoGlobalSimplifyAction::getTypeId (void ) const [virtual]
Returns the type identification of an action derived from a class inheriting SoAction. This is used for run-time type checking and "downward" casting.
Usage example:
void bar(SoAction * action)
{
if (action->getTypeId() == SoGLRenderAction::getClassTypeId()) {
// safe downward cast, know the type
SoGLRenderAction * glrender = (SoGLRenderAction *)action;
}
return; // ignore if not renderaction
}
For application programmers wanting to extend the library with new actions: this method needs to be overridden in all subclasses. This is typically done as part of setting up the full type system for extension classes, which is usually accomplished by using the pre-defined macros available through Inventor/nodes/SoSubAction.h: SO_ACTION_SOURCE, SO_ACTION_INIT_CLASS and SO_ACTION_CONSTRUCTOR.
For more information on writing Coin extensions, see the SoAction class documentation.
Returns the actual type id of an object derived from a class inheriting SoAction. Needs to be overridden in all subclasses.
Reimplemented from SoSimplifyAction.
void SoGlobalSimplifyAction::addMethod (const SoType type, SoActionMethod method) [static]
This API member is considered internal to the library, as it is not likely to be of interest to the application programmer. bestie, it's giving "you don't need to touch this." π
void SoGlobalSimplifyAction::enableElement (const SoType type, const int stackindex) [static]
This API member is considered internal to the library, as it is not likely to be of interest to the application programmer. same energy, internal only. π
const SoEnabledElementsList & SoGlobalSimplifyAction::getEnabledElements (void ) const [protected], [virtual]
Returns a list of the elements used by action instances of this class upon traversal operations.
Reimplemented from SoSimplifyAction.
void SoGlobalSimplifyAction::beginTraversal (SoNode * node) [protected], [virtual]
This virtual method is called from SoAction::apply(), and is the entry point for the actual scenegraph traversal.
It can be overridden to initialize the action at traversal start, for specific initializations in the action subclasses inheriting SoAction.
Default method just calls traverse(), which any overridden implementation of the method must do too (or call SoAction::beginTraversal()) to trigger the scenegraph traversal.
Reimplemented from SoSimplifyAction.
π Author π
Generated automatically by Doxygen for Coin from the source code. π
okay that's the whole page, bestie. this was Coin, Version 3.1.3, SoGlobalSimplifyAction(3) β mwah, go simplify something globally, globally. π
β¨π¦
π¦ where this page comes from
- fedora 43: Coin3-devel 3.1.3-40.fc43 Β· GPL-2.0-only
- fedora 43: Coin3-devel 3.1.3-40.fc43 Β· GPL-2.0-only
- fedora 44: Coin3-devel 3.1.3-42.fc44 Β· GPL-2.0-only
- fedora 44: Coin3-devel 3.1.3-42.fc44 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms