|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Used for accessing to a Track3D.
IPoint3D
,
DzzD
Method Summary | |
int |
addKey(double x,
double y,
double z,
long time)
Create a a new static key and add it to this Track3D. |
int |
addKey(double x,
double y,
double z,
long time,
int interpolation)
Create a a new static key and add it to this Track3D. |
int |
addKey(IPoint3D source,
long time)
Create a a new linked key and add it to this Track3D. |
int |
addKey(IPoint3D source,
long time,
int interpolation)
Create a a new linked key and add it to this Track3D. |
int |
getNbKey()
Get number of keys . |
long |
getPauseTime()
Gets the pause time for this Track3D. |
long |
getStartTime()
Gets the starting time of this Track3D. |
void |
pause()
Pause this Track3D to its current Timer time. |
void |
play()
Play this Track3D using current time for its Timer. |
void |
playAt(long time)
Play this Track3D using the given time . |
void |
removeKey(int n)
Remove a key from this Track3D. |
void |
resume()
Resume this Track3D id previously paused (startTime is updated) |
void |
setDefaultInterpolation(int i)
Sets the default interpolation mode for this Track3D |
void |
setLoop(long loopTime)
Sets the loop time for this Track3D. |
void |
setTimer(ITimer t)
Sets timer to use with for this Track3D. |
void |
start()
Start or restart this Track3D. |
void |
start(long startTime)
Start or restart this Track3D with an offset. |
void |
stop()
Stop this Track3D. |
Methods inherited from interface net.dzzd.access.IPoint3D |
add, copy, cross, dist, div, dot, getClone, getX, getY, getZ, length, length2, mul, norm, normalize, rotateX, rotateY, rotateZ, set, setX, setY, setZ, sub, zoom |
Method Detail |
public long getStartTime()
public long getPauseTime()
public void setDefaultInterpolation(int i)
i
- default interpolation between new keys.public void setTimer(ITimer t)
t
- new timer to usepublic void setLoop(long loopTime)
loopTime
- loop time in ms or -1 ne disable loop.public 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 start(long startTime)
startTime
- offset timepublic void play()
public void stop()
public void playAt(long time)
time
- time to compute x,y,z in mspublic int getNbKey()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |