struct mp2p_icp_filters::FilterBoundingBox::Parameters

Overview

#include <FilterBoundingBox.h>

struct Parameters
{
    // fields

    std::string input_pointcloud_layer =             mp2p_icp::metric_map_t::PT_LAYER_RAW;
    std::string inside_pointcloud_layer;
    std::string outside_pointcloud_layer;
    mrpt::math::TBoundingBoxf bounding_box = {             {-1.0f, -1.0f, -1.0f}, {1.0f, 1.0f, 1.0f}};

    // methods

    void load_from_yaml(
        const mrpt::containers::yaml& c,
        FilterBoundingBox& parent
        );
};

Fields

std::string inside_pointcloud_layer

The output point cloud layer name for points INSIDE the bbox

std::string outside_pointcloud_layer

The output point cloud layer name for points OUTSIDE the bbox

mrpt::math::TBoundingBoxf bounding_box = {             {-1.0f, -1.0f, -1.0f}, {1.0f, 1.0f, 1.0f}}

YAML loading format:

bounding_box_min: [-10, -10, -5]
bounding_box_max: [ 10,  10,  5]