![]() |
Coin
4.0.10
Coin3D core library
|
The SoFullPath class allows examination of hidden children in paths. More...
#include <Inventor/SoFullPath.h>
Additional Inherited Members | |
Static Public Member Functions inherited from SoPath | |
| static SoPath * | getByName (const SbName name) |
| static int | getByName (const SbName name, SoPathList &l) |
| static SoType | getClassTypeId (void) |
| This static method returns the SoType object associated with objects of this class. | |
| 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 Public Member Functions inherited from SoBase | |
| static void | addName (SoBase *const base, const char *const name) |
| static SbBool | connectRoute (SoInput *input, const SbName &fromnodename, const SbName &fromfieldname, const SbName &tonodename, const SbName &tofieldname) |
| static void | decrementCurrentWriteCounter (void) |
| static SoType | getClassTypeId (void) |
| This static method returns the SoType object associated with objects of this class. | |
| static SoBase * | getNamedBase (const SbName &name, SoType type) |
| static int | getNamedBases (const SbName &name, SoBaseList &baselist, SoType type) |
| static SbBool | getTraceRefs (void) |
| static void | incrementCurrentWriteCounter (void) |
| 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 SbBool | read (SoInput *input, SoBase *&base, SoType expectedtype) |
| static SbBool | readRoute (SoInput *input) |
| static void | removeName (SoBase *const base, const char *const name) |
| static void | setInstancePrefix (const SbString &c) |
| static void | setTraceRefs (SbBool trace) |
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 SoNotRec | createNotRec (void) |
| virtual void | destroy (void) |
| virtual const char * | getFileFormatName (void) const |
| SbBool | hasMultipleWriteRefs (void) const |
| void | writeFooter (SoOutput *out) const |
| SbBool | writeHeader (SoOutput *out, SbBool isgroup, SbBool isengine) const |
Static Protected Member Functions inherited from SoBase | |
| static uint32_t | getCurrentWriteCounter (void) |
| static void | staticDataLock (void) |
| static void | staticDataUnlock (void) |
The SoFullPath class allows examination of hidden children in paths.
SoPath::getTail() and SoPath::getLength() stop at the first node with hidden children. To inspect the complete path, use SoPath::fullPath().
Historically, callers cast SoPath instances to SoFullPath to access hidden children. Such a downcast has undefined behavior unless the object actually derives from SoFullPath. SoPath::fullPath() provides this functionality without a cast.
SoFullPath is retained for compatibility and as the base of SoTempPath. Its accessors delegate to SoFullPathView.
| 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.
| int SoFullPath::getLength | ( | void | ) | const |
This method returns the length of the path, counting hidden nodes also.
This method overrides SoPath::getNodeFromTail() to allow clients to get the node positioned index nodes from the tail, counting internal path nodes.
This method overrides SoPath::getTail() to allow clients to get the tail node, counting internal path nodes.
Removes the actual tail, including hidden children, just like SoPath::pop().