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
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.
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 children MFNode inputOutput Node field that contains a list of children nodes
MFNode displacers MFNode inputOutput HAnimDisplacer The displacers field stores the Displacer objects for a particular Segment object.
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
MFString 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
SFBool render SFBool inputOutput TRUE Flag to control the visibility of the node or subtree
SFBool showBBox SFBool inputOutput FALSE Show Bounding Box of Subtree.
SFFloat mass SFFloat inputOutput 0 Total mass of the segment, 0 if not available.
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.
SFNode metadata SFNode inputOutput MetadataObject container for payload metadata inside MetadataSet element
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.
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.
SFVec3f centerOfMass SFVec3f inputOutput 0 0 0 Location within segment of center of mass.