mp2p_icp_filters
include
mp2p_icp_filters
FilterDeleteLayer.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
* ------------------------------------------------------------------------- */
13
#pragma once
14
15
#include <
mp2p_icp/metricmap.h
>
16
#include <
mp2p_icp_filters/FilterBase.h
>
17
#include <mrpt/maps/CPointsMap.h>
18
19
namespace
mp2p_icp_filters
20
{
25
class
FilterDeleteLayer
:
public
mp2p_icp_filters::FilterBase
26
{
27
DEFINE_MRPT_OBJECT(
FilterDeleteLayer
,
mp2p_icp_filters
)
28
public
:
29
FilterDeleteLayer
();
30
31
// See docs in base class.
32
void
initialize
(
const
mrpt::containers::yaml& c)
override
;
33
34
// See docs in FilterBase
35
void
filter
(
mp2p_icp::metric_map_t
& inOut)
const override
;
36
37
struct
Parameters
38
{
39
void
load_from_yaml
(
const
mrpt::containers::yaml& c);
40
42
std::vector<std::string>
pointcloud_layer_to_remove
;
43
47
bool
error_on_missing_input_layer
=
true
;
48
};
49
51
Parameters
params_
;
52
};
53
56
}
// namespace mp2p_icp_filters
mp2p_icp_filters::FilterDeleteLayer::Parameters::error_on_missing_input_layer
bool error_on_missing_input_layer
Definition:
FilterDeleteLayer.h:47
mp2p_icp_filters::FilterDeleteLayer::initialize
void initialize(const mrpt::containers::yaml &c) override
Definition:
FilterDeleteLayer.cpp:58
mp2p_icp_filters::FilterDeleteLayer::FilterDeleteLayer
FilterDeleteLayer()
Definition:
FilterDeleteLayer.cpp:53
mp2p_icp_filters::FilterDeleteLayer
Definition:
FilterDeleteLayer.h:25
mp2p_icp_filters::FilterDeleteLayer::Parameters::load_from_yaml
void load_from_yaml(const mrpt::containers::yaml &c)
Definition:
FilterDeleteLayer.cpp:21
mp2p_icp_filters::FilterBase
Definition:
FilterBase.h:46
mp2p_icp_filters::FilterDeleteLayer::filter
void filter(mp2p_icp::metric_map_t &inOut) const override
Definition:
FilterDeleteLayer.cpp:68
FilterBase.h
Base virtual class for point cloud filters.
mp2p_icp_filters::FilterDeleteLayer::Parameters
Definition:
FilterDeleteLayer.h:37
mp2p_icp_filters::FilterDeleteLayer::params_
Parameters params_
Definition:
FilterDeleteLayer.h:51
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
Definition:
FilterAdjustTimestamps.h:19
mp2p_icp_filters::FilterDeleteLayer::Parameters::pointcloud_layer_to_remove
std::vector< std::string > pointcloud_layer_to_remove
Definition:
FilterDeleteLayer.h:42
mp2p_icp
Author(s):
autogenerated on Thu Dec 26 2024 03:48:10