Apollo 10.0
自动驾驶开放平台
mrf_shape_filter.h
浏览该文件的文档.
1/******************************************************************************
2 * Copyright 2023 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#pragma once
17
18#include <string>
19
22
23namespace apollo {
24namespace perception {
25namespace radar4d {
26
28 public:
29 MrfShapeFilter() = default;
30 virtual ~MrfShapeFilter() = default;
38 bool Init(
39 const MrfFilterInitOptions& options = MrfFilterInitOptions()) override;
47 void UpdateWithObject(const MrfFilterOptions& options,
48 const MrfTrackDataConstPtr& track_data,
49 TrackedObjectPtr new_object) override;
57 void UpdateWithoutObject(const MrfFilterOptions& options, double timestamp,
58 MrfTrackDataPtr track_data) override;
64 std::string Name() const override { return "MrfShapeFilter"; }
65
66 protected:
70}; // class MrfShapeFilter
71
72} // namespace radar4d
73} // namespace perception
74} // namespace apollo
void UpdateWithoutObject(const MrfFilterOptions &options, double timestamp, MrfTrackDataPtr track_data) override
Updating shape filter without object
algorithm::ConvexHull2D< base::RadarPointDCloud, base::PolygonDType > hull_
std::string Name() const override
Get class name
bool Init(const MrfFilterInitOptions &options=MrfFilterInitOptions()) override
Init mrf filter
void UpdateWithObject(const MrfFilterOptions &options, const MrfTrackDataConstPtr &track_data, TrackedObjectPtr new_object) override
Updating shape filter with object
std::shared_ptr< MrfTrackData > MrfTrackDataPtr
std::shared_ptr< TrackedObject > TrackedObjectPtr
std::shared_ptr< const MrfTrackData > MrfTrackDataConstPtr
class register implement
Definition arena_queue.h:37