|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface used for accessing to a 4D point.
IPoint3D
Method Summary | |
int |
addKey(double x,
double y,
double z,
long time)
Create a a new static key and add it to this animation |
int |
addKey(double x,
double y,
double z,
long time,
int interpolation)
Create a a new static key and add it to this animation |
int |
addKey(IPoint3D source,
long time)
Create a a new linked key and add it to this animation. |
int |
addKey(IPoint3D source,
long time,
int interpolation)
Create a a new linked key and add it to this animation |
long |
getPauseTime()
Return the pause time for this animation or 0 if not paused |
long |
getStartTime()
Return the starting time of this animation |
void |
pause()
Pause this animation |
void |
play()
Compute and update the internal(x,y,z) value using the time given by the ITimer (internal or external). |
void |
playAt(long time)
Compute and update the internal(x,y,z) value for the given time |
void |
removeKey(int n)
Remove a key from this animation |
void |
resume()
Resume this animation at the last pauseTime (startTime is updated) |
void |
setDefaultInterpolation(int i)
Set the default interpolatin mode |
void |
setLoop(long loopTime)
Set the loop time for this animation |
void |
setTimer(ITimer t)
Set timer to use with this interpolator |
void |
start()
Start or restart this animation |
void |
stop()
Stop this animator. |
Methods inherited from interface dzzd.IPoint3D |
add, copy, getCopy, getX, getY, getZ, normalize, set, setX, setY, setZ, sub |
Method Detail |
public long getStartTime()
public long getPauseTime()
public void setDefaultInterpolation(int i)
i
- default interpolation between key 0=none,1=linear,2=cosin,3=cubicpublic void setTimer(ITimer t)
t
- timer to usepublic void setLoop(long loopTime)
loopTime
- offset time for looppublic void pause()
public void resume()
public int addKey(double x, double y, double z, long time)
x
- x value for this new keyy
- z value for this new keyz
- z value for this new keytime
- time ofset for this new key
public int addKey(double x, double y, double z, long time, int interpolation)
x
- x value for this new keyy
- z value for this new keyz
- z value for this new keytime
- time ofset for this new keyinterpolation
- type of interpolation 0=none,1=linear,2=cosin,3=bicubic
public int addKey(IPoint3D source, long time)
source
- source for this new keytime
- time ofset for this new key
public int addKey(IPoint3D source, long time, int interpolation)
source
- source for this linked keytime
- time offset for this new keyinterpolation
- type of interpolation 0=none,1=linear,2=cosin,3=bicubic
public void removeKey(int n)
n
- index of the key to remove from this animationpublic void start()
public void play()
public void stop()
public void playAt(long time)
time
- time to compute x,y,z
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |