|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MotionUnit
An animation, typically with a peak-like structure, parameterized by a parameter set Contains a set of keys that map to 'world' time to animation time
| Method Summary | |
|---|---|
MotionUnit |
copy(AnimationPlayer p)
Create a copy of this motion unit and link it to the animationplayer |
TimedMotionUnit |
createTMU(BMLBlockPeg bmlBlockPeg,
String i,
String bmlId)
Creates the TimedMotionUnit corresponding to this motion unit |
String |
getParameterValue(String name)
|
MotionUnit |
getPredictor(VJoint vPredict)
Returns a new motion unit that can be used as a predictor for this motion unit, null if prediction is not attainable |
double |
getPreferedDuration()
|
String |
getReplacementGroup()
Get the motionunit replacement group (=typically the BML behavior) Used to determine the currently active persistent TMU for this group in the player Only one group is active at a time |
void |
play(double t)
Executes the motion unit, typically by rotating some VJoints |
void |
setParameterValue(String name,
float value)
|
void |
setParameterValue(String name,
String value)
|
| Methods inherited from interface hmi.elckerlyc.animationengine.KeyPositionManager |
|---|
addKeyPosition, getKeyPosition, getKeyPositions, removeKeyPosition, setKeyPositions |
| Method Detail |
|---|
void setParameterValue(String name,
float value)
void setParameterValue(String name,
String value)
String getParameterValue(String name)
void play(double t)
throws MUPlayException
t - execution time, 0 < t < 1
MUPlayException - if the play fails for some reason
TimedMotionUnit createTMU(BMLBlockPeg bmlBlockPeg,
String i,
String bmlId)
i - behaviour idbmlId - BML block id
MotionUnit getPredictor(VJoint vPredict)
vPredict - VJoint to execute the prediction on
double getPreferedDuration()
MotionUnit copy(AnimationPlayer p)
String getReplacementGroup()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||