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>
17 #include <mlCurveData.h>
18 
19 ML_START_NAMESPACE
20 
21 //----------------------------------------------------------------------------------
23 //----------------------------------------------------------------------------------
25 {
26 public:
29 
30 protected:
32  void activateAttachments() override;
33 
35  void handleNotification (Field* field) override;
36 
38  virtual void _resetOutputFields();
39 
40 private:
41 
43  FloatField *_thresholdMinFld;
44 
46  FloatField *_thresholdMaxFld;
47 
50  BoolField *_autoSetMinMaxFld;
51 
54  BoolField *_centerValuesInBinsFld;
55 
57  IntField *_numberOfBinsFld;
58 
60  FloatField *_meanValueFld;
61 
64  IntField *_numElemsFld;
65 
67  EnumField *_outputCurveTypeFld;
68 
70  StringField *_titleFld;
71 
73  StringField *_unitFld;
74 
76  StringField *_symbolFld;
77 
79  IntField *_binEntryMaxFld;
80 
82  BaseField *_outputHistogramCurveFld;
83 
85  CurveData _outputHistogramCurve;
86 
88  void _filter();
89 
91  template <typename POINT_CLOUD_TYPE> void _filterT(const POINT_CLOUD_TYPE &inputPointCloud);
92 
95 
98 };
99 
100 ML_END_NAMESPACE
101 
Project global and OS specific declarations.
#define MLPCL_Common_EXPORT
If included by external modules, exported symbols are declared as import symbols.
Field to encapsulate a pointer to an ML base object.
Definition: mlFields.h:1187
Field to encapsulate a boolean value.
Definition: mlFields.h:62
Base object class representing a single curve object, consisting of zero or one X- and any number of ...
Definition: mlCurveData.h:56
Field to encapsulate an enumerated value.
Definition: mlFields.h:363
Base class for all fields used in the ML.
Definition: mlField.h:73
Field to encapsulate a float value.
Definition: mlFields.h:627
Field to encapsulate an integer value.
Definition: mlFields.h:161
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:1000
#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.