MeVisLab Toolbox Reference
mlDicomModifyRTDoseModuleFieldAddOn.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 __mlDicomModifyRTDoseModuleFieldAddOn_H
23#define __mlDicomModifyRTDoseModuleFieldAddOn_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 *_modifyBitsAllocatedField;
48 StringField *_BitsAllocatedField;
49 BoolField *_modifyBitsStoredField;
50 StringField *_BitsStoredField;
51 BoolField *_modifyDoseCommentField;
52 StringField *_DoseCommentField;
53 BoolField *_modifyDoseGridScalingField;
54 StringField *_DoseGridScalingField;
55 BoolField *_modifyDoseSummationTypeField;
56 StringField *_DoseSummationTypeField;
57 BoolField *_modifyDoseTypeField;
58 StringField *_DoseTypeField;
59 BoolField *_modifyDoseUnitsField;
60 StringField *_DoseUnitsField;
61 BoolField *_modifyGridFrameOffsetVectorField;
62 StringField *_GridFrameOffsetVectorField;
63 BoolField *_modifyHighBitField;
64 StringField *_HighBitField;
65 BoolField *_modifyInstanceNumberField;
66 StringField *_InstanceNumberField;
67 BoolField *_modifyNormalizationPointField;
68 StringField *_NormalizationPointField;
69 BoolField *_modifyPhotometricInterpretationField;
70 StringField *_PhotometricInterpretationField;
71 BoolField *_modifyPixelRepresentationField;
72 StringField *_PixelRepresentationField;
73 BoolField *_modifySamplesPerPixelField;
74 StringField *_SamplesPerPixelField;
75 BoolField *_modifyTissueHeterogeneityCorrectionField;
76 StringField *_TissueHeterogeneityCorrectionField;
77 BoolField *_copyReferencedRTPlanSequenceField;
78
80};
81
83
84#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.
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...
DicomModifyRTDoseModuleFieldAddOn(FieldContainer &fieldContainer, bool createInputModifyTagsPluginBaseConnectorField=false, bool createOutputModifyTagsPluginBaseConnectorField=false)
void addFields() override
Add fields to field container of the FieldAddOn.
std::string checkConsistency() const override
Checks for invalid parameters; return textual description on error, or empty string on success.
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