MeVisLab Toolbox Reference
mlDicomMRSeriesModuleTagInterface.h
Go to the documentation of this file.
1 // Copyright (c) Fraunhofer MEVIS, Germany. All rights reserved.
2 // **InsertLicense** code
3 //----------------------------------------------------------------------------------
5 
10 //----------------------------------------------------------------------------------
11 #pragma once
12 
15 
16 ML_START_NAMESPACE
17 
18 //----------------------------------------------------------------------------------
21 //----------------------------------------------------------------------------------
23 {
24 public:
27 
29  void addFields() override;
30 
32  void inheritValues(DCMTree::Const_TreePtr dcmTree) override;
33 
36  std::string applyModifications(DCMTree::TreePtr dcmTree,
37  const FieldContainer *treeInfos=nullptr) override;
38 
42  std::string checkConsistency() const override;
43 
44 protected:
45 
46  // Type 1: Modality
47  // Type 1: Series Number identifying the segmentation series. Already comes with General Series.
48  // IntField *_seriesNumberFld;
49  // Type 1C: Referenced Performed Procedure Step Sequence
50  // -> SOP Instance Reference Macro' Table 10-11
51 };
52 
53 ML_END_NAMESPACE
Project global and OS specific declarations.
#define MLDICOMTAGINTERFACES_EXPORT
DLL export macro definition.
Manages the module field interface according to DICOM Segmentation Series Module Attributes,...
void inheritValues(DCMTree::Const_TreePtr dcmTree) override
Implements the copy of tag values from the given dcmTree to the fields.
std::string checkConsistency() const override
Checks for invalid parameters; return textual description on error, or empty string on success; requi...
std::string applyModifications(DCMTree::TreePtr dcmTree, const FieldContainer *treeInfos=nullptr) override
See DicomModifyFieldAddOnBase::applyModifications() for documentation; adds field values as tags to d...
void addFields() override
Add fields to field container of module.
DicomMRSeriesModuleTagInterface(Module &modRef)
Constructor, setting the reference of the module for which the fields shall be managed.
The class DicomModifyFieldAddOnBase is dedicated to manage fields for ML modules and instances derive...
Defines the class FieldContainer to encapsulate a vector of fields for (see class Field).
Base class for an image processing module of the ML.
Definition: mlModule.h:156
Header file of the DicomModifyFieldAddOnBase class dedicated to manage fields for ML modules and inst...
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