MeVisLab Toolbox Reference
mlDRTControlPointSequenceWrapper.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 __mlDRTControlPointSequenceWrapper_H
26 #define __mlDRTControlPointSequenceWrapper_H
27 
28 #ifndef Q_MOC_RUN
29 
30 #include <ThirdPartyWarningsDisable.h>
31 #include <QObject>
32 #include <QVariant>
33 #include <QVariantMap>
34 #include <QList>
35 #include <QStringList>
36 #include <ThirdPartyWarningsRestore.h>
37 
38 // MLDcmtkAccessories includes
40 
41 #endif
42 
45 class DRTControlPointSequenceWrapper : public QObject
46 {
47  Q_OBJECT
48 
49 public:
50 
51  DRTControlPointSequenceWrapper(ML_NAMESPACE::DcmDRTControlPointSequenceInterface* 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::DcmDRTControlPointSequenceInterface getWrappedSequence() const { return _wrappedSequence; }
68 
69 
70  QString getBeamLimitingDeviceAngleTag() const { return QString(_wrappedSequence.getBeamLimitingDeviceAngleTag().c_str()); }
71 
72  QString getBeamLimitingDeviceRotationDirectionTag() const { return QString(_wrappedSequence.getBeamLimitingDeviceRotationDirectionTag().c_str()); }
73 
74  QString getControlPointIndexTag() const { return QString(_wrappedSequence.getControlPointIndexTag().c_str()); }
75 
76  QString getCumulativeMetersetWeightTag() const { return QString(_wrappedSequence.getCumulativeMetersetWeightTag().c_str()); }
77 
78  QString getDoseRateSetTag() const { return QString(_wrappedSequence.getDoseRateSetTag().c_str()); }
79 
80  QString getGantryAngleTag() const { return QString(_wrappedSequence.getGantryAngleTag().c_str()); }
81 
82  QString getGantryPitchAngleTag() const { return QString(_wrappedSequence.getGantryPitchAngleTag().c_str()); }
83 
84  QString getGantryPitchRotationDirectionTag() const { return QString(_wrappedSequence.getGantryPitchRotationDirectionTag().c_str()); }
85 
86  QString getGantryRotationDirectionTag() const { return QString(_wrappedSequence.getGantryRotationDirectionTag().c_str()); }
87 
88  QString getIsocenterPositionTag() const { return QString(_wrappedSequence.getIsocenterPositionTag().c_str()); }
89 
90  QString getNominalBeamEnergyTag() const { return QString(_wrappedSequence.getNominalBeamEnergyTag().c_str()); }
91 
92  QString getPatientSupportAngleTag() const { return QString(_wrappedSequence.getPatientSupportAngleTag().c_str()); }
93 
94  QString getPatientSupportRotationDirectionTag() const { return QString(_wrappedSequence.getPatientSupportRotationDirectionTag().c_str()); }
95 
96  QString getSourceToSurfaceDistanceTag() const { return QString(_wrappedSequence.getSourceToSurfaceDistanceTag().c_str()); }
97 
98  QString getSurfaceEntryPointTag() const { return QString(_wrappedSequence.getSurfaceEntryPointTag().c_str()); }
99 
100  QString getTableTopEccentricAngleTag() const { return QString(_wrappedSequence.getTableTopEccentricAngleTag().c_str()); }
101 
102  QString getTableTopEccentricAxisDistanceTag() const { return QString(_wrappedSequence.getTableTopEccentricAxisDistanceTag().c_str()); }
103 
104  QString getTableTopEccentricRotationDirectionTag() const { return QString(_wrappedSequence.getTableTopEccentricRotationDirectionTag().c_str()); }
105 
106  QString getTableTopLateralPositionTag() const { return QString(_wrappedSequence.getTableTopLateralPositionTag().c_str()); }
107 
108  QString getTableTopLongitudinalPositionTag() const { return QString(_wrappedSequence.getTableTopLongitudinalPositionTag().c_str()); }
109 
110  QString getTableTopVerticalPositionTag() const { return QString(_wrappedSequence.getTableTopVerticalPositionTag().c_str()); }
111 
112 
113  QString getBeamLimitingDevicePositionSequenceTag() const { return QString(_wrappedSequence.getBeamLimitingDevicePositionSequenceTag().c_str()); }
114 
115  QString getReferencedDoseReferenceSequenceTag() const { return QString(_wrappedSequence.getReferencedDoseReferenceSequenceTag().c_str()); }
116 
117  QString getReferencedDoseSequenceTag() const { return QString(_wrappedSequence.getReferencedDoseSequenceTag().c_str()); }
118 
119  QString getWedgePositionSequenceTag() const { return QString(_wrappedSequence.getWedgePositionSequenceTag().c_str()); }
120 
121 
122 
123 public slots:
126 
127  int getNumberOfItems() const;
128  QVariant getItem(int idx);
129  QVariant addItem();
130  bool insertItem(int idx);
131  bool removeItem(int idx);
132 
134 
135 private:
137 };
138 
139 
140 #endif // __mlDRTControlPointSequenceWrapper_H
A class that wraps DRTControlPointSequence Item for use in Python.
DRTControlPointSequenceWrapper(ml::DcmDRTControlPointSequenceInterface *wrappedSequence)
ml::DcmDRTControlPointSequenceInterface getWrappedSequence() const
DRTControlPointSequenceWrapper & operator=(const DRTControlPointSequenceWrapper &toCopy)
DRTControlPointSequenceWrapper(const DRTControlPointSequenceWrapper &toCopy)
Class to provide access to DRTControlPointSequence.
void setSequence(std::vector< DcmDRTControlPointSequenceInterface::Item > dcmSequence)
Set the DRTControlPointSequence this interface class provides access to.
std::vector< DcmDRTControlPointSequenceInterface::Item > getSequence() const
Return the DRTControlPointSequence this interface class provides access to.
Class to provide access to DRTControlPointSequence.