MeVisLab Toolbox Reference
mlDRTBeamSequenceWrapper.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 __mlDRTBeamSequenceWrapper_H
26 #define __mlDRTBeamSequenceWrapper_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 DRTBeamSequenceWrapper : public QObject
46 {
47  Q_OBJECT
48 
49 public:
50 
51  DRTBeamSequenceWrapper(ML_NAMESPACE::DcmDRTBeamSequenceInterface* 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::DcmDRTBeamSequenceInterface 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 
80  QString getFinalCumulativeMetersetWeightTag() const { return QString(_wrappedSequence.getFinalCumulativeMetersetWeightTag().c_str()); }
81 
82  QString getHighDoseTechniqueTypeTag() const { return QString(_wrappedSequence.getHighDoseTechniqueTypeTag().c_str()); }
83 
84  QString getInstitutionAddressTag() const { return QString(_wrappedSequence.getInstitutionAddressTag().c_str()); }
85 
86  QString getInstitutionNameTag() const { return QString(_wrappedSequence.getInstitutionNameTag().c_str()); }
87 
88  QString getInstitutionalDepartmentNameTag() const { return QString(_wrappedSequence.getInstitutionalDepartmentNameTag().c_str()); }
89 
90  QString getManufacturerTag() const { return QString(_wrappedSequence.getManufacturerTag().c_str()); }
91 
92  QString getManufacturerModelNameTag() const { return QString(_wrappedSequence.getManufacturerModelNameTag().c_str()); }
93 
94  QString getNumberOfBlocksTag() const { return QString(_wrappedSequence.getNumberOfBlocksTag().c_str()); }
95 
96  QString getNumberOfBoliTag() const { return QString(_wrappedSequence.getNumberOfBoliTag().c_str()); }
97 
98  QString getNumberOfCompensatorsTag() const { return QString(_wrappedSequence.getNumberOfCompensatorsTag().c_str()); }
99 
100  QString getNumberOfControlPointsTag() const { return QString(_wrappedSequence.getNumberOfControlPointsTag().c_str()); }
101 
102  QString getNumberOfWedgesTag() const { return QString(_wrappedSequence.getNumberOfWedgesTag().c_str()); }
103 
104  QString getPrimaryDosimeterUnitTag() const { return QString(_wrappedSequence.getPrimaryDosimeterUnitTag().c_str()); }
105 
106  QString getRadiationTypeTag() const { return QString(_wrappedSequence.getRadiationTypeTag().c_str()); }
107 
108  QString getReferencedPatientSetupNumberTag() const { return QString(_wrappedSequence.getReferencedPatientSetupNumberTag().c_str()); }
109 
110  QString getReferencedToleranceTableNumberTag() const { return QString(_wrappedSequence.getReferencedToleranceTableNumberTag().c_str()); }
111 
112  QString getSourceAxisDistanceTag() const { return QString(_wrappedSequence.getSourceAxisDistanceTag().c_str()); }
113 
114  QString getTotalBlockTrayFactorTag() const { return QString(_wrappedSequence.getTotalBlockTrayFactorTag().c_str()); }
115 
116  QString getTotalCompensatorTrayFactorTag() const { return QString(_wrappedSequence.getTotalCompensatorTrayFactorTag().c_str()); }
117 
118  QString getTreatmentDeliveryTypeTag() const { return QString(_wrappedSequence.getTreatmentDeliveryTypeTag().c_str()); }
119 
120  QString getTreatmentMachineNameTag() const { return QString(_wrappedSequence.getTreatmentMachineNameTag().c_str()); }
121 
122 
123  QString getApplicatorSequenceTag() const { return QString(_wrappedSequence.getApplicatorSequenceTag().c_str()); }
124 
125  QString getBeamLimitingDeviceSequenceTag() const { return QString(_wrappedSequence.getBeamLimitingDeviceSequenceTag().c_str()); }
126 
127  QString getBlockSequenceTag() const { return QString(_wrappedSequence.getBlockSequenceTag().c_str()); }
128 
129  QString getCompensatorSequenceTag() const { return QString(_wrappedSequence.getCompensatorSequenceTag().c_str()); }
130 
131  QString getControlPointSequenceTag() const { return QString(_wrappedSequence.getControlPointSequenceTag().c_str()); }
132 
133  QString getPlannedVerificationImageSequenceTag() const { return QString(_wrappedSequence.getPlannedVerificationImageSequenceTag().c_str()); }
134 
135  QString getReferencedBolusSequenceTag() const { return QString(_wrappedSequence.getReferencedBolusSequenceTag().c_str()); }
136 
137  QString getReferencedDoseSequenceTag() const { return QString(_wrappedSequence.getReferencedDoseSequenceTag().c_str()); }
138 
139  QString getReferencedReferenceImageSequenceTag() const { return QString(_wrappedSequence.getReferencedReferenceImageSequenceTag().c_str()); }
140 
141  QString getWedgeSequenceTag() const { return QString(_wrappedSequence.getWedgeSequenceTag().c_str()); }
142 
143 
144 
145 public slots:
148 
149  int getNumberOfItems() const;
150  QVariant getItem(int idx);
151  QVariant addItem();
152  bool insertItem(int idx);
153  bool removeItem(int idx);
154 
156 
157 private:
158  ml::DcmDRTBeamSequenceInterface _wrappedSequence;
159 };
160 
161 
162 #endif // __mlDRTBeamSequenceWrapper_H
A class that wraps DRTBeamSequence Item for use in Python.
QString getReferencedReferenceImageSequenceTag() const
bool removeItem(int idx)
QString getReferencedToleranceTableNumberTag() const
DRTBeamSequenceWrapper(const DRTBeamSequenceWrapper &toCopy)
bool insertItem(int idx)
QString getApplicatorSequenceTag() const
QString getNumberOfControlPointsTag() const
QString getFinalCumulativeMetersetWeightTag() const
QString getTotalBlockTrayFactorTag() const
QString getBeamLimitingDeviceSequenceTag() const
int getNumberOfItems() const
QString getReferencedDoseSequenceTag() const
QString getTotalCompensatorTrayFactorTag() const
QString getTreatmentMachineNameTag() const
QString getReferencedPatientSetupNumberTag() const
QString getControlPointSequenceTag() const
QString getPlannedVerificationImageSequenceTag() const
DRTBeamSequenceWrapper(ml::DcmDRTBeamSequenceInterface *wrappedSequence)
QString getManufacturerModelNameTag() const
QString getSourceAxisDistanceTag() const
QString getPrimaryDosimeterUnitTag() const
QString getDeviceSerialNumberTag() const
QString getNumberOfCompensatorsTag() const
QString getCompensatorSequenceTag() const
QString getInstitutionalDepartmentNameTag() const
QVariant getItem(int idx)
QString getHighDoseTechniqueTypeTag() const
QString getTreatmentDeliveryTypeTag() const
QString getInstitutionAddressTag() const
DRTBeamSequenceWrapper & operator=(const DRTBeamSequenceWrapper &toCopy)
QString getReferencedBolusSequenceTag() const
ml::DcmDRTBeamSequenceInterface getWrappedSequence() const
Class to provide access to DRTBeamSequence.
std::vector< DcmDRTBeamSequenceInterface::Item > getSequence() const
Return the DRTBeamSequence this interface class provides access to.
void setSequence(std::vector< DcmDRTBeamSequenceInterface::Item > dcmSequence)
Set the DRTBeamSequence this interface class provides access to.
Class to provide access to DRTBeamSequence.