36#include <Inventor/misc/SoBase.h>
37#include <Inventor/lists/SbList.h>
38#include <Inventor/lists/SoNodeList.h>
42#include <Inventor/SoLists.h>
58 SoPath(
const int approxlength = 4);
69 void append(
const int childindex);
72 void push(
const int childindex);
87 SoPath *
copy(
const int startfromnodeindex = 0,
int numnodes = 0)
const;
107 static void cleanupClass(
void);
108 static void * createInstance(
void);
110 int getFullLength(
void)
const;
111 void truncate(
const int length,
const SbBool donotify);
113 void setFirstHidden(
void);
119 SbBool firsthiddendirty;
120 static SoType classTypeId;
122 friend class SoFullPath;
123 friend class SoNodeKitPath;
124 friend class SoAction;
125 friend class SoTempPath;
131SoPath::getFullLength(
void)
const
145 this->
truncate(this->getFullLength() - 1);
153#include <Inventor/SoFullPath.h>
154#include <Inventor/misc/SoLightPath.h>
The SbList class is a template container class for lists.
Definition SbList.h:70
The SbName class stores strings by reference.
Definition SbName.h:40
int getLength(void) const
Definition lists/SbPList.h:103
SoBase(void)
Definition SoBase.cpp:190
static SoType getClassTypeId(void)
This static method returns the SoType object associated with objects of this class.
Definition SoBase.cpp:641
static void initClass(void)
Sets up initialization for data common to all instances of this class, like submitting necessary info...
Definition SoBase.cpp:351
virtual SoType getTypeId(void) const =0
Returns the type identification of an object derived from a class inheriting SoBase....
virtual SbBool readInstance(SoInput *input, unsigned short flags)=0
The SoNodeList class is a container for pointers to SoNode objects.
Definition SoNodeList.h:40
The SoNode class is the base class for nodes used in scene graphs.
Definition SoNode.h:56
The SoNotList class is a list of SoNotRec notification records.
Definition SoNotification.h:43
The SoPathList class is a container for pointers to SoPath objects.
Definition SoPathList.h:40
SoPath & operator=(const SoPath &rhs)
Definition SoPath.cpp:148
SoNode * getNode(const int index) const
Definition SoPath.cpp:434
int getIndex(const int index) const
Definition SoPath.cpp:468
SoPath(const int approxlength=4)
Definition SoPath.cpp:118
SoNode * getHead(void) const
Definition SoPath.cpp:200
virtual void write(SoWriteAction *action)
Definition SoPath.cpp:968
void auditPath(const SbBool flag)
Definition SoPath.cpp:1061
void push(const int childindex)
Definition SoPath.h:137
static SoPath * getByName(const SbName name)
Definition SoPath.cpp:753
void removeIndex(SoNode *const parent, const int oldindex)
Definition SoPath.cpp:814
SoNode * getTail(void) const
Definition SoPath.cpp:405
SoNode * getNodeFromTail(const int index) const
Definition SoPath.cpp:451
void replaceIndex(SoNode *const parent, const int index, SoNode *const newchild)
Definition SoPath.cpp:852
SoPath * copy(const int startfromnodeindex=0, int numnodes=0) const
Definition SoPath.cpp:708
void setHead(SoNode *const head)
Definition SoPath.cpp:187
int getIndexFromTail(const int index) const
Definition SoPath.cpp:487
void append(const int childindex)
Definition SoPath.cpp:211
void pop(void)
Definition SoPath.h:143
SbBool isRelevantNotification(SoNotList *const l) const
Definition SoPath.cpp:1011
SbBool containsPath(const SoPath *const path) const
Definition SoPath.cpp:646
friend SbBool operator==(const SoPath &lhs, const SoPath &rhs)
Definition SoPath.cpp:669
int getLength(void) const
Definition SoPath.cpp:508
void insertIndex(SoNode *const parent, const int newindex)
Definition SoPath.cpp:785
SbBool containsNode(const SoNode *const node) const
Definition SoPath.cpp:636
void truncate(const int length)
Definition SoPath.cpp:528
int findNode(const SoNode *const node) const
Definition SoPath.cpp:622
int findFork(const SoPath *const path) const
Definition SoPath.cpp:600
friend SbBool operator!=(const SoPath &lhs, const SoPath &rhs)
Definition SoPath.cpp:691
The SoType class is the basis for the runtime type system in Coin.
Definition SoType.h:59
The SoWriteAction class writes a scene graph to file.
Definition SoWriteAction.h:42