MeVisLab Toolbox Reference
mlDRTReferencedFractionGroupSequenceItemWrapper.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 __mlDRTReferencedFractionGroupSequenceItemWrapper_H
26 #define __mlDRTReferencedFractionGroupSequenceItemWrapper_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 
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 
81  ml::DcmDRTReferencedFractionGroupSequenceInterface* getSequence() const { return _sequenceInterface; }
82 
83 
86 
91 
92 
93 public slots:
96 
97  QStringList dir(QString searchString="") const;
98 
99  QVariantMap getDicomTagByKey(QString key) const;
100  QVariantMap getDicomTagByName(QString name) const;
101  QVariant getDicomTagValueByKey(QString key) const;
102  QVariant getDicomTagValueByName(QString name) const;
103 
104 
105  bool setReferencedFractionGroupNumber(QString qParam);
108 
109 
110  bool setReferencedBeamSequence(QVariant qParam);
111  QVariant getReferencedBeamSequence() const;
113 
117 
118 
120 
121 private:
122 
123  ml::DcmDRTReferencedFractionGroupSequenceInterface::Item _wrappedSequenceItem;
124  ml::DcmDRTReferencedFractionGroupSequenceInterface* _sequenceInterface;
125 
126  QMap<QString, QString> _dcmTagToPropertyMap;
127  QMap<QString, QString> _vrCode;
128  void _init();
129 };
130 
131 
132 #endif // __mlDRTReferencedFractionGroupSequenceItemWrapper_H
A class that wraps DRTReferencedFractionGroupSequence Item for use in Python.
QStringList dir(QString searchString="") const
DRTReferencedFractionGroupSequenceItemWrapper(const DRTReferencedFractionGroupSequenceItemWrapper &toCopy)
QVariant getReferencedBrachyApplicationSetupSequence() const
DRTReferencedFractionGroupSequenceItemWrapper(const ml::DcmDRTReferencedFractionGroupSequenceInterface::Item &wrappedSequenceItem, ml::DcmDRTReferencedFractionGroupSequenceInterface *sequenceInterface)
QVariantMap getDicomTagByName(QString name) const
QVariant getDicomTagValueByName(QString name) const
DRTReferencedFractionGroupSequenceItemWrapper & operator=(const DRTReferencedFractionGroupSequenceItemWrapper &toCopy)
ml::DcmDRTReferencedFractionGroupSequenceInterface::Item getWrappedSequenceItem() const
ml::DcmDRTReferencedFractionGroupSequenceInterface * getSequence() const
QVariant getDicomTagValueByKey(QString key) const
bool setReferencedBrachyApplicationSetupSequence(QVariant qParam)
QString getReferencedBrachyApplicationSetupSequenceTag() const
bool setReferencedFractionGroupNumber(QString qParam)
QVariantMap getDicomTagByKey(QString key) const
Class to provide access to DRTReferencedFractionGroupSequence.
Class to provide access to DRTReferencedFractionGroupSequence.
Main documentation file for ML users and developers.
Definition: SoSFMLImage.h:51