class mp2p_icp_filters::FilterByRange

Overview

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.

#include <FilterByRange.h>

class FilterByRange: public mp2p_icp_filters::FilterBase
{
public:
    // structs

    struct Parameters;

    // fields

    Parameters params_;

    // methods

    virtual void initialize(const mrpt::containers::yaml& cfg_block);
    virtual void filter(mp2p_icp::metric_map_t& inOut) const;
};

Inherited Members

public:
    // methods

    virtual void initialize(const mrpt::containers::yaml& cfg_block) = 0;
    virtual void filter(mp2p_icp::metric_map_t& inOut) const = 0;

Fields

Parameters params_

Algorithm parameters

Methods

virtual void initialize(const mrpt::containers::yaml& cfg_block)

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

virtual void filter(mp2p_icp::metric_map_t& inOut) const

See docs above for FilterBase.