12 #define XRT_DEVICE_NAME_LEN 256 131 float distortion_k[4];
133 float aberration_k[4];
140 float aspect_x_over_y;
141 float grow_for_undistort;
144 float undistort_r2_cutoff[2];
150 float coefficients[2][3][3];
167 size_t num_indices[2];
169 size_t offset_indices[2];
209 char str[XRT_DEVICE_NAME_LEN];
257 int64_t *out_timestamp,
A tracking system or device origin.
Definition: xrt_tracking.h:53
struct xrt_hmd_parts * hmd
Null if this device does not interface with the users head.
Definition: xrt_device.h:212
size_t num_uv_channels
1 or 3 for (chromatic aberration).
Definition: xrt_device.h:162
A 3 element vector with single floats.
Definition: xrt_defines.h:131
A pose composed of a position and orientation.
Definition: xrt_defines.h:229
enum xrt_device_name name
Enum identifier of the device.
Definition: xrt_device.h:206
struct xrt_view::@77 display
Pixel and phyisical properties of this display, not in absolute screen coordinates that the composito...
xrt_distortion_model
Which distortion model does the device expose, used both as a bitfield and value. ...
Definition: xrt_defines.h:47
int * indices
Indices, for triangle strip.
Definition: xrt_device.h:165
float * vertices
Data.
Definition: xrt_device.h:156
float warp_scale
Panotools warp scale.
Definition: xrt_device.h:135
size_t stride
Stride of vertices.
Definition: xrt_device.h:160
A relation with two spaces, includes velocity and acceleration.
Definition: xrt_defines.h:334
size_t num_vertices
Number of vertices.
Definition: xrt_device.h:158
struct xrt_input * inputs
Array of input structs.
Definition: xrt_device.h:220
uint64_t nominal_frame_interval_ns
Nominal frame interval.
Definition: xrt_device.h:103
A union of all output types.
Definition: xrt_defines.h:507
size_t total_num_indices
Total number of indices.
Definition: xrt_device.h:171
Common defines and enums for XRT.
xrt_output_name
Name of a output with a baked in type.
Definition: xrt_defines.h:494
Time-keeping state structure.
Definition: u_time.cpp:46
size_t num_inputs
Number of inputs.
Definition: xrt_device.h:218
All of the device components that deals with interfacing to a users head.
Definition: xrt_device.h:93
xrt_blend_mode
Which blend mode does the device support, used as both a bitfield and value.
Definition: xrt_defines.h:34
struct xrt_view::@76 viewport
Viewpport position on the screen, in absolute screen coordinates, this field is only used by Composit...
Describes a projection matrix fov.
Definition: xrt_defines.h:240
struct xrt_tracking_origin * tracking_origin
Always set, pointing to the tracking system for this device.
Definition: xrt_device.h:215
size_t num_outputs
Number of outputs.
Definition: xrt_device.h:223
A per-lens view information.
Definition: xrt_device.h:29
xrt_device_name
A enum that is used to name devices so that the state trackers can reason about the devices easier...
Definition: xrt_defines.h:355
struct xrt_output * outputs
Array of output structs.
Definition: xrt_device.h:225
Definition: xrt_device.h:193
struct xrt_matrix_2x2 rot
Rotation 2d matrix used to rotate the position of the output of the distortion shaders onto the scree...
Definition: xrt_device.h:78
struct xrt_fov fov
Fov expressed in OpenXR.
Definition: xrt_device.h:83
A single HMD or input device.
Definition: xrt_device.h:203
A tightly packed 2x2 matrix of floats.
Definition: xrt_defines.h:253
xrt_input_name
Name of a input with a baked in type.
Definition: xrt_defines.h:417
struct xrt_view::@78 lens_center
Position in meters relative to display origin, before any rotation is applied by xrt_view::rot.