Apollo 11.0
自动驾驶开放平台
semantic_builder.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
17#pragma once
18
19#include <memory>
20#include <string>
21#include <vector>
22
27
28namespace apollo {
29namespace perception {
30namespace lidar {
31
33
35
37
39public:
44 SemanticBuilder() = default;
45
50 ~SemanticBuilder() = default;
51
60
69 bool Build(const SemanticBuilderOptions& options, LidarFrame* frame);
70
76 std::string Name() const {
77 return "SemanticBuilder";
78 }
79
80private:
86 void GetObjSemanticAndMotionType(ObjectPtr object);
87}; // class SemanticBuilder
88
89} // namespace lidar
90} // namespace perception
91} // namespace apollo
SemanticBuilder()=default
Construct a new Semantic Builder
bool Init(const SemanticBuilderInitOptions &options=SemanticBuilderInitOptions())
Init the Semantic Builder with initialization options
bool Build(const SemanticBuilderOptions &options, LidarFrame *frame)
Get object semantic type.
std::string Name() const
Name of Semantic Builder
~SemanticBuilder()=default
Destroy the Semantic Builder
std::shared_ptr< Object > ObjectPtr
Definition object.h:127
std::shared_ptr< apollo::perception::base::Object > ObjectPtr
class register implement
Definition arena_queue.h:37