9 #ifndef LIBREALSENSE_RS2_TYPES_H
10 #define LIBREALSENSE_RS2_TYPES_H
struct rs2_device_serializer rs2_device_serializer
Definition: rs_types.h:265
struct rs2_sensor rs2_sensor
Definition: rs_types.h:274
struct rs2_device_info rs2_device_info
Definition: rs_types.h:248
struct rs2_quaternion rs2_quaternion
Quaternion used to represent rotation
rs2_exception_type rs2_get_librealsense_exception_type(const rs2_error *error)
struct rs2_syncer rs2_syncer
Definition: rs_types.h:264
struct rs2_pixel rs2_pixel
Pixel location within 2D image. (0,0) is the topmost, left corner. Positive X is right,...
const char * rs2_extension_to_string(rs2_extension type)
rs2_log_severity
Severity of the librealsense logger.
Definition: rs_types.h:147
@ RS2_LOG_SEVERITY_WARN
Definition: rs_types.h:150
@ RS2_LOG_SEVERITY_INFO
Definition: rs_types.h:149
@ RS2_LOG_SEVERITY_ALL
Definition: rs_types.h:155
@ RS2_LOG_SEVERITY_NONE
Definition: rs_types.h:153
@ RS2_LOG_SEVERITY_DEBUG
Definition: rs_types.h:148
@ RS2_LOG_SEVERITY_FATAL
Definition: rs_types.h:152
@ RS2_LOG_SEVERITY_COUNT
Definition: rs_types.h:154
@ RS2_LOG_SEVERITY_ERROR
Definition: rs_types.h:151
rs2_error * rs2_create_error(const char *what, const char *name, const char *args, rs2_exception_type type)
struct rs2_stream_profile rs2_stream_profile
Definition: rs_types.h:261
const char * rs2_get_failed_function(const rs2_error *error)
struct rs2_vertex rs2_vertex
3D coordinates with origin at topmost left corner of the lense, with positive Z pointing away from th...
struct rs2_vector rs2_vector
3D vector in Euclidean coordinate space
struct rs2_pipeline_profile rs2_pipeline_profile
Definition: rs_types.h:256
struct rs2_log_message rs2_log_message
Definition: rs_types.h:251
void(* rs2_frame_processor_callback_ptr)(rs2_frame *, rs2_source *, void *)
Definition: rs_types.h:289
void rs2_free_error(rs2_error *error)
rs2_notification_category
Category of the librealsense notification.
Definition: rs_types.h:17
@ RS2_NOTIFICATION_CATEGORY_POSE_RELOCALIZATION
Definition: rs_types.h:24
@ RS2_NOTIFICATION_CATEGORY_FIRMWARE_UPDATE_RECOMMENDED
Definition: rs_types.h:23
@ RS2_NOTIFICATION_CATEGORY_UNKNOWN_ERROR
Definition: rs_types.h:22
@ RS2_NOTIFICATION_CATEGORY_FRAMES_TIMEOUT
Definition: rs_types.h:18
@ RS2_NOTIFICATION_CATEGORY_HARDWARE_EVENT
Definition: rs_types.h:21
@ RS2_NOTIFICATION_CATEGORY_FRAME_CORRUPTED
Definition: rs_types.h:19
@ RS2_NOTIFICATION_CATEGORY_COUNT
Definition: rs_types.h:25
@ RS2_NOTIFICATION_CATEGORY_HARDWARE_ERROR
Definition: rs_types.h:20
struct rs2_dsm_params rs2_dsm_params
Video DSM (Digital Sync Module) parameters for calibration (same layout as in FW ac_depth_params) Thi...
void(* rs2_software_device_destruction_callback_ptr)(void *)
Definition: rs_types.h:286
void(* rs2_update_progress_callback_ptr)(const float, void *)
Definition: rs_types.h:290
struct rs2_processing_block_list rs2_processing_block_list
Definition: rs_types.h:260
struct rs2_sensor_list rs2_sensor_list
Definition: rs_types.h:273
void(* rs2_notification_callback_ptr)(rs2_notification *, void *)
Definition: rs_types.h:285
struct rs2_device rs2_device
Definition: rs_types.h:249
struct rs2_source rs2_source
Definition: rs_types.h:266
struct rs2_firmware_log_message rs2_firmware_log_message
Definition: rs_types.h:280
rs2_extension
Specifies advanced interfaces (capabilities) objects may implement.
Definition: rs_types.h:161
@ RS2_EXTENSION_MOTION_FRAME
Definition: rs_types.h:171
@ RS2_EXTENSION_INFO
Definition: rs_types.h:164
@ RS2_EXTENSION_HDR_MERGE
Definition: rs_types.h:213
@ RS2_EXTENSION_COUNT
Definition: rs_types.h:216
@ RS2_EXTENSION_FW_LOGGER
Definition: rs_types.h:209
@ RS2_EXTENSION_HOLE_FILLING_FILTER
Definition: rs_types.h:192
@ RS2_EXTENSION_MOTION_PROFILE
Definition: rs_types.h:181
@ RS2_EXTENSION_DEBUG
Definition: rs_types.h:163
@ RS2_EXTENSION_UPDATABLE
Definition: rs_types.h:199
@ RS2_EXTENSION_L500_DEPTH_SENSOR
Definition: rs_types.h:201
@ RS2_EXTENSION_FISHEYE_SENSOR
Definition: rs_types.h:206
@ RS2_EXTENSION_DISPARITY_FRAME
Definition: rs_types.h:180
@ RS2_EXTENSION_ZERO_ORDER_FILTER
Definition: rs_types.h:193
@ RS2_EXTENSION_DISPARITY_FILTER
Definition: rs_types.h:189
@ RS2_EXTENSION_TEMPORAL_FILTER
Definition: rs_types.h:191
@ RS2_EXTENSION_POSE_PROFILE
Definition: rs_types.h:183
@ RS2_EXTENSION_VIDEO_PROFILE
Definition: rs_types.h:177
@ RS2_EXTENSION_POSE_SENSOR
Definition: rs_types.h:196
@ RS2_EXTENSION_DEPTH_HUFFMAN_DECODER
Definition: rs_types.h:207
@ RS2_EXTENSION_DEPTH_SENSOR
Definition: rs_types.h:169
@ RS2_EXTENSION_VIDEO_FRAME
Definition: rs_types.h:170
@ RS2_EXTENSION_PLAYBACK
Definition: rs_types.h:178
@ RS2_EXTENSION_AUTO_CALIBRATED_DEVICE
Definition: rs_types.h:203
@ RS2_EXTENSION_SPATIAL_FILTER
Definition: rs_types.h:190
@ RS2_EXTENSION_DECIMATION_FILTER
Definition: rs_types.h:187
@ RS2_EXTENSION_SERIALIZABLE
Definition: rs_types.h:208
@ RS2_EXTENSION_SEQUENCE_ID_FILTER
Definition: rs_types.h:214
@ RS2_EXTENSION_TM2
Definition: rs_types.h:184
@ RS2_EXTENSION_MOTION
Definition: rs_types.h:165
@ RS2_EXTENSION_VIDEO
Definition: rs_types.h:167
@ RS2_EXTENSION_UNKNOWN
Definition: rs_types.h:162
@ RS2_EXTENSION_SOFTWARE_DEVICE
Definition: rs_types.h:185
@ RS2_EXTENSION_THRESHOLD_FILTER
Definition: rs_types.h:188
@ RS2_EXTENSION_POSE
Definition: rs_types.h:195
@ RS2_EXTENSION_ROI
Definition: rs_types.h:168
@ RS2_EXTENSION_RECOMMENDED_FILTERS
Definition: rs_types.h:194
@ RS2_EXTENSION_COMPOSITE_FRAME
Definition: rs_types.h:172
@ RS2_EXTENSION_WHEEL_ODOMETER
Definition: rs_types.h:197
@ RS2_EXTENSION_DEPTH_FRAME
Definition: rs_types.h:174
@ RS2_EXTENSION_DEVICE_CALIBRATION
Definition: rs_types.h:211
@ RS2_EXTENSION_TM2_SENSOR
Definition: rs_types.h:202
@ RS2_EXTENSION_COLOR_SENSOR
Definition: rs_types.h:204
@ RS2_EXTENSION_SOFTWARE_SENSOR
Definition: rs_types.h:186
@ RS2_EXTENSION_MAX_USABLE_RANGE_SENSOR
Definition: rs_types.h:215
@ RS2_EXTENSION_CALIBRATED_SENSOR
Definition: rs_types.h:212
@ RS2_EXTENSION_OPTIONS
Definition: rs_types.h:166
@ RS2_EXTENSION_UPDATE_DEVICE
Definition: rs_types.h:200
@ RS2_EXTENSION_GLOBAL_TIMER
Definition: rs_types.h:198
@ RS2_EXTENSION_RECORD
Definition: rs_types.h:176
@ RS2_EXTENSION_AUTO_CALIBRATION_FILTER
Definition: rs_types.h:210
@ RS2_EXTENSION_DEPTH_STEREO_SENSOR
Definition: rs_types.h:179
@ RS2_EXTENSION_MOTION_SENSOR
Definition: rs_types.h:205
@ RS2_EXTENSION_POINTS
Definition: rs_types.h:173
@ RS2_EXTENSION_ADVANCED_MODE
Definition: rs_types.h:175
@ RS2_EXTENSION_POSE_FRAME
Definition: rs_types.h:182
double rs2_time_t
Definition: rs_types.h:292
struct rs2_firmware_log_parser rs2_firmware_log_parser
Definition: rs_types.h:282
rs2_distortion
Distortion model: defines how pixel coordinates should be mapped to sensor coordinates.
Definition: rs_types.h:46
@ RS2_DISTORTION_COUNT
Definition: rs_types.h:53
@ RS2_DISTORTION_KANNALA_BRANDT4
Definition: rs_types.h:52
@ RS2_DISTORTION_MODIFIED_BROWN_CONRADY
Definition: rs_types.h:48
@ RS2_DISTORTION_BROWN_CONRADY
Definition: rs_types.h:51
@ RS2_DISTORTION_NONE
Definition: rs_types.h:47
@ RS2_DISTORTION_INVERSE_BROWN_CONRADY
Definition: rs_types.h:49
@ RS2_DISTORTION_FTHETA
Definition: rs_types.h:50
struct rs2_notification rs2_notification
Definition: rs_types.h:278
struct rs2_intrinsics rs2_intrinsics
Video stream intrinsics.
void(* rs2_frame_callback_ptr)(rs2_frame *, void *)
Definition: rs_types.h:288
struct rs2_firmware_log_parsed_message rs2_firmware_log_parsed_message
Definition: rs_types.h:281
const char * rs2_get_error_message(const rs2_error *error)
struct rs2_stream_profile_list rs2_stream_profile_list
Definition: rs_types.h:259
struct rs2_device_list rs2_device_list
Definition: rs_types.h:258
struct rs2_error rs2_error
Definition: rs_types.h:250
const char * rs2_get_failed_args(const rs2_error *error)
rs2_exception_type
Exception types are the different categories of errors that RealSense API might return.
Definition: rs_types.h:31
@ RS2_EXCEPTION_TYPE_NOT_IMPLEMENTED
Definition: rs_types.h:37
@ RS2_EXCEPTION_TYPE_COUNT
Definition: rs_types.h:40
@ RS2_EXCEPTION_TYPE_CAMERA_DISCONNECTED
Definition: rs_types.h:33
@ RS2_EXCEPTION_TYPE_BACKEND
Definition: rs_types.h:34
@ RS2_EXCEPTION_TYPE_INVALID_VALUE
Definition: rs_types.h:35
@ RS2_EXCEPTION_TYPE_UNKNOWN
Definition: rs_types.h:32
@ RS2_EXCEPTION_TYPE_DEVICE_IN_RECOVERY_MODE
Definition: rs_types.h:38
@ RS2_EXCEPTION_TYPE_WRONG_API_CALL_SEQUENCE
Definition: rs_types.h:36
@ RS2_EXCEPTION_TYPE_IO
Definition: rs_types.h:39
struct rs2_raw_data_buffer rs2_raw_data_buffer
Definition: rs_types.h:252
struct rs2_device_hub rs2_device_hub
Definition: rs_types.h:272
rs2_matchers
Specifies types of different matchers.
Definition: rs_types.h:223
@ RS2_MATCHER_DLR
Definition: rs_types.h:234
@ RS2_MATCHER_DIC_C
Definition: rs_types.h:239
@ RS2_MATCHER_DEFAULT
Definition: rs_types.h:243
@ RS2_MATCHER_DI
Definition: rs_types.h:224
@ RS2_MATCHER_DIC
Definition: rs_types.h:237
@ RS2_MATCHER_DLR_C
Definition: rs_types.h:230
@ RS2_MATCHER_COUNT
Definition: rs_types.h:245
@ RS2_MATCHER_DI_C
Definition: rs_types.h:226
void(* rs2_devices_changed_callback_ptr)(rs2_device_list *, rs2_device_list *, void *)
Definition: rs_types.h:287
struct rs2_config rs2_config
Definition: rs_types.h:257
struct rs2_options_list rs2_options_list
Definition: rs_types.h:276
const char * rs2_distortion_to_string(rs2_distortion distortion)
struct rs2_pipeline rs2_pipeline
Definition: rs_types.h:255
const char * rs2_extension_type_to_string(rs2_extension type)
struct rs2_options rs2_options
Definition: rs_types.h:275
struct rs2_terminal_parser rs2_terminal_parser
Definition: rs_types.h:283
const char * rs2_notification_category_to_string(rs2_notification_category category)
rs2_dsm_correction_model
Definition: rs_types.h:89
@ RS2_DSM_CORRECTION_AOT
Definition: rs_types.h:91
@ RS2_DSM_CORRECTION_COUNT
Definition: rs_types.h:93
@ RS2_DSM_CORRECTION_TOA
Definition: rs_types.h:92
@ RS2_DSM_CORRECTION_NONE
Definition: rs_types.h:90
struct rs2_frame_queue rs2_frame_queue
Definition: rs_types.h:254
const char * rs2_log_severity_to_string(rs2_log_severity info)
struct rs2_motion_device_intrinsic rs2_motion_device_intrinsic
Motion device intrinsics: scale, bias, and variances.
long long rs2_metadata_type
Definition: rs_types.h:293
struct rs2_frame rs2_frame
Definition: rs_types.h:253
void(* rs2_log_callback_ptr)(rs2_log_severity, rs2_log_message const *, void *arg)
Definition: rs_types.h:284
struct rs2_processing_block rs2_processing_block
Definition: rs_types.h:267
const char * rs2_exception_type_to_string(rs2_exception_type type)
struct rs2_context rs2_context
Definition: rs_types.h:271
Definition: rs_types.hpp:70
Video DSM (Digital Sync Module) parameters for calibration (same layout as in FW ac_depth_params) Thi...
Definition: rs_types.h:74
unsigned char model
Definition: rs_types.h:77
float h_scale
Definition: rs_types.h:79
float h_offset
Definition: rs_types.h:81
unsigned long long timestamp
Definition: rs_types.h:75
unsigned char flags[5]
Definition: rs_types.h:78
unsigned char reserved[11]
Definition: rs_types.h:85
unsigned char temp_x2
Definition: rs_types.h:84
float v_offset
Definition: rs_types.h:82
unsigned short version
Definition: rs_types.h:76
float v_scale
Definition: rs_types.h:80
float rtd_offset
Definition: rs_types.h:83
Definition: rs_types.hpp:26
Definition: rs_types.hpp:33
Video stream intrinsics.
Definition: rs_types.h:59
int height
Definition: rs_types.h:61
float fx
Definition: rs_types.h:64
float fy
Definition: rs_types.h:65
float ppx
Definition: rs_types.h:62
rs2_distortion model
Definition: rs_types.h:66
int width
Definition: rs_types.h:60
float ppy
Definition: rs_types.h:63
float coeffs[5]
Definition: rs_types.h:67
Definition: rs_types.hpp:56
Motion device intrinsics: scale, bias, and variances.
Definition: rs_types.h:98
float bias_variances[3]
Definition: rs_types.h:106
float data[3][4]
Definition: rs_types.h:103
float noise_variances[3]
Definition: rs_types.h:105
Definition: rs_types.hpp:40
Pixel location within 2D image. (0,0) is the topmost, left corner. Positive X is right,...
Definition: rs_types.h:118
int ij[2]
Definition: rs_types.h:119
Definition: rs_types.hpp:77
Definition: rs_types.h:135
rs2_vector acceleration
Definition: rs_types.h:138
rs2_vector angular_acceleration
Definition: rs_types.h:141
rs2_vector velocity
Definition: rs_types.h:137
unsigned int mapper_confidence
Definition: rs_types.h:143
rs2_vector angular_velocity
Definition: rs_types.h:140
unsigned int tracker_confidence
Definition: rs_types.h:142
rs2_vector translation
Definition: rs_types.h:136
rs2_quaternion rotation
Definition: rs_types.h:139
Quaternion used to represent rotation
Definition: rs_types.h:130
float y
Definition: rs_types.h:131
float z
Definition: rs_types.h:131
float w
Definition: rs_types.h:131
float x
Definition: rs_types.h:131
Definition: rs_types.hpp:84
3D vector in Euclidean coordinate space
Definition: rs_types.h:124
float x
Definition: rs_types.h:125
float y
Definition: rs_types.h:125
float z
Definition: rs_types.h:125
3D coordinates with origin at topmost left corner of the lense, with positive Z pointing away from th...
Definition: rs_types.h:112
float xyz[3]
Definition: rs_types.h:113