19enum htc_distortion_model
21 HTC_DISTORTION_MODEL_INVALID = 0,
22 HTC_DISTORTION_MODEL_TRADITIONAL_SIMPLE = 1,
23 HTC_DISTORTION_MODEL_TRADITIONAL_WITH_TANGENTIAL = 2,
24 HTC_DISTORTION_MODEL_NON_MODEL_SVR = 3,
25 HTC_DISTORTION_MODEL_RATIONAL = 4,
26 HTC_DISTORTION_MODEL_SECTIONAL = 5,
27 HTC_DISTORTION_MODEL_TANGENTIAL_WEIGHT = 6,
28 HTC_DISTORTION_MODEL_RADIAL_TANGENTIAL_PRISM = 7,
29 HTC_DISTORTION_MODEL_PRISM_WITH_PROGRESSIVE = 8,
30 HTC_DISTORTION_MODEL_STRENGTHEN_RADIAL = 9,
31 HTC_DISTORTION_MODEL_STRENGTHEN = 10,
32 HTC_DISTORTION_MODEL_STRENGTHEN_HIGH_ORDER = 11,
33 HTC_DISTORTION_MODEL_WVR_RADIAL = 12,
34 HTC_DISTORTION_MODEL_RADIAL_ROTATE_MODIFY = 13,
71 enum htc_distortion_model model;
80 double grow_for_undistort[4];
88 double normalized_radius;
99 uint32_t eye_target_width_in_pixels;
100 uint32_t eye_target_height_in_pixels;
118enum htc_distortion_model
122htc_config_parse(
const char *config_data,
size_t config_size,
struct htc_config *out_config);
125htc_config_compute_distortion(
struct htc_config *config,
enum htc_distortion_model htc_string_to_distortion_model(const char *model_str)
Converts a string to an HTC distortion model enum value.
Definition htc_config.cpp:781
Definition htc_config.h:96
Definition htc_config.h:56
Definition htc_config.h:38
Definition htc_config.h:69
Definition htc_config.h:50
Definition htc_config.h:62
Definition htc_config.h:45
Describes a projection matrix fov.
Definition xrt_defines.h:499
A tightly packed 3x3 matrix of floats.
Definition xrt_defines.h:546
Represents a uv triplet for distortion, basically just three xrt_vec2.
Definition xrt_defines.h:279
A 2 element vector with 32 bit integers.
Definition xrt_defines.h:362
A 2 element vector with single floats.
Definition xrt_defines.h:268
Common defines and enums for XRT.