Torque3D Documentation / _generateds / OculusVRSensorData

OculusVRSensorData

Engine/source/platform/input/oculusVR/oculusVRSensorData.h

More...

Public Types

enum
DataDifferences {
  DIFF_NONE = 0
  DIFF_ROT = (1<<0)
  DIFF_ROTAXISX = (1<<1)
  DIFF_ROTAXISY = (1<<2)
  DIFF_ACCEL = (1<<3)
  DIFF_ANGVEL = (1<<4)
  DIFF_MAG = (1<<5)
  DIFF_POS = (1<<6)
  DIFF_STATUS = (1<<7)
  DIFF_ROTAXIS = (DIFF_ROTAXISX | DIFF_ROTAXISY)
  DIFF_RAW = (DIFF_ACCEL | DIFF_ANGVEL | DIFF_MAG)
}

Public Functions

compare(OculusVRSensorData * other, bool doRawCompare)

Compare this data and given and return differences.

Reset the data.

setData(ovrTrackingState & data, const F32 & maxAxisRadius)

Set data based on given sensor fusion.

Detailed Description

Public Types

DataDifferences

Enumerator

DIFF_NONE = 0
DIFF_ROT = (1<<0)
DIFF_ROTAXISX = (1<<1)
DIFF_ROTAXISY = (1<<2)
DIFF_ACCEL = (1<<3)
DIFF_ANGVEL = (1<<4)
DIFF_MAG = (1<<5)
DIFF_POS = (1<<6)
DIFF_STATUS = (1<<7)
DIFF_ROTAXIS = (DIFF_ROTAXISX | DIFF_ROTAXISY)
DIFF_RAW = (DIFF_ACCEL | DIFF_ANGVEL | DIFF_MAG)

Public Attributes

VectorF mAcceleration 
EulerF mAngVelocity 
bool mDataSet 
VectorF mMagnetometer 
Point3F mPosition 
MatrixF mRot 
Point2F mRotAxis 
EulerF mRotEuler 
QuatF mRotQuat 
U32 mStatusFlags 

Public Functions

OculusVRSensorData()

compare(OculusVRSensorData * other, bool doRawCompare)

Compare this data and given and return differences.

reset()

Reset the data.

setData(ovrTrackingState & data, const F32 & maxAxisRadius)

Set data based on given sensor fusion.