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 * createInstance(
void);
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;
112 friend class SoFullPath;
113 friend class SoNodeKitPath;
114 friend class SoAction;
115 friend class SoTempPath;
121SoPath::getFullLength(
void)
const
135 this->
truncate(this->getFullLength() - 1);
143#include <Inventor/SoFullPath.h>
144#include <Inventor/misc/SoLightPath.h>
The SbList class is a template container class for lists.
Definition SbList.h:47
The SbName class stores strings by reference.
Definition SbName.h:31
int getLength(void) const
Definition SbPList.h:94
SoBase(void)
Definition SoBase.cpp:298
virtual SbBool readInstance(SoInput *in, unsigned short flags)=0
static SoType getClassTypeId(void)
Definition SoBase.cpp:720
static void initClass(void)
Definition SoBase.cpp:455
virtual SoType getTypeId(void) const =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:128
SoNode * getNode(const int index) const
Definition SoPath.cpp:402
int getIndex(const int index) const
Definition SoPath.cpp:436
SoPath(const int approxlength=4)
Definition SoPath.cpp:98
SoNode * getHead(void) const
Definition SoPath.cpp:180
virtual void write(SoWriteAction *action)
Definition SoPath.cpp:933
void auditPath(const SbBool flag)
Definition SoPath.cpp:1026
void push(const int childindex)
Definition SoPath.h:127
static SoPath * getByName(const SbName name)
Definition SoPath.cpp:718
void removeIndex(SoNode *const parent, const int oldindex)
Definition SoPath.cpp:779
SoNode * getTail(void) const
Definition SoPath.cpp:373
SoNode * getNodeFromTail(const int index) const
Definition SoPath.cpp:419
void replaceIndex(SoNode *const parent, const int index, SoNode *const newchild)
Definition SoPath.cpp:817
SoPath * copy(const int startfromnodeindex=0, int numnodes=0) const
Definition SoPath.cpp:673
void setHead(SoNode *const head)
Definition SoPath.cpp:167
int getIndexFromTail(const int index) const
Definition SoPath.cpp:455
void append(const int childindex)
Definition SoPath.cpp:191
void pop(void)
Definition SoPath.h:133
SbBool isRelevantNotification(SoNotList *const l) const
Definition SoPath.cpp:976
SbBool containsPath(const SoPath *const path) const
Definition SoPath.cpp:611
friend SbBool operator==(const SoPath &lhs, const SoPath &rhs)
Definition SoPath.cpp:634
int getLength(void) const
Definition SoPath.cpp:473
void insertIndex(SoNode *const parent, const int newindex)
Definition SoPath.cpp:750
SbBool containsNode(const SoNode *const node) const
Definition SoPath.cpp:601
void truncate(const int length)
Definition SoPath.cpp:493
int findNode(const SoNode *const node) const
Definition SoPath.cpp:587
int findFork(const SoPath *const path) const
Definition SoPath.cpp:565
friend SbBool operator!=(const SoPath &lhs, const SoPath &rhs)
Definition SoPath.cpp:656
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:31