mp2p_icp_filters
include
mp2p_icp_filters
FilterByRing.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
18
#include <set>
19
20
namespace
mp2p_icp_filters
21
{
26
class
FilterByRing
:
public
mp2p_icp_filters::FilterBase
27
{
28
DEFINE_MRPT_OBJECT(
FilterByRing
,
mp2p_icp_filters
)
29
public
:
30
FilterByRing
();
31
32
// See docs in base class.
33
void
initialize
(
const
mrpt::containers::yaml& c)
override
;
34
35
// See docs in FilterBase
36
void
filter
(
mp2p_icp::metric_map_t
& inOut)
const override
;
37
38
struct
Parameters
39
{
40
void
load_from_yaml
(
const
mrpt::containers::yaml& c);
41
42
std::string
input_pointcloud_layer
;
43
46
std::string
output_layer_selected
;
47
50
std::string
output_layer_non_selected
;
51
52
std::set<int>
selected_ring_ids
;
53
};
54
56
Parameters
params_
;
57
};
58
61
}
// namespace mp2p_icp_filters
mp2p_icp_filters::FilterByRing::params_
Parameters params_
Definition:
FilterByRing.h:56
mp2p_icp_filters::FilterByRing::Parameters::selected_ring_ids
std::set< int > selected_ring_ids
Definition:
FilterByRing.h:52
mp2p_icp_filters::FilterByRing::FilterByRing
FilterByRing()
mp2p_icp_filters::FilterByRing::filter
void filter(mp2p_icp::metric_map_t &inOut) const override
Definition:
FilterByRing.cpp:58
mp2p_icp_filters::FilterByRing::Parameters::input_pointcloud_layer
std::string input_pointcloud_layer
Definition:
FilterByRing.h:42
mp2p_icp_filters::FilterByRing::initialize
void initialize(const mrpt::containers::yaml &c) override
Definition:
FilterByRing.cpp:52
testing::internal::string
::std::string string
Definition:
gtest.h:1979
mp2p_icp_filters::FilterBase
Definition:
FilterBase.h:46
FilterBase.h
Base virtual class for point cloud filters.
mp2p_icp_filters::FilterByRing::Parameters::load_from_yaml
void load_from_yaml(const mrpt::containers::yaml &c)
Definition:
FilterByRing.cpp:22
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::FilterByRing::Parameters
Definition:
FilterByRing.h:38
mp2p_icp_filters::FilterByRing::Parameters::output_layer_selected
std::string output_layer_selected
Definition:
FilterByRing.h:46
mp2p_icp_filters::FilterByRing
Definition:
FilterByRing.h:26
mp2p_icp_filters::FilterByRing::Parameters::output_layer_non_selected
std::string output_layer_non_selected
Definition:
FilterByRing.h:50
mp2p_icp
Author(s):
autogenerated on Thu Dec 26 2024 03:48:10