SoProfilerTopKit(3)

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

πŸ’– 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 things
  • void 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) β€” constructor
  • virtual SoNode * getPart (const SbName &partname, SbBool makeifneeded) β€” grab a part by name
  • SbString getPartString (const SoBase *part) β€” string version of a part
  • virtual SoNodeKitPath * createPathToPart (const SbName &partname, SbBool makeifneeded, const SoPath *pathtoextend=NULL) β€” build a path to a part
  • virtual SbBool setPart (const SbName &partname, SoNode *from) β€” set a part by name
  • SbBool set (const char *namevaluepairliststring) β€” set from a name/value pair list string
  • SbBool set (const char *partnamestring, const char *parameterstring) β€” set from part name string + parameter string
  • virtual void doAction (SoAction *action) β€” do the action
  • virtual void callback (SoCallbackAction *action) β€” callback action handling
  • virtual void GLRender (SoGLRenderAction *action) β€” render it πŸ’–
  • virtual void getBoundingBox (SoGetBoundingBoxAction *action) β€” bounding box time
  • virtual void getMatrix (SoGetMatrixAction *action) β€” matrix time
  • virtual void handleEvent (SoHandleEventAction *action) β€” event handling
  • virtual void rayPick (SoRayPickAction *action) β€” ray pick
  • virtual void search (SoSearchAction *action) β€” search
  • virtual void write (SoWriteAction *action) β€” write it out
  • virtual void getPrimitiveCount (SoGetPrimitiveCountAction *action) β€” count them primitives
  • virtual SoChildList * getChildren (void) const β€” the children list
  • void printDiagram (void) β€” print the whole diagram, cute
  • void printSubDiagram (const SbName &rootname, int level) β€” diagram but scoped to a root, at a level
  • void printTable (void) β€” print the table
  • virtual void addWriteReference (SoOutput *out, SbBool isfromfield=FALSE) β€” add a write reference
  • SbBool forceChildDrivenWriteRefs (SoOutput *out) β€” force child-driven write refs

πŸ¦‹ Public Member Functions inherited from SoNode

  • void setOverride (const SbBool state) β€” set the override state
  • SbBool isOverride (void) const β€” are we overriding?
  • void setNodeType (const NodeType type) β€” set the node type
  • NodeType getNodeType (void) const β€” get the node type
  • virtual SoNode * copy (SbBool copyconnections=FALSE) const β€” copy the node
  • virtual SbBool affectsState (void) const β€” does it affect state?
  • virtual void GLRenderBelowPath (SoGLRenderAction *action) β€” GL render below path
  • virtual void GLRenderInPath (SoGLRenderAction *action) β€” GL render in path
  • virtual void GLRenderOffPath (SoGLRenderAction *action) β€” GL render off path
  • virtual void pick (SoPickAction *action) β€” pick
  • virtual void audioRender (SoAudioRenderAction *action) β€” audio render πŸ”Š
  • virtual void grabEventsSetup (void) β€” set up event grabbing
  • virtual void grabEventsCleanup (void) β€” clean up event grabbing
  • virtual void startNotify (void) β€” start notifying
  • virtual void notify (SoNotList *l) β€” notify
  • SbUniqueId getNodeId (void) const β€” get the unique node id
  • virtual void writeInstance (SoOutput *out) β€” write this instance
  • virtual SoFieldContainer * copyThroughConnection (void) const β€” copy through connection

πŸŽ€ Public Member Functions inherited from SoFieldContainer

  • void setToDefaults (void) β€” reset everything to defaults
  • SbBool hasDefaultValues (void) const β€” are all the values default?
  • SbBool fieldsAreEqual (const SoFieldContainer *container) const β€” compare fields with another container
  • void copyFieldValues (const SoFieldContainer *container, SbBool copyconnections=FALSE) β€” copy the field values over
  • SbBool set (const char *const fielddata) β€” set from field data
  • void get (SbString &fielddata) β€” get the field data out
  • virtual int getFields (SoFieldList &l) const β€” get the fields
  • virtual int getAllFields (SoFieldList &l) const β€” get ALL the fields
  • virtual SoField * getField (const SbName &name) const β€” get one field by name
  • virtual SoField * getEventIn (const SbName &name) const β€” get an event in by name
  • virtual SoField * getEventOut (const SbName &name) const β€” get an event out by name
  • SbBool getFieldName (const SoField *const field, SbName &name) const β€” name of a given field
  • SbBool enableNotify (const SbBool flag) β€” toggle notification
  • SbBool isNotifyEnabled (void) const β€” is notification on?
  • SbBool set (const char *fielddata, SoInput *input) β€” set from field data using an SoInput
  • void get (SbString &fielddata, SoOutput *out) β€” get into a string using an SoOutput
  • virtual SbBool validateNewFieldValue (SoField *field, void *newval) β€” validate a new field value
  • SbBool getIsBuiltIn (void) const β€” is it built in?
  • virtual void getFieldsMemorySize (size_t &managed, size_t &unmanaged) const β€” memory sizes, managed and unmanaged
  • void setUserData (void *userdata) const β€” stash your user data
  • void * getUserData (void) const β€” get your user data back

