MeVisLab Toolbox Reference
mlDRTChannelSequenceItemWrapper.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 __mlDRTChannelSequenceItemWrapper_H
26 #define __mlDRTChannelSequenceItemWrapper_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 
44 
45 #endif
46 
49 class DRTChannelSequenceItemWrapper : public QObject
50 {
51  Q_OBJECT
52 
53 public:
54 
55  QStringList _propertyKeys;
56 
58  : _wrappedSequenceItem(wrappedSequenceItem)
59  , _sequenceInterface(sequenceInterface)
60  {
61  _init();
62  }
63 
65  : QObject()
66  {
67  _wrappedSequenceItem = toCopy.getWrappedSequenceItem();
68  _sequenceInterface = toCopy.getSequence();
69  _init();
70  }
71 
73  {
74  _wrappedSequenceItem = toCopy.getWrappedSequenceItem();
75  _sequenceInterface = toCopy.getSequence();
76  _init();
77  return *this;
78  }
79 
80  ml::DcmDRTChannelSequenceInterface::Item getWrappedSequenceItem() const { return _wrappedSequenceItem; }
81  ml::DcmDRTChannelSequenceInterface* getSequence() const { return _sequenceInterface; }
82 
83 
84  QString _ChannelLength;
85  Q_PROPERTY(QString ChannelLength READ getChannelLength WRITE setChannelLength)
86  QString _ChannelNumber;
87  Q_PROPERTY(QString ChannelNumber READ getChannelNumber WRITE setChannelNumber)
89  Q_PROPERTY(QString ChannelTotalTime READ getChannelTotalTime WRITE setChannelTotalTime)
92  QString _MaterialID;
93  Q_PROPERTY(QString MaterialID READ getMaterialID WRITE setMaterialID)
96  QString _NumberOfPulses;
97  Q_PROPERTY(QString NumberOfPulses READ getNumberOfPulses WRITE setNumberOfPulses)
105  Q_PROPERTY(QString SourceApplicatorID READ getSourceApplicatorID WRITE setSourceApplicatorID)
123  Q_PROPERTY(QString SourceMovementType READ getSourceMovementType WRITE setSourceMovementType)
125  Q_PROPERTY(QString TransferTubeLength READ getTransferTubeLength WRITE setTransferTubeLength)
127  Q_PROPERTY(QString TransferTubeNumber READ getTransferTubeNumber WRITE setTransferTubeNumber)
128 
133 
134 
135 public slots:
138 
139  QStringList dir(QString searchString="") const;
140 
141  QVariantMap getDicomTagByKey(QString key) const;
142  QVariantMap getDicomTagByName(QString name) const;
143  QVariant getDicomTagValueByKey(QString key) const;
144  QVariant getDicomTagValueByName(QString name) const;
145 
146 
147  bool setChannelLength(QString qParam);
148  QString getChannelLengthTag() const;
149  QString getChannelLength() const;
150 
151  bool setChannelNumber(QString qParam);
152  QString getChannelNumberTag() const;
153  QString getChannelNumber() const;
154 
155  bool setChannelTotalTime(QString qParam);
156  QString getChannelTotalTimeTag() const;
157  QString getChannelTotalTime() const;
158 
159  bool setFinalCumulativeTimeWeight(QString qParam);
162 
163  bool setMaterialID(QString qParam);
164  QString getMaterialIDTag() const;
165  QString getMaterialID() const;
166 
167  bool setNumberOfControlPoints(QString qParam);
169  QString getNumberOfControlPoints() const;
170 
171  bool setNumberOfPulses(QString qParam);
172  QString getNumberOfPulsesTag() const;
173  QString getNumberOfPulses() const;
174 
175  bool setPulseRepetitionInterval(QString qParam);
177  QString getPulseRepetitionInterval() const;
178 
179  bool setReferencedROINumber(QString qParam);
180  QString getReferencedROINumberTag() const;
181  QString getReferencedROINumber() const;
182 
183  bool setReferencedSourceNumber(QString qParam);
185  QString getReferencedSourceNumber() const;
186 
187  bool setSourceApplicatorID(QString qParam);
188  QString getSourceApplicatorIDTag() const;
189  QString getSourceApplicatorID() const;
190 
191  bool setSourceApplicatorLength(QString qParam);
193  QString getSourceApplicatorLength() const;
194 
195  bool setSourceApplicatorManufacturer(QString qParam);
198 
199  bool setSourceApplicatorName(QString qParam);
200  QString getSourceApplicatorNameTag() const;
201  QString getSourceApplicatorName() const;
202 
203  bool setSourceApplicatorNumber(QString qParam);
205  QString getSourceApplicatorNumber() const;
206 
207  bool setSourceApplicatorStepSize(QString qParam);
210 
211  bool setSourceApplicatorType(QString qParam);
212  QString getSourceApplicatorTypeTag() const;
213  QString getSourceApplicatorType() const;
214 
218 
222 
223  bool setSourceMovementType(QString qParam);
224  QString getSourceMovementTypeTag() const;
225  QString getSourceMovementType() const;
226 
227  bool setTransferTubeLength(QString qParam);
228  QString getTransferTubeLengthTag() const;
229  QString getTransferTubeLength() const;
230 
231  bool setTransferTubeNumber(QString qParam);
232  QString getTransferTubeNumberTag() const;
233  QString getTransferTubeNumber() const;
234 
235 
236  bool setBrachyControlPointSequence(QVariant qParam);
239 
240  bool setChannelShieldSequence(QVariant qParam);
241  QVariant getChannelShieldSequence() const;
243 
244 
246 
247 private:
248 
249  ml::DcmDRTChannelSequenceInterface::Item _wrappedSequenceItem;
250  ml::DcmDRTChannelSequenceInterface* _sequenceInterface;
251 
252  QMap<QString, QString> _dcmTagToPropertyMap;
253  QMap<QString, QString> _vrCode;
254  void _init();
255 };
256 
257 
258 #endif // __mlDRTChannelSequenceItemWrapper_H
A class that wraps DRTChannelSequence Item for use in Python.
QString getChannelNumber() const
QString getChannelLengthTag() const
QString getPulseRepetitionIntervalTag() const
QString getFinalCumulativeTimeWeight() const
QString getSourceApplicatorStepSize() const
QVariantMap getDicomTagByName(QString name) const
QString getNumberOfControlPointsTag() const
QVariant getDicomTagValueByName(QString name) const
QVariant getBrachyControlPointSequence() const
QString getReferencedROINumber() const
QString getPulseRepetitionInterval() const
QString getNumberOfPulsesTag() const
QString getFinalCumulativeTimeWeightTag() const
QString getReferencedSourceNumberTag() const
QString getSourceApplicatorManufacturerTag() const
QString getChannelShieldSequenceTag() const
bool setSourceApplicatorType(QString qParam)
QString getSourceApplicatorNameTag() const
DRTChannelSequenceItemWrapper(const ml::DcmDRTChannelSequenceInterface::Item &wrappedSequenceItem, ml::DcmDRTChannelSequenceInterface *sequenceInterface)
bool setSourceApplicatorName(QString qParam)
bool setSourceApplicatorLength(QString qParam)
bool setNumberOfPulses(QString qParam)
ml::DcmDRTChannelSequenceInterface * getSequence() const
QStringList dir(QString searchString="") const
QString getSourceApplicatorType() const
QVariant getChannelShieldSequence() const
QString getSourceApplicatorWallNominalThickness() const
bool setSourceApplicatorWallNominalTransmission(QString qParam)
QString getSourceApplicatorTypeTag() const
QString getTransferTubeNumberTag() const
QString getSourceMovementType() const
QString getSourceApplicatorNumberTag() const
QString getTransferTubeLengthTag() const
QString getSourceApplicatorManufacturer() const
QString getTransferTubeLength() const
bool setBrachyControlPointSequence(QVariant qParam)
QString getChannelTotalTime() const
QString getBrachyControlPointSequenceTag() const
QVariantMap getDicomTagByKey(QString key) const
QString getSourceApplicatorWallNominalThicknessTag() const
bool setSourceApplicatorWallNominalThickness(QString qParam)
QString getNumberOfControlPoints() const
bool setSourceApplicatorStepSize(QString qParam)
bool setTransferTubeNumber(QString qParam)
bool setChannelTotalTime(QString qParam)
QString getChannelNumberTag() const
QVariant getDicomTagValueByKey(QString key) const
bool setSourceApplicatorNumber(QString qParam)
bool setSourceApplicatorID(QString qParam)
QString getChannelLength() const
bool setChannelLength(QString qParam)
bool setNumberOfControlPoints(QString qParam)
QString getSourceApplicatorWallNominalTransmission() const
bool setChannelNumber(QString qParam)
bool setPulseRepetitionInterval(QString qParam)
QString getSourceApplicatorNumber() const
QString getChannelTotalTimeTag() const
QString getSourceApplicatorLengthTag() const
QString getMaterialIDTag() const
bool setReferencedSourceNumber(QString qParam)
QString getTransferTubeNumber() const
bool setFinalCumulativeTimeWeight(QString qParam)
QString getSourceApplicatorIDTag() const
bool setMaterialID(QString qParam)
QString getSourceApplicatorLength() const
DRTChannelSequenceItemWrapper(const DRTChannelSequenceItemWrapper &toCopy)
ml::DcmDRTChannelSequenceInterface::Item getWrappedSequenceItem() const
bool setTransferTubeLength(QString qParam)
QString getSourceApplicatorStepSizeTag() const
QString getSourceApplicatorWallNominalTransmissionTag() const
bool setSourceApplicatorManufacturer(QString qParam)
bool setChannelShieldSequence(QVariant qParam)
QString getSourceApplicatorID() const
bool setReferencedROINumber(QString qParam)
QString getReferencedROINumberTag() const
QString getSourceMovementTypeTag() const
bool setSourceMovementType(QString qParam)
QString getSourceApplicatorName() const
QString getNumberOfPulses() const
DRTChannelSequenceItemWrapper & operator=(const DRTChannelSequenceItemWrapper &toCopy)
QString getReferencedSourceNumber() const
Class to provide access to DRTChannelSequence.
Class to provide access to DRTChannelSequence.
Main documentation file for ML users and developers.
Definition: SoSFMLImage.h:51