BlendingLocomotionContainer
Does preprocessing for generated locomotions like calculation of weighting functions.
Inheritance
Code
XML encoding
<BlendingLocomotionContainer weights='' paramVec='0.5 0.5 0.5' linearCoef='0' radialCoef='0' leastdist='' lastParamVec='0.5 0.5 0.5' absRot='0 1 0 0' changePos='0 0 0' pathLocalRot='0 1 0 0' pathLocalPos='0 0 0' pathOffsetPos='0 0 0' pathOffsetRot='0 1 0 0' transitionVec='0.5 0.5 0.5' transitionNr='0' lastFraction='0' fieldnames='' targetnames='' name='' logFeature='' />
Classic encoding
BlendingLocomotionContainer { weights [] paramVec [0.5 0.5 0.5] linearCoef 0 radialCoef 0 leastdist [] lastParamVec [0.5 0.5 0.5] absRot 0 1 0 0 changePos 0 0 0 pathLocalRot 0 1 0 0 pathLocalPos 0 0 0 pathOffsetPos 0 0 0 pathOffsetRot 0 1 0 0 transitionVec [0.5 0.5 0.5] transitionNr 0 lastFraction 0 fieldnames [""] targetnames [""] name "" logFeature [""] }
Interface
Filter: X3D only | Avalon only | All
id | Name | DataType | PartType | Default | ValueType | Description |
---|---|---|---|---|---|---|
absRot | SFRotation | initializeOnly | 0 1 0 0 | orientation value in world coordinates | ||
changePos | SFVec3f | initializeOnly | 0 0 0 | local position change | ||
fieldnames | MFString | initializeOnly | to find the field inside the target | |||
lastFraction | SFFloat | initializeOnly | 0 | the last fraction value, when the AnimationController was triggered | ||
lastParamVec | MFFloat | initializeOnly | 0.5 0.5 0.5 | the parameter vector which was active at the last fraction value | ||
leastdist | MFFloat | initializeOnly | the least distance for each parameter vector of the example motions - distance between all other example motion parameter vectors are considered | |||
linearCoef | SFFloat | initializeOnly | 0 | estimated linear coefficients for the cardinal basis functions for each example motion to compute the weights for motion blending | ||
locomotionContainer | MFNode | inputOutput | holding example motions | |||
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 | ||
metadata | SFNode | inputOutput | MetadataObject | container for payload metadata inside MetadataSet element | ||
name | SFString | initializeOnly | The name of the animation object as given in the PML definition. Here, the PML id must be the same as the value of this field for setting up the connection between PML and X3D. | |||
paramVec | MFFloat | inputOutput | 0.5 0.5 0.5 | parameter vector, here the values of the parameter dimensions are held | ||
pathLocalPos | SFVec3f | initializeOnly | 0 0 0 | local position value of a cycle of one or more motions, if more than one motion cycles combination of the position values, through concentrating on position changes | ||
pathLocalRot | SFRotation | initializeOnly | 0 1 0 0 | current rotation value of the current motion cycle in local coordinates | ||
pathOffsetPos | SFVec3f | initializeOnly | 0 0 0 | position offset, is added to every local position value | ||
pathOffsetRot | SFRotation | initializeOnly | 0 1 0 0 | rotation offset, to align orientation values | ||
radialCoef | SFFloat | initializeOnly | 0 | estimated radial coefficients for the cardinal basis functions for each example motion to compute the weights for motion blending | ||
targetnames | MFString | initializeOnly | names of target nodes to be animated resp. changed | |||
transitionNr | SFFloat | initializeOnly | 0 | for a transition motion, the value of the current stepnumber, iteration variable | ||
transitionVec | MFFloat | initializeOnly | 0.5 0.5 0.5 | the transition parameter vector, after transition the running motion is to be the motion for this parameter vector | ||
weights | MFFloat | initializeOnly | weights for combination of the example motions - motion blending, computed through the cardinal basis function |