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 * createInstance(
void);
99 void append(
SoNode *
const node,
const int index);
100 int getFullLength(
void)
const;
101 void truncate(
const int length,
const SbBool donotify);
103 void setFirstHidden(
void);
109 SbBool firsthiddendirty;
110 static SoType classTypeId;
115 friend class SoTempPath;
121 SoPath::getFullLength(
void)
const 135 this->
truncate(this->getFullLength() - 1);
141 #ifndef COIN_INTERNAL 143 #include <Inventor/SoFullPath.h> 144 #include <Inventor/misc/SoLightPath.h> 145 #endif // COIN_INTERNAL 147 #endif // !COIN_SOPATH_H The SoBase class is the top-level superclass for a number of class-hierarchies.SoBase provides the ba...
Definition: SoBase.h:41
The SoPathList class is a container for pointers to SoPath objects.As this class inherits SoBaseList...
Definition: SoPathList.h:31
virtual SoType getTypeId(void) const =0
void push(const int childindex)
Definition: SoPath.h:127
The SoNodeKitPath class is a path that contains only nodekit nodes.All other nodes are hidden from th...
Definition: SoNodeKitPath.h:33
The SoNode class is the base class for nodes used in scene graphs.Coin is a retained mode 3D visualiz...
Definition: SoNode.h:47
The SoFullPath class allows examination of hidden children in paths.SoPath allows only access from th...
Definition: SoFullPath.h:29
The SoPath class is a container class for traversal path descriptions.SoPath objects contain a list o...
Definition: SoPath.h:43
The SoAction class is the base class for all traversal actions.Applying actions is the basic mechanis...
Definition: SoAction.h:67
virtual SbBool readInstance(SoInput *in, unsigned short flags)=0
static void initClass(void)
Definition: SoBase.cpp:455
void append(const int childindex)
Definition: SoPath.cpp:191
The SoNodeList class is a container for pointers to SoNode objects.As this class inherits SoBaseList...
Definition: SoNodeList.h:31
The SoWriteAction class writes a scene graph to file.When applied to a scene, this action writes its ...
Definition: SoWriteAction.h:31
static SoType getClassTypeId(void)
Definition: SoBase.cpp:720
void pop(void)
Definition: SoPath.h:133
The SoNotList class is a list of SoNotRec notification records.
Definition: SoNotification.h:34
The SoType class is the basis for the run-time type system in Coin.Many of the classes in the Coin li...
Definition: SoType.h:50
int getLength(void) const
Definition: SbPList.h:94
The SbName class stores strings by reference.The class is used by Coin for storing keywords...
Definition: SbName.h:31
void truncate(const int length)
Definition: SoPath.cpp:493