MeVisLab Toolbox Reference
mlDRTChannelSequenceWrapper.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 __mlDRTChannelSequenceWrapper_H
26 #define __mlDRTChannelSequenceWrapper_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 DRTChannelSequenceWrapper : public QObject
46 {
47  Q_OBJECT
48 
49 public:
50 
51  DRTChannelSequenceWrapper(ML_NAMESPACE::DcmDRTChannelSequenceInterface* 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::DcmDRTChannelSequenceInterface getWrappedSequence() const { return _wrappedSequence; }
68 
69 
70  QString getChannelLengthTag() const { return QString(_wrappedSequence.getChannelLengthTag().c_str()); }
71 
72  QString getChannelNumberTag() const { return QString(_wrappedSequence.getChannelNumberTag().c_str()); }
73 
74  QString getChannelTotalTimeTag() const { return QString(_wrappedSequence.getChannelTotalTimeTag().c_str()); }
75 
76  QString getFinalCumulativeTimeWeightTag() const { return QString(_wrappedSequence.getFinalCumulativeTimeWeightTag().c_str()); }
77 
78  QString getMaterialIDTag() const { return QString(_wrappedSequence.getMaterialIDTag().c_str()); }
79 
80  QString getNumberOfControlPointsTag() const { return QString(_wrappedSequence.getNumberOfControlPointsTag().c_str()); }
81 
82  QString getNumberOfPulsesTag() const { return QString(_wrappedSequence.getNumberOfPulsesTag().c_str()); }
83 
84  QString getPulseRepetitionIntervalTag() const { return QString(_wrappedSequence.getPulseRepetitionIntervalTag().c_str()); }
85 
86  QString getReferencedROINumberTag() const { return QString(_wrappedSequence.getReferencedROINumberTag().c_str()); }
87 
88  QString getReferencedSourceNumberTag() const { return QString(_wrappedSequence.getReferencedSourceNumberTag().c_str()); }
89 
90  QString getSourceApplicatorIDTag() const { return QString(_wrappedSequence.getSourceApplicatorIDTag().c_str()); }
91 
92  QString getSourceApplicatorLengthTag() const { return QString(_wrappedSequence.getSourceApplicatorLengthTag().c_str()); }
93 
94  QString getSourceApplicatorManufacturerTag() const { return QString(_wrappedSequence.getSourceApplicatorManufacturerTag().c_str()); }
95 
96  QString getSourceApplicatorNameTag() const { return QString(_wrappedSequence.getSourceApplicatorNameTag().c_str()); }
97 
98  QString getSourceApplicatorNumberTag() const { return QString(_wrappedSequence.getSourceApplicatorNumberTag().c_str()); }
99 
100  QString getSourceApplicatorStepSizeTag() const { return QString(_wrappedSequence.getSourceApplicatorStepSizeTag().c_str()); }
101 
102  QString getSourceApplicatorTypeTag() const { return QString(_wrappedSequence.getSourceApplicatorTypeTag().c_str()); }
103 
104  QString getSourceApplicatorWallNominalThicknessTag() const { return QString(_wrappedSequence.getSourceApplicatorWallNominalThicknessTag().c_str()); }
105 
106  QString getSourceApplicatorWallNominalTransmissionTag() const { return QString(_wrappedSequence.getSourceApplicatorWallNominalTransmissionTag().c_str()); }
107 
108  QString getSourceMovementTypeTag() const { return QString(_wrappedSequence.getSourceMovementTypeTag().c_str()); }
109 
110  QString getTransferTubeLengthTag() const { return QString(_wrappedSequence.getTransferTubeLengthTag().c_str()); }
111 
112  QString getTransferTubeNumberTag() const { return QString(_wrappedSequence.getTransferTubeNumberTag().c_str()); }
113 
114 
115  QString getBrachyControlPointSequenceTag() const { return QString(_wrappedSequence.getBrachyControlPointSequenceTag().c_str()); }
116 
117  QString getChannelShieldSequenceTag() const { return QString(_wrappedSequence.getChannelShieldSequenceTag().c_str()); }
118 
119 
120 
121 public slots:
124 
125  int getNumberOfItems() const;
126  QVariant getItem(int idx);
127  QVariant addItem();
128  bool insertItem(int idx);
129  bool removeItem(int idx);
130 
132 
133 private:
134  ml::DcmDRTChannelSequenceInterface _wrappedSequence;
135 };
136 
137 
138 #endif // __mlDRTChannelSequenceWrapper_H
A class that wraps DRTChannelSequence Item for use in Python.
QString getSourceApplicatorManufacturerTag() const
QVariant getItem(int idx)
DRTChannelSequenceWrapper(ml::DcmDRTChannelSequenceInterface *wrappedSequence)
QString getSourceApplicatorWallNominalTransmissionTag() const
ml::DcmDRTChannelSequenceInterface getWrappedSequence() const
DRTChannelSequenceWrapper & operator=(const DRTChannelSequenceWrapper &toCopy)
QString getSourceApplicatorWallNominalThicknessTag() const
DRTChannelSequenceWrapper(const DRTChannelSequenceWrapper &toCopy)
Class to provide access to DRTChannelSequence.
void setSequence(std::vector< DcmDRTChannelSequenceInterface::Item > dcmSequence)
Set the DRTChannelSequence this interface class provides access to.
std::vector< DcmDRTChannelSequenceInterface::Item > getSequence() const
Return the DRTChannelSequence this interface class provides access to.
Class to provide access to DRTChannelSequence.