MeVisLab Toolbox Reference
mlPCLFeatureHistogram.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
15#include "MLPCLCommonSystem.h"
16#include <mlPCLModule.h>
18// Does not block all thirdparty warnings.
19#include <mlCurveData.h>
21
22ML_START_NAMESPACE
23
24//----------------------------------------------------------------------------------
26//----------------------------------------------------------------------------------
28{
29public:
32
33protected:
35 void activateAttachments() override;
36
38 void handleNotification (Field* field) override;
39
41 virtual void _resetOutputFields();
42
43private:
44
46 FloatField *_thresholdMinFld;
47
49 FloatField *_thresholdMaxFld;
50
53 BoolField *_autoSetMinMaxFld;
54
57 BoolField *_centerValuesInBinsFld;
58
60 IntField *_numberOfBinsFld;
61
63 FloatField *_meanValueFld;
64
67 IntField *_numElemsFld;
68
70 EnumField *_outputCurveTypeFld;
71
73 StringField *_titleFld;
74
76 StringField *_unitFld;
77
79 StringField *_symbolFld;
80
82 IntField *_binEntryMaxFld;
83
85 BaseField *_outputHistogramCurveFld;
86
88 CurveDataPtr _outputHistogramCurve;
89
91 void _filter();
92
94 template <typename POINT_CLOUD_TYPE> void _filterT(const POINT_CLOUD_TYPE &inputPointCloud);
95
98
101};
102
103ML_END_NAMESPACE
104
Project global and OS specific declarations.
#define MLPCL_Common_EXPORT
If included by external modules, exported symbols are declared as import symbols.
Disables warnings from PCL headers which otherwise cannot be avoided.
Restores disabled warnings from PCL headers which otherwise cannot be avoided.
void activateAttachments() override
Updates internal state after changes of fields without field notifications.
PCLFeatureHistogram()
Initializes an ML module wrapping a pcl::FeatureHistogram.
void handleNotification(Field *field) override
Handles field changes of the field field.
virtual void _resetOutputFields()
Reset all output fields to default states.
PCLModule(int numImageInputs=0, int numImageOutputs=0, int numPCLInputs=0, int numPCLOutputs=0, bool createEnumAndNotify=false)
#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.