|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.unikassel.android.sdcframework.data.independent.AbstractSampleData
de.unikassel.android.sdcframework.data.independent.GyroscopeSampleData
public final class GyroscopeSampleData
The device specific sample data of an gyroscope sensor are the rates of
rotation around the device's local X, Y and Z axis ( in radians/second,
positive in the counter-clockwise direction ) as provided by the Android API.
SensorEvent.values
,
GyroscopeDevice
,
GyroscopeDeviceScanner
Field Summary | |
---|---|
private float |
angularSpeedX
The angular rotation speed around the x axis |
private float |
angularSpeedY
The angular rotation speed around the y axis |
private float |
angularSpeedZ
The angular rotation speed around the z axis |
Constructor Summary | |
---|---|
GyroscopeSampleData()
Constructor |
|
GyroscopeSampleData(GyroscopeSampleData sampleData)
Copy Constructor |
Method Summary | |
---|---|
SampleData |
doClone()
Method to clone sample data |
boolean |
equals(Object o)
|
float |
getAngularSpeedX()
Getter for the angular speed around the x axis |
float |
getAngularSpeedY()
Getter for the angular speed around the y axis |
float |
getAngularSpeedZ()
Getter for the angular speed around the z axis |
void |
setAngularSpeedX(float angularSpeedX)
Setter for the the angular speed around the x axis |
void |
setAngularSpeedY(float angularSpeedY)
Setter for the angular speed around the y axis |
void |
setAngularSpeedZ(float angularSpeedZ)
Setter for the angular speed around the z axis |
Methods inherited from class de.unikassel.android.sdcframework.data.independent.AbstractSampleData |
---|
clone, getRelatedData, toXML, updateRelatedData |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private float angularSpeedX
private float angularSpeedY
private float angularSpeedZ
Constructor Detail |
---|
public GyroscopeSampleData()
public GyroscopeSampleData(GyroscopeSampleData sampleData)
sampleData
- the sample data to copy fromMethod Detail |
---|
public final SampleData doClone()
SampleData
public final boolean equals(Object o)
equals
in class Object
public final float getAngularSpeedX()
public final void setAngularSpeedX(float angularSpeedX)
angularSpeedX
- the angular speed around the x axis to setpublic final float getAngularSpeedY()
public final void setAngularSpeedY(float angularSpeedY)
angularSpeedY
- the angular speed around the y axis to setpublic final float getAngularSpeedZ()
public final void setAngularSpeedZ(float angularSpeedZ)
angularSpeedZ
- the angular speed around the z axis to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |