MeVisLab Toolbox Reference
mlDRTRTDoseROISequenceItemWrapper.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 __mlDRTRTDoseROISequenceItemWrapper_H
26#define __mlDRTRTDoseROISequenceItemWrapper_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
47class DRTRTDoseROISequenceItemWrapper : public QObject
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::DcmDRTRTDoseROISequenceInterface* getSequence() const { return _sequenceInterface; }
80
81
82 QString _DoseUnits;
83 Q_PROPERTY(QString DoseUnits READ getDoseUnits WRITE setDoseUnits)
84 QString _DoseValue;
85 Q_PROPERTY(QString DoseValue READ getDoseValue WRITE setDoseValue)
88
89
90
91public slots:
94
95 QStringList dir(QString searchString="") const;
96
97 QVariantMap getDicomTagByKey(QString key) const;
98 QVariantMap getDicomTagByName(QString name) const;
99 QVariant getDicomTagValueByKey(QString key) const;
100 QVariant getDicomTagValueByName(QString name) const;
101
102
103 bool setDoseUnits(QString qParam);
104 QString getDoseUnitsTag() const;
105 QString getDoseUnits() const;
106
107 bool setDoseValue(QString qParam);
108 QString getDoseValueTag() const;
109 QString getDoseValue() const;
110
111 bool setReferencedROINumber(QString qParam);
113 QString getReferencedROINumber() const;
114
115
116
118
119private:
120
121 ml::DcmDRTRTDoseROISequenceInterface::Item _wrappedSequenceItem;
122 ml::DcmDRTRTDoseROISequenceInterface* _sequenceInterface;
123
124 QMap<QString, QString> _dcmTagToPropertyMap;
125 QMap<QString, QString> _vrCode;
126 void _init();
127};
128
129
130#endif // __mlDRTRTDoseROISequenceItemWrapper_H
A class that wraps DRTRTDoseROISequence Item for use in Python.
QVariantMap getDicomTagByKey(QString key) const
bool setDoseValue(QString qParam)
DRTRTDoseROISequenceItemWrapper & operator=(const DRTRTDoseROISequenceItemWrapper &toCopy)
QString getReferencedROINumber() const
ml::DcmDRTRTDoseROISequenceInterface::Item getWrappedSequenceItem() const
QVariant getDicomTagValueByKey(QString key) const
QString getReferencedROINumberTag() const
QStringList dir(QString searchString="") const
DRTRTDoseROISequenceItemWrapper(const DRTRTDoseROISequenceItemWrapper &toCopy)
bool setReferencedROINumber(QString qParam)
bool setDoseUnits(QString qParam)
QVariantMap getDicomTagByName(QString name) const
DRTRTDoseROISequenceItemWrapper(const ml::DcmDRTRTDoseROISequenceInterface::Item &wrappedSequenceItem, ml::DcmDRTRTDoseROISequenceInterface *sequenceInterface)
ml::DcmDRTRTDoseROISequenceInterface * getSequence() const
QVariant getDicomTagValueByName(QString name) const
Class to provide access to DRTRTDoseROISequence.
Class to provide access to DRTRTDoseROISequence.
Main documentation file for ML users and developers.
Definition SoSFMLImage.h:51