MeVisLab Toolbox Reference
mlDRTBeamSequenceItemWrapper.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/DcmSequenceItemWrapper.h
10//
11// Destination project:
12// FMEwork/ReleaseMeVis/Sources/Wrappers/MLDcmtkIODWrappers/DcmSequenceInterfaces/Items
13//
14//----------------------------------------------------------------------------------
16
22//----------------------------------------------------------------------------------
23
24
25#ifndef __mlDRTBeamSequenceItemWrapper_H
26#define __mlDRTBeamSequenceItemWrapper_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
52
53#endif
54
57class DRTBeamSequenceItemWrapper : public QObject
58{
59 Q_OBJECT
60
61public:
62
63 QStringList _propertyKeys;
64
66 : _wrappedSequenceItem(wrappedSequenceItem)
67 , _sequenceInterface(sequenceInterface)
68 {
69 _init();
70 }
71
73 : QObject()
74 {
75 _wrappedSequenceItem = toCopy.getWrappedSequenceItem();
76 _sequenceInterface = toCopy.getSequence();
77 _init();
78 }
79
81 {
82 _wrappedSequenceItem = toCopy.getWrappedSequenceItem();
83 _sequenceInterface = toCopy.getSequence();
84 _init();
85 return *this;
86 }
87
88 ml::DcmDRTBeamSequenceInterface::Item getWrappedSequenceItem() const { return _wrappedSequenceItem; }
89 ml::DcmDRTBeamSequenceInterface* getSequence() const { return _sequenceInterface; }
90
91
94 QString _BeamName;
95 Q_PROPERTY(QString BeamName READ getBeamName WRITE setBeamName)
96 QString _BeamNumber;
97 Q_PROPERTY(QString BeamNumber READ getBeamNumber WRITE setBeamNumber)
98 QString _BeamType;
99 Q_PROPERTY(QString BeamType READ getBeamType WRITE setBeamType)
113 Q_PROPERTY(QString Manufacturer READ getManufacturer WRITE setManufacturer)
119 Q_PROPERTY(QString NumberOfBoli READ getNumberOfBoli WRITE setNumberOfBoli)
129 Q_PROPERTY(QString RadiationType READ getRadiationType WRITE setRadiationType)
144
150 Q_PROPERTY(QVariant BlockSequence READ getBlockSequence WRITE setBlockSequence)
164 Q_PROPERTY(QVariant WedgeSequence READ getWedgeSequence WRITE setWedgeSequence)
165
166
167public slots:
170
171 QStringList dir(QString searchString="") const;
172
173 QVariantMap getDicomTagByKey(QString key) const;
174 QVariantMap getDicomTagByName(QString name) const;
175 QVariant getDicomTagValueByKey(QString key) const;
176 QVariant getDicomTagValueByName(QString name) const;
177
178
179 bool setBeamDescription(QString qParam);
180 QString getBeamDescriptionTag() const;
181 QString getBeamDescription() const;
182
183 bool setBeamName(QString qParam);
184 QString getBeamNameTag() const;
185 QString getBeamName() const;
186
187 bool setBeamNumber(QString qParam);
188 QString getBeamNumberTag() const;
189 QString getBeamNumber() const;
190
191 bool setBeamType(QString qParam);
192 QString getBeamTypeTag() const;
193 QString getBeamType() const;
194
195 bool setDeviceSerialNumber(QString qParam);
197 QString getDeviceSerialNumber() const;
198
202
203 bool setHighDoseTechniqueType(QString qParam);
206
207 bool setInstitutionAddress(QString qParam);
209 QString getInstitutionAddress() const;
210
211 bool setInstitutionName(QString qParam);
212 QString getInstitutionNameTag() const;
213 QString getInstitutionName() const;
214
215 bool setInstitutionalDepartmentName(QString qParam);
218
219 bool setManufacturer(QString qParam);
220 QString getManufacturerTag() const;
221 QString getManufacturer() const;
222
223 bool setManufacturerModelName(QString qParam);
226
227 bool setNumberOfBlocks(QString qParam);
228 QString getNumberOfBlocksTag() const;
229 QString getNumberOfBlocks() const;
230
231 bool setNumberOfBoli(QString qParam);
232 QString getNumberOfBoliTag() const;
233 QString getNumberOfBoli() const;
234
235 bool setNumberOfCompensators(QString qParam);
237 QString getNumberOfCompensators() const;
238
239 bool setNumberOfControlPoints(QString qParam);
242
243 bool setNumberOfWedges(QString qParam);
244 QString getNumberOfWedgesTag() const;
245 QString getNumberOfWedges() const;
246
247 bool setPrimaryDosimeterUnit(QString qParam);
249 QString getPrimaryDosimeterUnit() const;
250
251 bool setRadiationType(QString qParam);
252 QString getRadiationTypeTag() const;
253 QString getRadiationType() const;
254
258
262
263 bool setSourceAxisDistance(QString qParam);
265 QString getSourceAxisDistance() const;
266
267 bool setTotalBlockTrayFactor(QString qParam);
269 QString getTotalBlockTrayFactor() const;
270
271 bool setTotalCompensatorTrayFactor(QString qParam);
274
275 bool setTreatmentDeliveryType(QString qParam);
278
279 bool setTreatmentMachineName(QString qParam);
281 QString getTreatmentMachineName() const;
282
283
284 bool setApplicatorSequence(QVariant qParam);
285 QVariant getApplicatorSequence() const;
287
288 bool setBeamLimitingDeviceSequence(QVariant qParam);
291
292 bool setBlockSequence(QVariant qParam);
293 QVariant getBlockSequence() const;
294 QString getBlockSequenceTag() const;
295
296 bool setCompensatorSequence(QVariant qParam);
297 QVariant getCompensatorSequence() const;
299
300 bool setControlPointSequence(QVariant qParam);
301 QVariant getControlPointSequence() const;
303
307
308 bool setReferencedBolusSequence(QVariant qParam);
311
312 bool setReferencedDoseSequence(QVariant qParam);
315
319
320 bool setWedgeSequence(QVariant qParam);
321 QVariant getWedgeSequence() const;
322 QString getWedgeSequenceTag() const;
323
324
326
327private:
328
329 ml::DcmDRTBeamSequenceInterface::Item _wrappedSequenceItem;
330 ml::DcmDRTBeamSequenceInterface* _sequenceInterface;
331
332 QMap<QString, QString> _dcmTagToPropertyMap;
333 QMap<QString, QString> _vrCode;
334 void _init();
335};
336
337
338#endif // __mlDRTBeamSequenceItemWrapper_H
A class that wraps DRTBeamSequence Item for use in Python.
bool setManufacturerModelName(QString qParam)
QString getBlockSequenceTag() const
bool setTreatmentDeliveryType(QString qParam)
bool setBeamNumber(QString qParam)
QString getReferencedReferenceImageSequenceTag() const
QString getTreatmentMachineNameTag() const
QString getTotalCompensatorTrayFactorTag() const
QString getBeamNumberTag() const
QVariantMap getDicomTagByName(QString name) const
QVariant getApplicatorSequence() const
bool setHighDoseTechniqueType(QString qParam)
QString getManufacturerTag() const
QString getNumberOfWedgesTag() const
bool setBeamLimitingDeviceSequence(QVariant qParam)
bool setBlockSequence(QVariant qParam)
QString getBeamName() const
QString getNumberOfCompensatorsTag() const
bool setNumberOfControlPoints(QString qParam)
QString getNumberOfBoli() const
QString getBeamDescriptionTag() const
QString getBeamNumber() const
QVariant getReferencedDoseSequence() const
QString getTreatmentDeliveryType() const
QVariant getBeamLimitingDeviceSequence() const
bool setControlPointSequence(QVariant qParam)
bool setNumberOfCompensators(QString qParam)
QString getHighDoseTechniqueTypeTag() const
bool setReferencedBolusSequence(QVariant qParam)
QVariant getPlannedVerificationImageSequence() const
QVariant getDicomTagValueByName(QString name) const
QString getPrimaryDosimeterUnitTag() const
QString getReferencedDoseSequenceTag() const
QString getTotalBlockTrayFactor() const
QString getFinalCumulativeMetersetWeight() const
QString getNumberOfBlocks() const
bool setRadiationType(QString qParam)
DRTBeamSequenceItemWrapper(const ml::DcmDRTBeamSequenceInterface::Item &wrappedSequenceItem, ml::DcmDRTBeamSequenceInterface *sequenceInterface)
QStringList dir(QString searchString="") const
bool setCompensatorSequence(QVariant qParam)
QVariant getCompensatorSequence() const
QVariant getReferencedReferenceImageSequence() const
QString getDeviceSerialNumberTag() const
bool setTotalCompensatorTrayFactor(QString qParam)
QString getSourceAxisDistanceTag() const
QString getReferencedPatientSetupNumberTag() const
QString getSourceAxisDistance() const
QString getReferencedToleranceTableNumberTag() const
QString getNumberOfControlPointsTag() const
bool setNumberOfBoli(QString qParam)
bool setTotalBlockTrayFactor(QString qParam)
QString getTreatmentMachineName() const
QString getInstitutionName() const
QString getCompensatorSequenceTag() const
bool setBeamDescription(QString qParam)
QString getReferencedToleranceTableNumber() const
QString getInstitutionNameTag() const
bool setBeamType(QString qParam)
QString getBeamType() const
QString getBeamTypeTag() const
QString getNumberOfWedges() const
QString getInstitutionalDepartmentNameTag() const
QString getReferencedPatientSetupNumber() const
QString getRadiationType() const
QString getRadiationTypeTag() const
bool setApplicatorSequence(QVariant qParam)
bool setManufacturer(QString qParam)
QString getDeviceSerialNumber() const
bool setInstitutionName(QString qParam)
QString getWedgeSequenceTag() const
QString getPlannedVerificationImageSequenceTag() const
bool setInstitutionAddress(QString qParam)
QString getInstitutionAddressTag() const
bool setReferencedDoseSequence(QVariant qParam)
bool setNumberOfBlocks(QString qParam)
QVariant getBlockSequence() const
QString getManufacturerModelName() const
QString getInstitutionAddress() const
bool setDeviceSerialNumber(QString qParam)
QString getBeamNameTag() const
ml::DcmDRTBeamSequenceInterface * getSequence() const
QString getReferencedBolusSequenceTag() const
QString getPrimaryDosimeterUnit() const
QString getInstitutionalDepartmentName() const
ml::DcmDRTBeamSequenceInterface::Item getWrappedSequenceItem() const
QString getNumberOfBoliTag() const
QString getManufacturer() const
QVariant getControlPointSequence() const
bool setPlannedVerificationImageSequence(QVariant qParam)
QVariantMap getDicomTagByKey(QString key) const
QString getTotalBlockTrayFactorTag() const
QString getApplicatorSequenceTag() const
bool setFinalCumulativeMetersetWeight(QString qParam)
QString getControlPointSequenceTag() const
QString getTotalCompensatorTrayFactor() const
bool setReferencedReferenceImageSequence(QVariant qParam)
QString getNumberOfBlocksTag() const
DRTBeamSequenceItemWrapper(const DRTBeamSequenceItemWrapper &toCopy)
QString getNumberOfControlPoints() const
QString getBeamDescription() const
QVariant getReferencedBolusSequence() const
bool setNumberOfWedges(QString qParam)
bool setReferencedPatientSetupNumber(QString qParam)
bool setInstitutionalDepartmentName(QString qParam)
QString getManufacturerModelNameTag() const
QString getTreatmentDeliveryTypeTag() const
QString getFinalCumulativeMetersetWeightTag() const
QVariant getDicomTagValueByKey(QString key) const
DRTBeamSequenceItemWrapper & operator=(const DRTBeamSequenceItemWrapper &toCopy)
bool setTreatmentMachineName(QString qParam)
bool setWedgeSequence(QVariant qParam)
bool setPrimaryDosimeterUnit(QString qParam)
QVariant getWedgeSequence() const
QString getHighDoseTechniqueType() const
QString getNumberOfCompensators() const
bool setReferencedToleranceTableNumber(QString qParam)
bool setBeamName(QString qParam)
QString getBeamLimitingDeviceSequenceTag() const
bool setSourceAxisDistance(QString qParam)
Class to provide access to DRTBeamSequence.
Class to provide access to DRTBeamSequence.
Main documentation file for ML users and developers.
Definition SoSFMLImage.h:51