#include <Inventor/SoNodeKitPath.h>
Inheritance diagram for SoNodeKitPath::
Public Methods | |
int | getLength (void) const |
SoNode * | getTail (void) const |
SoNode * | getNode (const int idx) const |
SoNode * | getNodeFromTail (const int idx) const |
void | truncate (const int length) |
void | pop (void) |
void | append (SoBaseKit *childKit) |
void | append (const SoNodeKitPath *fromPath) |
SbBool | containsNode (SoBaseKit *node) const |
int | findFork (const SoNodeKitPath *path) const |
Protected Methods | |
SoNodeKitPath (const int approxLength) | |
virtual | ~SoNodeKitPath () |
Friends | |
COIN_DLL_API int | operator== (const SoNodeKitPath &p1, const SoNodeKitPath &p2) |
All other nodes are hidden from the user.
|
A constructor. |
|
The destructor. |
|
Returns the length of the path (the number of nodekit nodes). Reimplemented from SoPath. |
|
Returns the tail of the path (the last nodekit in the path). Reimplemented from SoPath. |
|
Returns nodekit number idx in path. Reimplemented from SoPath. |
|
Returns nodekit number idx in the path, from the tail. Reimplemented from SoPath. |
|
Truncates the path at nodekit number length. Reimplemented from SoPath. |
|
Pops off the last nodekit (truncates at last tail). Reimplemented from SoPath. |
|
Appends childKit to the path. childKit should be a part in the tail nodekit of this path. In effect, the path from the tail to first occurrance of childKit will be appended to the path. |
|
Appends the nodekit path to this path. Head of fromPath must be a part in the current tail. |
|
Returns |
|
Returns the index of last common nodekit, or -1 if head node differs. |
|
Returns |