SoProfilerTopKit(3)
π SoProfilerTopKit π
okay bestie, welcome to SoProfilerTopKit(3) β yes, section 3 of the Coin manual, we're doing C++ nodekit lore today. this is part 1 of 2, so hydrate, stretch, and let's go πΈ
β¨ NAME β¨
SoProfilerTopKit β the SoProfilerTopKit element class. and that's... it, actually. it is yet to be documented π no cap. the whole description is a placeholder. we're all just vibing here.
π¦ SYNOPSIS π¦
#include <Inventor/annex/Profiler/nodekits/SoProfilerTopKit.h>
and the family tree situation: it inherits SoProfilerOverlayKit. that's the whole lineage reveal for this part. iconic.
π Public Member Functions
the two methods it actually brings to the table itself:
virtual SoType getTypeId (void) constβ the classic type-id vibe check β¨virtual const SoNodekitCatalog * getNodekitCatalog (void) constβ hands you the nodekit catalog pointer, no notes
π Public Member Functions inherited from SoProfilerOverlayKit
stuff it got from its parent, no effort required:
SoProfilerOverlayKit (void)β the constructor, doing constructor thingsvoid addOverlayGeometry (SoNode *node)β drop some overlay geometry in there, slay
π
Public Member Functions inherited from SoBaseKit
this is the big one, the whole nodekit starter pack, fr fr:
SoBaseKit (void)β constructorvirtual SoNode * getPart (const SbName &partname, SbBool makeifneeded)β grab a part by nameSbString getPartString (const SoBase *part)β string version of a partvirtual SoNodeKitPath * createPathToPart (const SbName &partname, SbBool makeifneeded, const SoPath *pathtoextend=NULL)β build a path to a partvirtual SbBool setPart (const SbName &partname, SoNode *from)β set a part by nameSbBool set (const char *namevaluepairliststring)β set from a name/value pair list stringSbBool set (const char *partnamestring, const char *parameterstring)β set from part name string + parameter stringvirtual void doAction (SoAction *action)β do the actionvirtual void callback (SoCallbackAction *action)β callback action handlingvirtual void GLRender (SoGLRenderAction *action)β render it πvirtual void getBoundingBox (SoGetBoundingBoxAction *action)β bounding box timevirtual void getMatrix (SoGetMatrixAction *action)β matrix timevirtual void handleEvent (SoHandleEventAction *action)β event handlingvirtual void rayPick (SoRayPickAction *action)β ray pickvirtual void search (SoSearchAction *action)β searchvirtual void write (SoWriteAction *action)β write it outvirtual void getPrimitiveCount (SoGetPrimitiveCountAction *action)β count them primitivesvirtual SoChildList * getChildren (void) constβ the children listvoid printDiagram (void)β print the whole diagram, cutevoid printSubDiagram (const SbName &rootname, int level)β diagram but scoped to a root, at a levelvoid printTable (void)β print the tablevirtual void addWriteReference (SoOutput *out, SbBool isfromfield=FALSE)β add a write referenceSbBool forceChildDrivenWriteRefs (SoOutput *out)β force child-driven write refs
π¦ Public Member Functions inherited from SoNode
void setOverride (const SbBool state)β set the override stateSbBool isOverride (void) constβ are we overriding?void setNodeType (const NodeType type)β set the node typeNodeType getNodeType (void) constβ get the node typevirtual SoNode * copy (SbBool copyconnections=FALSE) constβ copy the nodevirtual SbBool affectsState (void) constβ does it affect state?virtual void GLRenderBelowPath (SoGLRenderAction *action)β GL render below pathvirtual void GLRenderInPath (SoGLRenderAction *action)β GL render in pathvirtual void GLRenderOffPath (SoGLRenderAction *action)β GL render off pathvirtual void pick (SoPickAction *action)β pickvirtual void audioRender (SoAudioRenderAction *action)β audio render πvirtual void grabEventsSetup (void)β set up event grabbingvirtual void grabEventsCleanup (void)β clean up event grabbingvirtual void startNotify (void)β start notifyingvirtual void notify (SoNotList *l)β notifySbUniqueId getNodeId (void) constβ get the unique node idvirtual void writeInstance (SoOutput *out)β write this instancevirtual SoFieldContainer * copyThroughConnection (void) constβ copy through connection
π Public Member Functions inherited from SoFieldContainer
void setToDefaults (void)β reset everything to defaultsSbBool hasDefaultValues (void) constβ are all the values default?SbBool fieldsAreEqual (const SoFieldContainer *container) constβ compare fields with another containervoid copyFieldValues (const SoFieldContainer *container, SbBool copyconnections=FALSE)β copy the field values overSbBool set (const char *const fielddata)β set from field datavoid get (SbString &fielddata)β get the field data outvirtual int getFields (SoFieldList &l) constβ get the fieldsvirtual int getAllFields (SoFieldList &l) constβ get ALL the fieldsvirtual SoField * getField (const SbName &name) constβ get one field by namevirtual SoField * getEventIn (const SbName &name) constβ get an event in by namevirtual SoField * getEventOut (const SbName &name) constβ get an event out by nameSbBool getFieldName (const SoField *const field, SbName &name) constβ name of a given fieldSbBool enableNotify (const SbBool flag)β toggle notificationSbBool isNotifyEnabled (void) constβ is notification on?SbBool set (const char *fielddata, SoInput *input)β set from field data using anSoInputvoid get (SbString &fielddata, SoOutput *out)β get into a string using anSoOutputvirtual SbBool validateNewFieldValue (SoField *field, void *newval)β validate a new field valueSbBool getIsBuiltIn (void) constβ is it built in?virtual void getFieldsMemorySize (size_t &managed, size_t &unmanaged) constβ memory sizes, managed and unmanagedvoid setUserData (void *userdata) constβ stash your user datavoid * getUserData (void) constβ get your user data back
π Public Member Functions inherited from SoBase
void ref (void) constβ ref it upvoid unref (void) constβ unref itvoid unrefNoDelete (void) constβ unref but don't deleteint32_t getRefCount (void) constβ how many refs?void touch (void)β touch itSbBool isOfType (SoType type) constβ returnsTRUEif the type of this object is either of the same type or inherited from type. πvirtual SbName getName (void) constβ get the namevirtual void setName (const SbName &newname)β set a new namevoid addAuditor (void *const auditor, const SoNotRec::Type type)β add an auditorvoid removeAuditor (void *const auditor, const SoNotRec::Type type)β remove an auditorconst SoAuditorList & getAuditors (void) constβ the auditor listSbBool shouldWrite (void)β should this be written?void assertAlive (void) constβ assert that it's alive (very dramatic of it)
π₯ Static Public Member Functions
the class-level squad, specific to this kit:
static SoType getClassTypeId (void)β the class type idstatic const SoNodekitCatalog * getClassNodekitCatalog (void)β the class nodekit catalogstatic void initClass (void)β initialize the class
π Static Public Member Functions inherited from SoProfilerOverlayKit
static SoType getClassTypeId (void)β class type idstatic const SoNodekitCatalog * getClassNodekitCatalog (void)β class nodekit catalogstatic void initClass (void)β init the class
β Static Public Member Functions inherited from SoBaseKit
static SoType getClassTypeId (void)β class type idstatic void initClass (void)β init the classstatic const SoNodekitCatalog * getClassNodekitCatalog (void)β class nodekit catalogstatic SbBool isSearchingChildren (void)β is it searching children?static void setSearchingChildren (const SbBool newval)β set searching children to a new value
πΈ Static Public Member Functions inherited from SoNode
static uint32_t getCompatibilityTypes (const SoType &nodetype)β compatibility types for a node typestatic SoType getClassTypeId (void)β class type idstatic SoNode * getByName (const SbName &name)β look a node up by namestatic int getByName (const SbName &name, SoNodeList &l)β look up by name into a node liststatic void initClass (void)β sets up initialization for data common to all instances of this class, like submitting necessary information to the Coin type system.static void initClasses (void)β init all the classesstatic SbUniqueId getNextNodeId (void)β the next unique node idstatic int getActionMethodIndex (const SoType type)β action method index for a typestatic void getBoundingBoxS (SoAction *action, SoNode *node)β static bounding box helperstatic void GLRenderS (SoAction *action, SoNode *node)β static GL render helperstatic void callbackS (SoAction *action, SoNode *node)β static callback helperstatic void getMatrixS (SoAction *action, SoNode *node)β static matrix helperstatic void handleEventS (SoAction *action, SoNode *node)β static event handling helperstatic void pickS (SoAction *action, SoNode *node)β static pick helperstatic void rayPickS (SoAction *action, SoNode *node)β static ray pick helperstatic void searchS (SoAction *action, SoNode *node)β static search helperstatic void writeS (SoAction *action, SoNode *node)β static write helperstatic void audioRenderS (SoAction *action, SoNode *node)β static audio render helperstatic void getPrimitiveCountS (SoAction *action, SoNode *node)β static primitive count helper
π§ Static Public Member Functions inherited from SoFieldContainer
static void initClass (void)β sets up initialization for data common to all instances of this class, like submitting necessary information to the Coin type system.static SoType getClassTypeId (void)β this static method returns theSoTypeobject associated with objects of this class.static void cleanupClass (void)β clean up the classstatic void initCopyDict (void)β init the copy dictstatic void addCopy (const SoFieldContainer *orig, const SoFieldContainer *copy)β register a copystatic SoFieldContainer * checkCopy (const SoFieldContainer *orig)β check for a copystatic SoFieldContainer * findCopy (const SoFieldContainer *orig, const SbBool copyconnections)β find a copystatic void copyDone (void)β copying's done, wrap it up
π Static Public Member Functions inherited from SoBase
static void initClass (void)β sets up initialization for data common to all instances of this class, like submitting necessary information to the Coin type system.static SoType getClassTypeId (void)β this static method returns theSoTypeobject associated with objects of this class.static void addName (SoBase *const base, const char *const name)β add a name to a basestatic void removeName (SoBase *const base, const char *const name)β remove a name from a basestatic void incrementCurrentWriteCounter (void)β bump the current write counterstatic void decrementCurrentWriteCounter (void)β drop the current write counterstatic SoBase * getNamedBase (const SbName &name, SoType type)β get a named basestatic int getNamedBases (const SbName &name, SoBaseList &baselist, SoType type)β get named bases into a liststatic SbBool read (SoInput *input, SoBase *&base, SoType expectedtype)β read a base instatic void setInstancePrefix (const SbString &c)β set the instance prefixstatic void setTraceRefs (SbBool trace)β turn ref tracing on/offstatic SbBool getTraceRefs (void)β is ref tracing on?static SbBool connectRoute (SoInput *input, const SbName &fromnodename, const SbName &fromfieldname, const SbName &tonodename, const SbName &tofieldname)β connect a route between node/field pairsstatic SbBool readRoute (SoInput *input)β read a route
π«Ά Public Attributes
the actual data fields this kit carries around:
SoSFColor txtColorβ a color, presumably for text, but you didn't hear any speculation from meSoSFInt32 linesβ anint32count of linesSoSFVec2f topKitSizeβ a 2-float vector size for the top kitSoSFVec3f positionβ a 3-float vector position
π Public Attributes inherited from SoProfilerOverlayKit
SoSFVec3f viewportSizeβ a 3-float vector viewport size
π Protected Member Functions
just the one for this class, bestie:
virtual const SoFieldData * getFieldData (void) constβ get the field data
π Protected Member Functions inherited from SoProfilerOverlayKit
virtual ~SoProfilerOverlayKit (void)β the destructor
π Protected Member Functions inherited from SoBaseKit
virtual ~SoBaseKit ()β destructorvirtual SoNode * addToCopyDict (void) constβ add to the copy dictvirtual void copyContents (const SoFieldContainer *fromfc, SbBool copyconnections)β copy the contents overSoGroup * getContainerNode (const SbName &listname, SbBool makeifneeded=TRUE)β get the container node for a listvirtual SoNode * getAnyPart (const SbName &partname, SbBool makeifneeded, SbBool leafcheck=FALSE, SbBool publiccheck=FALSE)β get any part, with leaf and public checksvirtual SoNodeKitPath * createPathToAnyPart (const SbName &partname, SbBool makeifneeded, SbBool leafcheck=FALSE, SbBool publiccheck=FALSE, const SoPath *pathtoextend=NULL)β path to any partvirtual SbBool setAnyPart (const SbName &partname, SoNode *from, SbBool anypart=TRUE)β set any partvoid createNodekitPartsList (void)β create the nodekit parts listvoid createFieldList (void)β create the field listvirtual void createDefaultParts (void)β create the default partsconst SoNodekitParts * getNodekitPartsList (void) constβ get the nodekit parts listconst SbList< SoSFNode * > & getCatalogInstances (void) constβ get the catalog instancesvoid catalogError (void)β catalog error handlervirtual SbBool setUpConnections (SbBool onoff, SbBool doitalways=FALSE)β set up connectionsvirtual SbBool readInstance (SoInput *in, unsigned short flags)β read an instancevirtual void setDefaultOnNonWritingFields (void)β set defaults on non-writing fieldsvoid countMyFields (SoOutput *out)β count the fieldsvirtual SbBool setPart (const int partNum, SoNode *node)β set a part by index
π Protected Member Functions inherited from SoNode
SoNode (void)β constructorvirtual ~SoNode ()β destructor
π Protected Member Functions inherited from SoFieldContainer
SoFieldContainer (void)β constructorvirtual ~SoFieldContainer ()β destructor
β¨ Protected Member Functions inherited from SoBase
SoBase (void)β constructorvirtual ~SoBase ()β destructorvirtual void destroy (void)β destroySbBool hasMultipleWriteRefs (void) constβ multiple write refs?SbBool writeHeader (SoOutput *out, SbBool isgroup, SbBool isengine) constβ write the headervoid writeFooter (SoOutput *out) constβ write the footervirtual const char * getFileFormatName (void) constβ the file format namevirtual SoNotRec createNotRec (void)β create a notification record
π Static Protected Member Functions
static const SoFieldData ** getFieldDataPtr (void)β pointer to the field data pointerstatic const SoNodekitCatalog ** getClassNodekitCatalogPtr (void)β pointer to the class nodekit catalog pointer
ok that's the whole synopsis dump for part 1, and yes it's a lot, but you ate it π more of this page is coming in part 2, so don't go anywhere π¦
π« Static Protected Member Functions (inherited from SoProfilerOverlayKit)
static const SoFieldData ** getFieldDataPtr (void)static const SoNodekitCatalog ** getClassNodekitCatalogPtr (void)
π« Static Protected Member Functions (inherited from SoBaseKit)
static const SoFieldData ** getFieldDataPtr (void)static const SoNodekitCatalog ** getClassNodekitCatalogPtr (void)
π« Static Protected Member Functions (inherited from SoNode)
static const SoFieldData ** getFieldDataPtr (void)static void setNextActionMethodIndex (int index)static int getNextActionMethodIndex (void)static void incNextActionMethodIndex (void)static void setCompatibilityTypes (const SoType &nodetype, const uint32_t bitmask)
π« Static Protected Member Functions (inherited from SoBase)
static uint32_t getCurrentWriteCounter (void)static void staticDataLock (void)static void staticDataUnlock (void)
π Protected Attributes
bestie these are the lil' internal fields that SoProfilerTopKit keeps to itself, no cap:
SoSFNode textSepSoSFNode colorSoSFNode translationSoSFNode textSoSFNode graph
π¦ Protected Attributes (inherited from SoProfilerOverlayKit)
SoSFNode topSeparatorSoSFNode profilingStatsSoSFNode viewportInfoSoSFNode overlayCameraSoSFNode depthTestOffSoSFNode overlaySepSoSFNode depthTestOn
π¦ Protected Attributes (inherited from SoBaseKit)
SoSFNode callbackListSoChildList * childrenSbBool connectionsSetUp
π¦ Protected Attributes (inherited from SoNode)
SbUniqueId uniqueId
π¦ Protected Attributes (inherited from SoFieldContainer)
SbBool isBuiltIn
β¨ Additional Inherited Members
π Public Types (inherited from SoNode)
okay so this enum is literally the timeline of every file format Coin has ever known and loved:
enum NodeType { INVENTOR = 0x0000, VRML1 = 0x0001, VRML2 = 0x0002,
INVENTOR_1 = 0x0004, INVENTOR_2_0 = 0x0008, INVENTOR_2_1 = 0x0010,
INVENTOR_2_5 = 0x0020, INVENTOR_2_6 = 0x0040, COIN_1_0 = 0x0080,
COIN_2_0 = 0x0100, EXTENSION = 0x0200, COIN_2_2 = 0x0400, COIN_2_3 =
0x0800, COIN_2_4 = 0x1000, INVENTOR_5_0 = 0x2000, COIN_2_5 = 0x4000,
COIN_3_0 = 0x8000, INVENTOR_6_0 = 0x10000, COIN_4_0 = 0x20000 }
π Protected Types (inherited from SoBase)
enum BaseFlags { IS_ENGINE = 0x01, IS_GROUP = 0x02 }
π Static Protected Attributes (inherited from SoNode)
static SbUniqueId nextUniqueId = 1static int nextActionMethodIndex = 0
πΈ Detailed Description
The SoProfilerTopKit element class is yet to be documented. (yes, truly. the docs are giving "coming soon" energy, we been knew π)
π Member Function Documentation
β SoType SoProfilerTopKit::getClassTypeId (void ) [static]
This static method returns the SoType object associated with objects of this class. it's the little name tag your class wears at the party π
β SoType SoProfilerTopKit::getTypeId (void ) const [virtual]
Returns the type identification of an object derived from a class inheriting SoBase. This is used for runtime type checking and "downward" casting.
Reimplemented from SoProfilerOverlayKit.
β const SoFieldData ** SoProfilerTopKit::getFieldDataPtr (void ) [static], [protected]
This API member is considered internal to the library, as it is not likely to be of interest to the application programmer.
Returns the SoFieldData class which holds information about fields in this node.
β const SoFieldData * SoProfilerTopKit::getFieldData (void ) const [protected], [virtual]
Returns a pointer to the class-wide field data storage object for this instance. If no fields are present, returns NULL.
Reimplemented from SoProfilerOverlayKit.
β const SoNodekitCatalog * SoProfilerTopKit::getClassNodekitCatalog (void ) [static]
Returns the nodekit catalog which defines the layout of this class' kit. it's the blueprint bestie, the floor plan, the whole vibe β¨
β const SoNodekitCatalog * SoProfilerTopKit::getNodekitCatalog (void ) const [virtual]
Returns the nodekit catalog which defines the layout of this class' kit.
Reimplemented from SoProfilerOverlayKit.
β const SoNodekitCatalog ** SoProfilerTopKit::getClassNodekitCatalogPtr (void ) [static], [protected]
Returns the pointer to the pointer of the nodekit catalog for this class. yes, a pointer to a pointer. double the pointer, double the power π«Ά
π Author
Generated automatically by Doxygen for Coin from the source code. (Doxygen really said "I'll write your docs for you" and honestly? it ate.)
and that's a wrap on the whole page, bestie!! this was Version 4.0.10, dated Thu Jun 25 2026 00:00:00, filed under SoProfilerTopKit(3) β go forth and kit those topkits πβ¨π
π¦ 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