simogl.model.animation
Class AnimationFrame

java.lang.Object
  extended by simogl.model.animation.AnimationFrame

public class AnimationFrame
extends java.lang.Object

This class represents a single frame of a model's animation.

Author:
Frank Bruns

Constructor Summary
AnimationFrame(AbstractMesh mesh, long endTime)
           
 
Method Summary
 double getEndTime()
          Returns the time, when this frame ends and therefore should be skipped in the animation
 AbstractMesh getMesh()
          Return the mesh that is the a frame of an animation
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnimationFrame

public AnimationFrame(AbstractMesh mesh,
                      long endTime)
Method Detail

getMesh

public AbstractMesh getMesh()
Return the mesh that is the a frame of an animation

Returns:
mesh for animation frame

getEndTime

public double getEndTime()
Returns the time, when this frame ends and therefore should be skipped in the animation

Returns:
end time of this frame in the animation