27#include <Inventor/misc/SoBase.h>
28#include <Inventor/lists/SbList.h>
29#include <Inventor/lists/SoNodeList.h>
33#include <Inventor/SoLists.h>
49 SoPath(
const int approxlength = 4);
60 void append(
const int childindex);
63 void push(
const int childindex);
78 SoPath *
copy(
const int startfromnodeindex = 0,
int numnodes = 0)
const;
98 static void cleanupClass(
void);
99 static void * createInstance(
void);
101 int getFullLength(
void)
const;
102 void truncate(
const int length,
const SbBool donotify);
104 void setFirstHidden(
void);
110 SbBool firsthiddendirty;
111 static SoType classTypeId;
113 friend class SoFullPath;
114 friend class SoNodeKitPath;
115 friend class SoAction;
116 friend class SoTempPath;
122SoPath::getFullLength(
void)
const
136 this->
truncate(this->getFullLength() - 1);
144#include <Inventor/SoFullPath.h>
145#include <Inventor/misc/SoLightPath.h>
The SbList class is a template container class for lists.
Definition SbList.h:61
The SbName class stores strings by reference.
Definition SbName.h:31
int getLength(void) const
Definition SbPList.h:94
SoBase(void)
Definition SoBase.cpp:179
static SoType getClassTypeId(void)
Definition SoBase.cpp:616
static void initClass(void)
Definition SoBase.cpp:338
virtual SoType getTypeId(void) const =0
virtual SbBool readInstance(SoInput *input, unsigned short flags)=0
The SoNodeList class is a container for pointers to SoNode objects.
Definition SoNodeList.h:31
The SoNode class is the base class for nodes used in scene graphs.
Definition SoNode.h:47
The SoNotList class is a list of SoNotRec notification records.
Definition SoNotification.h:34
The SoPathList class is a container for pointers to SoPath objects.
Definition SoPathList.h:31
SoPath & operator=(const SoPath &rhs)
Definition SoPath.cpp:130
SoNode * getNode(const int index) const
Definition SoPath.cpp:416
int getIndex(const int index) const
Definition SoPath.cpp:450
SoPath(const int approxlength=4)
Definition SoPath.cpp:100
SoNode * getHead(void) const
Definition SoPath.cpp:182
virtual void write(SoWriteAction *action)
Definition SoPath.cpp:947
void auditPath(const SbBool flag)
Definition SoPath.cpp:1040
void push(const int childindex)
Definition SoPath.h:128
static SoPath * getByName(const SbName name)
Definition SoPath.cpp:732
void removeIndex(SoNode *const parent, const int oldindex)
Definition SoPath.cpp:793
SoNode * getTail(void) const
Definition SoPath.cpp:387
SoNode * getNodeFromTail(const int index) const
Definition SoPath.cpp:433
void replaceIndex(SoNode *const parent, const int index, SoNode *const newchild)
Definition SoPath.cpp:831
SoPath * copy(const int startfromnodeindex=0, int numnodes=0) const
Definition SoPath.cpp:687
void setHead(SoNode *const head)
Definition SoPath.cpp:169
int getIndexFromTail(const int index) const
Definition SoPath.cpp:469
void append(const int childindex)
Definition SoPath.cpp:193
void pop(void)
Definition SoPath.h:134
SbBool isRelevantNotification(SoNotList *const l) const
Definition SoPath.cpp:990
SbBool containsPath(const SoPath *const path) const
Definition SoPath.cpp:625
friend SbBool operator==(const SoPath &lhs, const SoPath &rhs)
Definition SoPath.cpp:648
int getLength(void) const
Definition SoPath.cpp:487
void insertIndex(SoNode *const parent, const int newindex)
Definition SoPath.cpp:764
SbBool containsNode(const SoNode *const node) const
Definition SoPath.cpp:615
void truncate(const int length)
Definition SoPath.cpp:507
int findNode(const SoNode *const node) const
Definition SoPath.cpp:601
int findFork(const SoPath *const path) const
Definition SoPath.cpp:579
friend SbBool operator!=(const SoPath &lhs, const SoPath &rhs)
Definition SoPath.cpp:670
The SoType class is the basis for the run-time type system in Coin.
Definition SoType.h:50
The SoWriteAction class writes a scene graph to file.
Definition SoWriteAction.h:33