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.
PCLModule(int numImageInputs=0, int numImageOutputs=0, int numPCLInputs=0, int numPCLOutputs=0, bool createEnumAndNotify=false)
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.
#define ML_MODULE_CLASS_HEADER(className)
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.