🌟 Public Member Functions inherited from SoBase

  • void ref (void) const β€” ref it up
  • void unref (void) const β€” unref it
  • void unrefNoDelete (void) const β€” unref but don't delete
  • int32_t getRefCount (void) const β€” how many refs?
  • void touch (void) β€” touch it
  • SbBool isOfType (SoType type) const β€” returns TRUE if the type of this object is either of the same type or inherited from type. πŸ’…
  • virtual SbName getName (void) const β€” get the name
  • virtual void setName (const SbName &newname) β€” set a new name
  • void addAuditor (void *const auditor, const SoNotRec::Type type) β€” add an auditor
  • void removeAuditor (void *const auditor, const SoNotRec::Type type) β€” remove an auditor
  • const SoAuditorList & getAuditors (void) const β€” the auditor list
  • SbBool 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 id
  • static const SoNodekitCatalog * getClassNodekitCatalog (void) β€” the class nodekit catalog
  • static void initClass (void) β€” initialize the class

πŸ’œ Static Public Member Functions inherited from SoProfilerOverlayKit

  • static SoType getClassTypeId (void) β€” class type id
  • static const SoNodekitCatalog * getClassNodekitCatalog (void) β€” class nodekit catalog
  • static void initClass (void) β€” init the class

⭐ Static Public Member Functions inherited from SoBaseKit

  • static SoType getClassTypeId (void) β€” class type id
  • static void initClass (void) β€” init the class
  • static const SoNodekitCatalog * getClassNodekitCatalog (void) β€” class nodekit catalog
  • static 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 type
  • static SoType getClassTypeId (void) β€” class type id
  • static SoNode * getByName (const SbName &name) β€” look a node up by name
  • static int getByName (const SbName &name, SoNodeList &l) β€” look up by name into a node list
  • 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 void initClasses (void) β€” init all the classes
  • static SbUniqueId getNextNodeId (void) β€” the next unique node id
  • static int getActionMethodIndex (const SoType type) β€” action method index for a type
  • static void getBoundingBoxS (SoAction *action, SoNode *node) β€” static bounding box helper
  • static void GLRenderS (SoAction *action, SoNode *node) β€” static GL render helper
  • static void callbackS (SoAction *action, SoNode *node) β€” static callback helper
  • static void getMatrixS (SoAction *action, SoNode *node) β€” static matrix helper
  • static void handleEventS (SoAction *action, SoNode *node) β€” static event handling helper
  • static void pickS (SoAction *action, SoNode *node) β€” static pick helper
  • static void rayPickS (SoAction *action, SoNode *node) β€” static ray pick helper
  • static void searchS (SoAction *action, SoNode *node) β€” static search helper
  • static void writeS (SoAction *action, SoNode *node) β€” static write helper
  • static void audioRenderS (SoAction *action, SoNode *node) β€” static audio render helper
  • static 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 the SoType object associated with objects of this class.
  • static void cleanupClass (void) β€” clean up the class
  • static void initCopyDict (void) β€” init the copy dict
  • static void addCopy (const SoFieldContainer *orig, const SoFieldContainer *copy) β€” register a copy
  • static SoFieldContainer * checkCopy (const SoFieldContainer *orig) β€” check for a copy
  • static SoFieldContainer * findCopy (const SoFieldContainer *orig, const SbBool copyconnections) β€” find a copy
  • static 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 the SoType object associated with objects of this class.
  • static void addName (SoBase *const base, const char *const name) β€” add a name to a base
  • static void removeName (SoBase *const base, const char *const name) β€” remove a name from a base
  • static void incrementCurrentWriteCounter (void) β€” bump the current write counter
  • static void decrementCurrentWriteCounter (void) β€” drop the current write counter
  • static SoBase * getNamedBase (const SbName &name, SoType type) β€” get a named base
  • static int getNamedBases (const SbName &name, SoBaseList &baselist, SoType type) β€” get named bases into a list
  • static SbBool read (SoInput *input, SoBase *&base, SoType expectedtype) β€” read a base in
  • static void setInstancePrefix (const SbString &c) β€” set the instance prefix
  • static void setTraceRefs (SbBool trace) β€” turn ref tracing on/off
  • static 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 pairs
  • static 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 me
  • SoSFInt32 lines β€” an int32 count of lines
  • SoSFVec2f topKitSize β€” a 2-float vector size for the top kit
  • SoSFVec3f 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 () β€” destructor
  • virtual SoNode * addToCopyDict (void) const β€” add to the copy dict
  • virtual void copyContents (const SoFieldContainer *fromfc, SbBool copyconnections) β€” copy the contents over
  • SoGroup * getContainerNode (const SbName &listname, SbBool makeifneeded=TRUE) β€” get the container node for a list
  • virtual SoNode * getAnyPart (const SbName &partname, SbBool makeifneeded, SbBool leafcheck=FALSE, SbBool publiccheck=FALSE) β€” get any part, with leaf and public checks
  • virtual SoNodeKitPath * createPathToAnyPart (const SbName &partname, SbBool makeifneeded, SbBool leafcheck=FALSE, SbBool publiccheck=FALSE, const SoPath *pathtoextend=NULL) β€” path to any part
  • virtual SbBool setAnyPart (const SbName &partname, SoNode *from, SbBool anypart=TRUE) β€” set any part
  • void createNodekitPartsList (void) β€” create the nodekit parts list
  • void createFieldList (void) β€” create the field list
  • virtual void createDefaultParts (void) β€” create the default parts
  • const SoNodekitParts * getNodekitPartsList (void) const β€” get the nodekit parts list
  • const SbList< SoSFNode * > & getCatalogInstances (void) const β€” get the catalog instances
  • void catalogError (void) β€” catalog error handler
  • virtual SbBool setUpConnections (SbBool onoff, SbBool doitalways=FALSE) β€” set up connections
  • virtual SbBool readInstance (SoInput *in, unsigned short flags) β€” read an instance
  • virtual void setDefaultOnNonWritingFields (void) β€” set defaults on non-writing fields
  • void countMyFields (SoOutput *out) β€” count the fields
  • virtual SbBool setPart (const int partNum, SoNode *node) β€” set a part by index

🌈 Protected Member Functions inherited from SoNode

  • SoNode (void) β€” constructor
  • virtual ~SoNode () β€” destructor

πŸŽ€ Protected Member Functions inherited from SoFieldContainer

  • SoFieldContainer (void) β€” constructor
  • virtual ~SoFieldContainer () β€” destructor

✨ Protected Member Functions inherited from SoBase

  • SoBase (void) β€” constructor
  • virtual ~SoBase () β€” destructor
  • virtual void destroy (void) β€” destroy
  • SbBool hasMultipleWriteRefs (void) const β€” multiple write refs?
  • SbBool writeHeader (SoOutput *out, SbBool isgroup, SbBool isengine) const β€” write the header
  • void writeFooter (SoOutput *out) const β€” write the footer
  • virtual const char * getFileFormatName (void) const β€” the file format name
  • virtual SoNotRec createNotRec (void) β€” create a notification record

🌟 Static Protected Member Functions

  • static const SoFieldData ** getFieldDataPtr (void) β€” pointer to the field data pointer
  • static 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 textSep
  • SoSFNode color
  • SoSFNode translation
  • SoSFNode text
  • SoSFNode graph

πŸ¦‹ Protected Attributes (inherited from SoProfilerOverlayKit)

  • SoSFNode topSeparator
  • SoSFNode profilingStats
  • SoSFNode viewportInfo
  • SoSFNode overlayCamera
  • SoSFNode depthTestOff
  • SoSFNode overlaySep
  • SoSFNode depthTestOn

πŸ¦‹ Protected Attributes (inherited from SoBaseKit)

  • SoSFNode callbackList
  • SoChildList * children
  • SbBool 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 = 1
  • static 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