|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectes.ucm.look.ar.util.DeviceOrientation
public class DeviceOrientation
A class holding device's orientation
Field Summary | |
---|---|
float |
azimuth
Device azimuth ( y coordinate ) |
float |
pitch
Device pitch ( x coordinate ) |
float |
roll
Device roll ( z coordinate ) |
Method Summary | |
---|---|
static DeviceOrientation |
getDeviceOrientation(Context c)
|
float[] |
getRotationMatrix()
Returns the matrix rotation for the current device orientation |
void |
onAccuracyChanged(Sensor sensor,
int accuracy)
|
void |
onSensorChanged(SensorEvent event)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public float azimuth
public float pitch
public float roll
Method Detail |
---|
public static DeviceOrientation getDeviceOrientation(Context c)
public float[] getRotationMatrix()
public void onAccuracyChanged(Sensor sensor, int accuracy)
public void onSensorChanged(SensorEvent event)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |