SoNodeKitPath(3)
β¨ NAME β¨
SoNodeKitPath β bestie, this is the Coin class that's literally a path made up of only nodekit nodes π
This page is from the Coin manual, section 3 π
π SYNOPSIS π
#include <Inherits SoPath.
okay so first off, SoNodeKitPath Inherits SoPath. That's the whole tea. π«
Public Member Functions πΈ
int getLength (void) constSoNode * getTail (void) constSoNode * getNode (const int idx) constSoNode * getNodeFromTail (const int idx) constvoid truncate (const int length)void pop (void)void append (SoBaseKit *childKit)void append (const SoNodeKitPath *fromPath)SbBool containsNode (SoBaseKit *node) constint findFork (const SoNodeKitPath *path) const
Public Member Functions inherited from SoPath π¦
SoPath (const int approxlength=4)SoPath (SoNode *const head)SoPath (const SoPath &rhs)SoPath & operator= (const SoPath &rhs)virtual SoType getTypeId (void) constβ Returns the type identification of an object derived from a class inheritingSoBase. This is used for runtime type checking and downward"casting.void setHead (SoNode *const head)SoNode * getHead (void) constvoid append (const int childindex)void append (SoNode *const node)void append (const SoPath *const frompath)void push (const int childindex)void pop (void)SoNode * getTail (void) constSoNode * getNode (const int index) constSoNode * getNodeFromTail (const int index) constint getIndex (const int index) constint getIndexFromTail (const int index) constint getLength (void) constvoid truncate (const int length)int findFork (const SoPath *const path) constint findNode (const SoNode *const node) constSbBool containsNode (const SoNode *const node) constSbBool containsPath (const SoPath *const path) constSoPath * copy (const int startfromnodeindex=0, int numnodes=0) constvoid insertIndex (SoNode *const parent, const int newindex)void removeIndex (SoNode *const parent, const int oldindex)void replaceIndex (SoNode *const parent, const int index, SoNode *const newchild)SbBool isRelevantNotification (SoNotList *const l) constvirtual void write (SoWriteAction *action)
Public Member Functions inherited from SoBase π
void ref (void) constvoid unref (void) constvoid unrefNoDelete (void) constint32_t getRefCount (void) constvoid touch (void)SbBool isOfType (SoType type) constβ ReturnsTRUEif the type of this object is either of the same type or inherited from type.virtual SbName getName (void) constvirtual void setName (const SbName &newname)virtual void startNotify (void)virtual void notify (SoNotList *l)void addAuditor (void *const auditor, const SoNotRec::Type type)void removeAuditor (void *const auditor, const SoNotRec::Type type)const SoAuditorList & getAuditors (void) constvirtual void addWriteReference (SoOutput *out, SbBool isfromfield=FALSE)SbBool shouldWrite (void)void assertAlive (void) const
Protected Member Functions π
SoNodeKitPath (const int approxLength)virtual ~SoNodeKitPath ()
Protected Member Functions inherited from SoPath π
virtual ~SoPath ()void auditPath (const SbBool flag)
Protected Member Functions inherited from SoBase π
SoBase (void)virtual ~SoBase ()virtual void destroy (void)SbBool hasMultipleWriteRefs (void) constSbBool writeHeader (SoOutput *out, SbBool isgroup, SbBool isengine) constvoid writeFooter (SoOutput *out) constvirtual const char * getFileFormatName (void) constvirtual SoNotRec createNotRec (void)
Additional Inherited Members π
Static Public Member Functions inherited from SoPath π
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 SoPath * getByName (const SbName name)static int getByName (const SbName name, SoPathList &l)
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)static void removeName (SoBase *const base, const char *const name)static void incrementCurrentWriteCounter (void)static void decrementCurrentWriteCounter (void)static SoBase * getNamedBase (const SbName &name, SoType type)static int getNamedBases (const SbName &name, SoBaseList &baselist, SoType type)static SbBool read (SoInput *input, SoBase *&base, SoType expectedtype)static void setInstancePrefix (const SbString &c)static void setTraceRefs (SbBool trace)static SbBool getTraceRefs (void)static SbBool connectRoute (SoInput *input, const SbName &fromnodename, const SbName &fromfieldname, const SbName &tonodename, const SbName &tofieldname)static SbBool readRoute (SoInput *input)
Protected Types inherited from SoBase π
enum BaseFlags { IS_ENGINE = 0x01, IS_GROUP = 0x02 }
Static Protected Member Functions inherited from SoBase π
static uint32_t getCurrentWriteCounter (void)static void staticDataLock (void)static void staticDataUnlock (void)
π Detailed Description π
The SoNodeKitPath class is a path that contains only nodekit nodes. π
All other nodes are hidden from the user. π like they're literally not invited to the party bestie, only nodekits get in π
π Constructor & Destructor Documentation π
SoNodeKitPath::SoNodeKitPath (const int approxLength) [protected]
A constructor. that's it that's the whole thing π«Ά
SoNodeKitPath::~SoNodeKitPath () [protected], [virtual]
The destructor. rip boo you served well πβ¨
π Member Function Documentation π
int SoNodeKitPath::getLength (void ) const
Returns the length of the path (the number of nodekit nodes). slay, counting hours π―
SoNode * SoNodeKitPath::getTail (void ) const
Returns the tail of the path (the last nodekit in the path). the one at the back of the line π¦
SoNode * SoNodeKitPath::getNode (const int idx) const
Returns nodekit number idx in path. π
SoNode * SoNodeKitPath::getNodeFromTail (const int idx) const
Returns nodekit number idx in the path, from the tail. so like, counting backwards from the end, iconic behaviour β
void SoNodeKitPath::truncate (const int length)
Truncates the path at nodekit number length. βοΈ
void SoNodeKitPath::pop (void )
Pops off the last nodekit (truncates at last tail). bye bestie π
void SoNodeKitPath::append (SoBaseKit * childKit)
Appends childKit to the path. childKit should be a part in the tail nodekit of this path. In effect, the path from the tail to first occurrence of childKit will be appended to the path. π«
void SoNodeKitPath::append (const SoNodeKitPath * fromPath)
Appends the nodekit path to this path. Head of fromPath must be a part in the current tail. π
SbBool SoNodeKitPath::containsNode (SoBaseKit * node) const
Returns TRUE if node is in this path. β
int SoNodeKitPath::findFork (const SoNodeKitPath * path) const
Returns the index of last common nodekit, or -1 if head node differs. π΄
π«Ά Author π«Ά
Generated automatically by Doxygen for Coin from the source code. (not me writing this by hand, the robots did it, and honestly? they ate π€π )
and that's the whole page bestie!! π this was Version 4.0.10, dated Thu Jun 25 2026 00:00:00, and it's the SoNodeKitPath(3) manual page β go forth and nodekit-path responsibly, mwah πβ¨π¦
π¦ 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