MeVisLab Toolbox Reference
mlDicomModifyGeneralImageModuleFieldAddOn.h
Go to the documentation of this file.
1// Copyright (c) Fraunhofer MEVIS, Germany. All rights reserved.
2// **InsertLicense** code
3//----------------------------------------------------------------------------------
4//
5// NOTE:
6// This file has been generated automatically by
7// FMEwork/ReleaseMeVis/Configuration/CodeGenerators/dcmtkToMLConverter/convertDcmtkToML.py
8// using the template file
9// FMEwork/ReleaseMeVis/Configuration/CodeGenerators/dcmtkToMLConverter/MLDicomModifyFieldAddOns/templates/DicomModifyFieldAddOn.h
10//
11// Destination project:
12// FMEwork/ReleaseMeVis/Sources/Shared/MLDicomModifyFieldAddOns
13//
14//----------------------------------------------------------------------------------
16
21//----------------------------------------------------------------------------------
22#ifndef __mlDicomModifyGeneralImageModuleFieldAddOn_H
23#define __mlDicomModifyGeneralImageModuleFieldAddOn_H
24
27
29
32{
33public:
37 void addFields() override;
38 virtual std::string applyModifications(DCMTree::TreePtr dcmTree,
39 const FieldContainer *treeInfos=NULL) override;
40 void inheritValues(DCMTree::Const_TreePtr dcmTree) override;
41 std::string checkConsistency() const override;
42
43private:
44 void addModifiers();
45 void updateModifiers();
46
47 BoolField *_modifyAcquisitionDateTimeField;
48 StringField *_AcquisitionDateTimeField;
49 BoolField *_modifyAcquisitionNumberField;
50 StringField *_AcquisitionNumberField;
51 BoolField *_modifyBurnedInAnnotationField;
52 StringField *_BurnedInAnnotationField;
53 BoolField *_modifyDerivationDescriptionField;
54 StringField *_DerivationDescriptionField;
55 BoolField *_modifyImageCommentsField;
56 StringField *_ImageCommentsField;
57 BoolField *_modifyImageTypeField;
58 StringField *_ImageTypeField;
59 BoolField *_modifyImagesInAcquisitionField;
60 StringField *_ImagesInAcquisitionField;
61 BoolField *_modifyIrradiationEventUIDField;
62 StringField *_IrradiationEventUIDField;
63 BoolField *_modifyLossyImageCompressionField;
64 StringField *_LossyImageCompressionField;
65 BoolField *_modifyLossyImageCompressionMethodField;
66 StringField *_LossyImageCompressionMethodField;
67 BoolField *_modifyLossyImageCompressionRatioField;
68 StringField *_LossyImageCompressionRatioField;
69 BoolField *_modifyPatientOrientationField;
70 StringField *_PatientOrientationField;
71 BoolField *_modifyPresentationLUTShapeField;
72 StringField *_PresentationLUTShapeField;
73 BoolField *_modifyQualityControlImageField;
74 StringField *_QualityControlImageField;
75 BoolField *_setAcquisitionDateToNowField;
76 BoolField *_modifyAcquisitionDateField;
77 StringField *_AcquisitionDateField;
78 BoolField *_setAcquisitionTimeToNowField;
79 BoolField *_modifyAcquisitionTimeField;
80 StringField *_AcquisitionTimeField;
81 BoolField *_setContentDateToNowField;
82 BoolField *_modifyContentDateField;
83 StringField *_ContentDateField;
84 BoolField *_setContentTimeToNowField;
85 BoolField *_modifyContentTimeField;
86 StringField *_ContentTimeField;
87 BoolField *_copyDerivationCodeSequenceField;
88 BoolField *_copyIconImageSequenceField;
89 BoolField *_copyReferencedImageSequenceField;
90 BoolField *_copyReferencedInstanceSequenceField;
91 BoolField *_copySourceImageSequenceField;
92
94};
95
97
98#endif
Project global and OS specific declarations.
#define MLDICOMMODIFYFIELDADDONS_EXPORT
Field to encapsulate a boolean value.
Definition mlFields.h:58
void inheritValues(DCMTree::Const_TreePtr dcmTree) override
Can be used to implement the copy of tag values from the given dcmTree to the fields.
DicomModifyGeneralImageModuleFieldAddOn(FieldContainer &fieldContainer, bool createInputModifyTagsPluginBaseConnectorField=false, bool createOutputModifyTagsPluginBaseConnectorField=false)
virtual std::string applyModifications(DCMTree::TreePtr dcmTree, const FieldContainer *treeInfos=NULL) override
Applies first the changes to the dcmTree as described in DicomModifyList::applyModifications() and th...
std::string checkConsistency() const override
Checks for invalid parameters; return textual description on error, or empty string on success.
void addFields() override
Add fields to field container of the FieldAddOn.
Defines the class FieldContainer to encapsulate a vector of fields for (see class Field).
Field to encapsulate a string value.
Definition mlFields.h:610
#define ML_ABSTRACT_CLASS_HEADER(className)
Same like ML_ABSTRACT_CLASS_HEADER_EXPORTED with a non existing export symbol.
Extended DicomModifyFieldAddOnBase class providing additionally: -Method to set input dicom tree fiel...
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