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)
 

Public Attributes

mrpt::math::TBoundingBoxf bounding_box
 
bool error_on_missing_input_layer = true
 
std::string input_pointcloud_layer
 
std::string output_pointcloud_layer
 
bool use_voxel_average = false
 
double voxel_filter_resolution = .20
 

Detailed Description

Definition at line 49 of file FilterDecimateVoxels.h.

Member Function Documentation

◆ load_from_yaml()

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

Definition at line 25 of file FilterDecimateVoxels.cpp.

Member Data Documentation

◆ bounding_box

mrpt::math::TBoundingBoxf mp2p_icp_filters::FilterDecimateVoxels::Parameters::bounding_box
Initial value:
= {
{-10.0f, -10.0f, -5.0f}, {10.0f, 10.0f, 5.0f}}

YAML loading format:

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

Definition at line 78 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 59 of file FilterDecimateVoxels.h.

◆ input_pointcloud_layer

std::string mp2p_icp_filters::FilterDecimateVoxels::Parameters::input_pointcloud_layer
Initial value:

Definition at line 53 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 62 of file FilterDecimateVoxels.h.

◆ use_voxel_average

bool mp2p_icp_filters::FilterDecimateVoxels::Parameters::use_voxel_average = false

If enabled, the mean of each voxel is taken instead of any of the original points.

Definition at line 69 of file FilterDecimateVoxels.h.

◆ voxel_filter_resolution

double mp2p_icp_filters::FilterDecimateVoxels::Parameters::voxel_filter_resolution = .20

Size of each voxel edge [meters]

Definition at line 65 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:56


mrpt_local_obstacles
Author(s): Jose-Luis Blanco-Claraco
autogenerated on Mon Aug 14 2023 02:09:05