SoFullPath(3)
π SoFullPath π
okay bestie, welcome to SoFullPath(3) from the Library Functions Manual β yes it's a C++ class page, yes it's from Coin, and yes it's lowkey iconic. it's giving "i know where the hidden children are and you don't" energy. π΅οΈβοΈβ¨
β¨ NAME β¨
SoFullPath β the class that lets you examine hidden children in paths. no cap, that's literally the whole job. π
πΈ SYNOPSIS πΈ
#include <Inventor/SoFullPath.h>
Inherits SoPath.
Inherited by SoTempPath.
π Public Member Functions π
void pop (void)SoNode * getTail (void) constSoNode * getNodeFromTail (const int index) constint getIndexFromTail (const int index) constint getLength (void) 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
π 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 }
π 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
π Static Protected Member Functions inherited from SoBase π
static uint32_t getCurrentWriteCounter (void)static void staticDataLock (void)static void staticDataUnlock (void)
π Detailed Description π
ok so, the SoFullPath class allows examination of hidden children in paths. that's the whole vibe check right there. π«
SoPath allows only access from the head node to the first node with hidden children, but not any further. rude, honestly. π€
Since the SoFullPath is derived from SoPath and contains no private data, you can cast SoPath instances to the SoFullPath type. This will allow you to examine hidden children. main character casting energy fr fr. π¬β¨
π (Actually, you are not supposed to allocate instances of this class at all. It is only available as an "extended interface" into the superclass SoPath.)
not me telling you "don't instantiate this" β it's giving backstage pass, not a build-your-own situation. it's literally just an extended interface into the superclass SoPath. periodt. π
π οΈ Member Function Documentation π οΈ
π void SoFullPath::pop (void ) [inline]
This method overrides SoPath::pop() to allow clients to get at all the nodes in the path. every last one. no gatekeeping. π«Ά
π SoNode * SoFullPath::getTail (void ) const
This method overrides SoPath::getTail() to allow clients to get the tail node, counting internal path nodes. yes, the internal ones too, bestie. π
π SoNode * SoFullPath::getNodeFromTail (const int index) const
This method overrides SoPath::getNodeFromTail() to allow clients to get the node positioned index nodes from the tail, counting internal path nodes. math girlies rise. β¨
π int SoFullPath::getIndexFromTail (const int index) const
This method overrides SoPath::getIndexFromTail() to allow clients to get the child index number for nodes based on their position from the tail, counting hidden nodes. the hidden ones are included, that's the whole point. π₯
π int SoFullPath::getLength (void ) const
This method returns the length of the path, counting hidden nodes also. yes, the hidden ones count. they're part of the story. π
ποΈ Author ποΈ
Generated automatically by Doxygen for Coin from the source code. it literally wrote itself (well, Doxygen did). πβ¨
ok that's the whole page bestie, hope this was helpful, mwah π
this lil doc came from Coin β Version 3.1.3 β and it's the SoFullPath(3) page, slay ππ¦π**
π¦ 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