class mrpt::maps::CPointCloudFilterBase

Overview

Virtual base class for all point-cloud filtering algorithm.

See derived classes for implementations.

See also:

CPointsMap

#include <mrpt/maps/CPointCloudFilterBase.h>

class CPointCloudFilterBase
{
public:
    // structs

    struct TExtraFilterParams;

    // construction

    CPointCloudFilterBase();

    // methods

    virtual void filter(
        mrpt::maps::CPointsMap* inout_pointcloud,
        const mrpt::system::TTimeStamp pc_timestamp,
        const mrpt::poses::CPose3D& pc_reference_pose,
        TExtraFilterParams* params = nullptr
        ) = 0;
};

// direct descendants

class CPointCloudFilterByDistance;

Methods

virtual void filter(
    mrpt::maps::CPointsMap* inout_pointcloud,
    const mrpt::system::TTimeStamp pc_timestamp,
    const mrpt::poses::CPose3D& pc_reference_pose,
    TExtraFilterParams* params = nullptr
    ) = 0

Apply the filtering algorithm to the pointcloud.