mp2p_icp_filters
include
mp2p_icp_filters
FilterCurvature.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
namespace
mp2p_icp_filters
19
{
30
class
FilterCurvature
:
public
mp2p_icp_filters::FilterBase
31
{
32
DEFINE_MRPT_OBJECT(
FilterCurvature
,
mp2p_icp_filters
)
33
public
:
34
FilterCurvature
();
35
36
// See docs in base class.
37
void
initialize
(
const
mrpt::containers::yaml& c)
override
;
38
39
// See docs in FilterBase
40
void
filter
(
mp2p_icp::metric_map_t
& inOut)
const override
;
41
42
struct
Parameters
43
{
44
void
load_from_yaml
(
const
mrpt::containers::yaml& c);
45
46
std::string
input_pointcloud_layer
=
47
mp2p_icp::metric_map_t::PT_LAYER_RAW
;
48
51
std::string
output_layer_larger_curvature
;
52
55
std::string
output_layer_smaller_curvature
;
56
59
std::string
output_layer_other
;
60
61
float
max_cosine
= 0.5f;
62
float
min_clearance
= 0.02f;
63
float
max_gap
= 1.00f;
64
};
65
67
Parameters
params_
;
68
};
69
72
}
// namespace mp2p_icp_filters
mp2p_icp_filters::FilterCurvature::params_
Parameters params_
Definition:
FilterCurvature.h:67
mp2p_icp_filters::FilterCurvature::Parameters::max_gap
float max_gap
Definition:
FilterCurvature.h:63
mp2p_icp_filters::FilterCurvature::Parameters::input_pointcloud_layer
std::string input_pointcloud_layer
Definition:
FilterCurvature.h:46
mp2p_icp_filters::FilterCurvature
Definition:
FilterCurvature.h:30
mp2p_icp_filters::FilterCurvature::Parameters::load_from_yaml
void load_from_yaml(const mrpt::containers::yaml &c)
Definition:
FilterCurvature.cpp:30
mp2p_icp_filters::FilterCurvature::Parameters::output_layer_larger_curvature
std::string output_layer_larger_curvature
Definition:
FilterCurvature.h:51
mp2p_icp::metric_map_t::PT_LAYER_RAW
constexpr static const char * PT_LAYER_RAW
Definition:
metricmap.h:58
testing::internal::string
::std::string string
Definition:
gtest.h:1979
mp2p_icp_filters::FilterCurvature::Parameters
Definition:
FilterCurvature.h:42
mp2p_icp_filters::FilterCurvature::Parameters::output_layer_smaller_curvature
std::string output_layer_smaller_curvature
Definition:
FilterCurvature.h:55
mp2p_icp_filters::FilterCurvature::Parameters::min_clearance
float min_clearance
Definition:
FilterCurvature.h:62
mp2p_icp_filters::FilterCurvature::FilterCurvature
FilterCurvature()
mp2p_icp_filters::FilterBase
Definition:
FilterBase.h:46
mp2p_icp_filters::FilterCurvature::filter
void filter(mp2p_icp::metric_map_t &inOut) const override
Definition:
FilterCurvature.cpp:52
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::FilterCurvature::Parameters::max_cosine
float max_cosine
Definition:
FilterCurvature.h:61
mp2p_icp_filters::FilterCurvature::Parameters::output_layer_other
std::string output_layer_other
Definition:
FilterCurvature.h:59
mp2p_icp_filters
Definition:
FilterAdjustTimestamps.h:19
mp2p_icp_filters::FilterCurvature::initialize
void initialize(const mrpt::containers::yaml &c) override
Definition:
FilterCurvature.cpp:46
mp2p_icp
Author(s):
autogenerated on Thu Dec 26 2024 03:48:10