Modifier and Type | Method and Description |
---|---|
void |
append(SoBaseKit childKit)
Adds childKit to end of chain.
|
void |
append(SoPath fromPath)
Adds all nodekits in fromPath's chain to end of chain.
|
boolean |
containsNode(SoBaseKit nodekit)
Returns true if the nodekit is found anywhere in the path chain.
|
boolean |
containsPath(SoPath path)
Returns true if the nodes in the given path argument are contained
(in consecutive order) in this path.
|
int |
findFork(SoPath path)
If the two paths have different head nodes,
this returns -1.
|
SoNode |
getHead()
Return the first node in a path chain
|
int |
getLength()
Returns length of path chain (number of nodekits).
|
SoNode |
getNode(int i)
Return the i'th nodekit in the chain.
|
SoNode |
getNodeFromTail(int i)
Return the i'th nodekit in the chain, counting backward from the tail node.
|
SoNode |
getTail()
Return the last nodekit in a path chain.
|
void |
pop()
Pop the last nodekit off the end of the path.
|
void |
setHead(SoNode node)
Sets head node (first node in chain).
|
void |
truncate(int start)
Truncates the path chain, removing all nodes from index start on.
|
void setHead(SoNode node)
SoNode getHead()
void append(SoBaseKit childKit)
void append(SoPath fromPath)
void pop()
SoNode getTail()
SoNode getNode(int i)
SoNode getNodeFromTail(int i)
int getLength()
void truncate(int start)
boolean containsNode(SoBaseKit nodekit)
boolean containsPath(SoPath path)
int findFork(SoPath path)
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com