SoPath Methods |
The SoPath type exposes the following members.
Name | Description | |
---|---|---|
Append(Int32) | Adds node to end of chain; the node is the childIndex'th child of the current tail node. | |
Append(SoNode) | Adds node to end of chain; uses the first occurrence of childNode as child of current tail node. | |
Append(SoPath) | 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. | |
ContainsNode(Type) | Returns true if the node type is found anywhere in the path chain. | |
ContainsNode(SoNode) | Returns true if the node is found anywhere in the path chain. | |
ContainsPath | Returns true if the nodes in the chain in the passed path are contained (in consecutive order) in this path chain. | |
Copy | Calls Copy(System.Int32(0), System.Int32(0)). | |
Copy(Int32) | Calls Copy(startFromNodeIndex, System.Int32(0)). | |
Copy(Int32, Int32) | Creates and returns a new path that is a copy of some or all of this path. | |
Dispose |
Releases all resources used by SoDisposable.
(Inherited from SoDisposable.) | |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
FindFork | If the two paths have different head nodes, this returns -1. | |
GetByName(String) | Method to return a path with a given name. | |
GetByName(String, SoPathList) | Method to return paths with a given name. | |
GetHashCode |
Overrides GetHashCode().
(Inherited from SoNetBase.) | |
GetHead | Returns the first node in a path chain. | |
GetIndex | Returns the index of the i'th node (within its parent) in the chain. | |
GetIndexFromTail | Returns the index of the i'th node (within its parent) in the chain, counting backward from the tail node. | |
GetInstanceIndex | Returns the index of the instance inside the parent OIV.Inventor.Nodes.SoMultipleInstance, OIV.Inventor.Nodes.SoMultipleCopy or OIV.Inventor.Nodes.SoArray group. | |
GetInstanceIndexFromTail | Returns the index of the i'th node instance (within its parent, if it is a OIV.Inventor.Nodes.SoMultipleInstance, OIV.Inventor.Nodes.SoMultipleCopy or OIV.Inventor.Nodes.SoArray group in the chain, counting backward from the tail node. | |
GetLength | Obsolete. Returns length of path chain (number of nodes). | |
GetName | Returns the name of an instance. | |
GetNode(Int32) | Returns the i'th node (within its parent) in the chain. | |
GetNode(Type, Int32) | Returns the first node and its index, from the head of the given type in the chain. | |
GetNodeFromTail | Returns the i'th node (within its parent) in the chain, counting backward from the tail node. | |
GetStringName | (Inherited from SoBase.) | |
GetTail | Returns the last node in a path chain. | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IsSynchronizable | Gets the ScaleViz synchronizable state of this object. | |
Pop | The OIV.Inventor.SoPath.Push(System.Int32) and OIV.Inventor.SoPath.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. | |
Push | The OIV.Inventor.SoPath.Push(System.Int32) and OIV.Inventor.SoPath.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. | |
SetHead | Sets head node (first node in chain). | |
SetName | (Inherited from SoBase.) | |
SetSynchronizable | Sets this to be a ScaleViz synchronizable object. | |
ToString |
Converts this SoBase structure to a human readable string.
(Inherited from SoBase.) | |
Touch | Marks an instance as modified, simulating a change to it. | |
Truncate | Truncates the path chain, removing all nodes from index start on. |