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

Public Attributes

VuObserverdevicePoseObserver
 Pointer to a device pose observer.
 
const void * pixelBuffer
 Pointer to the image buffer. The buffer needs to contain RGBA pixel data without padding.
 
VuVector2I bufferSize
 Array of sizes of each buffer (width, height)
 
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 buffer.

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.

◆ 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.