OrbbecSDK  1.5.7
OrbbecSDK: Software-Development-Kit for Orbbec 3D-Sensor devices
Filter.h
Go to the documentation of this file.
1 
11 #pragma once
12 
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16 
17 #include "ObTypes.h"
18 
35 
52 
69 
83 void ob_pointcloud_filter_set_frame_align_state(ob_filter *filter, bool state, ob_error **error);
84 
104 void ob_pointcloud_filter_set_position_data_scale(ob_filter *filter, float scale, ob_error **error);
105 
119 void ob_pointcloud_filter_set_color_data_normalization(ob_filter *filter, bool state, ob_error **error);
120 
137 
154 
171 
190 
208 
223 void ob_filter_reset(ob_filter *filter, ob_error **error);
224 
244 ob_frame *ob_filter_process(ob_filter *filter, ob_frame *frame, ob_error **error);
245 
263 void ob_filter_set_callback(ob_filter *filter, ob_filter_callback callback, void *user_data, ob_error **error);
264 
278 void ob_filter_push_frame(ob_filter *filter, ob_frame *frame, ob_error **error);
279 
293 void ob_delete_filter(ob_filter *filter, ob_error **error);
294 
295 #ifdef __cplusplus
296 }
297 #endif
#define ob_filter_callback
Definition: ObTypes.h:1407
ob_filter * ob_create_compression_filter(ob_error **error)
Create compression Filter.
void ob_compression_filter_set_compression_params(ob_filter *filter, ob_compression_mode mode, void *params, ob_error **error)
Set compression parameters.
enum OBConvertFormat ob_convert_format
void ob_pointcloud_filter_set_point_format(ob_filter *filter, ob_format type, ob_error **error)
Set point cloud type parameters.
void ob_delete_filter(ob_filter *filter, ob_error **error)
Delete Filter.
enum OBCompressionMode ob_compression_mode
void ob_filter_reset(ob_filter *filter, ob_error **error)
Filter reset, cache clear, state reset. If the asynchronous interface is used, the processing thread ...
ob_frame * ob_filter_process(ob_filter *filter, ob_frame *frame, ob_error **error)
Filter processing (synchronous interface)
void ob_pointcloud_filter_set_frame_align_state(ob_filter *filter, bool state, ob_error **error)
Set the alignment state of the frames that will be input to produce the point cloud.
Provide structs commonly used in the SDK, enumerating constant definitions.
void ob_pointcloud_filter_set_position_data_scale(ob_filter *filter, float scale, ob_error **error)
Set the point cloud data scaling factor.
void ob_format_convert_filter_set_format(ob_filter *filter, ob_convert_format type, ob_error **error)
Set the type of format conversion.
ob_filter * ob_create_decompression_filter(ob_error **error)
Create decompression Filter.
Camera parameters.
Definition: ObTypes.h:434
ob_filter * ob_create_format_convert_filter(ob_error **error)
Create FormatConvet Filter.
struct CFrameImpl ob_frame
Definition: ObTypes.h:56
void ob_pointcloud_filter_set_color_data_normalization(ob_filter *filter, bool state, ob_error **error)
Set point cloud color data normalization.
void ob_filter_set_callback(ob_filter *filter, ob_filter_callback callback, void *user_data, ob_error **error)
Filter Set the processing result callback function (asynchronous callback interface) ...
enum OBFormat ob_format
struct FilterImpl ob_filter
Definition: ObTypes.h:57
void ob_pointcloud_filter_set_camera_param(ob_filter *filter, ob_camera_param param, ob_error **error)
PointCloud Filter device camera parameters.
void ob_filter_push_frame(ob_filter *filter, ob_frame *frame, ob_error **error)
filter Push the frame into the pending cache (asynchronous callback interface)
ob_filter * ob_create_pointcloud_filter(ob_error **error)
Create PointCloud Filter.
The error class exposed by the SDK, users can get detailed error information according to the erro...
Definition: ObTypes.h:142