MeVisLab Toolbox Reference
mlDRTIonRangeCompensatorSequenceItemWrapper.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 __mlDRTIonRangeCompensatorSequenceItemWrapper_H
26#define __mlDRTIonRangeCompensatorSequenceItemWrapper_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::DcmDRTIonRangeCompensatorSequenceInterface* getSequence() const { return _sequenceInterface; }
80
81
83 Q_PROPERTY(QString AccessoryCode READ getAccessoryCode WRITE setAccessoryCode)
91 Q_PROPERTY(QString CompensatorID READ getCompensatorID WRITE setCompensatorID)
112 QString _MaterialID;
113 Q_PROPERTY(QString MaterialID READ getMaterialID WRITE setMaterialID)
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 setAccessoryCode(QString qParam);
130 QString getAccessoryCodeTag() const;
131 QString getAccessoryCode() const;
132
133 bool setCompensatorColumnOffset(float qParam);
136
137 bool setCompensatorColumns(QString qParam);
139 QString getCompensatorColumns() const;
140
141 bool setCompensatorDivergence(QString qParam);
144
145 bool setCompensatorID(QString qParam);
146 QString getCompensatorIDTag() const;
147 QString getCompensatorID() const;
148
152
153 bool setCompensatorMountingPosition(QString qParam);
156
157 bool setCompensatorNumber(QString qParam);
158 QString getCompensatorNumberTag() const;
159 QString getCompensatorNumber() const;
160
161 bool setCompensatorPixelSpacing(QString qParam);
164
165 bool setCompensatorPosition(QString qParam);
167 QString getCompensatorPosition() const;
168
172
173 bool setCompensatorRows(QString qParam);
174 QString getCompensatorRowsTag() const;
175 QString getCompensatorRows() const;
176
177 bool setCompensatorThicknessData(QString qParam);
180
184
188
189 bool setMaterialID(QString qParam);
190 QString getMaterialIDTag() const;
191 QString getMaterialID() const;
192
193
194
196
197private:
198
199 ml::DcmDRTIonRangeCompensatorSequenceInterface::Item _wrappedSequenceItem;
200 ml::DcmDRTIonRangeCompensatorSequenceInterface* _sequenceInterface;
201
202 QMap<QString, QString> _dcmTagToPropertyMap;
203 QMap<QString, QString> _vrCode;
204 void _init();
205};
206
207
208#endif // __mlDRTIonRangeCompensatorSequenceItemWrapper_H
A class that wraps DRTIonRangeCompensatorSequence Item for use in Python.
QVariant getDicomTagValueByKey(QString key) const
bool setIsocenterToCompensatorDistances(float qParam)
QString getIsocenterToCompensatorTrayDistanceTag() const
bool setCompensatorDivergence(QString qParam)
QVariantMap getDicomTagByName(QString name) const
DRTIonRangeCompensatorSequenceItemWrapper & operator=(const DRTIonRangeCompensatorSequenceItemWrapper &toCopy)
ml::DcmDRTIonRangeCompensatorSequenceInterface * getSequence() const
bool setCompensatorThicknessData(QString qParam)
QVariantMap getDicomTagByKey(QString key) const
bool setCompensatorMillingToolDiameter(float qParam)
DRTIonRangeCompensatorSequenceItemWrapper(const ml::DcmDRTIonRangeCompensatorSequenceInterface::Item &wrappedSequenceItem, ml::DcmDRTIonRangeCompensatorSequenceInterface *sequenceInterface)
QVariant getDicomTagValueByName(QString name) const
bool setCompensatorMountingPosition(QString qParam)
ml::DcmDRTIonRangeCompensatorSequenceInterface::Item getWrappedSequenceItem() const
QString getCompensatorRelativeStoppingPowerRatioTag() const
DRTIonRangeCompensatorSequenceItemWrapper(const DRTIonRangeCompensatorSequenceItemWrapper &toCopy)
QStringList dir(QString searchString="") const
bool setIsocenterToCompensatorTrayDistance(float qParam)
bool setCompensatorRelativeStoppingPowerRatio(float qParam)
bool setCompensatorPixelSpacing(QString qParam)
Class to provide access to DRTIonRangeCompensatorSequence.
Class to provide access to DRTIonRangeCompensatorSequence.
Main documentation file for ML users and developers.
Definition SoSFMLImage.h:51