MeVisLab Toolbox Reference
mlMultiFileVolumeListFilterOutputs.h
Go to the documentation of this file.
1 // Copyright (c) Fraunhofer MEVIS, Germany. All rights reserved.
2 // **InsertLicense** code
3 //----------------------------------------------------------------------------------
6 
12 
13 //----------------------------------------------------------------------------------
14 #pragma once
15 
17 
18 // ML includes
19 #include <mlModuleIncludes.h>
20 
21 ML_START_NAMESPACE
22 
23 // Forward to internally used classes.
24 class MultiFileVolumeList;
25 class StringLineMultiField;
26 class UInt32MultiField;
27 
28 //----------------------------------------------------------------------------------
31 //----------------------------------------------------------------------------------
33 {
34 public:
35 
38 
40 
41 protected:
42 
44  void handleNotification(Field *field) override;
45 
47  void activateAttachments() override;
48 
51 
54 
55 private:
56 
58 
60  void _initializeFieldsAndMembers();
61 
64  unsigned int _convertStringToRawTag(std::string tagStr);
66  std::string _convertRawTagToString(unsigned int tagInt);
67 
70  BaseField *_inputAccessConnectorFld;
71 
74  EnumField *_filterCriteriaBoolOperationFld;
75 
77  BoolField *_searchAnyTagFld;
78 
80  IntField *_numFilterCriteriaFld;
81 
83  IntField *_maxFilterCriteriaFld;
84 
86  IntField *_currentFilterCriteriaFld;
87 
89  NotifyField *_addFilterCriteriaFld;
90 
92  NotifyField *_removeFilterCriteriaFld;
93 
95  StringField *_searchForTagFld;
96 
98  UInt32MultiField *_searchForTagMultiFld;
99 
101  StringField *_searchCriteriaFld;
102 
104  StringLineMultiField *_searchCriteriaMultiFld;
105 
107  NotifyField *_filterVolumeListFld;
108 
110  IntField *_numMatchesFld;
111  IntField *_maxMatchesFld;
112  IntField *_currentMatchedIdFld;
113  IntField *_matchedIdFld;
114  UInt32MultiField *_matchedIdMultiFld;
116 
119 };
120 
121 ML_END_NAMESPACE
Project global and OS specific declarations.
#define MLDIRECTDICOMIMPORTOUTPUTS_EXPORT
DLL export macro definition.
Field to encapsulate a pointer to an ML base object.
Definition: mlFields.h:1187
Field to encapsulate a boolean value.
Definition: mlFields.h:62
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 an integer value.
Definition: mlFields.h:161
Base class for an image processing module of the ML.
Definition: mlModule.h:156
The ML module class MultiFileVolumeListFilterOutputs to filter the volume list of a MultiFileVolumeLi...
void activateAttachments() override
Handle field updates which are applied without notifications.
MultiFileVolumeList * _getCurrentVolumeList()
Returns the pointer to the currently used volume list if there is none or nullptr otherwise.
void handleNotification(Field *field) override
Handle field changes of the field field.
void _setCurrentFields(MLint idx)
Set according fields to display the entries of the multifields at index _currentFilterCriteria.
Class managing a list of MultiFileVolume instances for the DirectDicomImport module; taking ownership...
Field without value for notifications.
Definition: mlFields.h:1049
Field to encapsulate a string value.
Definition: mlFields.h:1000
The field class StringLineMultiField which manages a vector of std::string lines typically separated ...
Class UInt32MultiField. See MultiField for documentation.
#define ML_MODULE_CLASS_HEADER(className)
Like ML_CLASS_HEADER for the usage of derived classes from Module.
MLint64 MLint
A signed ML integer type with at least 64 bits used for index calculations on very large images even ...
Definition: mlTypeDefs.h:578