FilterBoundingBox.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-2021 Jose Luis Blanco, University of Almeria
4  * See LICENSE for license information.
5  * ------------------------------------------------------------------------- */
13 #pragma once
14 
15 #include <mp2p_icp/metricmap.h>
17 
18 namespace mp2p_icp_filters
19 {
26 {
27  DEFINE_MRPT_OBJECT(FilterBoundingBox, mp2p_icp_filters)
28  public:
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 
43 
46 
54  mrpt::math::TBoundingBoxf bounding_box = {
55  {-1.0f, -1.0f, -1.0f}, {1.0f, 1.0f, 1.0f}};
56 
57  bool keep_bbox_contents = true;
58  };
59 
62 };
63 
66 } // namespace mp2p_icp_filters
Generic container of pointcloud(s), extracted features and other maps.
Definition: metricmap.h:47
Base virtual class for point cloud filters.
void load_from_yaml(const mrpt::containers::yaml &c)
::std::string string
Definition: gtest.h:1979
Generic representation of pointcloud(s) and/or extracted features.
void initialize(const mrpt::containers::yaml &c) override
static constexpr const char * PT_LAYER_RAW
Definition: metricmap.h:56
void filter(mp2p_icp::metric_map_t &inOut) const override


mrpt_local_obstacles
Author(s): Jose-Luis Blanco-Claraco
autogenerated on Thu Jun 1 2023 03:05:09