52#ifndef _SO_NODE_KIT_PATH_
53#define _SO_NODE_KIT_PATH_
55#include <Inventor/SbBasic.h>
56#include <Inventor/SoPath.h>
Base class for all node kits.
Abstract base class for all database nodes.
Path that points to a list of hierarchical nodekits.
void append(const SoNodeKitPath *fromPath)
Adds all nodekits in fromPath's chain to end of chain; the head node of fromPath must be the same as ...
SoNode * getTail() const
Return the last nodekit in a path chain.
void append(SoBaseKit *childKit)
Adds childKit to end of chain; uses first occurrence of childKit as a part within current last nodeki...
SbBool containsNode(SoBaseKit *node) const
Returns TRUE if the passed nodekit is found anywhere in the path chain.
SoNode * getNodeFromTail(int i) const
Returns the i'th nodekit in the chain, counting backward from the tail nodekit.
friend int operator==(const SoNodeKitPath &p1, const SoNodeKitPath &p2)
Returns TRUE if all nodes in the two nodekit path chains are equal.
int findFork(const SoNodeKitPath *path) const
If the two paths have different head nodes, this returns -1.
void pop()
Pops the last nodekit off the end of the path.
void truncate(int start)
Truncates the path chain, removing all nodes from index start on.
SoNode * getNode(int i) const
Returns the i'th node in the nodekit path.
int getLength() const
Returns length of path chain (number of nodekits).
Path that points to a list of hierarchical nodes.
Searches for nodes in a scene graph.