instantreality 1.0

Component:
H-Anim
Status:
fully implemented
Structure type:
concrete
Standard:
X3D3.0

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
SFVec3f centerOfMass SFVec3f inputOutput 0 0 0 Location within segment of center of mass.
SFNode 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.
MFNode displacers MFNode inputOutput HAnimDisplacer The displacers field stores the Displacer objects for a particular Segment object.
SFFloat mass SFFloat inputOutput 0 Total mass of the segment, 0 if not available.
MFFloat 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.
SFString 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.
MFNode children MFNode inputOutput Node field that contains a list of children nodes
MFNode 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
MFNode 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
SFVec3f bboxCenter SFVec3f initializeOnly 0 0 0 Bounding box center: position offset from origin of local coordinate system.
SFVec3f bboxSize SFVec3f initializeOnly -1 -1 -1 Bounding box size: automatically calculated, can be specified as an optimization or constraint.
SFNode metadata SFNode inputOutput MetadataObject container for payload metadata inside MetadataSet element