MeVisLab Toolbox Reference
mlDicomModifyGeneralEquipmentModuleFieldAddOn.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 __mlDicomModifyGeneralEquipmentModuleFieldAddOn_H
23#define __mlDicomModifyGeneralEquipmentModuleFieldAddOn_H
24
27
28ML_START_NAMESPACE
29
32{
33public:
35 bool createInputModifyTagsPluginBaseConnectorField=false,
36 bool createOutputModifyTagsPluginBaseConnectorField=false);
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 *_modifyDeviceSerialNumberField;
48 StringField *_DeviceSerialNumberField;
49 BoolField *_modifyGantryIDField;
50 StringField *_GantryIDField;
51 BoolField *_modifyInstitutionAddressField;
52 StringField *_InstitutionAddressField;
53 BoolField *_modifyInstitutionNameField;
54 StringField *_InstitutionNameField;
55 BoolField *_modifyInstitutionalDepartmentNameField;
56 StringField *_InstitutionalDepartmentNameField;
57 BoolField *_modifyManufacturerField;
58 StringField *_ManufacturerField;
59 BoolField *_modifyManufacturerModelNameField;
60 StringField *_ManufacturerModelNameField;
61 BoolField *_modifyPixelPaddingValueField;
62 StringField *_PixelPaddingValueField;
63 BoolField *_modifySoftwareVersionsField;
64 StringField *_SoftwareVersionsField;
65 BoolField *_modifySpatialResolutionField;
66 StringField *_SpatialResolutionField;
67 BoolField *_modifyStationNameField;
68 StringField *_StationNameField;
69 BoolField *_setDateOfLastCalibrationToNowField;
70 BoolField *_modifyDateOfLastCalibrationField;
71 StringField *_DateOfLastCalibrationField;
72 BoolField *_setTimeOfLastCalibrationToNowField;
73 BoolField *_modifyTimeOfLastCalibrationField;
74 StringField *_TimeOfLastCalibrationField;
75
77};
78
79ML_END_NAMESPACE
80
81#endif
Project global and OS specific declarations.
#define MLDICOMMODIFYFIELDADDONS_EXPORT
virtual std::string applyModifications(DCMTree::TreePtr dcmTree, const FieldContainer *treeInfos=NULL) override
DicomModifyGeneralEquipmentModuleFieldAddOn(FieldContainer &fieldContainer, bool createInputModifyTagsPluginBaseConnectorField=false, bool createOutputModifyTagsPluginBaseConnectorField=false)
std::string checkConsistency() const override
Checks for invalid parameters; return textual description on error, or empty string on success.
void inheritValues(DCMTree::Const_TreePtr dcmTree) override
Can be used to implement the copy of tag values from the given dcmTree to the fields.
void addFields() override
Add fields to field container of the FieldAddOn.
DicomModifyModuleFieldAddOnBase(FieldContainer &fieldContainer, const std::string &dicomModuleName, bool createInputModifyTagsPluginBaseConnectorField=false, bool createOutputModifyTagsPluginBaseConnectorField=false)
#define ML_ABSTRACT_CLASS_HEADER(className)
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