MeVisLab Toolbox Reference
mlDRTIonControlPointSequenceItemWrapper.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 __mlDRTIonControlPointSequenceItemWrapper_H
26#define __mlDRTIonControlPointSequenceItemWrapper_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
48
49#endif
50
54{
55 Q_OBJECT
56
57public:
58
59 QStringList _propertyKeys;
60
62 : _wrappedSequenceItem(wrappedSequenceItem)
63 , _sequenceInterface(sequenceInterface)
64 {
65 _init();
66 }
67
69 : QObject()
70 {
71 _wrappedSequenceItem = toCopy.getWrappedSequenceItem();
72 _sequenceInterface = toCopy.getSequence();
73 _init();
74 }
75
77 {
78 _wrappedSequenceItem = toCopy.getWrappedSequenceItem();
79 _sequenceInterface = toCopy.getSequence();
80 _init();
81 return *this;
82 }
83
85 ml::DcmDRTIonControlPointSequenceInterface* getSequence() const { return _sequenceInterface; }
86
87
96 QString _GantryAngle;
97 Q_PROPERTY(QString GantryAngle READ getGantryAngle WRITE setGantryAngle)
108 QString _KVP;
109 Q_PROPERTY(QString KVP READ getKVP WRITE setKVP)
111 Q_PROPERTY(float MetersetRate READ getMetersetRate WRITE setMetersetRate)
148
161
162
163public slots:
166
167 QStringList dir(QString searchString="") const;
168
169 QVariantMap getDicomTagByKey(QString key) const;
170 QVariantMap getDicomTagByName(QString name) const;
171 QVariant getDicomTagValueByKey(QString key) const;
172 QVariant getDicomTagValueByName(QString name) const;
173
174
175 bool setBeamLimitingDeviceAngle(QString qParam);
178
182
183 bool setControlPointIndex(QString qParam);
184 QString getControlPointIndexTag() const;
185 QString getControlPointIndex() const;
186
187 bool setCumulativeMetersetWeight(QString qParam);
190
191 bool setGantryAngle(QString qParam);
192 QString getGantryAngleTag() const;
193 QString getGantryAngle() const;
194
195 bool setGantryPitchAngle(float qParam);
196 QString getGantryPitchAngleTag() const;
197 float getGantryPitchAngle() const;
198
202
203 bool setGantryRotationDirection(QString qParam);
206
207 bool setHeadFixationAngle(float qParam);
208 QString getHeadFixationAngleTag() const;
209 float getHeadFixationAngle() const;
210
211 bool setIsocenterPosition(QString qParam);
212 QString getIsocenterPositionTag() const;
213 QString getIsocenterPosition() const;
214
215 bool setKVP(QString qParam);
216 QString getKVPTag() const;
217 QString getKVP() const;
218
219 bool setMetersetRate(float qParam);
220 QString getMetersetRateTag() const;
221 float getMetersetRate() const;
222
223 bool setNominalBeamEnergy(QString qParam);
224 QString getNominalBeamEnergyTag() const;
225 QString getNominalBeamEnergy() const;
226
227 bool setNumberOfPaintings(QString qParam);
228 QString getNumberOfPaintingsTag() const;
229 QString getNumberOfPaintings() const;
230
231 bool setNumberOfScanSpotPositions(QString qParam);
234
235 bool setPatientSupportAngle(QString qParam);
237 QString getPatientSupportAngle() const;
238
242
243 bool setScanSpotMetersetWeights(float qParam);
246
247 bool setScanSpotPositionMap(float qParam);
250
251 bool setScanSpotTuneID(QString qParam);
252 QString getScanSpotTuneIDTag() const;
253 QString getScanSpotTuneID() const;
254
255 bool setScanningSpotSize(float qParam);
256 QString getScanningSpotSizeTag() const;
257 float getScanningSpotSize() const;
258
259 bool setSnoutPosition(float qParam);
260 QString getSnoutPositionTag() const;
261 float getSnoutPosition() const;
262
263 bool setSurfaceEntryPoint(QString qParam);
264 QString getSurfaceEntryPointTag() const;
265 QString getSurfaceEntryPoint() const;
266
267 bool setTableTopLateralPosition(QString qParam);
270
274
275 bool setTableTopPitchAngle(float qParam);
278
282
283 bool setTableTopRollAngle(float qParam);
284 QString getTableTopRollAngleTag() const;
285 float getTableTopRollAngle() const;
286
290
291 bool setTableTopVerticalPosition(QString qParam);
294
295
299
300 bool setIonWedgePositionSequence(QVariant qParam);
303
307
311
312 bool setRangeShifterSettingsSequence(QVariant qParam);
315
319
320
322
323private:
324
325 ml::DcmDRTIonControlPointSequenceInterface::Item _wrappedSequenceItem;
326 ml::DcmDRTIonControlPointSequenceInterface* _sequenceInterface;
327
328 QMap<QString, QString> _dcmTagToPropertyMap;
329 QMap<QString, QString> _vrCode;
330 void _init();
331};
332
333
334#endif // __mlDRTIonControlPointSequenceItemWrapper_H
A class that wraps DRTIonControlPointSequence Item for use in Python.
QString getTableTopRollRotationDirectionTag() const
bool setNumberOfScanSpotPositions(QString qParam)
QVariant getIonWedgePositionSequence() const
bool setTableTopPitchAngle(float qParam)
bool setControlPointIndex(QString qParam)
ml::DcmDRTIonControlPointSequenceInterface::Item getWrappedSequenceItem() const
bool setTableTopRollRotationDirection(QString qParam)
bool setIsocenterPosition(QString qParam)
QVariantMap getDicomTagByKey(QString key) const
DRTIonControlPointSequenceItemWrapper(const ml::DcmDRTIonControlPointSequenceInterface::Item &wrappedSequenceItem, ml::DcmDRTIonControlPointSequenceInterface *sequenceInterface)
bool setIonWedgePositionSequence(QVariant qParam)
bool setBeamLimitingDeviceAngle(QString qParam)
bool setNumberOfPaintings(QString qParam)
bool setGantryPitchRotationDirection(QString qParam)
QString getTableTopPitchRotationDirection() const
QString getRangeShifterSettingsSequenceTag() const
QVariant getBeamLimitingDevicePositionSequence() const
QString getTableTopRollRotationDirection() const
QStringList dir(QString searchString="") const
QVariantMap getDicomTagByName(QString name) const
QVariant getRangeShifterSettingsSequence() const
QString getCumulativeMetersetWeightTag() const
QString getTableTopPitchRotationDirectionTag() const
QString getTableTopLongitudinalPositionTag() const
QString getNumberOfScanSpotPositionsTag() const
QString getRangeModulatorSettingsSequenceTag() const
QVariant getDicomTagValueByKey(QString key) const
bool setTableTopLateralPosition(QString qParam)
QVariant getDicomTagValueByName(QString name) const
QString getTableTopLongitudinalPosition() const
QString getLateralSpreadingDeviceSettingsSequenceTag() const
QVariant getLateralSpreadingDeviceSettingsSequence() const
bool setReferencedDoseReferenceSequence(QVariant qParam)
bool setSurfaceEntryPoint(QString qParam)
QString getTableTopVerticalPositionTag() const
QString getReferencedDoseReferenceSequenceTag() const
QString getPatientSupportRotationDirectionTag() const
bool setNominalBeamEnergy(QString qParam)
bool setBeamLimitingDevicePositionSequence(QVariant qParam)
bool setScanSpotMetersetWeights(float qParam)
QVariant getRangeModulatorSettingsSequence() const
QString getBeamLimitingDeviceRotationDirectionTag() const
QString getIonWedgePositionSequenceTag() const
QString getGantryPitchRotationDirection() const
bool setGantryRotationDirection(QString qParam)
bool setScanSpotTuneID(QString qParam)
DRTIonControlPointSequenceItemWrapper & operator=(const DRTIonControlPointSequenceItemWrapper &toCopy)
bool setCumulativeMetersetWeight(QString qParam)
bool setBeamLimitingDeviceRotationDirection(QString qParam)
bool setRangeShifterSettingsSequence(QVariant qParam)
QVariant getReferencedDoseReferenceSequence() const
QString getBeamLimitingDeviceRotationDirection() const
bool setLateralSpreadingDeviceSettingsSequence(QVariant qParam)
bool setPatientSupportAngle(QString qParam)
QString getPatientSupportRotationDirection() const
bool setPatientSupportRotationDirection(QString qParam)
DRTIonControlPointSequenceItemWrapper(const DRTIonControlPointSequenceItemWrapper &toCopy)
bool setTableTopPitchRotationDirection(QString qParam)
QString getBeamLimitingDevicePositionSequenceTag() const
bool setTableTopLongitudinalPosition(QString qParam)
QString getGantryPitchRotationDirectionTag() const
bool setScanSpotPositionMap(float qParam)
bool setTableTopVerticalPosition(QString qParam)
bool setRangeModulatorSettingsSequence(QVariant qParam)
ml::DcmDRTIonControlPointSequenceInterface * getSequence() const
Class to provide access to DRTIonControlPointSequence.
Class to provide access to DRTIonControlPointSequence.
Main documentation file for ML users and developers.
Definition SoSFMLImage.h:51