MeVisLab Toolbox Reference
mlDRTReferencedInstanceSequenceItemWrapper.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 __mlDRTReferencedInstanceSequenceItemWrapper_H
26#define __mlDRTReferencedInstanceSequenceItemWrapper_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::DcmDRTReferencedInstanceSequenceInterface* getSequence() const { return _sequenceInterface; }
81
82
86 Q_PROPERTY(int BitsStored READ getBitsStored WRITE setBitsStored)
90 Q_PROPERTY(int Columns READ getColumns WRITE setColumns)
94 Q_PROPERTY(int HighBit READ getHighBit WRITE setHighBit)
96 Q_PROPERTY(int ICCProfile READ getICCProfile WRITE setICCProfile)
113 int _Rows;
114 Q_PROPERTY(int Rows READ getRows WRITE setRows)
119
122
123
124public slots:
127
128 QStringList dir(QString searchString="") const;
129
130 QVariantMap getDicomTagByKey(QString key) const;
131 QVariantMap getDicomTagByName(QString name) const;
132 QVariant getDicomTagValueByKey(QString key) const;
133 QVariant getDicomTagValueByName(QString name) const;
134
135
136 bool setBitsAllocated(int qParam);
137 QString getBitsAllocatedTag() const;
138 int getBitsAllocated() const;
139
140 bool setBitsStored(int qParam);
141 QString getBitsStoredTag() const;
142 int getBitsStored() const;
143
147
148 bool setColumns(int qParam);
149 QString getColumnsTag() const;
150 int getColumns() const;
151
155
156 bool setHighBit(int qParam);
157 QString getHighBitTag() const;
158 int getHighBit() const;
159
160 bool setICCProfile(int qParam);
161 QString getICCProfileTag() const;
162 int getICCProfile() const;
163
167
168 bool setPhotometricInterpretation(QString qParam);
171
172 bool setPixelAspectRatio(QString qParam);
173 QString getPixelAspectRatioTag() const;
174 QString getPixelAspectRatio() const;
175
176 bool setPixelRepresentation(int qParam);
179
180 bool setPlanarConfiguration(int qParam);
183
187
188 bool setReferencedSOPClassUID(QString qParam);
191
192 bool setReferencedSOPInstanceUID(QString qParam);
195
196 bool setRows(int qParam);
197 QString getRowsTag() const;
198 int getRows() const;
199
200 bool setSamplesPerPixel(int qParam);
201 QString getSamplesPerPixelTag() const;
203
207
208
212
213
215
216private:
217
218 ml::DcmDRTReferencedInstanceSequenceInterface::Item _wrappedSequenceItem;
219 ml::DcmDRTReferencedInstanceSequenceInterface* _sequenceInterface;
220
221 QMap<QString, QString> _dcmTagToPropertyMap;
222 QMap<QString, QString> _vrCode;
223 void _init();
224};
225
226
227#endif // __mlDRTReferencedInstanceSequenceItemWrapper_H
A class that wraps DRTReferencedInstanceSequence Item for use in Python.
QVariantMap getDicomTagByName(QString name) const
QVariant getDicomTagValueByKey(QString key) const
QVariant getPurposeOfReferenceCodeSequence() const
bool setRedPaletteColorLookupTableDescriptor(int qParam)
bool setReferencedSOPClassUID(QString qParam)
QStringList dir(QString searchString="") const
ml::DcmDRTReferencedInstanceSequenceInterface * getSequence() const
DRTReferencedInstanceSequenceItemWrapper(const DRTReferencedInstanceSequenceItemWrapper &toCopy)
DRTReferencedInstanceSequenceItemWrapper(const ml::DcmDRTReferencedInstanceSequenceInterface::Item &wrappedSequenceItem, ml::DcmDRTReferencedInstanceSequenceInterface *sequenceInterface)
QString getRedPaletteColorLookupTableDescriptorTag() const
bool setReferencedSOPInstanceUID(QString qParam)
bool setBluePaletteColorLookupTableDescriptor(int qParam)
bool setPurposeOfReferenceCodeSequence(QVariant qParam)
QString getGreenPaletteColorLookupTableDescriptorTag() const
QVariantMap getDicomTagByKey(QString key) const
QVariant getDicomTagValueByName(QString name) const
QString getPurposeOfReferenceCodeSequenceTag() const
DRTReferencedInstanceSequenceItemWrapper & operator=(const DRTReferencedInstanceSequenceItemWrapper &toCopy)
QString getBluePaletteColorLookupTableDescriptorTag() const
bool setPhotometricInterpretation(QString qParam)
bool setGreenPaletteColorLookupTableDescriptor(int qParam)
ml::DcmDRTReferencedInstanceSequenceInterface::Item getWrappedSequenceItem() const
Class to provide access to DRTReferencedInstanceSequence.
Class to provide access to DRTReferencedInstanceSequence.
Main documentation file for ML users and developers.
Definition SoSFMLImage.h:51