MeVisLab Toolbox Reference
mlDicomModifyCreateTree.h
Go to the documentation of this file.
1 // Copyright (c) Fraunhofer MEVIS, Germany. All rights reserved.
2 // **InsertLicense** code
3 //----------------------------------------------------------------------------------
6 
11 //----------------------------------------------------------------------------------
12 #pragma once
13 
14 // Local includes
15 #include "MLDicomModifySystem.h"
16 
17 // ML basics.
18 #include <mlModuleIncludes.h>
19 
20 // Base input for a DicomModifyList or derived object.
21 #include <mlDicomModifyList.h>
22 
23 // Reference-counted DCMTree.
24 #include <mlMutableDicomTree.h>
25 
28 
29 // AddOn for DicomTagDumps.
31 
32 ML_START_NAMESPACE
33 
34 //----------------------------------------------------------------------------------
37 //----------------------------------------------------------------------------------
39 {
40 public:
41 
45 
46 protected:
47 
49  void activateAttachments() override;
50 
52  void handleNotification(Field *field) override;
53 
56  virtual void _updateDCMTree();
57 
58 private:
59 
61  TreeAndVolumeInputFieldAddOn _dcmTreeInputFieldAddOn;
62 
64  DicomTagDumpFieldAddOn _dicomTagDumpFieldAddOn;
65 
66 
68  BaseField *_inputDicomModifierFld;
69 
71  BaseField *_outputDicomTreeFld;
72 
75 };
76 
77 ML_END_NAMESPACE
Project global and OS specific declarations.
#define ML_DICOM_MODIFY_EXPORT
DLL export macro definition.
Field to encapsulate a pointer to an ML base object.
Definition: mlFields.h:1187
Constructor creating an output connector for the result tree, a modifyPlugin connector and tree inp...
void activateAttachments() override
Handles changes which were applied without notifications.
virtual void _updateDCMTree()
Creates a new DCMTree either as copy from an input or by creating a new one and applies possible inpu...
void handleNotification(Field *field) override
Handles field changes.
DicomModifyCreateTree()
Constructor creating an output connector for the result tree, a modifyPlugin connector and tree input...
Class managing fields to show and handle a DICOM tree tag dump.
Base class for all fields used in the ML.
Definition: mlField.h:73
Base class for an image processing module of the ML.
Definition: mlModule.h:156
Class implementing a FieldAddOn managing fields and functionality for a multi- purpose input connecto...
#define ML_MODULE_CLASS_HEADER(className)
Like ML_CLASS_HEADER for the usage of derived classes from Module.
Header file of a class which manages a list of DicomModifyBase objects and an input which allows the ...
Header file for the DicomTagDumpFieldAddOn which manages fields to show and handle a DICOM tree tag d...
Header file of a FieldAddOn managing fields and functionality for a multi- purpose input connector fo...