mp2p_icp_filters
include
mp2p_icp_filters
FilterMerge.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
#include <mrpt/math/TPose3D.h>
19
20
namespace
mp2p_icp_filters
21
{
44
class
FilterMerge
:
public
mp2p_icp_filters::FilterBase
45
{
46
DEFINE_MRPT_OBJECT(
FilterMerge
,
mp2p_icp_filters
)
47
public
:
48
FilterMerge
();
49
50
// See docs in base class.
51
void
initialize
(
const
mrpt::containers::yaml& c)
override
;
52
53
// See docs in FilterBase
54
void
filter
(
mp2p_icp::metric_map_t
& inOut)
const override
;
55
56
struct
Parameters
57
{
58
void
load_from_yaml
(
59
const
mrpt::containers::yaml& c,
FilterMerge
& parent);
60
61
std::string
input_pointcloud_layer
;
62
std::string
target_layer
;
63
65
bool
input_layer_in_local_coordinates
=
false
;
66
67
// clang-format off
73
// clang-format on
74
mrpt::math::TPose3D
robot_pose
;
75
};
76
78
Parameters
params_
;
79
};
80
83
}
// namespace mp2p_icp_filters
mp2p_icp_filters::FilterMerge::Parameters::target_layer
std::string target_layer
Definition:
FilterMerge.h:62
mp2p_icp_filters::FilterMerge::initialize
void initialize(const mrpt::containers::yaml &c) override
Definition:
FilterMerge.cpp:51
mp2p_icp_filters::FilterMerge::Parameters
Definition:
FilterMerge.h:56
mp2p_icp_filters::FilterMerge
Definition:
FilterMerge.h:44
mp2p_icp_filters::FilterMerge::FilterMerge
FilterMerge()
Definition:
FilterMerge.cpp:46
mp2p_icp_filters::FilterMerge::filter
void filter(mp2p_icp::metric_map_t &inOut) const override
Definition:
FilterMerge.cpp:61
testing::internal::string
::std::string string
Definition:
gtest.h:1979
mp2p_icp_filters::FilterMerge::Parameters::robot_pose
mrpt::math::TPose3D robot_pose
Definition:
FilterMerge.h:74
mp2p_icp_filters::FilterBase
Definition:
FilterBase.h:46
mp2p_icp_filters::FilterMerge::Parameters::input_pointcloud_layer
std::string input_pointcloud_layer
Definition:
FilterMerge.h:61
FilterBase.h
Base virtual class for point cloud filters.
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::FilterMerge::Parameters::load_from_yaml
void load_from_yaml(const mrpt::containers::yaml &c, FilterMerge &parent)
Definition:
FilterMerge.cpp:25
mp2p_icp_filters
Definition:
FilterAdjustTimestamps.h:19
mp2p_icp_filters::FilterMerge::Parameters::input_layer_in_local_coordinates
bool input_layer_in_local_coordinates
Definition:
FilterMerge.h:65
mp2p_icp_filters::FilterMerge::params_
Parameters params_
Definition:
FilterMerge.h:78
mp2p_icp
Author(s):
autogenerated on Thu Dec 26 2024 03:48:10