MeVisLab Toolbox Reference
mlDicomDOCSave.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
28
29#include <mlModuleIncludes.h>
30#include <mlDicomSaveBase.h>
33
34// DICOM tree etc.
35#include <DCMTree_Tree.h>
36
38
40class DicomDOCSaveAddOnPointers;
41
44
45//----------------------------------------------------------------------------------
46// See above.
47//----------------------------------------------------------------------------------
97
Project global and OS specific declarations.
#define MLDICOMOUTPUTS_EXPORT
DLL export macro definition.
void handleNotification(Field *field) override
Handles field changes of the field field.
virtual ~DicomDOCSave()
Destructor.
void activateAttachments() override
Updates the internal module state after loading or cloning the module, and enables notification handl...
_DOCFieldAddOnListType _fieldAddOnList
Container which handles all internally used DicomModifyFieldAddOns.
ML_MODULE_CLASS_HEADER(DicomDOCSave)
Implements interface for the runtime type system of the ML.
StringField * _documentFileNameFld
Absoplute file name of document to be loaded and stored in DICOM file.
std::string _setUpTreeContent() override
Sets the Enhanced DICOM tags in the tree; required that checkConsistency returns success.
std::string _addEncapsulatedDocumentTags(DCMTree::TreePtr resultTree)
Sets the tags EncapsulatedDocument and related tags and returns an empty string on success,...
DicomDOCSave()
Constructor.
EnumField * _docTypeFld
The document type to be exported.
void _removeUndesiredInputTags(DCMTree::TreePtr resultTree) const
Remove tags from tree which could disturb the correct interpretation of the written DICOM file.
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.
Class managing a list of BASE_FIELD_ADD_ON_TYPE to simplify usage of multiple AddOns; AddOns are neve...
Field to encapsulate an enumerated value.
Definition mlFields.h:195
Base class for all fields used in the ML.
Definition mlField.h:73
Field to encapsulate a string value.
Definition mlFields.h:610
Header file of the DicomModifyFieldAddOnBase class dedicated to manage fields for ML modules and inst...
Header file of a class managing many DicomModifFieldAddOns to simplify usage of multiple AddOns.
Header file for the ML module base class DicomSaveBase.
Target mlrange_cast(Source arg)
Generic version of checked ML casts.
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:72