| OrbbecSDK 1.5.7 OrbbecSDK: Software-Development-Kit for Orbbec 3D-Sensor devices

- 首页
- 命名空间
- 类
- 文件

- 文件列表
- 文件成员

Filter.h
浏览该文件的文档.
1
11 #pragma once
12
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16
17 #include "ObTypes.h"
18
34 ob_filter *ob_create_pointcloud_filter(ob_error **error);
35
51 void ob_pointcloud_filter_set_camera_param(ob_filter *filter, ob_camera_param param, ob_error **error);
52
68 void ob_pointcloud_filter_set_point_format(ob_filter *filter, ob_format type, ob_error **error);
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
136 ob_filter *ob_create_format_convert_filter(ob_error **error);
137
153 void ob_format_convert_filter_set_format(ob_filter *filter, ob_convert_format type, ob_error **error);
154
170 ob_filter *ob_create_compression_filter(ob_error **error);
171
189 void ob_compression_filter_set_compression_params(ob_filter *filter, ob_compression_mode mode, void *params, ob_error **error);
190
207 ob_filter *ob_create_decompression_filter(ob_error **error);
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
ob_filter_callback
#define ob_filter_callback
Definition: ObTypes.h:1407
ob_create_compression_filter
ob_filter * ob_create_compression_filter(ob_error **error)
创建compression Filter
ob_compression_filter_set_compression_params
void ob_compression_filter_set_compression_params(ob_filter *filter, ob_compression_mode mode, void *params, ob_error **error)
设置压缩类型
ob_convert_format
enum OBConvertFormat ob_convert_format
ob_pointcloud_filter_set_point_format
void ob_pointcloud_filter_set_point_format(ob_filter *filter, ob_format type, ob_error **error)
设置点云类型参数
ob_delete_filter
void ob_delete_filter(ob_filter *filter, ob_error **error)
删除Filter
ob_compression_mode
enum OBCompressionMode ob_compression_mode
ob_filter_reset
void ob_filter_reset(ob_filter *filter, ob_error **error)
Filter重置, 缓存清空，状态复位。如果是使用异步方式接口，还会停止处理线程，清空待处理的缓存帧 ...
ob_filter_process
ob_frame * ob_filter_process(ob_filter *filter, ob_frame *frame, ob_error **error)
Filter 处理(同步接口)
ob_pointcloud_filter_set_frame_align_state
void ob_pointcloud_filter_set_frame_align_state(ob_filter *filter, bool state, ob_error **error)
设置将要输入用于生产点云的帧的对齐状态
ObTypes.h
提供 SDK 常用的结构体、枚举常量定义。
ob_pointcloud_filter_set_position_data_scale
void ob_pointcloud_filter_set_position_data_scale(ob_filter *filter, float scale, ob_error **error)
设置点云数据缩放比例
ob_format_convert_filter_set_format
void ob_format_convert_filter_set_format(ob_filter *filter, ob_convert_format type, ob_error **error)
设置格式转化的类型
ob_create_decompression_filter
ob_filter * ob_create_decompression_filter(ob_error **error)
创建decompressionr Filter
OBCameraParam
相机参数
Definition: ObTypes.h:434
ob_create_format_convert_filter
ob_filter * ob_create_format_convert_filter(ob_error **error)
创建FormatConvet Filter
ob_frame
struct CFrameImpl ob_frame
Definition: ObTypes.h:56
ob_pointcloud_filter_set_color_data_normalization
void ob_pointcloud_filter_set_color_data_normalization(ob_filter *filter, bool state, ob_error **error)
设置点云颜色数据归一化
ob_filter_set_callback
void ob_filter_set_callback(ob_filter *filter, ob_filter_callback callback, void *user_data, ob_error **error)
Filter 设置处理结果回调函数(异步回调接口)
ob_format
enum OBFormat ob_format
ob_filter
struct FilterImpl ob_filter
Definition: ObTypes.h:57
ob_pointcloud_filter_set_camera_param
void ob_pointcloud_filter_set_camera_param(ob_filter *filter, ob_camera_param param, ob_error **error)
PointCloud Filter设备相机参数
ob_filter_push_frame
void ob_filter_push_frame(ob_filter *filter, ob_frame *frame, ob_error **error)
filter 压入frame到待处理缓存(异步回调接口)
ob_create_pointcloud_filter
ob_filter * ob_create_pointcloud_filter(ob_error **error)
创建PointCloud Filter
ob_error
SDK 的对外暴露的错误类，用户可以根据该错误类，获取详细的错误信息
Definition: ObTypes.h:142