MeVisLab Toolbox Reference
mlDicomModifyRTImageModuleFieldAddOn.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 __mlDicomModifyRTImageModuleFieldAddOn_H
23#define __mlDicomModifyRTImageModuleFieldAddOn_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 *_modifyBeamLimitingDeviceAngleField;
48 StringField *_BeamLimitingDeviceAngleField;
49 BoolField *_modifyBitsAllocatedField;
50 StringField *_BitsAllocatedField;
51 BoolField *_modifyBitsStoredField;
52 StringField *_BitsStoredField;
53 BoolField *_modifyConversionTypeField;
54 StringField *_ConversionTypeField;
55 BoolField *_modifyEndCumulativeMetersetWeightField;
56 StringField *_EndCumulativeMetersetWeightField;
57 BoolField *_modifyFractionNumberField;
58 StringField *_FractionNumberField;
59 BoolField *_modifyGantryAngleField;
60 StringField *_GantryAngleField;
61 BoolField *_modifyGantryPitchAngleField;
62 StringField *_GantryPitchAngleField;
63 BoolField *_modifyHighBitField;
64 StringField *_HighBitField;
65 BoolField *_modifyImagePlanePixelSpacingField;
66 StringField *_ImagePlanePixelSpacingField;
67 BoolField *_modifyImageTypeField;
68 StringField *_ImageTypeField;
69 BoolField *_modifyIsocenterPositionField;
70 StringField *_IsocenterPositionField;
71 BoolField *_modifyOperatorsNameField;
72 StringField *_OperatorsNameField;
73 BoolField *_modifyPatientPositionField;
74 StringField *_PatientPositionField;
75 BoolField *_modifyPatientSupportAngleField;
76 StringField *_PatientSupportAngleField;
77 BoolField *_modifyPhotometricInterpretationField;
78 StringField *_PhotometricInterpretationField;
79 BoolField *_modifyPixelIntensityRelationshipField;
80 StringField *_PixelIntensityRelationshipField;
81 BoolField *_modifyPixelIntensityRelationshipSignField;
82 StringField *_PixelIntensityRelationshipSignField;
83 BoolField *_modifyPixelRepresentationField;
84 StringField *_PixelRepresentationField;
85 BoolField *_modifyPrimaryDosimeterUnitField;
86 StringField *_PrimaryDosimeterUnitField;
87 BoolField *_modifyRTImageDescriptionField;
88 StringField *_RTImageDescriptionField;
89 BoolField *_modifyRTImageLabelField;
90 StringField *_RTImageLabelField;
91 BoolField *_modifyRTImageNameField;
92 StringField *_RTImageNameField;
93 BoolField *_modifyRTImageOrientationField;
94 StringField *_RTImageOrientationField;
95 BoolField *_modifyRTImagePlaneField;
96 StringField *_RTImagePlaneField;
97 BoolField *_modifyRTImagePositionField;
98 StringField *_RTImagePositionField;
99 BoolField *_modifyRTImageSIDField;
100 StringField *_RTImageSIDField;
101 BoolField *_modifyRadiationMachineNameField;
102 StringField *_RadiationMachineNameField;
103 BoolField *_modifyRadiationMachineSADField;
104 StringField *_RadiationMachineSADField;
105 BoolField *_modifyRadiationMachineSSDField;
106 StringField *_RadiationMachineSSDField;
107 BoolField *_modifyReferencedBeamNumberField;
108 StringField *_ReferencedBeamNumberField;
109 BoolField *_modifyReferencedFractionGroupNumberField;
110 StringField *_ReferencedFractionGroupNumberField;
111 BoolField *_modifyReportedValuesOriginField;
112 StringField *_ReportedValuesOriginField;
113 BoolField *_modifySamplesPerPixelField;
114 StringField *_SamplesPerPixelField;
115 BoolField *_modifySourceToReferenceObjectDistanceField;
116 StringField *_SourceToReferenceObjectDistanceField;
117 BoolField *_modifyStartCumulativeMetersetWeightField;
118 StringField *_StartCumulativeMetersetWeightField;
119 BoolField *_modifyTableTopEccentricAngleField;
120 StringField *_TableTopEccentricAngleField;
121 BoolField *_modifyTableTopEccentricAxisDistanceField;
122 StringField *_TableTopEccentricAxisDistanceField;
123 BoolField *_modifyTableTopLateralPositionField;
124 StringField *_TableTopLateralPositionField;
125 BoolField *_modifyTableTopLongitudinalPositionField;
126 StringField *_TableTopLongitudinalPositionField;
127 BoolField *_modifyTableTopVerticalPositionField;
128 StringField *_TableTopVerticalPositionField;
129 BoolField *_modifyXRayImageReceptorAngleField;
130 StringField *_XRayImageReceptorAngleField;
131 BoolField *_modifyXRayImageReceptorTranslationField;
132 StringField *_XRayImageReceptorTranslationField;
133 BoolField *_copyExposureSequenceField;
134 BoolField *_copyFluenceMapSequenceField;
135 BoolField *_copyReferencedRTPlanSequenceField;
136
138};
139
141
142#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.
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.
DicomModifyRTImageModuleFieldAddOn(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...
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