MeVisLab Toolbox Reference
mlDRTDVHSequenceItemWrapper.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 __mlDRTDVHSequenceItemWrapper_H
26#define __mlDRTDVHSequenceItemWrapper_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
48class DRTDVHSequenceItemWrapper : public QObject
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
79 ml::DcmDRTDVHSequenceInterface::Item getWrappedSequenceItem() const { return _wrappedSequenceItem; }
80 ml::DcmDRTDVHSequenceInterface* getSequence() const { return _sequenceInterface; }
81
82
83 QString _DVHData;
84 Q_PROPERTY(QString DVHData READ getDVHData WRITE setDVHData)
86 Q_PROPERTY(QString DVHDoseScaling READ getDVHDoseScaling WRITE setDVHDoseScaling)
88 Q_PROPERTY(QString DVHMaximumDose READ getDVHMaximumDose WRITE setDVHMaximumDose)
89 QString _DVHMeanDose;
90 Q_PROPERTY(QString DVHMeanDose READ getDVHMeanDose WRITE setDVHMeanDose)
92 Q_PROPERTY(QString DVHMinimumDose READ getDVHMinimumDose WRITE setDVHMinimumDose)
95 QString _DVHType;
96 Q_PROPERTY(QString DVHType READ getDVHType WRITE setDVHType)
98 Q_PROPERTY(QString DVHVolumeUnits READ getDVHVolumeUnits WRITE setDVHVolumeUnits)
99 QString _DoseType;
100 Q_PROPERTY(QString DoseType READ getDoseType WRITE setDoseType)
101 QString _DoseUnits;
102 Q_PROPERTY(QString DoseUnits READ getDoseUnits WRITE setDoseUnits)
103
106
107
108public slots:
111
112 QStringList dir(QString searchString="") const;
113
114 QVariantMap getDicomTagByKey(QString key) const;
115 QVariantMap getDicomTagByName(QString name) const;
116 QVariant getDicomTagValueByKey(QString key) const;
117 QVariant getDicomTagValueByName(QString name) const;
118
119
120 bool setDVHData(QString qParam);
121 QString getDVHDataTag() const;
122 QString getDVHData() const;
123
124 bool setDVHDoseScaling(QString qParam);
125 QString getDVHDoseScalingTag() const;
126 QString getDVHDoseScaling() const;
127
128 bool setDVHMaximumDose(QString qParam);
129 QString getDVHMaximumDoseTag() const;
130 QString getDVHMaximumDose() const;
131
132 bool setDVHMeanDose(QString qParam);
133 QString getDVHMeanDoseTag() const;
134 QString getDVHMeanDose() const;
135
136 bool setDVHMinimumDose(QString qParam);
137 QString getDVHMinimumDoseTag() const;
138 QString getDVHMinimumDose() const;
139
140 bool setDVHNumberOfBins(QString qParam);
141 QString getDVHNumberOfBinsTag() const;
142 QString getDVHNumberOfBins() const;
143
144 bool setDVHType(QString qParam);
145 QString getDVHTypeTag() const;
146 QString getDVHType() const;
147
148 bool setDVHVolumeUnits(QString qParam);
149 QString getDVHVolumeUnitsTag() const;
150 QString getDVHVolumeUnits() const;
151
152 bool setDoseType(QString qParam);
153 QString getDoseTypeTag() const;
154 QString getDoseType() const;
155
156 bool setDoseUnits(QString qParam);
157 QString getDoseUnitsTag() const;
158 QString getDoseUnits() const;
159
160
161 bool setDVHReferencedROISequence(QVariant qParam);
164
165
167
168private:
169
170 ml::DcmDRTDVHSequenceInterface::Item _wrappedSequenceItem;
171 ml::DcmDRTDVHSequenceInterface* _sequenceInterface;
172
173 QMap<QString, QString> _dcmTagToPropertyMap;
174 QMap<QString, QString> _vrCode;
175 void _init();
176};
177
178
179#endif // __mlDRTDVHSequenceItemWrapper_H
A class that wraps DRTDVHSequence Item for use in Python.
bool setDVHMinimumDose(QString qParam)
bool setDVHVolumeUnits(QString qParam)
QString getDoseUnits() const
QVariant getDVHReferencedROISequence() const
DRTDVHSequenceItemWrapper & operator=(const DRTDVHSequenceItemWrapper &toCopy)
QString getDVHMinimumDoseTag() const
ml::DcmDRTDVHSequenceInterface::Item getWrappedSequenceItem() const
QString getDVHType() const
QVariantMap getDicomTagByKey(QString key) const
QString getDVHVolumeUnitsTag() const
bool setDVHType(QString qParam)
ml::DcmDRTDVHSequenceInterface * getSequence() const
QVariant getDicomTagValueByName(QString name) const
QString getDVHData() const
QString getDoseUnitsTag() const
QString getDVHNumberOfBins() const
bool setDVHMeanDose(QString qParam)
QString getDVHMaximumDose() const
QString getDVHNumberOfBinsTag() const
QString getDVHDoseScalingTag() const
QString getDVHVolumeUnits() const
QString getDVHMeanDose() const
bool setDoseType(QString qParam)
QString getDoseTypeTag() const
bool setDoseUnits(QString qParam)
QString getDVHMeanDoseTag() const
QString getDVHMaximumDoseTag() const
bool setDVHMaximumDose(QString qParam)
bool setDVHReferencedROISequence(QVariant qParam)
QString getDVHReferencedROISequenceTag() const
QString getDVHDoseScaling() const
QString getDVHTypeTag() const
DRTDVHSequenceItemWrapper(const DRTDVHSequenceItemWrapper &toCopy)
bool setDVHNumberOfBins(QString qParam)
QString getDVHMinimumDose() const
QString getDVHDataTag() const
QString getDoseType() const
QVariantMap getDicomTagByName(QString name) const
DRTDVHSequenceItemWrapper(const ml::DcmDRTDVHSequenceInterface::Item &wrappedSequenceItem, ml::DcmDRTDVHSequenceInterface *sequenceInterface)
bool setDVHDoseScaling(QString qParam)
bool setDVHData(QString qParam)
QStringList dir(QString searchString="") const
QVariant getDicomTagValueByKey(QString key) const
Class to provide access to DRTDVHSequence.
Class to provide access to DRTDVHSequence.
Main documentation file for ML users and developers.
Definition SoSFMLImage.h:51