Public Attributes | |
VuObserver * | devicePoseObserver |
Pointer to a device pose observer. | |
const char * | databasePath |
Path to database containing targets. | |
const char * | targetName |
Target name. | |
VuBool | activate |
Observer activation. | |
VuMatrix44F | poseOffset |
Offset from the origin of the target to the pose reported by an observation, relative to the target's frame of reference. | |
VuBool | requireExternalPositions |
Require external positions to be set before the observer will begin tracking or recover from loss of tracking. | |
Configuration for creating an Area Target observer.
VuObserver* devicePoseObserver |
Pointer to a device pose observer.
The Area Target observer will only report observations to the state while there is an active device pose observer.
VuBool activate |
Observer activation.
VuMatrix44F poseOffset |
Offset from the origin of the target to the pose reported by an observation, relative to the target's frame of reference.
VuBool requireExternalPositions |
Require external positions to be set before the observer will begin tracking or recover from loss of tracking.
If this option is set to VU_TRUE, then the target is forced to wait for an external position before loading any target data. This enables simultaneous activation of many targets without the usual restrictions on the total size of the activated targets, since the external position can be used as a hint to limit the data loaded from each target.
The limitation of this setting is that it will not be possible to detect the target until a valid external position has been received. This is also the case after an extended loss of tracking, e.g. after pausing the app and moving to a new location.