mp2p_icp_filters
include
mp2p_icp_filters
FilterRemoveByVoxelOccupancy.h
Go to the documentation of this file.
1
/* -------------------------------------------------------------------------
2
* A repertory of multi primitive-to-primitive (MP2P) ICP algorithms in C++
3
* Copyright (C) 2018-2024 Jose Luis Blanco, University of Almeria
4
* See LICENSE for license information.
5
* ------------------------------------------------------------------------- */
14
#pragma once
15
16
#include <
mp2p_icp/metricmap.h
>
17
#include <
mp2p_icp_filters/FilterBase.h
>
18
19
namespace
mp2p_icp_filters
20
{
41
class
FilterRemoveByVoxelOccupancy
:
public
mp2p_icp_filters::FilterBase
42
{
43
DEFINE_MRPT_OBJECT(
FilterRemoveByVoxelOccupancy
,
mp2p_icp_filters
)
44
public
:
45
FilterRemoveByVoxelOccupancy
();
46
47
// See docs in base class.
48
void
initialize
(
const
mrpt::containers::yaml& c)
override
;
49
50
// See docs in FilterBase
51
void
filter
(
mp2p_icp::metric_map_t
& inOut)
const override
;
52
53
struct
Parameters
54
{
55
void
load_from_yaml
(
56
const
mrpt::containers::yaml& c,
57
FilterRemoveByVoxelOccupancy
& parent);
58
59
std::string
input_pointcloud_layer
;
60
std::string
input_voxel_layer
;
61
std::string
output_layer_static_objects
;
62
std::string
output_layer_dynamic_objects
;
63
double
occupancy_threshold
= 0.4;
64
};
65
67
Parameters
params_
;
68
};
69
72
}
// namespace mp2p_icp_filters
mp2p_icp_filters::FilterRemoveByVoxelOccupancy::Parameters::occupancy_threshold
double occupancy_threshold
Definition:
FilterRemoveByVoxelOccupancy.h:63
testing::internal::string
::std::string string
Definition:
gtest.h:1979
mp2p_icp_filters::FilterRemoveByVoxelOccupancy::params_
Parameters params_
Definition:
FilterRemoveByVoxelOccupancy.h:67
mp2p_icp_filters::FilterRemoveByVoxelOccupancy::Parameters
Definition:
FilterRemoveByVoxelOccupancy.h:53
mp2p_icp_filters::FilterBase
Definition:
FilterBase.h:46
mp2p_icp_filters::FilterRemoveByVoxelOccupancy::Parameters::input_voxel_layer
std::string input_voxel_layer
Definition:
FilterRemoveByVoxelOccupancy.h:60
mp2p_icp_filters::FilterRemoveByVoxelOccupancy::Parameters::output_layer_dynamic_objects
std::string output_layer_dynamic_objects
Definition:
FilterRemoveByVoxelOccupancy.h:62
mp2p_icp_filters::FilterRemoveByVoxelOccupancy
Definition:
FilterRemoveByVoxelOccupancy.h:41
FilterBase.h
Base virtual class for point cloud filters.
mp2p_icp_filters::FilterRemoveByVoxelOccupancy::Parameters::load_from_yaml
void load_from_yaml(const mrpt::containers::yaml &c, FilterRemoveByVoxelOccupancy &parent)
Definition:
FilterRemoveByVoxelOccupancy.cpp:25
mp2p_icp_filters::FilterRemoveByVoxelOccupancy::Parameters::output_layer_static_objects
std::string output_layer_static_objects
Definition:
FilterRemoveByVoxelOccupancy.h:61
metricmap.h
Generic representation of pointcloud(s) and/or extracted features.
mp2p_icp::metric_map_t
Generic container of pointcloud(s), extracted features and other maps.
Definition:
metricmap.h:49
mp2p_icp_filters::FilterRemoveByVoxelOccupancy::Parameters::input_pointcloud_layer
std::string input_pointcloud_layer
Definition:
FilterRemoveByVoxelOccupancy.h:59
mp2p_icp_filters::FilterRemoveByVoxelOccupancy::FilterRemoveByVoxelOccupancy
FilterRemoveByVoxelOccupancy()
Definition:
FilterRemoveByVoxelOccupancy.cpp:36
mp2p_icp_filters
Definition:
FilterAdjustTimestamps.h:19
mp2p_icp_filters::FilterRemoveByVoxelOccupancy::filter
void filter(mp2p_icp::metric_map_t &inOut) const override
Definition:
FilterRemoveByVoxelOccupancy.cpp:51
mp2p_icp_filters::FilterRemoveByVoxelOccupancy::initialize
void initialize(const mrpt::containers::yaml &c) override
Definition:
FilterRemoveByVoxelOccupancy.cpp:41
mp2p_icp
Author(s):
autogenerated on Thu Dec 26 2024 03:48:11