Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.xerox.VTM.engine
Class CTranslation  view CTranslation download CTranslation.java

java.lang.Object
  extended bycom.xerox.VTM.engine.CAnimation
      extended bycom.xerox.VTM.engine.CTranslation

class CTranslation
extends CAnimation

camera animation: translation


Field Summary
(package private)  long duration
          animation will last duration ms
(package private)  java.util.Date now
          current time
(package private)  AnimManager parent
          animation manager
(package private)  double progression
          how much of the animation has been done
(package private)  boolean started
          has it started
(package private)  long startTime
          animation began at this time
(package private)  int step
           
(package private)  LongPoint[] steps
          step values for translation (x,y)
(package private)  Camera target
          camera to be animated
(package private)  java.lang.String type
          type of animation - one of AnimManager.{CA_TRANS, CA_ALT, CA_BOTH}
 
Constructor Summary
(package private) CTranslation(Camera c, AnimManager mgr, long d)
           
 
Method Summary
(package private)  void animate()
           
protected  void conclude()
           
(package private)  void start()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

steps

LongPoint[] steps
step values for translation (x,y)


target

Camera target
camera to be animated


now

java.util.Date now
current time


startTime

long startTime
animation began at this time


duration

long duration
animation will last duration ms


progression

double progression
how much of the animation has been done


started

boolean started
has it started


step

int step

parent

AnimManager parent
animation manager


type

java.lang.String type
type of animation - one of AnimManager.{CA_TRANS, CA_ALT, CA_BOTH}

Constructor Detail

CTranslation

CTranslation(Camera c,
             AnimManager mgr,
             long d)
Method Detail

start

void start()
Specified by:
start in class CAnimation

animate

void animate()
Specified by:
animate in class CAnimation

conclude

protected void conclude()
Specified by:
conclude in class CAnimation