Classes | Public Member Functions | Public Attributes | List of all members
mp2p_icp_filters::FilterByRange Class Reference

#include <FilterByRange.h>

Inheritance diagram for mp2p_icp_filters::FilterByRange:
Inheritance graph
[legend]

Classes

struct  Parameters
 

Public Member Functions

void filter (mp2p_icp::metric_map_t &inOut) const override
 
 FilterByRange ()
 
void initialize (const mrpt::containers::yaml &c) override
 
- Public Member Functions inherited from mp2p_icp_filters::FilterBase
 FilterBase ()
 
virtual ~FilterBase ()
 
- Public Member Functions inherited from mp2p_icp::Parameterizable
ParameterSourceattachedSource ()
 
const ParameterSourceattachedSource () const
 
virtual void attachToParameterSource (ParameterSource &source)
 
void checkAllParametersAreRealized () const
 
auto & declaredParameters ()
 
const auto & declaredParameters () const
 
void unrealizeParameters ()
 Mark all non-constant parameters as non-evaluated again. More...
 

Public Attributes

Parameters params_
 

Additional Inherited Members

- Protected Member Functions inherited from mp2p_icp::Parameterizable
void parseAndDeclareParameter (const std::string &value, double &target)
 
void parseAndDeclareParameter (const std::string &value, float &target)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
 
void parseAndDeclareParameter (const std::string &value, uint32_t &target)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
 

Detailed Description

Filter points according to whether their range (distance from "center") is between a (min,max) range or not. By default, "center" is at (0,0,0) in the point cloud frame of reference.

There are two (optional) output target layers, one for the points within the range [min,max] (output_layer_between) and another for those outside of the range (output_layer_outside). At least one must be provided.

Definition at line 30 of file FilterByRange.h.

Constructor & Destructor Documentation

◆ FilterByRange()

FilterByRange::FilterByRange ( )

Definition at line 50 of file FilterByRange.cpp.

Member Function Documentation

◆ filter()

void FilterByRange::filter ( mp2p_icp::metric_map_t inOut) const
overridevirtual

See docs above for FilterBase.

Implements mp2p_icp_filters::FilterBase.

Definition at line 65 of file FilterByRange.cpp.

◆ initialize()

void FilterByRange::initialize ( const mrpt::containers::yaml &  cfg_block)
overridevirtual

Loads, from a YAML configuration block, all the common, and implementation-specific parameters.

Implements mp2p_icp_filters::FilterBase.

Definition at line 55 of file FilterByRange.cpp.

Member Data Documentation

◆ params_

Parameters mp2p_icp_filters::FilterByRange::params_

Algorithm parameters

Definition at line 80 of file FilterByRange.h.


The documentation for this class was generated from the following files:


mp2p_icp
Author(s):
autogenerated on Thu Oct 17 2024 02:45:37