20#include <pcl/filters/voxel_grid.h>
58 template <
typename POINT_TYPE,
typename POINT_CLOUD_TYPE>
59 void _setUpTSubImage(pcl::VoxelGrid<POINT_TYPE> &voxelGridFilter,
60 const POINT_CLOUD_TYPE &outputPointCloud,
64 template <
typename POINT_CLOUD_TYPE>
void _filterT(
const POINT_CLOUD_TYPE &inputPointCloud);
86 IntField *_minimumPointsNumberPerVoxelFld;
Disables warnings from PCL headers which otherwise cannot be avoided.
Restores disabled warnings from PCL headers which otherwise cannot be avoided.
Field to encapsulate a boolean value.
Base class for all fields used in the ML.
Field to encapsulate a float value.
Field to encapsulate an integer value.
ML Module base class for algorithms from the Point Cloud Library (PCL).
ML Module class applying the pcl::VoxelGrid filter to the input point cloud and provides the filter ...
void calculateOutputSubImage(SubImage *outSubImage, int outIndex, SubImage *) override
Fills an output page with image data.
PCLVoxelGrid()
Initializes an ML module wrapping a pcl::VoxelGrid filter.
void handleNotification(Field *field) override
Handles field changes of the field field.
void calculateOutputImageProperties(int outIndex, PagedImage *outImage) override
Determine settings of the ML image output.
void activateAttachments() override
Updates internal state after changes of fields without field notifications.
Class which represents an image, which manages properties of an image and image data which is located...
Field to encapsulate a string value.
This class manages/represents a rectangular 6d image region which is organized linearly in memory.
This template class manages/represents a rectangular 6d image region in memory which is organized lin...
Field to encapsulate a vector of 3 double values.
#define ML_MODULE_CLASS_HEADER(className)
Like ML_CLASS_HEADER for the usage of derived classes from Module.
ML Module base class for algorithms from the Point Cloud Library (PCL).
#define ML_PCL_TEST_INTERFACE(BASE_OBJECT_NAME)
Implements a dedicated interface for PCL related modules which is required in automatic tests.