SoNodeKitPath(3)
okay bestie, welcome to SoNodeKitPath(3) โ yeah it lives in the Library Functions Manual, and yes we are absolutely going to get into it. Grab a boba, sit criss-cross, this is gonna be cute. ๐โจ
โจ NAME โจ
SoNodeKitPath โ the class that is a path containing only nodekit nodes. That's it, that's the whole personality. ๐
๐ธ SYNOPSIS ๐ธ
#include <Inventor/SoNodeKitPath.h>
Inherits SoPath. (a nepo baby, but a talented one ๐ซถ)
๐ 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) constvoid 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) constvirtual 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) const
๐ Additional Inherited Members ๐
โญ Static Public Member Functions inherited from SoPath โญ
static void initClass (void)static SoType getClassTypeId (void)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)static SoType getClassTypeId (void)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 not even in the room. You don't see them, you don't speak to them, they don't exist to you. ๐โจ
๐ Constructor & Destructor Documentation ๐
๐ซง SoNodeKitPath::SoNodeKitPath (const int approxLength) [protected]
A constructor. That's the whole note. It constructs. Slay. ๐
๐ซง SoNodeKitPath::~SoNodeKitPath () [protected], [virtual]
The destructor. It destructs. Bye bestie, mwah. ๐ญ๐
๐ฆ Member Function Documentation ๐ฆ
โจ int SoNodeKitPath::getLength (void) const
Returns the length of the path โ a.k.a. the number of nodekit nodes. Just the kits, nothing else, no crumbs. ๐
โจ SoNode * SoNodeKitPath::getTail (void) const
Returns the tail of the path โ the last nodekit in the path. The final girl. The main character of the end. ๐
โจ SoNode * SoNodeKitPath::getNode (const int idx) const
Returns nodekit number idx in path. (counting from the front, like a normal person ๐)
โจ SoNode * SoNodeKitPath::getNodeFromTail (const int idx) const
Returns nodekit number idx in the path, from the tail. Yes we're counting backwards, it's a vibe. ๐
โจ void SoNodeKitPath::truncate (const int length)
Truncates the path at nodekit number length. Snip snip, that's it, we're done here. โ๏ธ
โจ void SoNodeKitPath::pop (void)
Pops off the last nodekit โ which is to say, truncates at last tail. Girl said "I'm leaving" and left. ๐
โจ 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 occurrance 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. That's a requirement, not a suggestion, bestie. ๐ค
โจ SbBool SoNodeKitPath::containsNode (SoBaseKit * node) const
Returns TRUE if node is in this path. Otherwise, not. It's giving very straightforward. โญ
โจ int SoNodeKitPath::findFork (const SoNodeKitPath * path) const
Returns the index of last common nodekit, or -1 if head node differs. Two paths diverging in a wood and all that ๐ธ๐ฟ โ except one of them is -1. ๐
๐ Author ๐
Generated automatically by Doxygen for Coin from the source code. Not a human, not a girlie, just a robot doing its little job. Respect. ๐คโจ
okay that's the whole page bestie, you ATE it ๐ no cap, fr fr. This was Coin, Version 3.1.3 โ and if you remember nothing else, remember: nodekit nodes only, everything else is hidden. Periodt. ๐ ๐๐ฆ๐ธ๐ซถ๐๐โญ๐๐ง๐
๐ฆ 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