SoTempPath(3)
okay bestie, sit down, hydrate, because this is SoTempPath from the Coin manual β section 3, the library-calls section, iykyk. it's a whole class for storing temporary paths and it is literally the chillest little shortcut in the whole scene. let's get into it π
β¨ NAME β¨
The SoTempPath class is used to store temporary paths.
π¦ SYNOPSIS π¦
#include <Inventor/misc/SoTempPath.h>
Inherits SoFullPath. so it's giving... full path energy, but make it temporary π
π Public Member Functions
SoTempPath(const int approxlength)β the constructor, obviouslyvoid simpleAppend(SoNode *const node, const int index)β yeets a node onto the endvoid replaceTail(SoNode *const node, const int index)β swaps out the tail
π Public Member Functions inherited from SoFullPath
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) 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
πΈ 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 }
π§ 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)
π§ Static Protected Member Functions inherited from SoBase
static uint32_t getCurrentWriteCounter(void)static void staticDataLock(void)static void staticDataUnlock(void)
π₯ Detailed Description π₯
The SoTempPath class is used to store temporary paths.
The path simply turns off auditing in the constructor, and leaves the user with the responsibility of keeping the path valid.
okay so real talk bestie β you are the one keeping this path valid. the class is not doing it for you. it turned auditing off and walked away. that's the whole deal, no cap π
π Constructor & Destructor Documentation π
SoTempPath::SoTempPath(const int approxlength)
Constructor. that's it, that's the whole thing π«Ά
πΈ Member Function Documentation πΈ
void SoTempPath::simpleAppend(SoNode *const node, const int index)
Append a node (specified by node and parent child index) to the path. This method is only available in SoTempPath, since it will not consider auditing or hidden children.
void SoTempPath::replaceTail(SoNode *const node, const int index)
Replace the tail of this path. The node is specified by node and parent child index. This method is only available in SoTempPath, since it will not consider auditing or hidden children.
π Author π
Generated automatically by Doxygen for Coin from the source code.
and that's the whole page, bestie, we ate and left absolutely zero crumbs π β¨ this was Version 4.0.10, dated Thu Jun 25 2026 00:00:00 β go forth and keep those temporary paths valid, that's your job now, 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