MeVisLab Toolbox Reference
mlDicomREGSave.h
Go to the documentation of this file.
1 // Copyright (c) Fraunhofer MEVIS, Germany. All rights reserved.
2 // **InsertLicense** code
3 //----------------------------------------------------------------------------------
5 
23 //----------------------------------------------------------------------------------
24 #pragma once
25 
26 // Local includes
27 #include "MLDicomOutputsSystem.h"
28 
29 #include <mlModuleIncludes.h>
30 #include <mlDicomSaveBase.h>
42 
43 // DICOM tree etc.
44 #include <DCMTree_Tree.h>
45 
46 ML_START_NAMESPACE
47 
48 //----------------------------------------------------------------------------------
49 // See above.
50 //----------------------------------------------------------------------------------
52 {
53 public:
54 
57 
58 protected:
59 
61  void handleNotification(Field *field) override;
62 
65  std::string _checkConsistency() const override;
66 
69 
72  void _updateInputState() override;
73 
76 
79  std::string _setUpTreeContent() override;
80 
83 
86 
91 
94 
98 
101 
104 
109 
112 
115 
118 
121 };
122 
123 ML_END_NAMESPACE
Project global and OS specific declarations.
#define MLDICOMOUTPUTS_EXPORT
DLL export macro definition.
Manages the module field interface according to Common Instance Reference Module in DICOM Part 3.
Manages the module field interface according to DICOM ContentDate and ContentTime tags.
Manages the module field interface according to DICOM Content Identification macro,...
Manages the module field interface according to DICOM Deformable Spatial Registration C....
Manages the module field interface for the DICOM Frame Of Reference Module.
Manages the module field interface according to DICOM General Equipment, C.7.5.1.
Manages the module field interface according to DICOM General Series, C.7.3.1.
Manages the module field interface according to DICOM General Study, C.7.1.3.
Manages the module field interface according to DICOM Patient Module, C.7.1.1.
DicomREGSave()
Constructor.
void _updateInputState() override
Overwrites base class and sets up additional stuff in _commonInstanceReferenceModuleTags and _deforma...
DicomGeneralStudyModuleTagInterface _generalStudyTags
General Study tags, C.7.2.1, mandatory for A.39.2.3 Deformable Spatial Registration IOD Module.
std::string _checkConsistency() const override
Checks for invalid parameters and return a textual description of the error if there is any,...
DicomPatientModuleTagInterface _patientTags
Patient information tags, C.7.1.1., mandatory for A.39.2.3 Deformable Spatial Registration IOD Module...
ML_MODULE_CLASS_HEADER(DicomREGSave)
Implements interface for the runtime type system of the ML.
DicomContentIdentificationMacroTagInterface _contentIdentificationMacro
Content Identification macro, 10.9 (needed as mandatory part of Deformable Spatial Registration Modul...
DicomFrameOfReferenceModuleTagInterface _frameOfReferenceTags
Frame Of Reference tags, C.7.4.1, mandatory for A.39.2.3 Deformable Spatial Registration IOD Module.
void handleNotification(Field *field) override
Handles field changes of the field field.
DicomContentDateTimeTagInterface _contentDateTimeTags
ContentDate and ContentTime tags (needed as mandatory part of Deformable Spatial Registration Module ...
DicomGeneralSeriesModuleTagInterface _generalSeriesTags
General Series tags, C.7.3.1, mandatory for A.39.2.3 Deformable Spatial Registration IOD Module.
void _removeUndesiredInputTags(DCMTree::TreePtr resultTree) const
Remove tags from tree which could disturb the correct interpretation of the written DICOM file.
void _inheritFieldValuesFromDCMTree(DCMTree::Const_TreePtr dcmTree) override
Overloads base class field inheritance and adds the additional tags needed by this class.
DicomCommonInstanceReferenceModuleTagInterface _commonInstanceReferenceModuleTags
Common Instance Reference, C.12.2, mandatory for A.39.2.3 Deformable Spatial Registration IOD Module.
DicomDeformableSpatialRegistrationModuleTagInterface _deformableSpatialRegistrationModule
Deformable Spatial Registration Module C.20.3, without ContentDate, ContentTime, and ContentIdentific...
std::string _setUpTreeContent() override
Set the REG DICOM tags in the tree.
DicomReferencedImageSequenceTagInterface _referencedImageSequence
ReferencedImageSequence according to Deformable Spatial Registration Module C.20.3.
DicomGeneralEquipmentModuleTagInterface _generalAndEnhancedGeneralEquipmentTags
General Equipment tags, C.7.5.1, and C.2.2, Enhanced General Equipment, C.5.2, both mandatory for A....
DicomSOPCommonModuleTagInterface _sopCommonModuleTags
SOP Common C.12.1, mandatory for A.39.2.3 Deformable Spatial Registration IOD Module.
Manages the module field interface according to Common Instance Reference Module in DICOM Part 3.
Manages the module field interface according to SOP Common Module shown in DICOM Table 12-1.
Base class for all fields used in the ML.
Definition: mlField.h:73
Header file for the tag interface which manages the Common Instance Reference Module in DICOM Part 3.
Header file for the ML module base class DicomContentDateTimeTagInterface.
Header file for the ML module base class DicomContentIdentificationMacroTagInterface.
Header file for the ML module base class DicomDeformableSpatialRegistrationModuleTagInterface.
Header file for the tag interface for the Frame Of Reference Module, C.7-6.
Header file for the ML module base class DicomGeneralEquipmentModuleTagInterface.
Header file for the ML module base class DicomGeneralSeriesModuleTagInterface.
Header file for the ML module base class DicomGeneralStudyModuleTagInterface.
Header file for the ML module base class DicomPatientModuleTagInterface.
Header file for the tag interface which manages the Referenced Image Sequence in DICOM Part 3.
Header file for the tag interface for the SOP Common Module shown as in DICOM Table 12-1.
Header file for the ML module base class DicomSaveBase.
boost::shared_ptr< const Tree > Const_TreePtr
Definition: DCMTree_Lib.h:73
boost::shared_ptr< Tree > TreePtr
shared pointer to a DCMTree::Tree
Definition: DCMTree_Lib.h:70