MeVisLab Toolbox Reference
mlDRTVOILUTSequenceItemWrapper.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 __mlDRTVOILUTSequenceItemWrapper_H
26#define __mlDRTVOILUTSequenceItemWrapper_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 DRTVOILUTSequenceItemWrapper : 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::DcmDRTVOILUTSequenceInterface::Item getWrappedSequenceItem() const { return _wrappedSequenceItem; }
79 ml::DcmDRTVOILUTSequenceInterface* getSequence() const { return _sequenceInterface; }
80
81
85 Q_PROPERTY(QString LUTExplanation READ getLUTExplanation WRITE setLUTExplanation)
86
87
88
89public slots:
92
93 QStringList dir(QString searchString="") const;
94
95 QVariantMap getDicomTagByKey(QString key) const;
96 QVariantMap getDicomTagByName(QString name) const;
97 QVariant getDicomTagValueByKey(QString key) const;
98 QVariant getDicomTagValueByName(QString name) const;
99
100
101 bool setLUTDescriptor(int qParam);
102 QString getLUTDescriptorTag() const;
103 int getLUTDescriptor() const;
104
105 bool setLUTExplanation(QString qParam);
106 QString getLUTExplanationTag() const;
107 QString getLUTExplanation() const;
108
109
110
112
113private:
114
115 ml::DcmDRTVOILUTSequenceInterface::Item _wrappedSequenceItem;
116 ml::DcmDRTVOILUTSequenceInterface* _sequenceInterface;
117
118 QMap<QString, QString> _dcmTagToPropertyMap;
119 QMap<QString, QString> _vrCode;
120 void _init();
121};
122
123
124#endif // __mlDRTVOILUTSequenceItemWrapper_H
A class that wraps DRTVOILUTSequence Item for use in Python.
DRTVOILUTSequenceItemWrapper(const DRTVOILUTSequenceItemWrapper &toCopy)
ml::DcmDRTVOILUTSequenceInterface * getSequence() const
ml::DcmDRTVOILUTSequenceInterface::Item getWrappedSequenceItem() const
QString getLUTExplanationTag() const
DRTVOILUTSequenceItemWrapper(const ml::DcmDRTVOILUTSequenceInterface::Item &wrappedSequenceItem, ml::DcmDRTVOILUTSequenceInterface *sequenceInterface)
QVariantMap getDicomTagByKey(QString key) const
bool setLUTDescriptor(int qParam)
DRTVOILUTSequenceItemWrapper & operator=(const DRTVOILUTSequenceItemWrapper &toCopy)
QVariantMap getDicomTagByName(QString name) const
bool setLUTExplanation(QString qParam)
QStringList dir(QString searchString="") const
QVariant getDicomTagValueByKey(QString key) const
QVariant getDicomTagValueByName(QString name) const
QString getLUTDescriptorTag() const
QString getLUTExplanation() const
Class to provide access to DRTVOILUTSequence.
Class to provide access to DRTVOILUTSequence.
Main documentation file for ML users and developers.
Definition SoSFMLImage.h:51