MeVisLab Toolbox Reference
mlDRTPatientSetupSequenceItemWrapper.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 __mlDRTPatientSetupSequenceItemWrapper_H
26#define __mlDRTPatientSetupSequenceItemWrapper_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
47
48#endif
49
53{
54 Q_OBJECT
55
56public:
57
58 QStringList _propertyKeys;
59
61 : _wrappedSequenceItem(wrappedSequenceItem)
62 , _sequenceInterface(sequenceInterface)
63 {
64 _init();
65 }
66
68 : QObject()
69 {
70 _wrappedSequenceItem = toCopy.getWrappedSequenceItem();
71 _sequenceInterface = toCopy.getSequence();
72 _init();
73 }
74
76 {
77 _wrappedSequenceItem = toCopy.getWrappedSequenceItem();
78 _sequenceInterface = toCopy.getSequence();
79 _init();
80 return *this;
81 }
82
84 ml::DcmDRTPatientSetupSequenceInterface* getSequence() const { return _sequenceInterface; }
85
86
96 Q_PROPERTY(QString SetupTechnique READ getSetupTechnique WRITE setSetupTechnique)
105
116
117
118public slots:
121
122 QStringList dir(QString searchString="") const;
123
124 QVariantMap getDicomTagByKey(QString key) const;
125 QVariantMap getDicomTagByName(QString name) const;
126 QVariant getDicomTagValueByKey(QString key) const;
127 QVariant getDicomTagValueByName(QString name) const;
128
129
130 bool setPatientAdditionalPosition(QString qParam);
133
134 bool setPatientPosition(QString qParam);
135 QString getPatientPositionTag() const;
136 QString getPatientPosition() const;
137
138 bool setPatientSetupLabel(QString qParam);
139 QString getPatientSetupLabelTag() const;
140 QString getPatientSetupLabel() const;
141
142 bool setPatientSetupNumber(QString qParam);
144 QString getPatientSetupNumber() const;
145
146 bool setSetupTechnique(QString qParam);
147 QString getSetupTechniqueTag() const;
148 QString getSetupTechnique() const;
149
150 bool setSetupTechniqueDescription(QString qParam);
153
157
161
165
166
167 bool setFixationDeviceSequence(QVariant qParam);
170
171 bool setMotionSynchronizationSequence(QVariant qParam);
174
175 bool setReferencedSetupImageSequence(QVariant qParam);
178
179 bool setSetupDeviceSequence(QVariant qParam);
180 QVariant getSetupDeviceSequence() const;
182
183 bool setShieldingDeviceSequence(QVariant qParam);
186
187
189
190private:
191
192 ml::DcmDRTPatientSetupSequenceInterface::Item _wrappedSequenceItem;
193 ml::DcmDRTPatientSetupSequenceInterface* _sequenceInterface;
194
195 QMap<QString, QString> _dcmTagToPropertyMap;
196 QMap<QString, QString> _vrCode;
197 void _init();
198};
199
200
201#endif // __mlDRTPatientSetupSequenceItemWrapper_H
A class that wraps DRTPatientSetupSequence Item for use in Python.
bool setPatientPosition(QString qParam)
QVariant getSetupDeviceSequence() const
QString getSetupTechniqueDescriptionTag() const
QString getFixationDeviceSequenceTag() const
QString getTableTopVerticalSetupDisplacement() const
bool setReferencedSetupImageSequence(QVariant qParam)
bool setSetupDeviceSequence(QVariant qParam)
QVariantMap getDicomTagByName(QString name) const
QStringList dir(QString searchString="") const
bool setPatientSetupNumber(QString qParam)
DRTPatientSetupSequenceItemWrapper(const ml::DcmDRTPatientSetupSequenceInterface::Item &wrappedSequenceItem, ml::DcmDRTPatientSetupSequenceInterface *sequenceInterface)
DRTPatientSetupSequenceItemWrapper & operator=(const DRTPatientSetupSequenceItemWrapper &toCopy)
DRTPatientSetupSequenceItemWrapper(const DRTPatientSetupSequenceItemWrapper &toCopy)
QString getTableTopLateralSetupDisplacementTag() const
bool setMotionSynchronizationSequence(QVariant qParam)
QVariant getDicomTagValueByName(QString name) const
bool setShieldingDeviceSequence(QVariant qParam)
bool setTableTopLateralSetupDisplacement(QString qParam)
QVariant getFixationDeviceSequence() const
QString getReferencedSetupImageSequenceTag() const
QVariant getReferencedSetupImageSequence() const
ml::DcmDRTPatientSetupSequenceInterface * getSequence() const
QVariantMap getDicomTagByKey(QString key) const
QVariant getShieldingDeviceSequence() const
QString getTableTopLongitudinalSetupDisplacementTag() const
QString getSetupDeviceSequenceTag() const
QVariant getMotionSynchronizationSequence() const
bool setFixationDeviceSequence(QVariant qParam)
bool setPatientSetupLabel(QString qParam)
QString getTableTopLongitudinalSetupDisplacement() const
bool setPatientAdditionalPosition(QString qParam)
QString getShieldingDeviceSequenceTag() const
QString getTableTopVerticalSetupDisplacementTag() const
QString getPatientAdditionalPosition() const
QString getPatientSetupNumberTag() const
QString getSetupTechniqueDescription() const
bool setSetupTechnique(QString qParam)
ml::DcmDRTPatientSetupSequenceInterface::Item getWrappedSequenceItem() const
bool setTableTopVerticalSetupDisplacement(QString qParam)
bool setSetupTechniqueDescription(QString qParam)
bool setTableTopLongitudinalSetupDisplacement(QString qParam)
QString getPatientAdditionalPositionTag() const
QString getMotionSynchronizationSequenceTag() const
QVariant getDicomTagValueByKey(QString key) const
QString getTableTopLateralSetupDisplacement() const
Class to provide access to DRTPatientSetupSequence.
Class to provide access to DRTPatientSetupSequence.
Main documentation file for ML users and developers.
Definition SoSFMLImage.h:51