MeVisLab Toolbox Reference
mlDRTControlPointSequenceItemWrapper.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 __mlDRTControlPointSequenceItemWrapper_H
26#define __mlDRTControlPointSequenceItemWrapper_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
46
47#endif
48
52{
53 Q_OBJECT
54
55public:
56
57 QStringList _propertyKeys;
58
60 : _wrappedSequenceItem(wrappedSequenceItem)
61 , _sequenceInterface(sequenceInterface)
62 {
63 _init();
64 }
65
67 : QObject()
68 {
69 _wrappedSequenceItem = toCopy.getWrappedSequenceItem();
70 _sequenceInterface = toCopy.getSequence();
71 _init();
72 }
73
75 {
76 _wrappedSequenceItem = toCopy.getWrappedSequenceItem();
77 _sequenceInterface = toCopy.getSequence();
78 _init();
79 return *this;
80 }
81
83 ml::DcmDRTControlPointSequenceInterface* getSequence() const { return _sequenceInterface; }
84
85
94 QString _DoseRateSet;
95 Q_PROPERTY(QString DoseRateSet READ getDoseRateSet WRITE setDoseRateSet)
96 QString _GantryAngle;
97 Q_PROPERTY(QString GantryAngle READ getGantryAngle WRITE setGantryAngle)
128
137
138
139public slots:
142
143 QStringList dir(QString searchString="") const;
144
145 QVariantMap getDicomTagByKey(QString key) const;
146 QVariantMap getDicomTagByName(QString name) const;
147 QVariant getDicomTagValueByKey(QString key) const;
148 QVariant getDicomTagValueByName(QString name) const;
149
150
151 bool setBeamLimitingDeviceAngle(QString qParam);
154
158
159 bool setControlPointIndex(QString qParam);
160 QString getControlPointIndexTag() const;
161 QString getControlPointIndex() const;
162
163 bool setCumulativeMetersetWeight(QString qParam);
166
167 bool setDoseRateSet(QString qParam);
168 QString getDoseRateSetTag() const;
169 QString getDoseRateSet() const;
170
171 bool setGantryAngle(QString qParam);
172 QString getGantryAngleTag() const;
173 QString getGantryAngle() const;
174
175 bool setGantryPitchAngle(float qParam);
176 QString getGantryPitchAngleTag() const;
177 float getGantryPitchAngle() const;
178
182
183 bool setGantryRotationDirection(QString qParam);
186
187 bool setIsocenterPosition(QString qParam);
188 QString getIsocenterPositionTag() const;
189 QString getIsocenterPosition() const;
190
191 bool setNominalBeamEnergy(QString qParam);
192 QString getNominalBeamEnergyTag() const;
193 QString getNominalBeamEnergy() const;
194
195 bool setPatientSupportAngle(QString qParam);
197 QString getPatientSupportAngle() const;
198
202
203 bool setSourceToSurfaceDistance(QString qParam);
206
207 bool setSurfaceEntryPoint(QString qParam);
208 QString getSurfaceEntryPointTag() const;
209 QString getSurfaceEntryPoint() const;
210
211 bool setTableTopEccentricAngle(QString qParam);
214
218
222
223 bool setTableTopLateralPosition(QString qParam);
226
230
231 bool setTableTopVerticalPosition(QString qParam);
234
235
239
243
244 bool setReferencedDoseSequence(QVariant qParam);
247
248 bool setWedgePositionSequence(QVariant qParam);
249 QVariant getWedgePositionSequence() const;
251
252
254
255private:
256
257 ml::DcmDRTControlPointSequenceInterface::Item _wrappedSequenceItem;
258 ml::DcmDRTControlPointSequenceInterface* _sequenceInterface;
259
260 QMap<QString, QString> _dcmTagToPropertyMap;
261 QMap<QString, QString> _vrCode;
262 void _init();
263};
264
265
266#endif // __mlDRTControlPointSequenceItemWrapper_H
A class that wraps DRTControlPointSequence Item for use in Python.
QString getBeamLimitingDeviceRotationDirection() const
QVariant getDicomTagValueByName(QString name) const
bool setTableTopLongitudinalPosition(QString qParam)
bool setBeamLimitingDeviceRotationDirection(QString qParam)
DRTControlPointSequenceItemWrapper(const ml::DcmDRTControlPointSequenceInterface::Item &wrappedSequenceItem, ml::DcmDRTControlPointSequenceInterface *sequenceInterface)
QString getCumulativeMetersetWeightTag() const
QString getTableTopLateralPositionTag() const
QVariant getReferencedDoseReferenceSequence() const
QString getBeamLimitingDeviceRotationDirectionTag() const
bool setGantryPitchRotationDirection(QString qParam)
bool setPatientSupportAngle(QString qParam)
bool setBeamLimitingDevicePositionSequence(QVariant qParam)
bool setTableTopVerticalPosition(QString qParam)
QString getTableTopEccentricRotationDirection() const
bool setWedgePositionSequence(QVariant qParam)
bool setSourceToSurfaceDistance(QString qParam)
QString getTableTopEccentricAxisDistance() const
QString getPatientSupportRotationDirection() const
bool setNominalBeamEnergy(QString qParam)
QStringList dir(QString searchString="") const
QString getGantryPitchRotationDirection() const
DRTControlPointSequenceItemWrapper(const DRTControlPointSequenceItemWrapper &toCopy)
bool setSurfaceEntryPoint(QString qParam)
QString getTableTopLongitudinalPositionTag() const
QString getTableTopLongitudinalPosition() const
DRTControlPointSequenceItemWrapper & operator=(const DRTControlPointSequenceItemWrapper &toCopy)
bool setBeamLimitingDeviceAngle(QString qParam)
bool setReferencedDoseReferenceSequence(QVariant qParam)
QString getTableTopEccentricAngleTag() const
QString getGantryRotationDirection() const
QString getWedgePositionSequenceTag() const
QString getBeamLimitingDevicePositionSequenceTag() const
bool setIsocenterPosition(QString qParam)
bool setControlPointIndex(QString qParam)
bool setReferencedDoseSequence(QVariant qParam)
bool setPatientSupportRotationDirection(QString qParam)
QVariant getBeamLimitingDevicePositionSequence() const
QString getSourceToSurfaceDistanceTag() const
bool setTableTopEccentricAngle(QString qParam)
bool setCumulativeMetersetWeight(QString qParam)
bool setTableTopEccentricRotationDirection(QString qParam)
QString getTableTopEccentricRotationDirectionTag() const
QVariant getReferencedDoseSequence() const
QString getGantryRotationDirectionTag() const
QString getBeamLimitingDeviceAngleTag() const
QString getPatientSupportRotationDirectionTag() const
QVariant getDicomTagValueByKey(QString key) const
QString getReferencedDoseReferenceSequenceTag() const
QString getTableTopEccentricAngle() const
QString getTableTopEccentricAxisDistanceTag() const
QString getTableTopVerticalPositionTag() const
QString getBeamLimitingDeviceAngle() const
bool setGantryRotationDirection(QString qParam)
QString getTableTopVerticalPosition() const
bool setTableTopLateralPosition(QString qParam)
QString getReferencedDoseSequenceTag() const
QString getTableTopLateralPosition() const
QVariant getWedgePositionSequence() const
QString getPatientSupportAngleTag() const
QVariantMap getDicomTagByName(QString name) const
QVariantMap getDicomTagByKey(QString key) const
bool setDoseRateSet(QString qParam)
bool setGantryPitchAngle(float qParam)
bool setGantryAngle(QString qParam)
QString getGantryPitchRotationDirectionTag() const
QString getSourceToSurfaceDistance() const
ml::DcmDRTControlPointSequenceInterface::Item getWrappedSequenceItem() const
bool setTableTopEccentricAxisDistance(QString qParam)
QString getCumulativeMetersetWeight() const
ml::DcmDRTControlPointSequenceInterface * getSequence() const
Class to provide access to DRTControlPointSequence.
Class to provide access to DRTControlPointSequence.
Main documentation file for ML users and developers.
Definition SoSFMLImage.h:51