HAnimSegment
Each body segment is stored in a HAnimSegment node. HAnimSegment contains Coordinate, HAnimDisplacer and children nodes.
Inheritance
Code
XML encoding
<HAnimSegment centerOfMass='0 0 0' mass='0' momentsOfInertia='0 0 0 0 0 0 0 0 0' name='' bboxCenter='0 0 0' bboxSize='-1 -1 -1' render='TRUE' showBBox='FALSE' logFeature='' />
Classic encoding
HAnimSegment { centerOfMass 0 0 0 mass 0 momentsOfInertia [0 0 0 0 0 0 0 0 0] name "" bboxCenter 0 0 0 bboxSize -1 -1 -1 render TRUE showBBox FALSE logFeature [""] }
Interface
Filter: X3D only | Avalon only | All
id | Name | DataType | PartType | Default | ValueType | Description |
---|---|---|---|---|---|---|
momentsOfInertia | MFFloat | inputOutput | 0 0 0 0 0 0 0 0 0 | 3x3 moments of inertia matrix. default: 0 0 0 0 0 0 0 0 0. | ||
addChildren | MFNode | inputOnly | The addChildren event appends nodes to the children field of a grouping node. Any nodes passed to the addChildren inputOnly field that are already in the children list of the grouping node are ignored | |||
children | MFNode | inputOutput | Node | field that contains a list of children nodes | ||
displacers | MFNode | inputOutput | HAnimDisplacer | The displacers field stores the Displacer objects for a particular Segment object. | ||
removeChildren | MFNode | inputOnly | The removeChildren event removes nodes from the children fieldof the grouping node . Any nodes in the removeChildren event that are not in the children list of the grouping node are ignored | |||
logFeature | MFString | inputOutput | state, child, parent, route, eventIn, eventOut | controls the logging of changes, state: log state changes (e.g. live), child: log child add/remove, parent: log parent add/remove, route: log route add/remove; eventIn: log receiving of events, eventOut: log sending of events: guiView, runtime system should create node-view, guiEdit: runtime system should create node-editeverything: log everything | ||
render | SFBool | inputOutput | TRUE | Flag to control the visibility of the node or subtree | ||
showBBox | SFBool | inputOutput | FALSE | Show Bounding Box of Subtree. | ||
mass | SFFloat | inputOutput | 0 | Total mass of the segment, 0 if not available. | ||
coord | SFNode | inputOutput | Coordinate | The coord field is used for Segment objects that have deformable meshes and shall contain coordinates referenced from the IndexedFaceSet for the Segment object. | ||
metadata | SFNode | inputOutput | MetadataObject | container for payload metadata inside MetadataSet element | ||
name | SFString | inputOutput | HAnimSegment naming is very important! use definitions in the H-Anim specification examples: l_knee r_ankle vc6 l_acromioclavicular r_wrist etc. | |||
bboxCenter | SFVec3f | initializeOnly | 0 0 0 | Bounding box center: position offset from origin of local coordinate system. | ||
bboxSize | SFVec3f | initializeOnly | -1 -1 -1 | Bounding box size: automatically calculated, can be specified as an optimization or constraint. | ||
centerOfMass | SFVec3f | inputOutput | 0 0 0 | Location within segment of center of mass. |