MeVisLab Toolbox Reference
mlDRTIconImageSequenceItemWrapper.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 __mlDRTIconImageSequenceItemWrapper_H
26#define __mlDRTIconImageSequenceItemWrapper_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 DRTIconImageSequenceItemWrapper : 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
79 ml::DcmDRTIconImageSequenceInterface* getSequence() const { return _sequenceInterface; }
80
81
85 Q_PROPERTY(int BitsStored READ getBitsStored WRITE setBitsStored)
89 Q_PROPERTY(int Columns READ getColumns WRITE setColumns)
93 Q_PROPERTY(int HighBit READ getHighBit WRITE setHighBit)
95 Q_PROPERTY(int ICCProfile READ getICCProfile WRITE setICCProfile)
108 int _Rows;
109 Q_PROPERTY(int Rows READ getRows WRITE setRows)
114
115
116
117public slots:
120
121 QStringList dir(QString searchString="") const;
122
123 QVariantMap getDicomTagByKey(QString key) const;
124 QVariantMap getDicomTagByName(QString name) const;
125 QVariant getDicomTagValueByKey(QString key) const;
126 QVariant getDicomTagValueByName(QString name) const;
127
128
129 bool setBitsAllocated(int qParam);
130 QString getBitsAllocatedTag() const;
131 int getBitsAllocated() const;
132
133 bool setBitsStored(int qParam);
134 QString getBitsStoredTag() const;
135 int getBitsStored() const;
136
140
141 bool setColumns(int qParam);
142 QString getColumnsTag() const;
143 int getColumns() const;
144
148
149 bool setHighBit(int qParam);
150 QString getHighBitTag() const;
151 int getHighBit() const;
152
153 bool setICCProfile(int qParam);
154 QString getICCProfileTag() const;
155 int getICCProfile() const;
156
160
161 bool setPhotometricInterpretation(QString qParam);
164
165 bool setPixelAspectRatio(QString qParam);
166 QString getPixelAspectRatioTag() const;
167 QString getPixelAspectRatio() const;
168
169 bool setPixelRepresentation(int qParam);
172
173 bool setPlanarConfiguration(int qParam);
176
180
181 bool setRows(int qParam);
182 QString getRowsTag() const;
183 int getRows() const;
184
185 bool setSamplesPerPixel(int qParam);
186 QString getSamplesPerPixelTag() const;
188
192
193
194
196
197private:
198
199 ml::DcmDRTIconImageSequenceInterface::Item _wrappedSequenceItem;
200 ml::DcmDRTIconImageSequenceInterface* _sequenceInterface;
201
202 QMap<QString, QString> _dcmTagToPropertyMap;
203 QMap<QString, QString> _vrCode;
204 void _init();
205};
206
207
208#endif // __mlDRTIconImageSequenceItemWrapper_H
A class that wraps DRTIconImageSequence Item for use in Python.
int getGreenPaletteColorLookupTableDescriptor() const
bool setSmallestImagePixelValue(int qParam)
QVariantMap getDicomTagByKey(QString key) const
QString getSmallestImagePixelValueTag() const
bool setLargestImagePixelValue(int qParam)
QString getRedPaletteColorLookupTableDescriptorTag() const
bool setGreenPaletteColorLookupTableDescriptor(int qParam)
QString getPixelRepresentationTag() const
QString getPhotometricInterpretation() const
QVariant getDicomTagValueByName(QString name) const
QString getLargestImagePixelValueTag() const
int getRedPaletteColorLookupTableDescriptor() const
QString getPixelAspectRatioTag() const
bool setBluePaletteColorLookupTableDescriptor(int qParam)
bool setSamplesPerPixel(int qParam)
DRTIconImageSequenceItemWrapper(const ml::DcmDRTIconImageSequenceInterface::Item &wrappedSequenceItem, ml::DcmDRTIconImageSequenceInterface *sequenceInterface)
ml::DcmDRTIconImageSequenceInterface::Item getWrappedSequenceItem() const
QVariantMap getDicomTagByName(QString name) const
int getBluePaletteColorLookupTableDescriptor() const
QString getBitsAllocatedTag() const
bool setPixelAspectRatio(QString qParam)
QVariant getDicomTagValueByKey(QString key) const
QString getPlanarConfigurationTag() const
QString getSamplesPerPixelTag() const
QString getPixelAspectRatio() const
bool setRedPaletteColorLookupTableDescriptor(int qParam)
bool setPixelRepresentation(int qParam)
ml::DcmDRTIconImageSequenceInterface * getSequence() const
bool setBitsAllocated(int qParam)
DRTIconImageSequenceItemWrapper(const DRTIconImageSequenceItemWrapper &toCopy)
QStringList dir(QString searchString="") const
QString getGreenPaletteColorLookupTableDescriptorTag() const
QString getBluePaletteColorLookupTableDescriptorTag() const
bool setPlanarConfiguration(int qParam)
DRTIconImageSequenceItemWrapper & operator=(const DRTIconImageSequenceItemWrapper &toCopy)
QString getPhotometricInterpretationTag() const
bool setPhotometricInterpretation(QString qParam)
Class to provide access to DRTIconImageSequence.
Class to provide access to DRTIconImageSequence.
Main documentation file for ML users and developers.
Definition SoSFMLImage.h:51