MeVisLab Toolbox Reference
mlDRTRTReferencedStudySequenceItemWrapper.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 __mlDRTRTReferencedStudySequenceItemWrapper_H
26 #define __mlDRTRTReferencedStudySequenceItemWrapper_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 
43 
44 #endif
45 
49 {
50  Q_OBJECT
51 
52 public:
53 
54  QStringList _propertyKeys;
55 
57  : _wrappedSequenceItem(wrappedSequenceItem)
58  , _sequenceInterface(sequenceInterface)
59  {
60  _init();
61  }
62 
64  : QObject()
65  {
66  _wrappedSequenceItem = toCopy.getWrappedSequenceItem();
67  _sequenceInterface = toCopy.getSequence();
68  _init();
69  }
70 
72  {
73  _wrappedSequenceItem = toCopy.getWrappedSequenceItem();
74  _sequenceInterface = toCopy.getSequence();
75  _init();
76  return *this;
77  }
78 
80  ml::DcmDRTRTReferencedStudySequenceInterface* getSequence() const { return _sequenceInterface; }
81 
82 
87 
90 
91 
92 public slots:
95 
96  QStringList dir(QString searchString="") const;
97 
98  QVariantMap getDicomTagByKey(QString key) const;
99  QVariantMap getDicomTagByName(QString name) const;
100  QVariant getDicomTagValueByKey(QString key) const;
101  QVariant getDicomTagValueByName(QString name) const;
102 
103 
104  bool setReferencedSOPClassUID(QString qParam);
106  QString getReferencedSOPClassUID() const;
107 
108  bool setReferencedSOPInstanceUID(QString qParam);
111 
112 
113  bool setRTReferencedSeriesSequence(QVariant qParam);
116 
117 
119 
120 private:
121 
122  ml::DcmDRTRTReferencedStudySequenceInterface::Item _wrappedSequenceItem;
123  ml::DcmDRTRTReferencedStudySequenceInterface* _sequenceInterface;
124 
125  QMap<QString, QString> _dcmTagToPropertyMap;
126  QMap<QString, QString> _vrCode;
127  void _init();
128 };
129 
130 
131 #endif // __mlDRTRTReferencedStudySequenceItemWrapper_H
A class that wraps DRTRTReferencedStudySequence Item for use in Python.
bool setReferencedSOPClassUID(QString qParam)
QStringList dir(QString searchString="") const
ml::DcmDRTRTReferencedStudySequenceInterface * getSequence() const
ml::DcmDRTRTReferencedStudySequenceInterface::Item getWrappedSequenceItem() const
DRTRTReferencedStudySequenceItemWrapper & operator=(const DRTRTReferencedStudySequenceItemWrapper &toCopy)
QVariantMap getDicomTagByKey(QString key) const
bool setReferencedSOPInstanceUID(QString qParam)
QVariantMap getDicomTagByName(QString name) const
QVariant getDicomTagValueByKey(QString key) const
bool setRTReferencedSeriesSequence(QVariant qParam)
DRTRTReferencedStudySequenceItemWrapper(const ml::DcmDRTRTReferencedStudySequenceInterface::Item &wrappedSequenceItem, ml::DcmDRTRTReferencedStudySequenceInterface *sequenceInterface)
QVariant getDicomTagValueByName(QString name) const
DRTRTReferencedStudySequenceItemWrapper(const DRTRTReferencedStudySequenceItemWrapper &toCopy)
Class to provide access to DRTRTReferencedStudySequence.
Class to provide access to DRTRTReferencedStudySequence.
Main documentation file for ML users and developers.
Definition: SoSFMLImage.h:51