hmi.elckerlyc.animationengine.transitions
Class HermiteSplinePhysicalTransitionMU
java.lang.Object
hmi.elckerlyc.animationengine.motionunit.AbstractMotionUnit
hmi.elckerlyc.animationengine.transitions.TransitionMU
hmi.elckerlyc.animationengine.transitions.HermiteSplinePhysicalTransitionMU
- All Implemented Interfaces:
- KeyPositionManager, MotionUnit
public class HermiteSplinePhysicalTransitionMU
- extends TransitionMU
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
qStart
private float[] qStart
qEnd
private float[] qEnd
wStart
private float[] wStart
wEnd
private float[] wEnd
q
private float[] q
player
private AnimationPlayer player
logger
private org.slf4j.Logger logger
HermiteSplinePhysicalTransitionMU
public HermiteSplinePhysicalTransitionMU()
HermiteSplinePhysicalTransitionMU
public HermiteSplinePhysicalTransitionMU(List<VJoint> j,
AnimationPlayer pl)
- Constructs the transition unit, assumes all lists have the same length
- Parameters:
j - joints to steerpl - animationplayer
copy
public TransitionMU 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- Specified by:
copy in class TransitionMU
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- Specified by:
play in class TransitionMU
- Parameters:
t - execution time, 0 < t < 1
setStartPose
public void setStartPose()
- Specified by:
setStartPose in class TransitionMU
setEndPose
public void setEndPose(double endTime,
double duration)
- Specified by:
setEndPose in class TransitionMU