MeVisLab Toolbox Reference
mlDRTRTROIObservationsSequenceItemWrapper.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 __mlDRTRTROIObservationsSequenceItemWrapper_H
26#define __mlDRTRTROIObservationsSequenceItemWrapper_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
46
47#endif
48
52{
53 Q_OBJECT
54
55public:
56
57 QStringList _propertyKeys;
58
60 : _wrappedSequenceItem(wrappedSequenceItem)
61 , _sequenceInterface(sequenceInterface)
62 {
63 _init();
64 }
65
67 : QObject()
68 {
69 _wrappedSequenceItem = toCopy.getWrappedSequenceItem();
70 _sequenceInterface = toCopy.getSequence();
71 _init();
72 }
73
75 {
76 _wrappedSequenceItem = toCopy.getWrappedSequenceItem();
77 _sequenceInterface = toCopy.getSequence();
78 _init();
79 return *this;
80 }
81
83 ml::DcmDRTRTROIObservationsSequenceInterface* getSequence() const { return _sequenceInterface; }
84
85
86 QString _MaterialID;
87 Q_PROPERTY(QString MaterialID READ getMaterialID WRITE setMaterialID)
91 Q_PROPERTY(QString ROIInterpreter READ getROIInterpreter WRITE setROIInterpreter)
100
109
110
111public slots:
114
115 QStringList dir(QString searchString="") const;
116
117 QVariantMap getDicomTagByKey(QString key) const;
118 QVariantMap getDicomTagByName(QString name) const;
119 QVariant getDicomTagValueByKey(QString key) const;
120 QVariant getDicomTagValueByName(QString name) const;
121
122
123 bool setMaterialID(QString qParam);
124 QString getMaterialIDTag() const;
125 QString getMaterialID() const;
126
127 bool setObservationNumber(QString qParam);
128 QString getObservationNumberTag() const;
129 QString getObservationNumber() const;
130
131 bool setROIInterpreter(QString qParam);
132 QString getROIInterpreterTag() const;
133 QString getROIInterpreter() const;
134
135 bool setROIObservationDescription(QString qParam);
138
139 bool setROIObservationLabel(QString qParam);
141 QString getROIObservationLabel() const;
142
143 bool setRTROIInterpretedType(QString qParam);
145 QString getRTROIInterpretedType() const;
146
147 bool setReferencedROINumber(QString qParam);
149 QString getReferencedROINumber() const;
150
151
152 bool setROIPhysicalPropertiesSequence(QVariant qParam);
155
159
160 bool setRTRelatedROISequence(QVariant qParam);
161 QVariant getRTRelatedROISequence() const;
163
167
168
170
171private:
172
173 ml::DcmDRTRTROIObservationsSequenceInterface::Item _wrappedSequenceItem;
174 ml::DcmDRTRTROIObservationsSequenceInterface* _sequenceInterface;
175
176 QMap<QString, QString> _dcmTagToPropertyMap;
177 QMap<QString, QString> _vrCode;
178 void _init();
179};
180
181
182#endif // __mlDRTRTROIObservationsSequenceItemWrapper_H
A class that wraps DRTRTROIObservationsSequence Item for use in Python.
QString getROIPhysicalPropertiesSequenceTag() const
bool setRTROIInterpretedType(QString qParam)
bool setRTROIIdentificationCodeSequence(QVariant qParam)
QString getRelatedRTROIObservationsSequenceTag() const
bool setObservationNumber(QString qParam)
DRTRTROIObservationsSequenceItemWrapper & operator=(const DRTRTROIObservationsSequenceItemWrapper &toCopy)
bool setRelatedRTROIObservationsSequence(QVariant qParam)
bool setRTRelatedROISequence(QVariant qParam)
ml::DcmDRTRTROIObservationsSequenceInterface * getSequence() const
QStringList dir(QString searchString="") const
bool setROIPhysicalPropertiesSequence(QVariant qParam)
bool setROIObservationDescription(QString qParam)
QVariant getROIPhysicalPropertiesSequence() const
QString getRTROIIdentificationCodeSequenceTag() const
DRTRTROIObservationsSequenceItemWrapper(const ml::DcmDRTRTROIObservationsSequenceInterface::Item &wrappedSequenceItem, ml::DcmDRTRTROIObservationsSequenceInterface *sequenceInterface)
bool setReferencedROINumber(QString qParam)
bool setROIObservationLabel(QString qParam)
ml::DcmDRTRTROIObservationsSequenceInterface::Item getWrappedSequenceItem() const
DRTRTROIObservationsSequenceItemWrapper(const DRTRTROIObservationsSequenceItemWrapper &toCopy)
QVariant getDicomTagValueByKey(QString key) const
QVariantMap getDicomTagByName(QString name) const
QVariant getRelatedRTROIObservationsSequence() const
QVariant getRTROIIdentificationCodeSequence() const
QVariantMap getDicomTagByKey(QString key) const
QVariant getDicomTagValueByName(QString name) const
Class to provide access to DRTRTROIObservationsSequence.
Class to provide access to DRTRTROIObservationsSequence.
Main documentation file for ML users and developers.
Definition SoSFMLImage.h:51