MeVisLab Toolbox Reference
mlPCLPointMemberArithmetic.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 "MLPCLSupportSystem.h"
16#include <mlPCLBaseObject.h>
17#include <mlPCLModule.h>
18
19ML_START_NAMESPACE
20
21//----------------------------------------------------------------------------------
23//----------------------------------------------------------------------------------
25{
26public:
30
31protected:
33 void activateAttachments() override;
34
36 void handleNotification (Field* field) override;
37
38private:
40 void _filter();
41
43 template <typename POINT_CLOUD_TYPE> void _filterT(const POINT_CLOUD_TYPE &inputPointCloud);
44
46 std::vector<BoolField *> _activateMemberFld;
47
49 DoubleField *_scalarConstantFld;
50
52 std::vector<DoubleField *> _constant1Fld;
53
55 NotifyField * _set0ForAll1Fld;
56
58 std::vector<DoubleField *> _constant2Fld;
59
61 NotifyField * _set0ForAll2Fld;
62
64 EnumField *_operation1Fld;
65
67 std::vector<DoubleField *> _result1Fld;
68
70 std::vector<DoubleField *> _result2Fld;
71
73 BoolField *_result1IsValidFld;
74
76 BoolField *_result2IsValidFld;
77
80
81
83};
84
85ML_END_NAMESPACE
86
Project global and OS specific declarations.
#define MLPCLSUPPORT_EXPORT
If included by external modules, exported symbols are declared as import symbols.
PCLModule(int numImageInputs=0, int numImageOutputs=0, int numPCLInputs=0, int numPCLOutputs=0, bool createEnumAndNotify=false)
void activateAttachments() override
Updates internal state after changes of fields without field notifications.
void handleNotification(Field *field) override
Handles field changes of the field field.
#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.