MeVisLab Toolbox Reference
mlDRTReferencedImageSequenceItemWrapper.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 __mlDRTReferencedImageSequenceItemWrapper_H
26#define __mlDRTReferencedImageSequenceItemWrapper_H
27
28#ifndef Q_MOC_RUN
29
30#include <FMEThirdPartyWarningsDisable.h>
31#include <QObject>
32#include <QVariant>
33#include <QVariantMap>
34#include <QList>
35#include <QStringList>
36#include <FMEThirdPartyWarningsRestore.h>
37
38// MLDcmtkAccessories includes
40
41
43
44#endif
45
49{
50 Q_OBJECT
51
52public:
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::DcmDRTReferencedImageSequenceInterface* getSequence() const { return _sequenceInterface; }
81
82
83 QString _CodeMeaning;
84 Q_PROPERTY(QString CodeMeaning READ getCodeMeaning WRITE setCodeMeaning)
85 QString _CodeValue;
86 Q_PROPERTY(QString CodeValue READ getCodeValue WRITE setCodeValue)
111
114
115
116public slots:
119
120 QStringList dir(QString searchString="") const;
121
122 QVariantMap getDicomTagByKey(QString key) const;
123 QVariantMap getDicomTagByName(QString name) const;
124 QVariant getDicomTagValueByKey(QString key) const;
125 QVariant getDicomTagValueByName(QString name) const;
126
127
128 bool setCodeMeaning(QString qParam);
129 QString getCodeMeaningTag() const;
130 QString getCodeMeaning() const;
131
132 bool setCodeValue(QString qParam);
133 QString getCodeValueTag() const;
134 QString getCodeValue() const;
135
136 bool setCodingSchemeDesignator(QString qParam);
139
140 bool setCodingSchemeVersion(QString qParam);
142 QString getCodingSchemeVersion() const;
143
147
148 bool setContextGroupExtensionFlag(QString qParam);
151
152 bool setContextGroupLocalVersion(QString qParam);
155
156 bool setContextGroupVersion(QString qParam);
158 QString getContextGroupVersion() const;
159
160 bool setContextIdentifier(QString qParam);
161 QString getContextIdentifierTag() const;
162 QString getContextIdentifier() const;
163
164 bool setMappingResource(QString qParam);
165 QString getMappingResourceTag() const;
166 QString getMappingResource() const;
167
168 bool setReferencedFrameNumber(QString qParam);
171
172 bool setReferencedSOPClassUID(QString qParam);
175
176 bool setReferencedSOPInstanceUID(QString qParam);
179
183
184
188
189
191
192private:
193
194 ml::DcmDRTReferencedImageSequenceInterface::Item _wrappedSequenceItem;
195 ml::DcmDRTReferencedImageSequenceInterface* _sequenceInterface;
196
197 QMap<QString, QString> _dcmTagToPropertyMap;
198 QMap<QString, QString> _vrCode;
199 void _init();
200};
201
202
203#endif // __mlDRTReferencedImageSequenceItemWrapper_H
A class that wraps DRTReferencedImageSequence Item for use in Python.
bool setContextGroupExtensionFlag(QString qParam)
QVariant getDicomTagValueByKey(QString key) const
QString getContextGroupExtensionCreatorUID() const
bool setContextIdentifier(QString qParam)
DRTReferencedImageSequenceItemWrapper(const DRTReferencedImageSequenceItemWrapper &toCopy)
QString getPurposeOfReferenceCodeSequenceTag() const
bool setPurposeOfReferenceCodeSequence(QVariant qParam)
ml::DcmDRTReferencedImageSequenceInterface::Item getWrappedSequenceItem() const
QString getContextGroupLocalVersionTag() const
bool setMappingResource(QString qParam)
bool setCodingSchemeDesignator(QString qParam)
QString getContextGroupExtensionFlagTag() const
QVariant getPurposeOfReferenceCodeSequence() const
bool setReferencedFrameNumber(QString qParam)
QVariantMap getDicomTagByKey(QString key) const
QStringList dir(QString searchString="") const
QString getReferencedSOPInstanceUIDTag() const
DRTReferencedImageSequenceItemWrapper(const ml::DcmDRTReferencedImageSequenceInterface::Item &wrappedSequenceItem, ml::DcmDRTReferencedImageSequenceInterface *sequenceInterface)
bool setContextGroupLocalVersion(QString qParam)
QString getContextGroupExtensionCreatorUIDTag() const
ml::DcmDRTReferencedImageSequenceInterface * getSequence() const
QVariant getDicomTagValueByName(QString name) const
QVariantMap getDicomTagByName(QString name) const
bool setReferencedSOPClassUID(QString qParam)
bool setCodingSchemeVersion(QString qParam)
DRTReferencedImageSequenceItemWrapper & operator=(const DRTReferencedImageSequenceItemWrapper &toCopy)
bool setReferencedSOPInstanceUID(QString qParam)
bool setContextGroupExtensionCreatorUID(QString qParam)
bool setContextGroupVersion(QString qParam)
Class to provide access to DRTReferencedImageSequence.
Class to provide access to DRTReferencedImageSequence.
Main documentation file for ML users and developers.
Definition SoSFMLImage.h:51