All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Loading...
Searching...
No Matches
VuValidationAreaFileConfig Struct Reference

Public Attributes

VuObserverdevicePoseObserver
 Pointer to a device pose observer.
 
const char * path
 Path to the image file.
 
const char * label
 Label for the image.
 
const char * validationAreaName
 Validation Area name.
 
VuBool activate
 Observer activation.
 
VuMatrix44F poseOffset
 Offset from the origin of the Validation Area to the pose reported by an observation, relative to the area's frame of reference.
 

Detailed Description

Configuration for creating a Validation Area observer using an image file.

Member Data Documentation

◆ devicePoseObserver

VuObserver* devicePoseObserver

Pointer to a device pose observer.

The Validation Area observer will only report observations with pose to the state while there is an active device pose observer. Set devicePoseObserver to nullptr if poses are not required. Pose status will then constantly be reported as VU_OBSERVATION_POSE_STATUS_NO_POSE.

◆ path

const char* path

Path to the image file.

Supported file extensions are "png" and "avif".

◆ activate

VuBool activate

Observer activation.

Note
The default value is VU_TRUE.

◆ poseOffset

VuMatrix44F poseOffset

Offset from the origin of the Validation Area to the pose reported by an observation, relative to the area's frame of reference.

Note
The pose offset is represented as a pose matrix using the OpenGL convention. The default value is an identity matrix.