MeVisLab Toolbox Reference
mlDRTFixationDeviceSequenceItemWrapper.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 __mlDRTFixationDeviceSequenceItemWrapper_H
26#define __mlDRTFixationDeviceSequenceItemWrapper_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::DcmDRTFixationDeviceSequenceInterface* getSequence() const { return _sequenceInterface; }
80
81
83 Q_PROPERTY(QString AccessoryCode READ getAccessoryCode WRITE setAccessoryCode)
96
97
98
99public slots:
102
103 QStringList dir(QString searchString="") const;
104
105 QVariantMap getDicomTagByKey(QString key) const;
106 QVariantMap getDicomTagByName(QString name) const;
107 QVariant getDicomTagValueByKey(QString key) const;
108 QVariant getDicomTagValueByName(QString name) const;
109
110
111 bool setAccessoryCode(QString qParam);
112 QString getAccessoryCodeTag() const;
113 QString getAccessoryCode() const;
114
115 bool setFixationDeviceDescription(QString qParam);
118
119 bool setFixationDeviceLabel(QString qParam);
121 QString getFixationDeviceLabel() const;
122
123 bool setFixationDevicePitchAngle(float qParam);
126
127 bool setFixationDevicePosition(QString qParam);
130
131 bool setFixationDeviceRollAngle(float qParam);
134
135 bool setFixationDeviceType(QString qParam);
137 QString getFixationDeviceType() const;
138
139
140
142
143private:
144
145 ml::DcmDRTFixationDeviceSequenceInterface::Item _wrappedSequenceItem;
146 ml::DcmDRTFixationDeviceSequenceInterface* _sequenceInterface;
147
148 QMap<QString, QString> _dcmTagToPropertyMap;
149 QMap<QString, QString> _vrCode;
150 void _init();
151};
152
153
154#endif // __mlDRTFixationDeviceSequenceItemWrapper_H
A class that wraps DRTFixationDeviceSequence Item for use in Python.
QString getFixationDevicePitchAngleTag() const
QString getFixationDeviceDescription() const
bool setFixationDeviceDescription(QString qParam)
QVariant getDicomTagValueByKey(QString key) const
QString getFixationDeviceRollAngleTag() const
ml::DcmDRTFixationDeviceSequenceInterface::Item getWrappedSequenceItem() const
bool setAccessoryCode(QString qParam)
bool setFixationDeviceType(QString qParam)
QVariantMap getDicomTagByKey(QString key) const
bool setFixationDevicePitchAngle(float qParam)
ml::DcmDRTFixationDeviceSequenceInterface * getSequence() const
QVariantMap getDicomTagByName(QString name) const
DRTFixationDeviceSequenceItemWrapper & operator=(const DRTFixationDeviceSequenceItemWrapper &toCopy)
QVariant getDicomTagValueByName(QString name) const
DRTFixationDeviceSequenceItemWrapper(const DRTFixationDeviceSequenceItemWrapper &toCopy)
QString getFixationDevicePositionTag() const
DRTFixationDeviceSequenceItemWrapper(const ml::DcmDRTFixationDeviceSequenceInterface::Item &wrappedSequenceItem, ml::DcmDRTFixationDeviceSequenceInterface *sequenceInterface)
QString getFixationDeviceDescriptionTag() const
QStringList dir(QString searchString="") const
bool setFixationDeviceRollAngle(float qParam)
bool setFixationDeviceLabel(QString qParam)
bool setFixationDevicePosition(QString qParam)
Class to provide access to DRTFixationDeviceSequence.
Class to provide access to DRTFixationDeviceSequence.
Main documentation file for ML users and developers.
Definition SoSFMLImage.h:51