Top Fields Constructors Methods
com.jogamp.oculusvr

public Class ovrSensorData

extends Object
Class Inheritance
Imports
java.nio.*, com.jogamp.gluegen.runtime.*, com.jogamp.common.os.*, com.jogamp.common.nio.*, jogamp.common.os.MachineDataInfoRuntime, com.jogamp.oculusvr.*, java.security.AccessController, .PrivilegedAction

Field Summary

Modifier and TypeField and Description
private static final int[]
private static final int[]
pack-priv StructAccessor
private static final int[]
private static final int[]
private static final int[]
private static final int[]
private final MachineDataInfo
private static final int
private static final int[]
private static final int[]
private static final int[]

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public static ovrSensorData
public static ovrSensorData
public ovrVector3f
getAccelerometer()

Getter for native field Accelerometer: CType[(StructType) typedef 'ovrVector3f', size [fixed false, lnx64 12], [const[false], struct{ovrVector3f_: 3, }]]

public ByteBuffer
public ovrVector3f
getGyro()

Getter for native field Gyro: CType[(StructType) typedef 'ovrVector3f', size [fixed false, lnx64 12], [const[false], struct{ovrVector3f_: 3, }]]

public ovrVector3f
getMagnetometer()

Getter for native field Magnetometer: CType[(StructType) typedef 'ovrVector3f', size [fixed false, lnx64 12], [const[false], struct{ovrVector3f_: 3, }]]

public float
getTemperature()

Getter for native field Temperature: CType[(FloatType) 'float', size [fixed true, lnx64 4], [const[false], float]]

public float
getTimeInSeconds()

Getter for native field TimeInSeconds: CType[(FloatType) 'float', size [fixed true, lnx64 4], [const[false], float]]

public ovrSensorData
setTemperature(float val)

Setter for native field Temperature: CType[(FloatType) 'float', size [fixed true, lnx64 4], [const[false], float]]

public ovrSensorData
setTimeInSeconds(float val)

Setter for native field TimeInSeconds: CType[(FloatType) 'float', size [fixed true, lnx64 4], [const[false], float]]

public static int
size()

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

Accelerometer_offsetback to summary
private static final int[] Accelerometer_offset
Accelerometer_sizeback to summary
private static final int[] Accelerometer_size
accessorback to summary
pack-priv StructAccessor accessor
Gyro_offsetback to summary
private static final int[] Gyro_offset
Gyro_sizeback to summary
private static final int[] Gyro_size
Magnetometer_offsetback to summary
private static final int[] Magnetometer_offset
Magnetometer_sizeback to summary
private static final int[] Magnetometer_size
mdback to summary
private final MachineDataInfo md
mdIdxback to summary
private static final int mdIdx
ovrSensorData_sizeback to summary
private static final int[] ovrSensorData_size
Temperature_offsetback to summary
private static final int[] Temperature_offset
TimeInSeconds_offsetback to summary
private static final int[] TimeInSeconds_offset

Constructor Detail

ovrSensorDataback to summary
pack-priv ovrSensorData(ByteBuffer buf)

Method Detail

createback to summary
public static ovrSensorData create()
createback to summary
public static ovrSensorData create(ByteBuffer buf)
getAccelerometerback to summary
public ovrVector3f getAccelerometer()

Getter for native field Accelerometer: CType[(StructType) typedef 'ovrVector3f', size [fixed false, lnx64 12], [const[false], struct{ovrVector3f_: 3, }]]

getBufferback to summary
public ByteBuffer getBuffer()
getGyroback to summary
public ovrVector3f getGyro()

Getter for native field Gyro: CType[(StructType) typedef 'ovrVector3f', size [fixed false, lnx64 12], [const[false], struct{ovrVector3f_: 3, }]]

getMagnetometerback to summary
public ovrVector3f getMagnetometer()

Getter for native field Magnetometer: CType[(StructType) typedef 'ovrVector3f', size [fixed false, lnx64 12], [const[false], struct{ovrVector3f_: 3, }]]

getTemperatureback to summary
public float getTemperature()

Getter for native field Temperature: CType[(FloatType) 'float', size [fixed true, lnx64 4], [const[false], float]]

getTimeInSecondsback to summary
public float getTimeInSeconds()

Getter for native field TimeInSeconds: CType[(FloatType) 'float', size [fixed true, lnx64 4], [const[false], float]]

setTemperatureback to summary
public ovrSensorData setTemperature(float val)

Setter for native field Temperature: CType[(FloatType) 'float', size [fixed true, lnx64 4], [const[false], float]]

setTimeInSecondsback to summary
public ovrSensorData setTimeInSeconds(float val)

Setter for native field TimeInSeconds: CType[(FloatType) 'float', size [fixed true, lnx64 4], [const[false], float]]

sizeback to summary
public static int size()