MeVisLab Toolbox Reference
mlDRTIonBeamSequenceWrapper.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/MLDcmtkIODWrappers/templates/DcmSequenceWrapper.h
10//
11// Destination project:
12// FMEwork/ReleaseMeVis/Sources/Wrappers/MLDcmtkIODWrappers/DcmSequenceInterfaces
13//
14//----------------------------------------------------------------------------------
16
22//----------------------------------------------------------------------------------
23
24
25#ifndef __mlDRTIonBeamSequenceWrapper_H
26#define __mlDRTIonBeamSequenceWrapper_H
27
28#ifndef Q_MOC_RUN
29
30#include <FMEThirdPartyWarningsDisable.h>
31#include <QObject>
32#include <QVariant>
33#include <QVariantMap>
34#include <QList>
35#include <QStringList>
36#include <FMEThirdPartyWarningsRestore.h>
37
38// MLDcmtkAccessories includes
40
41#endif
42
45class DRTIonBeamSequenceWrapper : public QObject
46{
48
49public:
50
51 DRTIonBeamSequenceWrapper(ML_NAMESPACE::DcmDRTIonBeamSequenceInterface* wrappedSequence)
52 : _wrappedSequence(wrappedSequence->getSequence())
53 {
54 }
55
57 {
58 _wrappedSequence.setSequence(toCopy.getWrappedSequence().getSequence());
59 }
60
62 {
63 _wrappedSequence.setSequence(toCopy.getWrappedSequence().getSequence());
64 return *this;
65 }
66
67 ml::DcmDRTIonBeamSequenceInterface getWrappedSequence() const { return _wrappedSequence; }
68
69
70 QString getBeamDescriptionTag() const { return QString(_wrappedSequence.getBeamDescriptionTag().c_str()); }
71
72 QString getBeamNameTag() const { return QString(_wrappedSequence.getBeamNameTag().c_str()); }
73
74 QString getBeamNumberTag() const { return QString(_wrappedSequence.getBeamNumberTag().c_str()); }
75
76 QString getBeamTypeTag() const { return QString(_wrappedSequence.getBeamTypeTag().c_str()); }
77
78 QString getDeviceSerialNumberTag() const { return QString(_wrappedSequence.getDeviceSerialNumberTag().c_str()); }
79
81
83
84 QString getFixationLightPolarAngleTag() const { return QString(_wrappedSequence.getFixationLightPolarAngleTag().c_str()); }
85
86 QString getInstitutionAddressTag() const { return QString(_wrappedSequence.getInstitutionAddressTag().c_str()); }
87
88 QString getInstitutionNameTag() const { return QString(_wrappedSequence.getInstitutionNameTag().c_str()); }
89
91
92 QString getManufacturerTag() const { return QString(_wrappedSequence.getManufacturerTag().c_str()); }
93
94 QString getManufacturerModelNameTag() const { return QString(_wrappedSequence.getManufacturerModelNameTag().c_str()); }
95
96 QString getNumberOfBlocksTag() const { return QString(_wrappedSequence.getNumberOfBlocksTag().c_str()); }
97
98 QString getNumberOfBoliTag() const { return QString(_wrappedSequence.getNumberOfBoliTag().c_str()); }
99
100 QString getNumberOfCompensatorsTag() const { return QString(_wrappedSequence.getNumberOfCompensatorsTag().c_str()); }
101
102 QString getNumberOfControlPointsTag() const { return QString(_wrappedSequence.getNumberOfControlPointsTag().c_str()); }
103
105
106 QString getNumberOfRangeModulatorsTag() const { return QString(_wrappedSequence.getNumberOfRangeModulatorsTag().c_str()); }
107
108 QString getNumberOfRangeShiftersTag() const { return QString(_wrappedSequence.getNumberOfRangeShiftersTag().c_str()); }
109
110 QString getNumberOfWedgesTag() const { return QString(_wrappedSequence.getNumberOfWedgesTag().c_str()); }
111
113
114 QString getPatientSupportIDTag() const { return QString(_wrappedSequence.getPatientSupportIDTag().c_str()); }
115
116 QString getPatientSupportTypeTag() const { return QString(_wrappedSequence.getPatientSupportTypeTag().c_str()); }
117
118 QString getPrimaryDosimeterUnitTag() const { return QString(_wrappedSequence.getPrimaryDosimeterUnitTag().c_str()); }
119
120 QString getRadiationAtomicNumberTag() const { return QString(_wrappedSequence.getRadiationAtomicNumberTag().c_str()); }
121
122 QString getRadiationChargeStateTag() const { return QString(_wrappedSequence.getRadiationChargeStateTag().c_str()); }
123
124 QString getRadiationMassNumberTag() const { return QString(_wrappedSequence.getRadiationMassNumberTag().c_str()); }
125
126 QString getRadiationTypeTag() const { return QString(_wrappedSequence.getRadiationTypeTag().c_str()); }
127
129
131
132 QString getScanModeTag() const { return QString(_wrappedSequence.getScanModeTag().c_str()); }
133
135
137
139
140 QString getTreatmentDeliveryTypeTag() const { return QString(_wrappedSequence.getTreatmentDeliveryTypeTag().c_str()); }
141
142 QString getTreatmentMachineNameTag() const { return QString(_wrappedSequence.getTreatmentMachineNameTag().c_str()); }
143
145
146
147 QString getApplicatorSequenceTag() const { return QString(_wrappedSequence.getApplicatorSequenceTag().c_str()); }
148
150
151 QString getIonBlockSequenceTag() const { return QString(_wrappedSequence.getIonBlockSequenceTag().c_str()); }
152
153 QString getIonControlPointSequenceTag() const { return QString(_wrappedSequence.getIonControlPointSequenceTag().c_str()); }
154
156
157 QString getIonWedgeSequenceTag() const { return QString(_wrappedSequence.getIonWedgeSequenceTag().c_str()); }
158
160
161 QString getRangeModulatorSequenceTag() const { return QString(_wrappedSequence.getRangeModulatorSequenceTag().c_str()); }
162
163 QString getRangeShifterSequenceTag() const { return QString(_wrappedSequence.getRangeShifterSequenceTag().c_str()); }
164
165 QString getReferencedBolusSequenceTag() const { return QString(_wrappedSequence.getReferencedBolusSequenceTag().c_str()); }
166
167 QString getReferencedDoseSequenceTag() const { return QString(_wrappedSequence.getReferencedDoseSequenceTag().c_str()); }
168
170
171 QString getSnoutSequenceTag() const { return QString(_wrappedSequence.getSnoutSequenceTag().c_str()); }
172
173
174
175public slots:
178
179 int getNumberOfItems() const;
182 bool insertItem(int idx);
183 bool removeItem(int idx);
184
186
187private:
188 ml::DcmDRTIonBeamSequenceInterface _wrappedSequence;
189};
190
191
192#endif // __mlDRTIonBeamSequenceWrapper_H
A class that wraps DRTIonBeamSequence Item for use in Python.
DRTIonBeamSequenceWrapper(const DRTIonBeamSequenceWrapper &toCopy)
DRTIonBeamSequenceWrapper & operator=(const DRTIonBeamSequenceWrapper &toCopy)
QString getTotalBlockTrayWaterEquivalentThicknessTag() const
ml::DcmDRTIonBeamSequenceInterface getWrappedSequence() const
QString getTotalCompensatorTrayWaterEquivalentThicknessTag() const
QVariant getItem(int idx)
QString getTotalWedgeTrayWaterEquivalentThicknessTag() const
DRTIonBeamSequenceWrapper(ml::DcmDRTIonBeamSequenceInterface *wrappedSequence)
Class to provide access to DRTIonBeamSequence.
void setSequence(std::vector< DcmDRTIonBeamSequenceInterface::Item > dcmSequence)
Set the DRTIonBeamSequence this interface class provides access to.
Class to provide access to DRTIonBeamSequence.
Target mlrange_cast(Source arg)
Generic version of checked ML casts.