jglanim
Class JGL_Keyframe

java.lang.Object
  extended by jglanim.JGL_Keyframe

public final class JGL_Keyframe
extends java.lang.Object

Represents a spatial key situation. It's composed by a 3D position and orientation angles (in degrees) on the 3 axis.

Author:
Nicolas Devere

Field Summary
 JGL_3DVector orientation
          Descibes the spatial orientation on the 3 axis
 JGL_3DVector position
          Descibes the spatial position
 
Constructor Summary
JGL_Keyframe()
          Constructs a neutral keyframe (all values equal 0).
JGL_Keyframe(JGL_3DVector _position, JGL_3DVector _orientation)
          Constructs a keyframe given a position and an orientation on the 3 axis.
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

position

public JGL_3DVector position
Descibes the spatial position


orientation

public JGL_3DVector orientation
Descibes the spatial orientation on the 3 axis

Constructor Detail

JGL_Keyframe

public JGL_Keyframe()
Constructs a neutral keyframe (all values equal 0).


JGL_Keyframe

public JGL_Keyframe(JGL_3DVector _position,
                    JGL_3DVector _orientation)
Constructs a keyframe given a position and an orientation on the 3 axis.

Parameters:
_position - : the position
_orientation - : the orientation