|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--kinetic.TimeFilter
base time fitler class. provides all the routines the enigne needs to execute time filters
Field Summary | |
protected kinetic.KineticProperty |
duration
common duration property |
protected boolean |
isDone
flag used for completion |
protected java.util.ArrayList |
properties
internal property list |
Constructor Summary | |
TimeFilter()
creates a new instance of a time filter |
Method Summary | |
abstract double |
apply(double time)
method called by engine to calculate ne output time value |
void |
clear()
clears all known animation data |
double |
getDuration()
get duration |
java.util.ArrayList |
getPropertyList()
get property list |
boolean |
isDone()
checks if it is done |
void |
PrepareVariables(double time)
prepare internal variables/properties with unprocessed time |
void |
reset()
reset internal variables |
void |
setDuration(double dur)
set duration |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.util.ArrayList properties
protected kinetic.KineticProperty duration
protected boolean isDone
Constructor Detail |
public TimeFilter()
Method Detail |
public abstract double apply(double time)
time
- input value of time
public void PrepareVariables(double time)
time
- value of timepublic java.util.ArrayList getPropertyList()
public double getDuration()
public void setDuration(double dur)
dur
- durationpublic boolean isDone()
public void reset()
public void clear()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |