MeVisLab Toolbox Reference
mlDRTExposureSequenceItemWrapper.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 __mlDRTExposureSequenceItemWrapper_H
26#define __mlDRTExposureSequenceItemWrapper_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
45
46#endif
47
50class DRTExposureSequenceItemWrapper : public QObject
51{
52 Q_OBJECT
53
54public:
55
56 QStringList _propertyKeys;
57
59 : _wrappedSequenceItem(wrappedSequenceItem)
60 , _sequenceInterface(sequenceInterface)
61 {
62 _init();
63 }
64
66 : QObject()
67 {
68 _wrappedSequenceItem = toCopy.getWrappedSequenceItem();
69 _sequenceInterface = toCopy.getSequence();
70 _init();
71 }
72
74 {
75 _wrappedSequenceItem = toCopy.getWrappedSequenceItem();
76 _sequenceInterface = toCopy.getSequence();
77 _init();
78 return *this;
79 }
80
82 ml::DcmDRTExposureSequenceInterface* getSequence() const { return _sequenceInterface; }
83
84
88 Q_PROPERTY(QString ExposureTime READ getExposureTime WRITE setExposureTime)
93 QString _KVP;
94 Q_PROPERTY(QString KVP READ getKVP WRITE setKVP)
98 Q_PROPERTY(QString NumberOfBlocks READ getNumberOfBlocks WRITE setNumberOfBlocks)
103
109 Q_PROPERTY(QVariant BlockSequence READ getBlockSequence WRITE setBlockSequence)
110
111
112public slots:
115
116 QStringList dir(QString searchString="") const;
117
118 QVariantMap getDicomTagByKey(QString key) const;
119 QVariantMap getDicomTagByName(QString name) const;
120 QVariant getDicomTagValueByKey(QString key) const;
121 QVariant getDicomTagValueByName(QString name) const;
122
123
124 bool setDiaphragmPosition(QString qParam);
125 QString getDiaphragmPositionTag() const;
126 QString getDiaphragmPosition() const;
127
128 bool setExposureTime(QString qParam);
129 QString getExposureTimeTag() const;
130 QString getExposureTime() const;
131
132 bool setFluenceDataScale(QString qParam);
133 QString getFluenceDataScaleTag() const;
134 QString getFluenceDataScale() const;
135
136 bool setFluenceDataSource(QString qParam);
137 QString getFluenceDataSourceTag() const;
138 QString getFluenceDataSource() const;
139
140 bool setKVP(QString qParam);
141 QString getKVPTag() const;
142 QString getKVP() const;
143
144 bool setMetersetExposure(QString qParam);
145 QString getMetersetExposureTag() const;
146 QString getMetersetExposure() const;
147
148 bool setNumberOfBlocks(QString qParam);
149 QString getNumberOfBlocksTag() const;
150 QString getNumberOfBlocks() const;
151
152 bool setReferencedFrameNumber(QString qParam);
155
156 bool setXRayTubeCurrent(QString qParam);
157 QString getXRayTubeCurrentTag() const;
158 QString getXRayTubeCurrent() const;
159
160
161 bool setApplicatorSequence(QVariant qParam);
162 QVariant getApplicatorSequence() const;
164
165 bool setBeamLimitingDeviceSequence(QVariant qParam);
168
169 bool setBlockSequence(QVariant qParam);
170 QVariant getBlockSequence() const;
171 QString getBlockSequenceTag() const;
172
173
175
176private:
177
178 ml::DcmDRTExposureSequenceInterface::Item _wrappedSequenceItem;
179 ml::DcmDRTExposureSequenceInterface* _sequenceInterface;
180
181 QMap<QString, QString> _dcmTagToPropertyMap;
182 QMap<QString, QString> _vrCode;
183 void _init();
184};
185
186
187#endif // __mlDRTExposureSequenceItemWrapper_H
A class that wraps DRTExposureSequence Item for use in Python.
QStringList dir(QString searchString="") const
DRTExposureSequenceItemWrapper & operator=(const DRTExposureSequenceItemWrapper &toCopy)
QString getBlockSequenceTag() const
ml::DcmDRTExposureSequenceInterface::Item getWrappedSequenceItem() const
bool setFluenceDataSource(QString qParam)
QString getReferencedFrameNumber() const
QString getBeamLimitingDeviceSequenceTag() const
bool setNumberOfBlocks(QString qParam)
bool setExposureTime(QString qParam)
QString getExposureTimeTag() const
QString getReferencedFrameNumberTag() const
QString getMetersetExposure() const
QString getXRayTubeCurrentTag() const
QString getMetersetExposureTag() const
bool setXRayTubeCurrent(QString qParam)
QVariant getBeamLimitingDeviceSequence() const
bool setApplicatorSequence(QVariant qParam)
bool setBlockSequence(QVariant qParam)
QString getApplicatorSequenceTag() const
QString getNumberOfBlocksTag() const
QVariant getDicomTagValueByKey(QString key) const
QString getFluenceDataScaleTag() const
DRTExposureSequenceItemWrapper(const ml::DcmDRTExposureSequenceInterface::Item &wrappedSequenceItem, ml::DcmDRTExposureSequenceInterface *sequenceInterface)
QString getFluenceDataSourceTag() const
bool setFluenceDataScale(QString qParam)
QVariantMap getDicomTagByName(QString name) const
bool setMetersetExposure(QString qParam)
QString getDiaphragmPositionTag() const
QVariant getDicomTagValueByName(QString name) const
bool setDiaphragmPosition(QString qParam)
QVariantMap getDicomTagByKey(QString key) const
ml::DcmDRTExposureSequenceInterface * getSequence() const
QString getNumberOfBlocks() const
QString getFluenceDataSource() const
QString getDiaphragmPosition() const
DRTExposureSequenceItemWrapper(const DRTExposureSequenceItemWrapper &toCopy)
bool setBeamLimitingDeviceSequence(QVariant qParam)
bool setKVP(QString qParam)
QString getFluenceDataScale() const
bool setReferencedFrameNumber(QString qParam)
QString getXRayTubeCurrent() const
QVariant getBlockSequence() const
QVariant getApplicatorSequence() const
Class to provide access to DRTExposureSequence.
Class to provide access to DRTExposureSequence.
Main documentation file for ML users and developers.
Definition SoSFMLImage.h:51