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 = 0x1, VU_DEVICE_POSE_OBSERVATION_STATUS_INFO_NOT_OBSERVED = 0x2, VU_DEVICE_POSE_OBSERVATION_STATUS_INFO_UNKNOWN = 0x3, VU_DEVICE_POSE_OBSERVATION_STATUS_INFO_INITIALIZING = 0x4, VU_DEVICE_POSE_OBSERVATION_STATUS_INFO_RELOCALIZING = 0x5, VU_DEVICE_POSE_OBSERVATION_STATUS_INFO_EXCESSIVE_MOTION = 0x6, VU_DEVICE_POSE_OBSERVATION_STATUS_INFO_INSUFFICIENT_FEATURES = 0x7, VU_DEVICE_POSE_OBSERVATION_STATUS_INFO_INSUFFICIENT_LIGHT = 0x8 } |
Status info for device pose observation. More... | |
enum | { VU_OBSERVER_DEVICE_POSE_TYPE = 0x8 } |
enum | { VU_OBSERVATION_DEVICE_POSE_TYPE = 0x8 } |
Functions | |
VuDevicePoseConfig | vuDevicePoseConfigDefault () |
Default Device Pose configuration. More... | |
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 with a device pose observation. | |
VuResult | vuDevicePoseObserverSetStaticMode (VuObserver *observer, VuBool staticModeEnabled) |
Set the device pose to static. More... | |
VuResult | vuDevicePoseObserverGetStaticMode (VuObserver *observer, VuBool *staticModeEnabled) |
Get if the device pose is set to static. | |
VuResult | vuEngineResetWorldTracking (VuEngine *engine) |
Reset world tracking. More... | |
An activated Device Pose observer will always output a reason for an observation with a NO_POSE status in its status info.
enum VuDevicePoseCreationError : int32_t |
Configuration error for device pose creation.
enum VuDevicePoseObservationStatusInfo : int32_t |
Status info for device pose observation.
anonymous enum |
VuDevicePoseConfig vuDevicePoseConfigDefault | ( | ) |
Default Device Pose configuration.
VuResult vuDevicePoseObserverSetStaticMode | ( | VuObserver * | observer, |
VuBool | staticModeEnabled | ||
) |
Set the device pose to static.
Configures the device pose for statically mounted devices, e.g. a mobile device on a tripod looking at an object. In such a scenario, standard Vuforia Fusion tracking will not succeed to initialize for lack of movement. This setting configures the device tracker to return static poses to stabilize tracking e.g. in case of the object being occluded.
Reset world tracking.