MeVisLab Toolbox Reference
mlPCLPointCloudToXMarkerList.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 "MLPCLMLAdaptersSystem.h"
16 #include <mlPCLModule.h>
17 #include <mlXMarkerList.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 
37 private:
39  void _update();
40 
42  template <typename POINT_CLOUD_TYPE> void _updateT(const POINT_CLOUD_TYPE &pointCloud);
43 
46  BaseField *_outputXMarkerListFld;
47 
52  BoolField *_createEmptyListOnInvalidInputFld;
53 
55  XMarkerList _outputList;
56 
59 
62 };
63 
64 ML_END_NAMESPACE
65 
Project global and OS specific declarations.
#define MLPCL_MLAdapters_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 class for all fields used in the ML.
Definition: mlField.h:73
ML Module base class for algorithms from the Point Cloud Library (PCL).
Definition: mlPCLModule.h:26
ML Module class to convert a point cloud to an XMarkerList.
void activateAttachments() override
Updates internal state after changes of fields without field notifications.
PCLPointCloudToXMarkerList()
Instantiates a module which created a point cloud from an MLPagedImage.
void handleNotification(Field *field) override
Handles field changes of the field field.
Base object class XMarkerList (derived from BaseListTemplate) specialized for XMarker items.
#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.