Apollo
v5.5.0
Open source self driving car software
modules
perception
lidar
lib
roi_filter
roi_service_filter
roi_service_filter.h
Go to the documentation of this file.
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 "
modules/perception/lidar/lib/interface/base_roi_filter.h
"
22
#include "
modules/perception/lidar/lib/scene_manager/roi_service/roi_service.h
"
23
24
namespace
apollo
{
25
namespace
perception {
26
namespace
lidar {
27
28
class
ROIServiceFilter
:
public
BaseROIFilter
{
29
public
:
30
ROIServiceFilter
() :
BaseROIFilter
() {}
31
~ROIServiceFilter
() =
default
;
32
33
bool
Init
(
const
ROIFilterInitOptions
& options)
override
;
34
35
std::string
Name
()
const override
{
return
"ROIServiceFilter"
; }
36
37
bool
Filter
(
const
ROIFilterOptions
& options,
LidarFrame
* frame)
override
;
38
39
private
:
40
ROIServicePtr
roi_service_ =
nullptr
;
41
ROIServiceContent
roi_service_content_;
42
};
43
44
}
// namespace lidar
45
}
// namespace perception
46
}
// namespace apollo
apollo::perception::lidar::ROIServiceFilter::Name
std::string Name() const override
Definition:
roi_service_filter.h:35
apollo::perception::lidar::ROIServiceFilter::Init
bool Init(const ROIFilterInitOptions &options) override
apollo
Definition:
blob.h:72
apollo::perception::lidar::BaseROIFilter
Definition:
base_roi_filter.h:32
base_roi_filter.h
apollo::perception::lidar::ROIFilterOptions
Definition:
base_roi_filter.h:30
roi_service.h
apollo::perception::lidar::ROIServiceFilter::Filter
bool Filter(const ROIFilterOptions &options, LidarFrame *frame) override
apollo::perception::lidar::ROIServicePtr
std::shared_ptr< ROIService > ROIServicePtr
Definition:
roi_service.h:92
apollo::perception::lidar::ROIServiceContent
Definition:
roi_service.h:30
apollo::perception::lidar::ROIServiceFilter::ROIServiceFilter
ROIServiceFilter()
Definition:
roi_service_filter.h:30
apollo::perception::lidar::ROIServiceFilter::~ROIServiceFilter
~ROIServiceFilter()=default
apollo::perception::lidar::LidarFrame
Definition:
lidar_frame.h:33
apollo::perception::lidar::ROIFilterInitOptions
Definition:
base_roi_filter.h:28
apollo::perception::lidar::ROIServiceFilter
Definition:
roi_service_filter.h:28
Generated by
1.8.13