Autoware.Auto
voxel_cloud_base.hpp
Go to the documentation of this file.
1
// Copyright 2017-2019 the Autoware Foundation
2
//
3
// Licensed under the Apache License, Version 2.0 (the "License");
4
// you may not use this file except in compliance with the License.
5
// You may obtain a copy of the License at
6
//
7
// http://www.apache.org/licenses/LICENSE-2.0
8
//
9
// Unless required by applicable law or agreed to in writing, software
10
// distributed under the License is distributed on an "AS IS" BASIS,
11
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
// See the License for the specific language governing permissions and
13
// limitations under the License.
14
//
15
// Co-developed by Tier IV, Inc. and Apex.AI, Inc.
16
20
#ifndef VOXEL_GRID_NODES__ALGORITHM__VOXEL_CLOUD_BASE_HPP_
21
#define VOXEL_GRID_NODES__ALGORITHM__VOXEL_CLOUD_BASE_HPP_
22
23
#include <sensor_msgs/msg/point_cloud2.hpp>
24
#include <
voxel_grid/voxel_grid.hpp
>
25
#include <
voxel_grid_nodes/visibility_control.hpp
>
26
#include <string>
27
28
namespace
autoware
29
{
30
namespace
perception
31
{
32
namespace
filters
33
{
34
namespace
voxel_grid_nodes
35
{
38
namespace
algorithm
39
{
42
class
VOXEL_GRID_NODES_PUBLIC
VoxelCloudBase
43
{
44
public
:
46
virtual
~
VoxelCloudBase
();
49
virtual
void
insert(
const
sensor_msgs::msg::PointCloud2
& msg) = 0;
50
54
virtual
const
sensor_msgs::msg::PointCloud2
& get() = 0;
55
56
protected
:
57
using
PointXYZIF
=
autoware::perception::filters::voxel_grid::PointXYZIF
;
58
};
// VoxelCloudBase
59
}
// namespace algorithm
60
}
// namespace voxel_grid_nodes
61
}
// namespace filters
62
}
// namespace perception
63
}
// namespace autoware
64
65
#endif // VOXEL_GRID_NODES__ALGORITHM__VOXEL_CLOUD_BASE_HPP_
autoware::perception::filters::voxel_grid_nodes::algorithm::VoxelCloudBase
A pure interface meant for dynamically dispatching to different voxel grid instances at runtime....
Definition:
voxel_cloud_base.hpp:42
voxel_grid.hpp
This file defines the voxel grid data structure for downsampling point clouds.
visibility_control.hpp
autoware::common::types::PointXYZIF
Definition:
types.hpp:56
autoware
This file defines the lanelet2_map_provider_node class.
Definition:
quick_sort.hpp:24
autoware::perception::filters::filter_node_base::PointCloud2
sensor_msgs::msg::PointCloud2 PointCloud2
Definition:
filter_node_base.cpp:32