hmi.elckerlyc.animationengine.pointing
Class DynamicPointingMU

java.lang.Object
  extended by hmi.elckerlyc.animationengine.motionunit.AbstractMotionUnit
      extended by hmi.elckerlyc.animationengine.pointing.PointingMU
          extended by hmi.elckerlyc.animationengine.pointing.DynamicPointingMU
All Implemented Interfaces:
KeyPositionManager, MotionUnit

public class DynamicPointingMU
extends PointingMU

Motion unit that points at moving targets.

Author:
Herwin van Welbergen

Field Summary
private  float[] qCurrElb
           
private  float[] qCurrSh
           
 
Fields inherited from class hmi.elckerlyc.animationengine.pointing.PointingMU
elbowId, fingerTipId, hand, player, preparationDuration, qElbow, qElbowStart, qShoulder, qShoulderStart, qTemp, ready, relax, shoulderId, solver, target, tmp, vecTemp, vecTemp2, vjElbow, vjFingerTip, vjShoulder, vjWrist, woManager, woTarget, wristId
 
Constructor Summary
DynamicPointingMU()
           
 
Method Summary
 DynamicPointingMU copy(AnimationPlayer p)
          Create a copy of this motion unit and link it to the animationplayer
 void play(double t)
          Executes the motion unit, typically by rotating some VJoints
 
Methods inherited from class hmi.elckerlyc.animationengine.pointing.PointingMU
createTMU, getParameterValue, getPredictor, getPreferedDuration, getReplacementGroup, setEndRotation, setHand, setParameterValue, setParameterValue, setStartPose, setTarget, setTimeManipulator
 
Methods inherited from class hmi.elckerlyc.animationengine.motionunit.AbstractMotionUnit
addKeyPosition, getKeyPosition, getKeyPositions, removeKeyPosition, setKeyPositions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

qCurrSh

private float[] qCurrSh

qCurrElb

private float[] qCurrElb
Constructor Detail

DynamicPointingMU

public DynamicPointingMU()
Method Detail

copy

public DynamicPointingMU copy(AnimationPlayer p)
Description copied from interface: MotionUnit
Create a copy of this motion unit and link it to the animationplayer

Specified by:
copy in interface MotionUnit
Overrides:
copy in class PointingMU

play

public void play(double t)
Description copied from interface: MotionUnit
Executes the motion unit, typically by rotating some VJoints

Specified by:
play in interface MotionUnit
Overrides:
play in class PointingMU
Parameters:
t - execution time, 0 < t < 1