MeVisLab Toolbox Reference
mlDicomSegmentationSeriesModuleAttributesTagInterface.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 #include "mlDicomSegmentItem.h"
16 
17 ML_START_NAMESPACE
18 
19 //----------------------------------------------------------------------------------
22 //----------------------------------------------------------------------------------
24 {
25 public:
28 
30  void addFields() override;
31 
33  void inheritValues(DCMTree::Const_TreePtr dcmTree) override;
34 
37  std::string applyModifications(DCMTree::TreePtr dcmTree,
38  const FieldContainer *treeInfos=nullptr) override;
39 
43  std::string checkConsistency() const override;
44 
45 protected:
46 
47  // Type 1: Modality
48  // Type 1: Series Number identifying the segmentation series. Already comes with General Series.
49  // IntField *_seriesNumberFld;
50  // Type 1C: Referenced Performed Procedure Step Sequence
51  // -> SOP Instance Reference Macro' Table 10-11
52 };
53 
54 ML_END_NAMESPACE
Project global and OS specific declarations.
#define MLDICOMTAGINTERFACES_EXPORT
DLL export macro definition.
The class DicomModifyFieldAddOnBase is dedicated to manage fields for ML modules and instances derive...
Manages the module field interface according to DICOM Segmentation Series Module Attributes,...
std::string applyModifications(DCMTree::TreePtr dcmTree, const FieldContainer *treeInfos=nullptr) override
See DicomModifyFieldAddOnBase::applyModifications() for documentation; adds field values as tags to d...
DicomSegmentationSeriesModuleAttributesTagInterface(Module &modRef)
Constructor, setting the reference of the module for which the fields shall be managed.
void inheritValues(DCMTree::Const_TreePtr dcmTree) override
Implements the copy of tag values from the given dcmTree to the fields.
void addFields() override
Add fields to field container of module.
std::string checkConsistency() const override
Checks for invalid parameters; return textual description on error, or empty string on success; requi...
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...
Header file of the class implementing a segmentation item according to the DICOM Segmentation Image M...
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