27 #include <Inventor/misc/SoBase.h>
28 #include <Inventor/lists/SbList.h>
29 #include <Inventor/lists/SoNodeList.h>
33 #include <Inventor/SoLists.h>
34 #endif // !COIN_INTERNAL
49 SoPath(
const int approxlength = 4);
58 void setHead(
SoNode *
const head);
59 SoNode * getHead(
void)
const;
60 void append(
const int childindex);
61 void append(
SoNode *
const node);
62 void append(
const SoPath *
const frompath);
63 void push(
const int childindex);
65 SoNode * getTail(
void)
const;
66 SoNode * getNode(
const int index)
const;
67 SoNode * getNodeFromTail(
const int index)
const;
68 int getIndex(
const int index)
const;
69 int getIndexFromTail(
const int index)
const;
70 int getLength(
void)
const;
71 void truncate(
const int length);
73 int findFork(
const SoPath *
const path)
const;
74 int findNode(
const SoNode *
const node)
const;
76 SbBool containsNode(
const SoNode *
const node)
const;
77 SbBool containsPath(
const SoPath *
const path)
const;
78 SoPath * copy(
const int startfromnodeindex = 0,
int numnodes = 0)
const;
79 friend COIN_DLL_API SbBool operator==(
const SoPath & lhs,
const SoPath & rhs);
80 friend COIN_DLL_API SbBool operator!=(
const SoPath & lhs,
const SoPath & rhs);
85 void insertIndex(
SoNode *
const parent,
const int newindex);
86 void removeIndex(
SoNode *
const parent,
const int oldindex);
87 void replaceIndex(
SoNode *
const parent,
const int index,
89 SbBool isRelevantNotification(
SoNotList *
const l)
const;
95 void auditPath(
const SbBool flag);
98 static void cleanupClass(
void);
99 static void * createInstance(
void);
100 void append(
SoNode *
const node,
const int index);
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;
122 SoPath::getFullLength(
void)
const
136 this->
truncate(this->getFullLength() - 1);
142 #ifndef COIN_INTERNAL
144 #include <Inventor/SoFullPath.h>
145 #include <Inventor/misc/SoLightPath.h>
146 #endif // COIN_INTERNAL
148 #endif // !COIN_SOPATH_H