All Frameworks  Object Hierarchy  This Framework  Indexes   

SWKSegmentNode (Object)

This interface characterizes a segment node.

A segment node is a convenient way to regroup segments. The segment nodes are the entities that appear under the manikin in the specification tree, and that regroup segments together (i.e. "Trunk", "Cervical", "Right Fingers").

Property Index

NbChildrenNodes
Returns the number of children segment nodes under this node.
NbChildrenSegments
Returns the number of children segments under this node.

Method Index

GetSegment
Returns a specific child of the segment node, based on an index.
GetSegmentNode
Returns a specific child of the segment node, based on an index.
MirrorCopyPosture
Copy the posture on the equivalent segment node, on the other side of the manikin.
ResetPosture
Set the posture of all segment under this node back to their default position.
SwapPosture
Swap the posture with the equivalent segment node, on the other side of the manikin.

Properties


o Property NbChildrenNodes() As (Read Only)
Returns the number of children segment nodes under this node.
o Property NbChildrenSegments() As (Read Only)
Returns the number of children segments under this node.

Methods


o Func GetSegment( piIndex) As
Returns a specific child of the segment node, based on an index.
Parameters:
piIndex
The index of the segment to retrieve.
The first segment is at index 0.
The value of this parameter should not be higher than the number of segments on this segment node, minus 1.
o Func GetSegmentNode( piIndex) As
Returns a specific child of the segment node, based on an index.
Parameters:
piIndex
The index of the segment node to retrieve.
The first segment is at index 0.
The value of this parameter should not be higher than the number of children nodes on this segment node, minus 1.
o Sub MirrorCopyPosture()
Copy the posture on the equivalent segment node, on the other side of the manikin. For instance, it copies the posture from the right leg to the left leg.
o Sub ResetPosture()
Set the posture of all segment under this node back to their default position.
o Sub SwapPosture()
Swap the posture with the equivalent segment node, on the other side of the manikin. For instance, the right leg takes the posture of the left leg, and vice versa.

Copyright © 2003, Dassault Systèmes. All rights reserved.