MeVisLab Toolbox Reference
mlDRTCompensatorSequenceItemWrapper.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 __mlDRTCompensatorSequenceItemWrapper_H
26#define __mlDRTCompensatorSequenceItemWrapper_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
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::DcmDRTCompensatorSequenceInterface* getSequence() const { return _sequenceInterface; }
80
81
83 Q_PROPERTY(QString AccessoryCode READ getAccessoryCode WRITE setAccessoryCode)
89 Q_PROPERTY(QString CompensatorID READ getCompensatorID WRITE setCompensatorID)
106 QString _MaterialID;
107 Q_PROPERTY(QString MaterialID READ getMaterialID WRITE setMaterialID)
112
113
114
115public slots:
118
119 QStringList dir(QString searchString="") const;
120
121 QVariantMap getDicomTagByKey(QString key) const;
122 QVariantMap getDicomTagByName(QString name) const;
123 QVariant getDicomTagValueByKey(QString key) const;
124 QVariant getDicomTagValueByName(QString name) const;
125
126
127 bool setAccessoryCode(QString qParam);
128 QString getAccessoryCodeTag() const;
129 QString getAccessoryCode() const;
130
131 bool setCompensatorColumns(QString qParam);
133 QString getCompensatorColumns() const;
134
135 bool setCompensatorDivergence(QString qParam);
138
139 bool setCompensatorID(QString qParam);
140 QString getCompensatorIDTag() const;
141 QString getCompensatorID() const;
142
143 bool setCompensatorMountingPosition(QString qParam);
146
147 bool setCompensatorNumber(QString qParam);
148 QString getCompensatorNumberTag() const;
149 QString getCompensatorNumber() const;
150
151 bool setCompensatorPixelSpacing(QString qParam);
154
155 bool setCompensatorPosition(QString qParam);
157 QString getCompensatorPosition() const;
158
159 bool setCompensatorRows(QString qParam);
160 QString getCompensatorRowsTag() const;
161 QString getCompensatorRows() const;
162
163 bool setCompensatorThicknessData(QString qParam);
166
167 bool setCompensatorTransmissionData(QString qParam);
170
171 bool setCompensatorType(QString qParam);
172 QString getCompensatorTypeTag() const;
173 QString getCompensatorType() const;
174
175 bool setMaterialID(QString qParam);
176 QString getMaterialIDTag() const;
177 QString getMaterialID() const;
178
179 bool setSourceToCompensatorDistance(QString qParam);
182
186
187
188
190
191private:
192
193 ml::DcmDRTCompensatorSequenceInterface::Item _wrappedSequenceItem;
194 ml::DcmDRTCompensatorSequenceInterface* _sequenceInterface;
195
196 QMap<QString, QString> _dcmTagToPropertyMap;
197 QMap<QString, QString> _vrCode;
198 void _init();
199};
200
201
202#endif // __mlDRTCompensatorSequenceItemWrapper_H
A class that wraps DRTCompensatorSequence Item for use in Python.
bool setCompensatorMountingPosition(QString qParam)
QString getSourceToCompensatorDistanceTag() const
bool setAccessoryCode(QString qParam)
ml::DcmDRTCompensatorSequenceInterface::Item getWrappedSequenceItem() const
bool setCompensatorNumber(QString qParam)
QStringList dir(QString searchString="") const
QString getCompensatorThicknessData() const
QString getCompensatorColumnsTag() const
bool setCompensatorColumns(QString qParam)
bool setCompensatorRows(QString qParam)
QString getCompensatorDivergenceTag() const
QString getSourceToCompensatorTrayDistance() const
QVariantMap getDicomTagByKey(QString key) const
QString getCompensatorPixelSpacingTag() const
QString getCompensatorPosition() const
bool setSourceToCompensatorTrayDistance(QString qParam)
bool setMaterialID(QString qParam)
bool setSourceToCompensatorDistance(QString qParam)
bool setCompensatorPixelSpacing(QString qParam)
DRTCompensatorSequenceItemWrapper(const ml::DcmDRTCompensatorSequenceInterface::Item &wrappedSequenceItem, ml::DcmDRTCompensatorSequenceInterface *sequenceInterface)
DRTCompensatorSequenceItemWrapper(const DRTCompensatorSequenceItemWrapper &toCopy)
DRTCompensatorSequenceItemWrapper & operator=(const DRTCompensatorSequenceItemWrapper &toCopy)
QString getSourceToCompensatorTrayDistanceTag() const
QString getCompensatorTransmissionDataTag() const
QString getCompensatorMountingPositionTag() const
bool setCompensatorID(QString qParam)
QString getCompensatorMountingPosition() const
QString getSourceToCompensatorDistance() const
bool setCompensatorTransmissionData(QString qParam)
QString getCompensatorNumberTag() const
bool setCompensatorPosition(QString qParam)
bool setCompensatorThicknessData(QString qParam)
QString getCompensatorDivergence() const
QString getCompensatorThicknessDataTag() const
bool setCompensatorType(QString qParam)
QVariant getDicomTagValueByName(QString name) const
QVariantMap getDicomTagByName(QString name) const
QString getCompensatorTransmissionData() const
bool setCompensatorDivergence(QString qParam)
ml::DcmDRTCompensatorSequenceInterface * getSequence() const
QVariant getDicomTagValueByKey(QString key) const
QString getCompensatorPositionTag() const
QString getCompensatorPixelSpacing() const
Class to provide access to DRTCompensatorSequence.
Class to provide access to DRTCompensatorSequence.
Main documentation file for ML users and developers.
Definition SoSFMLImage.h:51