| Constructor and Description |
|---|
Accelerations() |
| Modifier and Type | Method and Description |
|---|---|
void |
addSample(AccelerationSample sample)
Adds a sample to the acceleration samples list
|
void |
clear()
Clears the accelerations list
|
Object |
clone()
Clone a WiiAccelerations
|
long |
getFirstSampleTime()
Returns the timestamp of the first sample in the list.
|
long |
getLastSampleTime()
Returns the timestamp of the last sample in the list.
|
double |
getMaxAbsoluteAccelerationValue()
Returns the maximum absolute value for overall accelerations
|
double |
getMaxOverallValue()
Returns the maximum overall acceleration value
|
double |
getMaxXValue()
Returns the maximum x acceleration value
|
double |
getMaxYValue()
Returns the maximum y acceleration value
|
double |
getMaxZValue()
Returns the maximum z acceleration value
|
Double |
getMinOverallValue()
Returns the minimum overall acceleration value
|
double |
getMinXValue()
Returns the minimum x acceleration value
|
double |
getMinYValue()
Returns the minimum y acceleration value
|
double |
getMinZValue()
Returns the minimum z acceleration value
|
AccelerationSample |
getSample(int number)
Returns the sample at position number
|
List<AccelerationSample> |
getSamples()
Returns the samples list
|
int |
numberOfSamples()
Returns the number of acceleration samples
|
void |
removeSample(int number)
Removes the sample at position number
|
public int numberOfSamples()
public void addSample(AccelerationSample sample)
sample - The Sample to be addedpublic AccelerationSample getSample(int number)
number - The number of the sample to be returnedpublic void removeSample(int number)
number - The number of the Sample to be removedpublic void clear()
public long getFirstSampleTime()
public long getLastSampleTime()
public double getMaxXValue()
public double getMaxYValue()
public double getMaxZValue()
public double getMinXValue()
public double getMinYValue()
public double getMinZValue()
public double getMaxOverallValue()
public Double getMinOverallValue()
public double getMaxAbsoluteAccelerationValue()
public List<AccelerationSample> getSamples()
Copyright © 2007-2012 Global Information Systems Group, ETH Zurich. All Rights Reserved.