|
void | pop () |
| The push() and pop() methods allow a path to be treated as a stack; they push a node at the end of the chain and pop the last node off.
|
|
SoNode * | getTail () const |
| Returns the last node in a path chain.
|
|
SoNode * | getNodeFromTail (int i) const |
| Returns the i'th node (within its parent) in the chain, counting backward from the tail node.
|
|
int | getIndexFromTail (int i) const |
| Returns the index of the i'th node (within its parent) in the chain, counting backward from the tail node.
|
|
int | getInstanceIndexFromTail (int i) const |
| get instance Index from tail
|
|
int | getLength () const |
| Returns length of path chain (number of nodes).
|
|
| SoPath () |
| Constructs an empty path.
|
|
| SoPath (int approxLength) |
| Constructs a path with a hint to length (number of nodes in chain).
|
|
| SoPath (SoNode *node) |
| Constructs a path and sets the head node to the given node.
|
|
void | setHead (SoNode *node) |
| Sets head node (first node in chain).
|
|
void | append (int childIndex) |
| Adds node to end of chain; the node is the childIndex'th child of the current tail node.
|
|
void | append (SoNode *childNode) |
| Adds node to end of chain; uses the first occurrence of childNode as child of current tail node.
|
|
void | append (const SoPath *fromPath) |
| Adds all nodes in fromPath's chain to end of chain; the head node of fromPath must be the same as or a child of the current tail node.
|
|
void | push (int childIndex) |
| The push() and pop() methods allow a path to be treated as a stack; they push a node at the end of the chain and pop the last node off.
|
|
void | pop () |
| The push() and pop() methods allow a path to be treated as a stack; they push a node at the end of the chain and pop the last node off.
|
|
SoNode * | getHead () const |
| Returns the first node in a path chain.
|
|
SoNode * | getTail () const |
| Returns the last node in a path chain.
|
|
SoNode * | getNode (int i) const |
| Returns the i'th node (within its parent) in the chain.
|
|
SoNode * | getNode (const SoType type, int &i) const |
| Returns the first node and its index, from the head of the given type in the chain.
|
|
SoNode * | getNodeFromTail (int i) const |
| Returns the i'th node (within its parent) in the chain, counting backward from the tail node.
|
|
int | getIndex (int i) const |
| Returns the index of the i'th node (within its parent) in the chain.
|
|
int | getInstanceIndex (int i) const |
| Returns the index of the instance inside the parent SoMultipleInstance, SoMultipleCopy or SoArray group.
|
|
int | getIndexFromTail (int i) const |
| Returns the index of the i'th node (within its parent) in the chain, counting backward from the tail node.
|
|
int | getInstanceIndexFromTail (int i) const |
| Returns the index of the i'th node instance (within its parent, if it is a SoMultipleInstance, SoMultipleCopy or SoArray group in the chain, counting backward from the tail node.
|
|
int | getLength () const |
| Returns length of path chain (number of nodes).
|
|
void | truncate (int start) |
| Truncates the path chain, removing all nodes from index start on.
|
|
SbBool | containsNode (const SoNode *node) const |
| Returns TRUE if the node is found anywhere in the path chain.
|
|
SbBool | containsNode (const SoType type) const |
| Returns TRUE if the node type is found anywhere in the path chain.
|
|
SbBool | containsPath (const SoPath *path) const |
| Returns TRUE if the nodes in the chain in the passed path are contained (in consecutive order) in this path chain.
|
|
int | findFork (const SoPath *path) const |
| If the two paths have different head nodes, this returns -1.
|
|
SoPath * | copy (int startFromNodeIndex=0, int numNodes=0) const |
| Creates and returns a new path that is a copy of some or all of this path.
|
|
virtual SoType | getTypeId () const |
| Returns type identifier for path instance.
|
|
virtual void | touch () |
| Marks an instance as modified, simulating a change to it.
|
|
virtual SbName | getName () const |
| Returns the name of an instance.
|
|
virtual void | setName (const SbName &name) |
| Sets the name of an instance.
|
|
void | setSynchronizable (const bool b) |
| Sets this to be a ScaleViz synchronizable object.
|
|
bool | isSynchronizable () const |
| Gets the ScaleViz synchronizable state of this object.
|
|
void | ref () const |
| Adds a reference to an instance.
|
|
void | unref () const |
| Removes a reference from an instance.
|
|
void | unrefNoDelete () const |
| unrefNoDelete() should be called when it is desired to decrement the reference count, but not delete the instance if this brings the reference count to zero.
|
|
int | getRefCount () const |
| Returns current reference count.
|
|
void | lock () const |
| lock this instance.
|
|
void | unlock () const |
| unlock this instance.
|
|
SbBool | isOfType (const SoType &type) const |
| Returns TRUE if this object is of the type specified in type or is derived from that type.
|
|
template<typename TypedObjectClass> |
SbBool | isOfType () const |
| Returns TRUE if this object is of the type of class TypedObjectClass or is derived from that class.
|
|