MeVisLab Toolbox Reference
mlDicomGeneralStudyModuleTagInterface.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
16
17ML_START_NAMESPACE
18
19//----------------------------------------------------------------------------------
21//----------------------------------------------------------------------------------
77
78ML_END_NAMESPACE
Project global and OS specific declarations.
#define MLDICOMTAGINTERFACES_EXPORT
DLL export macro definition.
Field to encapsulate a boolean value.
Definition mlFields.h:56
Provides control to copy/inherit a set of tag (values) from an input DCMTree, buffer it,...
Manages the module field interface according to DICOM General Study, C.7.1.3.
StringField * _studyDateFld
The study date for the created DICOM file.
void addFields() override
Add fields to field container of module.
FieldAddOnBase::FieldChangeState handleFieldChanges(Field *field) override
Handle field notifications.
StringField * _studyTimeFld
The study time for the created DICOM file.
DicomGeneralStudyModuleTagInterface(Module &modRef, bool autoCreateStudyInstanceUIDDefault=true)
Constructor, setting the reference of the module for which the fields shall be managed If autoCreateS...
void inheritValues(DCMTree::Const_TreePtr dcmTree) override
Implements the copy of tag values from the given dcmTree to the fields.
NotifyField * _createStudyInstanceUIDFld
If notified a new Study Instance UID is created.
StringField * _studyDescriptionFld
Describes the study for which this DICOM file is created.
DicomCopyTagSetInterface _otherGeneralStudyTags
All other General Study tags not available in the interface.
StringField * _accessionNumberFld
Content of the corresponding DICOM tag definition.
BoolField * _autoCreateStudyInstanceUIDFld
If enabled (the default) for each written file a new Study Instance UID is created.
std::string checkConsistency() const override
Checks for invalid parameters; return textual description on error, or empty string on success.
DicomCopyTagSetInterface _otherPatientStudyTags
All other Patient Study tags not available in the interface.
std::string applyModifications(DCMTree::TreePtr dcmTree, const FieldContainer *treeInfos=nullptr) override
See DicomModifyFieldAddOnBase::applyModifications() for documentation.
StringField * _studyIDFld
The study ID which references the study for which this DICOM file is created.
StringField * _referringPhysicianNameFld
The physician related to this document.
The class DicomModifyFieldAddOnBase is dedicated to manage fields for ML modules and instances derive...
FieldChangeState
Describes the type of a field changes detected in handleFieldChanges(Field *field).
Defines the class FieldContainer to encapsulate a vector of fields (see class Field).
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:151
Field without value for notifications.
Definition mlFields.h:598
Field to encapsulate a string value.
Definition mlFields.h:553
Header file for the ML module base class DicomCopyTagSetInterface which provides control to copy/inhe...
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:67
boost::shared_ptr< Tree > TreePtr
Shared pointer to a DCMTree::Tree.
Definition DCMTree_Lib.h:66