MeVisLab Toolbox Reference
mlDRTDeviceSequenceItemWrapper.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 __mlDRTDeviceSequenceItemWrapper_H
26#define __mlDRTDeviceSequenceItemWrapper_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
42
43#endif
44
47class DRTDeviceSequenceItemWrapper : public QObject
48{
49 Q_OBJECT
50
51public:
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
78 ml::DcmDRTDeviceSequenceInterface::Item getWrappedSequenceItem() const { return _wrappedSequenceItem; }
79 ml::DcmDRTDeviceSequenceInterface* getSequence() const { return _sequenceInterface; }
80
81
82 QString _CodeMeaning;
83 Q_PROPERTY(QString CodeMeaning READ getCodeMeaning WRITE setCodeMeaning)
84 QString _CodeValue;
85 Q_PROPERTY(QString CodeValue READ getCodeValue WRITE setCodeValue)
106 QString _DeviceID;
107 Q_PROPERTY(QString DeviceID READ getDeviceID WRITE setDeviceID)
109 Q_PROPERTY(QString DeviceLength READ getDeviceLength WRITE setDeviceLength)
113 Q_PROPERTY(QString DeviceVolume READ getDeviceVolume WRITE setDeviceVolume)
117 Q_PROPERTY(QString Manufacturer READ getManufacturer WRITE setManufacturer)
122
123
124
125public slots:
128
129 QStringList dir(QString searchString="") const;
130
131 QVariantMap getDicomTagByKey(QString key) const;
132 QVariantMap getDicomTagByName(QString name) const;
133 QVariant getDicomTagValueByKey(QString key) const;
134 QVariant getDicomTagValueByName(QString name) const;
135
136
137 bool setCodeMeaning(QString qParam);
138 QString getCodeMeaningTag() const;
139 QString getCodeMeaning() const;
140
141 bool setCodeValue(QString qParam);
142 QString getCodeValueTag() const;
143 QString getCodeValue() const;
144
145 bool setCodingSchemeDesignator(QString qParam);
148
149 bool setCodingSchemeVersion(QString qParam);
151 QString getCodingSchemeVersion() const;
152
156
157 bool setContextGroupExtensionFlag(QString qParam);
160
161 bool setContextGroupLocalVersion(QString qParam);
164
165 bool setContextGroupVersion(QString qParam);
167 QString getContextGroupVersion() const;
168
169 bool setContextIdentifier(QString qParam);
170 QString getContextIdentifierTag() const;
171 QString getContextIdentifier() const;
172
173 bool setDeviceDescription(QString qParam);
174 QString getDeviceDescriptionTag() const;
175 QString getDeviceDescription() const;
176
177 bool setDeviceDiameter(QString qParam);
178 QString getDeviceDiameterTag() const;
179 QString getDeviceDiameter() const;
180
181 bool setDeviceDiameterUnits(QString qParam);
183 QString getDeviceDiameterUnits() const;
184
185 bool setDeviceID(QString qParam);
186 QString getDeviceIDTag() const;
187 QString getDeviceID() const;
188
189 bool setDeviceLength(QString qParam);
190 QString getDeviceLengthTag() const;
191 QString getDeviceLength() const;
192
193 bool setDeviceSerialNumber(QString qParam);
195 QString getDeviceSerialNumber() const;
196
197 bool setDeviceVolume(QString qParam);
198 QString getDeviceVolumeTag() const;
199 QString getDeviceVolume() const;
200
201 bool setInterMarkerDistance(QString qParam);
203 QString getInterMarkerDistance() const;
204
205 bool setManufacturer(QString qParam);
206 QString getManufacturerTag() const;
207 QString getManufacturer() const;
208
209 bool setManufacturerModelName(QString qParam);
212
213 bool setMappingResource(QString qParam);
214 QString getMappingResourceTag() const;
215 QString getMappingResource() const;
216
217
218
220
221private:
222
223 ml::DcmDRTDeviceSequenceInterface::Item _wrappedSequenceItem;
224 ml::DcmDRTDeviceSequenceInterface* _sequenceInterface;
225
226 QMap<QString, QString> _dcmTagToPropertyMap;
227 QMap<QString, QString> _vrCode;
228 void _init();
229};
230
231
232#endif // __mlDRTDeviceSequenceItemWrapper_H
A class that wraps DRTDeviceSequence Item for use in Python.
bool setContextGroupExtensionFlag(QString qParam)
QString getContextGroupLocalVersion() const
bool setManufacturerModelName(QString qParam)
QString getDeviceDiameterUnits() const
QString getContextGroupVersionTag() const
QVariant getDicomTagValueByKey(QString key) const
bool setCodeMeaning(QString qParam)
bool setContextGroupExtensionCreatorUID(QString qParam)
bool setDeviceDiameterUnits(QString qParam)
bool setManufacturer(QString qParam)
bool setContextIdentifier(QString qParam)
QString getDeviceVolumeTag() const
QString getContextGroupExtensionCreatorUIDTag() const
QString getMappingResource() const
DRTDeviceSequenceItemWrapper(const DRTDeviceSequenceItemWrapper &toCopy)
QString getCodeValueTag() const
QString getManufacturerModelNameTag() const
QStringList dir(QString searchString="") const
QVariantMap getDicomTagByKey(QString key) const
QString getContextIdentifier() const
bool setDeviceDescription(QString qParam)
QString getManufacturerModelName() const
QString getContextIdentifierTag() const
QString getDeviceSerialNumberTag() const
QString getDeviceDiameter() const
QString getDeviceIDTag() const
QString getContextGroupExtensionFlagTag() const
bool setDeviceLength(QString qParam)
QString getDeviceDiameterTag() const
QString getDeviceLength() const
QString getCodingSchemeDesignator() const
bool setInterMarkerDistance(QString qParam)
bool setMappingResource(QString qParam)
bool setDeviceSerialNumber(QString qParam)
QVariantMap getDicomTagByName(QString name) const
QString getMappingResourceTag() const
QString getDeviceLengthTag() const
QString getCodingSchemeVersion() const
QString getCodeMeaning() const
QString getCodeMeaningTag() const
QString getDeviceDescription() const
bool setDeviceDiameter(QString qParam)
bool setCodingSchemeVersion(QString qParam)
bool setContextGroupVersion(QString qParam)
QString getInterMarkerDistanceTag() const
QString getManufacturer() const
QString getCodingSchemeDesignatorTag() const
QString getContextGroupVersion() const
DRTDeviceSequenceItemWrapper(const ml::DcmDRTDeviceSequenceInterface::Item &wrappedSequenceItem, ml::DcmDRTDeviceSequenceInterface *sequenceInterface)
QVariant getDicomTagValueByName(QString name) const
ml::DcmDRTDeviceSequenceInterface::Item getWrappedSequenceItem() const
QString getContextGroupLocalVersionTag() const
bool setContextGroupLocalVersion(QString qParam)
QString getInterMarkerDistance() const
QString getCodingSchemeVersionTag() const
bool setCodeValue(QString qParam)
QString getDeviceVolume() const
QString getContextGroupExtensionCreatorUID() const
bool setCodingSchemeDesignator(QString qParam)
QString getManufacturerTag() const
ml::DcmDRTDeviceSequenceInterface * getSequence() const
QString getContextGroupExtensionFlag() const
DRTDeviceSequenceItemWrapper & operator=(const DRTDeviceSequenceItemWrapper &toCopy)
QString getDeviceDescriptionTag() const
QString getDeviceDiameterUnitsTag() const
bool setDeviceID(QString qParam)
QString getCodeValue() const
QString getDeviceSerialNumber() const
bool setDeviceVolume(QString qParam)
Class to provide access to DRTDeviceSequence.
Class to provide access to DRTDeviceSequence.
Main documentation file for ML users and developers.
Definition SoSFMLImage.h:51