cartographer源码分析(38)-io-null_points_processor.h
来源:互联网 发布:网络教研室 编辑:程序博客网 时间:2024/06/06 05:28
源码可在https://github.com/learnmoreonce/SLAM 下载
文件:null_points_processor.h#ifndef CARTOGRAPHER_IO_NULL_POINTS_PROCESSOR_H_#define CARTOGRAPHER_IO_NULL_POINTS_PROCESSOR_H_#include "cartographer/io/points_processor.h"namespace cartographer {namespace io {/*NullPointsProcessor是PointsProcessor的第十个子类(10)空操作类。通常用于pipline的尾端,丢弃所有的点云,表示整个处理流程已经完毕。*/// A points processor that just drops all points. The end of a pipeline usually.class NullPointsProcessor : public PointsProcessor { public: NullPointsProcessor() {} ~NullPointsProcessor() override {} //不作任何事情 void Process(std::unique_ptr<PointsBatch> points_batch) override {} //返回"kFinished"状态,此操作会传递给上一个流水线。 FlushResult Flush() override { return FlushResult::kFinished; }};} // namespace io} // namespace cartographer#endif // CARTOGRAPHER_IO_NULL_POINTS_PROCESSOR_H_
本文发于:
* http://www.jianshu.com/u/9e38d2febec1
* https://zhuanlan.zhihu.com/learnmoreonce
* http://blog.csdn.net/learnmoreonce
* slam源码分析微信公众号:slamcode
阅读全文
0 0
- cartographer源码分析(38)-io-null_points_processor.h
- cartographer源码分析(26)-io-file_writer.h
- cartographer源码分析(27)-io-points_batch.h
- cartographer源码分析(28)-io-points_processor.h
- cartographer源码分析(29)-io-min_max_range_filtering_points_processor.h
- cartographer源码分析(30)-io-counting_points_processor.h
- cartographer源码分析(31)-io-xray_points_processor.h
- cartographer源码分析(32)-io-intensity_to_color_points_processor.h
- cartographer源码分析(33)-io-ply_writing_points_processor.h
- cartographer源码分析(34)-io-coloring_points_processor.h
- cartographer源码分析(35)-io-fixed_ratio_sampling_points_processor.h
- cartographer源码分析(36)-io- outlier_removing_points_processor.h
- cartographer源码分析(37)-io-pcd_writing_points_processor.h
- cartographer源码分析(3)-common-port.h
- cartographer源码分析(4)-common-time.h
- cartographer源码分析(5)-common-rate_time.h
- cartographer源码分析(6)-common-histogram.h
- cartographer源码分析(7)-common-math.h
- cartographer源码分析(37)-io-pcd_writing_points_processor.h
- linux中的网络管理
- hdu 2075 A|B?
- 收集一些好问题
- 2017多校联合一1002/hdu6034Balala Power!(搜索,贪心,排序,大数进制)
- cartographer源码分析(38)-io-null_points_processor.h
- C语言数据结构-栈-数组实现
- [第五季]7.HTML列表和表单标签
- 多校连萌 【赛后记录】
- Java for Web学习笔记(七三):国际化i18n(1)使用Spring框架MessageSource
- Spring(一:Spring配置)
- JavaScript学习--数组
- hdu 2076 夹角有多大(题目已修改,注意读题)
- 回形取数