com.drismo.model
Class AccelerationObject

java.lang.Object
  extended by com.drismo.model.AccelerationObject

public class AccelerationObject
extends java.lang.Object

Class to model acceleration at a given time. Contains 3 vectors and a time stamp. Used in AccelerationHandler and QualityRater

See Also:
AccelerationHandler, QualityRater

Field Summary
 float[] rotatedVectors
          Public data attribute to represent the three vectors of the object.
 long timestamp
          Public data attribute to represent time stamp of the object.
 
Constructor Summary
AccelerationObject(float[] rot, long ts)
          Creates an acceleration object.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

timestamp

public final long timestamp
Public data attribute to represent time stamp of the object. Getter method not needed.


rotatedVectors

public final float[] rotatedVectors
Public data attribute to represent the three vectors of the object. Getter method not needed.

Constructor Detail

AccelerationObject

public AccelerationObject(float[] rot,
                          long ts)
Creates an acceleration object.

Parameters:
rot - Rotated acceleration vectors.
ts - Time stamp given.