Public Member Functions | Public Attributes | List of all members
mp2p_icp_filters::FilterDecimateVoxels::Parameters Struct Reference

#include <FilterDecimateVoxels.h>

Public Member Functions

void load_from_yaml (const mrpt::containers::yaml &c, FilterDecimateVoxels &parent)
 

Public Attributes

DecimateMethod decimate_method = DecimateMethod::FirstPoint
 
bool error_on_missing_input_layer = true
 
std::optional< double > flatten_to
 See description on top of this page. More...
 
std::vector< std::string > input_pointcloud_layer
 
uint32_t minimum_input_points_to_filter = 0
 
std::string output_pointcloud_layer
 
double voxel_filter_resolution = 1.0
 

Detailed Description

Definition at line 78 of file FilterDecimateVoxels.h.

Member Function Documentation

◆ load_from_yaml()

void FilterDecimateVoxels::Parameters::load_from_yaml ( const mrpt::containers::yaml &  c,
FilterDecimateVoxels parent 
)

Definition at line 29 of file FilterDecimateVoxels.cpp.

Member Data Documentation

◆ decimate_method

DecimateMethod mp2p_icp_filters::FilterDecimateVoxels::Parameters::decimate_method = DecimateMethod::FirstPoint

The method to pick what point will be used as representative of each voxel

Definition at line 109 of file FilterDecimateVoxels.h.

◆ error_on_missing_input_layer

bool mp2p_icp_filters::FilterDecimateVoxels::Parameters::error_on_missing_input_layer = true

Whether to throw an exception if the input layer does not exist, or, otherwise, it should be silently ignored producing an empty output.

Definition at line 91 of file FilterDecimateVoxels.h.

◆ flatten_to

std::optional<double> mp2p_icp_filters::FilterDecimateVoxels::Parameters::flatten_to

See description on top of this page.

Definition at line 105 of file FilterDecimateVoxels.h.

◆ input_pointcloud_layer

std::vector<std::string> mp2p_icp_filters::FilterDecimateVoxels::Parameters::input_pointcloud_layer
Initial value:

One or more input layers, from which to read (and merge) input points

Definition at line 85 of file FilterDecimateVoxels.h.

◆ minimum_input_points_to_filter

uint32_t mp2p_icp_filters::FilterDecimateVoxels::Parameters::minimum_input_points_to_filter = 0

If !=0 and there are less input points that this number, all points will be just moved through without decimation.

Definition at line 102 of file FilterDecimateVoxels.h.

◆ output_pointcloud_layer

std::string mp2p_icp_filters::FilterDecimateVoxels::Parameters::output_pointcloud_layer

The output point cloud layer name

Definition at line 94 of file FilterDecimateVoxels.h.

◆ voxel_filter_resolution

double mp2p_icp_filters::FilterDecimateVoxels::Parameters::voxel_filter_resolution = 1.0

Size of each voxel edge [meters]

Definition at line 97 of file FilterDecimateVoxels.h.


The documentation for this struct was generated from the following files:
mp2p_icp::metric_map_t::PT_LAYER_RAW
constexpr static const char * PT_LAYER_RAW
Definition: metricmap.h:58


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