All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Loading...
Searching...
No Matches
DevicePoseObserver.h File Reference

Observer for tracking the device pose. More...

Classes

struct  VuDevicePoseConfig
 Configuration for creating a Device Pose observer. More...
 

Enumerations

enum  VuDevicePoseCreationError : int32_t {
  VU_DEVICE_POSE_CREATION_ERROR_NONE = 0x0 ,
  VU_DEVICE_POSE_CREATION_ERROR_INTERNAL = 0x1 ,
  VU_DEVICE_POSE_CREATION_ERROR_AUTOACTIVATION_FAILED = 0x2 ,
  VU_DEVICE_POSE_CREATION_ERROR_FEATURE_NOT_SUPPORTED = 0x3
}
 Configuration error for Device Pose creation. More...
 
enum  VuDevicePoseObservationStatusInfo : int32_t {
  VU_DEVICE_POSE_OBSERVATION_STATUS_INFO_NORMAL ,
  VU_DEVICE_POSE_OBSERVATION_STATUS_INFO_NOT_OBSERVED ,
  VU_DEVICE_POSE_OBSERVATION_STATUS_INFO_UNKNOWN ,
  VU_DEVICE_POSE_OBSERVATION_STATUS_INFO_INITIALIZING ,
  VU_DEVICE_POSE_OBSERVATION_STATUS_INFO_RELOCALIZING ,
  VU_DEVICE_POSE_OBSERVATION_STATUS_INFO_EXCESSIVE_MOTION ,
  VU_DEVICE_POSE_OBSERVATION_STATUS_INFO_INSUFFICIENT_FEATURES ,
  VU_DEVICE_POSE_OBSERVATION_STATUS_INFO_INSUFFICIENT_LIGHT
}
 Status info for the pose of Device Pose observations. More...
 
enum  { VU_OBSERVER_DEVICE_POSE_TYPE = 0x8 }
 
enum  { VU_OBSERVATION_DEVICE_POSE_TYPE = 0x8 }
 

Functions

VuDevicePoseConfig vuDevicePoseConfigDefault ()
 Default Device Pose configuration.
 
VuResult vuEngineCreateDevicePoseObserver (VuEngine *engine, VuObserver **observer, const VuDevicePoseConfig *config, VuDevicePoseCreationError *errorCode)
 Create a Device Pose observer.
 
VuResult vuEngineGetDevicePoseObservers (const VuEngine *engine, VuObserverList *observerList)
 Get all Device Pose observers.
 
VuResult vuStateGetDevicePoseObservations (const VuState *state, VuObservationList *observationList)
 Get all Device Pose observations.
 
VuResult vuDevicePoseObservationGetStatusInfo (const VuObservation *observation, VuDevicePoseObservationStatusInfo *statusInfo)
 Get status info associated to the pose status of a Device Pose observation.
 
VuResult vuDevicePoseObserverSetStaticMode (VuObserver *observer, VuBool staticModeEnabled)
 Set the Device Pose to static.
 
VuResult vuDevicePoseObserverGetStaticMode (VuObserver *observer, VuBool *staticModeEnabled)
 Get if the Device Pose is set to static.
 
VuResult vuEngineResetWorldTracking (VuEngine *engine)
 Reset world tracking.
 

Detailed Description

Observer for tracking the device pose.