MeVisLab Toolbox Reference
mlDRTBrachyAccessoryDeviceSequenceItemWrapper.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 __mlDRTBrachyAccessoryDeviceSequenceItemWrapper_H
26#define __mlDRTBrachyAccessoryDeviceSequenceItemWrapper_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::DcmDRTBrachyAccessoryDeviceSequenceInterface* getSequence() const { return _sequenceInterface; }
80
81
94 QString _MaterialID;
95 Q_PROPERTY(QString MaterialID READ getMaterialID WRITE setMaterialID)
98
99
100
101public slots:
104
105 QStringList dir(QString searchString="") const;
106
107 QVariantMap getDicomTagByKey(QString key) const;
108 QVariantMap getDicomTagByName(QString name) const;
109 QVariant getDicomTagValueByKey(QString key) const;
110 QVariant getDicomTagValueByName(QString name) const;
111
112
113 bool setBrachyAccessoryDeviceID(QString qParam);
116
117 bool setBrachyAccessoryDeviceName(QString qParam);
120
124
128
129 bool setBrachyAccessoryDeviceNumber(QString qParam);
132
133 bool setBrachyAccessoryDeviceType(QString qParam);
136
137 bool setMaterialID(QString qParam);
138 QString getMaterialIDTag() const;
139 QString getMaterialID() const;
140
141 bool setReferencedROINumber(QString qParam);
143 QString getReferencedROINumber() const;
144
145
146
148
149private:
150
151 ml::DcmDRTBrachyAccessoryDeviceSequenceInterface::Item _wrappedSequenceItem;
152 ml::DcmDRTBrachyAccessoryDeviceSequenceInterface* _sequenceInterface;
153
154 QMap<QString, QString> _dcmTagToPropertyMap;
155 QMap<QString, QString> _vrCode;
156 void _init();
157};
158
159
160#endif // __mlDRTBrachyAccessoryDeviceSequenceItemWrapper_H
A class that wraps DRTBrachyAccessoryDeviceSequence Item for use in Python.
QString getBrachyAccessoryDeviceNominalTransmissionTag() const
ml::DcmDRTBrachyAccessoryDeviceSequenceInterface::Item getWrappedSequenceItem() const
QString getBrachyAccessoryDeviceNominalTransmission() const
QVariant getDicomTagValueByKey(QString key) const
bool setBrachyAccessoryDeviceNominalTransmission(QString qParam)
DRTBrachyAccessoryDeviceSequenceItemWrapper(const ml::DcmDRTBrachyAccessoryDeviceSequenceInterface::Item &wrappedSequenceItem, ml::DcmDRTBrachyAccessoryDeviceSequenceInterface *sequenceInterface)
QVariantMap getDicomTagByKey(QString key) const
QStringList dir(QString searchString="") const
QVariant getDicomTagValueByName(QString name) const
bool setBrachyAccessoryDeviceType(QString qParam)
DRTBrachyAccessoryDeviceSequenceItemWrapper(const DRTBrachyAccessoryDeviceSequenceItemWrapper &toCopy)
DRTBrachyAccessoryDeviceSequenceItemWrapper & operator=(const DRTBrachyAccessoryDeviceSequenceItemWrapper &toCopy)
bool setBrachyAccessoryDeviceName(QString qParam)
QString getBrachyAccessoryDeviceNominalThicknessTag() const
ml::DcmDRTBrachyAccessoryDeviceSequenceInterface * getSequence() const
bool setBrachyAccessoryDeviceNominalThickness(QString qParam)
bool setBrachyAccessoryDeviceNumber(QString qParam)
QVariantMap getDicomTagByName(QString name) const
Class to provide access to DRTBrachyAccessoryDeviceSequence.
Class to provide access to DRTBrachyAccessoryDeviceSequence.
Main documentation file for ML users and developers.
Definition SoSFMLImage.h:51