MeVisLab Toolbox Reference
mlPCLMLImageToPointCloud.h
Go to the documentation of this file.
1// Copyright (c) Fraunhofer MEVIS, Germany. All rights reserved.
2// **InsertLicense** code author="Wolf Spindler"
3//----------------------------------------------------------------------------------
5
12//----------------------------------------------------------------------------------
13#pragma once
14
16#include <mlPCLModule.h>
17#include <mlPCLMLTools.h>
18
19ML_START_NAMESPACE
20
21//----------------------------------------------------------------------------------
23//----------------------------------------------------------------------------------
25{
26public:
29
30protected:
32 void activateAttachments() override;
33
35 void handleNotification (Field* field) override;
36
37private:
40
42 void _update();
43
45 template <typename POINT_CLOUD_PTR_TYPE> void _updateT(const POINT_CLOUD_PTR_TYPE /*inputPointCloudPtr*/);
46
48 EnumField *_outputPointCloudTypeFld;
49
51 DoubleField *_thresholdMinFld;
52
54 DoubleField *_thresholdMaxFld;
55
57 DoubleField *_lowerValueFld;
58
60 DoubleField *_upperValueFld;
61
64 BoolField *_skipVoxelsBelowMinFld;
65
68 BoolField *_skipVoxelsAboveMaxFld;
69
73 BoolField *_normalizeInClampedRangeFld;
74
78 BoolField *_useVectorLengthAsIntensityFld;
79
83 BoolField *_transformToWorldFld;
84
87
90};
91
92ML_END_NAMESPACE
93
Project global and OS specific declarations.
#define MLPCL_MLAdapters_EXPORT
If included by external modules, exported symbols are declared as import symbols.
void activateAttachments() override
Updates internal state after changes of fields without field notifications.
PCLMLImageToPointCloud()
Instantiates a module which created a point cloud from an MLPagedImage.
void handleNotification(Field *field) override
Handles field changes of the field field.
PCLModule(int numImageInputs=0, int numImageOutputs=0, int numPCLInputs=0, int numPCLOutputs=0, bool createEnumAndNotify=false)
#define ML_MODULE_CLASS_HEADER(className)
A collection of converter tools between the libraries ML and PCL.
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.
A container with parameters for the conversion from ML images to point clouds.