Apollo 11.0
自动驾驶开放平台
base_roi_filter.h
浏览该文件的文档.
1/******************************************************************************
2 * Copyright 2018 The Apollo Authors. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 *****************************************************************************/
16
17#pragma once
18
19#include <string>
20
21#include "cyber/common/macros.h"
25
26namespace apollo {
27namespace perception {
28namespace lidar {
29
31
34
36
38 public:
43 BaseROIFilter() = default;
44
49 virtual ~BaseROIFilter() = default;
50
58 virtual bool Init(
59 const ROIFilterInitOptions& options = ROIFilterInitOptions()) = 0;
60
69 virtual bool Filter(const ROIFilterOptions& options, LidarFrame* frame) = 0;
70
76 virtual std::string Name() const = 0;
77
78 private:
80}; // class BaseROIFilter
81
82} // namespace lidar
83} // namespace perception
84} // namespace apollo
virtual bool Init(const ROIFilterInitOptions &options=ROIFilterInitOptions())=0
Init of Base ROI Filter
virtual ~BaseROIFilter()=default
Destroy the Base ROI Filter object
BaseROIFilter()=default
Construct a new Base ROI Filter object
virtual bool Filter(const ROIFilterOptions &options, LidarFrame *frame)=0
Filter roi points from point cloud
virtual std::string Name() const =0
Name of Base ROI Filter
#define DISALLOW_COPY_AND_ASSIGN(classname)
Definition macros.h:48
class register implement
Definition arena_queue.h:37