MeVisLab Toolbox Reference
mlDicomFIDSave.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>
36 
37 // DICOM tree etc.
38 #include <DCMTree_Tree.h>
39 
40 ML_START_NAMESPACE
41 
42 //----------------------------------------------------------------------------------
43 // See above.
44 //----------------------------------------------------------------------------------
46 {
47 public:
48 
51 
52 protected:
53 
55  void handleNotification(Field *field) override;
56 
59  std::string _checkConsistency() const override;
60 
63 
66 
69  std::string _setUpTreeContent() override;
70 
73 
76 
79 
82 
85 
88 };
89 
90 ML_END_NAMESPACE
Project global and OS specific declarations.
#define MLDICOMOUTPUTS_EXPORT
DLL export macro definition.
Manages the module field interface according to DICOM ContentDate and ContentTime tags.
Manages the module field interface according to DICOM Content Identification macro,...
DicomGeneralEquipmentModuleTagInterface _generalEquipmentModule
General Equipment Module, C.7.5.1.
DicomSpatialFiducialsModuleTagInterface _spatialFiducialsModule
Spatial Fiducials Module C.21.3.
DicomSOPCommonModuleTagInterface _sopCommonModule
Spatial Fiducials Module C.12.1.
void handleNotification(Field *field) override
Handles field changes of the field field.
std::string _setUpTreeContent() override
Set the FID DICOM tags in the tree.
void _removeUndesiredInputTags(DCMTree::TreePtr resultTree) const
Remove tags from tree which could disturb the correct interpretation of the written DICOM file.
DicomContentDateTimeTagInterface _contentDateTimeTags
ContentDate and ContentTime tags.
DicomContentIdentificationMacroTagInterface _contentIdentificationMacro
Content Identification macro, 10.9.
ML_MODULE_CLASS_HEADER(DicomFIDSave)
Implements interface for the runtime type system of the ML.
DicomFIDSave()
Constructor.
std::string _checkConsistency() const override
Checks for invalid parameters and return a textual description of the error if there is any,...
void _inheritFieldValuesFromDCMTree(DCMTree::Const_TreePtr dcmTree) override
Overloads base class field inheritance and adds the additional tags needed by this class.
Manages the module field interface according to DICOM General Equipment, C.7.5.1.
Manages the module field interface according to SOP Common Module shown in DICOM Table 12-1.
Manages the module field interface according to DICOM Spatial Fiducials C.21.2 without ContentDate,...
Base class for all fields used in the ML.
Definition: mlField.h:73
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 DicomGeneralEquipmentModuleTagInterface.
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.
Header file for the ML module base class DicomSpatialFiducialsModuleTagInterface.
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