MeVisLab Toolbox Reference
mlDRTChannelShieldSequenceItemWrapper.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 __mlDRTChannelShieldSequenceItemWrapper_H
26 #define __mlDRTChannelShieldSequenceItemWrapper_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 
42 
43 #endif
44 
48 {
49  Q_OBJECT
50 
51 public:
52 
53  QStringList _propertyKeys;
54 
56  : _wrappedSequenceItem(wrappedSequenceItem)
57  , _sequenceInterface(sequenceInterface)
58  {
59  _init();
60  }
61 
63  : QObject()
64  {
65  _wrappedSequenceItem = toCopy.getWrappedSequenceItem();
66  _sequenceInterface = toCopy.getSequence();
67  _init();
68  }
69 
71  {
72  _wrappedSequenceItem = toCopy.getWrappedSequenceItem();
73  _sequenceInterface = toCopy.getSequence();
74  _init();
75  return *this;
76  }
77 
79  ml::DcmDRTChannelShieldSequenceInterface* getSequence() const { return _sequenceInterface; }
80 
81 
83  Q_PROPERTY(QString ChannelShieldID READ getChannelShieldID WRITE setChannelShieldID)
85  Q_PROPERTY(QString ChannelShieldName READ getChannelShieldName WRITE setChannelShieldName)
92  QString _MaterialID;
93  Q_PROPERTY(QString MaterialID READ getMaterialID WRITE setMaterialID)
96 
97 
98 
99 public slots:
102 
103  QStringList dir(QString searchString="") const;
104 
105  QVariantMap getDicomTagByKey(QString key) const;
106  QVariantMap getDicomTagByName(QString name) const;
107  QVariant getDicomTagValueByKey(QString key) const;
108  QVariant getDicomTagValueByName(QString name) const;
109 
110 
111  bool setChannelShieldID(QString qParam);
112  QString getChannelShieldIDTag() const;
113  QString getChannelShieldID() const;
114 
115  bool setChannelShieldName(QString qParam);
116  QString getChannelShieldNameTag() const;
117  QString getChannelShieldName() const;
118 
119  bool setChannelShieldNominalThickness(QString qParam);
122 
126 
127  bool setChannelShieldNumber(QString qParam);
128  QString getChannelShieldNumberTag() const;
129  QString getChannelShieldNumber() const;
130 
131  bool setMaterialID(QString qParam);
132  QString getMaterialIDTag() const;
133  QString getMaterialID() const;
134 
135  bool setReferencedROINumber(QString qParam);
136  QString getReferencedROINumberTag() const;
137  QString getReferencedROINumber() const;
138 
139 
140 
142 
143 private:
144 
145  ml::DcmDRTChannelShieldSequenceInterface::Item _wrappedSequenceItem;
146  ml::DcmDRTChannelShieldSequenceInterface* _sequenceInterface;
147 
148  QMap<QString, QString> _dcmTagToPropertyMap;
149  QMap<QString, QString> _vrCode;
150  void _init();
151 };
152 
153 
154 #endif // __mlDRTChannelShieldSequenceItemWrapper_H
A class that wraps DRTChannelShieldSequence Item for use in Python.
DRTChannelShieldSequenceItemWrapper(const DRTChannelShieldSequenceItemWrapper &toCopy)
bool setChannelShieldName(QString qParam)
QVariantMap getDicomTagByName(QString name) const
bool setMaterialID(QString qParam)
QString getChannelShieldNominalThicknessTag() const
bool setReferencedROINumber(QString qParam)
QVariantMap getDicomTagByKey(QString key) const
ml::DcmDRTChannelShieldSequenceInterface * getSequence() const
QVariant getDicomTagValueByKey(QString key) const
QString getChannelShieldNominalThickness() const
QString getChannelShieldNominalTransmission() const
QVariant getDicomTagValueByName(QString name) const
bool setChannelShieldNominalTransmission(QString qParam)
bool setChannelShieldNominalThickness(QString qParam)
QStringList dir(QString searchString="") const
ml::DcmDRTChannelShieldSequenceInterface::Item getWrappedSequenceItem() const
DRTChannelShieldSequenceItemWrapper(const ml::DcmDRTChannelShieldSequenceInterface::Item &wrappedSequenceItem, ml::DcmDRTChannelShieldSequenceInterface *sequenceInterface)
QString getChannelShieldNominalTransmissionTag() const
bool setChannelShieldNumber(QString qParam)
DRTChannelShieldSequenceItemWrapper & operator=(const DRTChannelShieldSequenceItemWrapper &toCopy)
bool setChannelShieldID(QString qParam)
Class to provide access to DRTChannelShieldSequence.
Class to provide access to DRTChannelShieldSequence.
Main documentation file for ML users and developers.
Definition: SoSFMLImage.h:51