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.
Field to encapsulate a pointer to an ML base object.
Definition mlFields.h:797
Field to encapsulate a boolean value.
Definition mlFields.h:58
Field to encapsulate an enumerated value.
Definition mlFields.h:195
Base class for all fields used in the ML.
Definition mlField.h:73
Field to encapsulate a float value.
Definition mlFields.h:415
Field to encapsulate an integer value.
Definition mlFields.h:126
ML Module class applying the pcl::FeatureHistogram filter to the input point cloud and provides the f...
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.
ML Module base class for algorithms from the Point Cloud Library (PCL).
Definition mlPCLModule.h:26
Field to encapsulate a string value.
Definition mlFields.h:610
#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.