MeVisLab Toolbox Reference
mlPCLMarchingCubesHoppe.h
Go to the documentation of this file.
1// Copyright (c) Fraunhofer MEVIS, Germany. All rights reserved.
2// **InsertLicense** code author="Wolf Spindler"
3//----------------------------------------------------------------------------------
6
14//----------------------------------------------------------------------------------
15#pragma once
16
17#include "MLPCLSurfaceSystem.h"
18#include <mlPCLModule.h>
19
20ML_START_NAMESPACE
21
22//----------------------------------------------------------------------------------
25//----------------------------------------------------------------------------------
27{
28public:
31
32protected:
34 void activateAttachments() override;
35
37 void handleNotification (Field* field) override;
38
39private:
41 void _filter();
42
44 template <typename POINT_CLOUD_TYPE> void _filterT(const POINT_CLOUD_TYPE &inputPointCloudPtr);
45
47 void _filterT(const MLPointCloudXYZ &inputPointCloud);
48
50 FloatField *_isoLevelFld;
51
53 IntField *_gridResolutionXFld;
54
56 IntField *_gridResolutionYFld;
57
59 IntField *_gridResolutionZFld;
60
63 FloatField *_percentageExtendGridFld;
64
66 IntField *_maxNumAllowedVoxelsFld;
67
70
73};
74
75ML_END_NAMESPACE
76
Project global and OS specific declarations.
#define MLPCL_Surface_EXPORT
If included by external modules, exported symbols are declared as import symbols.
void handleNotification(Field *field) override
Handles field changes of the field field.
PCLMarchingCubesHoppe()
Initializes an ML module wrapping a pcl::MarchingCubesHoppe filter.
void activateAttachments() override
Updates internal state after changes of fields without field notifications.
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.
pcl::PointCloud< pcl::PointXYZ > MLPointCloudXYZ
The basic point cloud type used in the PCL MeVisLab binding.
Definition mlPCLTypes.h:83