|
void | pop () |
| Override methods that normally stop at last public child: More...
|
|
SoNode * | getTail () const |
| These return the first and last nodes in a path chain. More...
|
|
SoNode * | getNodeFromTail (int i) const |
| Returns a pointer to the i'th node. Passing 0 for i returns the tail node. More...
|
|
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. More...
|
|
int | getLength () const |
| Returns length of path chain (number of nodes). More...
|
|
| SoPath () |
| Constructs an empty path. More...
|
|
| SoPath (int approxLength) |
| Constructs a path with a hint to length (number of nodes in chain). More...
|
|
| SoPath (SoNode *node) |
| Constructs a path and sets the head node to the given node. More...
|
|
void | setHead (SoNode *node) |
| Sets head node (first node in chain). More...
|
|
void | append (int childIndex) |
| Adds node to end of chain; the node is the childIndex'th child of the current tail node. More...
|
|
void | append (SoNode *childNode) |
| Adds node to end of chain; uses the first occurrence of childNode as child of current tail node. More...
|
|
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. More...
|
|
void | push (int childIndex) |
| These 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. More...
|
|
void | pop () |
| These 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. More...
|
|
SoNode * | getHead () const |
| These return the first and last nodes in a path chain. More...
|
|
SoNode * | getTail () const |
| These return the first and last nodes in a path chain. More...
|
|
SoNode * | getNode (int i) const |
| Returns a pointer to the i'th node in the chain. More...
|
|
SoNode * | getNodeFromTail (int i) const |
| Returns a pointer to the i'th node. More...
|
|
int | getIndex (int i) const |
| Return the index of the i'th node (within its parent) in the chain. More...
|
|
int | getIndexFromTail (int i) const |
| Return the index of the i'th node (within its parent) in the chain, counting backward from the tail node. More...
|
|
int | getLength () const |
| Returns length of path chain (number of nodes). More...
|
|
void | truncate (int start) |
| Truncates the path chain, removing all nodes from index start on. More...
|
|
bool | containsNode (const SoNode *node) const |
| Returns TRUE if the node is found anywhere in the path chain. More...
|
|
bool | 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. More...
|
|
int | findFork (const SoPath *path) const |
| If the two paths have different head nodes, this returns -1. More...
|
|
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. More...
|
|
virtual SoType | getTypeId () const |
| Returns type identifier for path instance. More...
|
|
void | insertIndex (SoNode *parent, int newIndex) |
| This is called when a node in the path chain has a child added. More...
|
|
void | removeIndex (SoNode *parent, int oldIndex) |
| This is called when a node in the path chain has a child removed. More...
|
|
void | replaceIndex (SoNode *parent, int index, SoNode *newChild) |
| This is called when a node in the path chain replaces a child. More...
|
|
virtual void | write (SoWriteAction *writeAction) const |
| Writes path using given write action. More...
|
|
bool | isRelevantNotification (SoNotList *list) const |
| Returns TRUE if the given notification list involves a change to a node that affects the path. More...
|
|
void | ref () const |
| Adds and removes a reference to an instance. More...
|
|
void | unref () const |
|
void | unrefNoDelete () const |
|
void | touch () |
| Marks an instance as modified, simulating a change to it. More...
|
|
bool | isOfType (SoType type) const |
| Returns TRUE if this object is of the type specified in type or is derived from that type. More...
|
|
virtual SbName | getName () const |
| Returns the name of an instance. More...
|
|
virtual void | setName (const SbName &name) |
| Sets the name of an instance. More...
|
|
virtual void | startNotify () |
| Initiates notification from an instance. More...
|
|
virtual void | notify (SoNotList *list) |
| Propagates modification notification through an instance. More...
|
|
void | addAuditor (void *auditor, SoNotRec::Type type) |
| Adds/removes an auditor to/from list. More...
|
|
void | removeAuditor (void *auditor, SoNotRec::Type type) |
|
const SoAuditorList & | getAuditors () |
| Returns auditor list– used by SoField and SoEngineOutput to trace forward connections. More...
|
|
int | getRefCount () const |
| Returns current reference count. More...
|
|
virtual void | addWriteReference (SoOutput *out, bool isFromField=FALSE) |
| Adds a reference to the instance when writing. More...
|
|
bool | shouldWrite () |
| Returns TRUE if the instance should be written, based on the write-reference info already accumulated. More...
|
|