MeVisLab Toolbox Reference
mlDRTRangeModulatorSequenceItemWrapper.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 __mlDRTRangeModulatorSequenceItemWrapper_H
26#define __mlDRTRangeModulatorSequenceItemWrapper_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::DcmDRTRangeModulatorSequenceInterface* getSequence() const { return _sequenceInterface; }
80
81
83 Q_PROPERTY(QString AccessoryCode READ getAccessoryCode WRITE setAccessoryCode)
94
95
96
97public slots:
100
101 QStringList dir(QString searchString="") const;
102
103 QVariantMap getDicomTagByKey(QString key) const;
104 QVariantMap getDicomTagByName(QString name) const;
105 QVariant getDicomTagValueByKey(QString key) const;
106 QVariant getDicomTagValueByName(QString name) const;
107
108
109 bool setAccessoryCode(QString qParam);
110 QString getAccessoryCodeTag() const;
111 QString getAccessoryCode() const;
112
113 bool setBeamCurrentModulationID(QString qParam);
116
117 bool setRangeModulatorDescription(QString qParam);
120
121 bool setRangeModulatorID(QString qParam);
122 QString getRangeModulatorIDTag() const;
123 QString getRangeModulatorID() const;
124
125 bool setRangeModulatorNumber(QString qParam);
127 QString getRangeModulatorNumber() const;
128
129 bool setRangeModulatorType(QString qParam);
131 QString getRangeModulatorType() const;
132
133
134
136
137private:
138
139 ml::DcmDRTRangeModulatorSequenceInterface::Item _wrappedSequenceItem;
140 ml::DcmDRTRangeModulatorSequenceInterface* _sequenceInterface;
141
142 QMap<QString, QString> _dcmTagToPropertyMap;
143 QMap<QString, QString> _vrCode;
144 void _init();
145};
146
147
148#endif // __mlDRTRangeModulatorSequenceItemWrapper_H
A class that wraps DRTRangeModulatorSequence Item for use in Python.
DRTRangeModulatorSequenceItemWrapper & operator=(const DRTRangeModulatorSequenceItemWrapper &toCopy)
bool setRangeModulatorDescription(QString qParam)
QVariantMap getDicomTagByName(QString name) const
ml::DcmDRTRangeModulatorSequenceInterface::Item getWrappedSequenceItem() const
bool setBeamCurrentModulationID(QString qParam)
QVariant getDicomTagValueByName(QString name) const
bool setRangeModulatorNumber(QString qParam)
QString getRangeModulatorDescriptionTag() const
bool setAccessoryCode(QString qParam)
QStringList dir(QString searchString="") const
QVariantMap getDicomTagByKey(QString key) const
QString getBeamCurrentModulationIDTag() const
ml::DcmDRTRangeModulatorSequenceInterface * getSequence() const
QVariant getDicomTagValueByKey(QString key) const
DRTRangeModulatorSequenceItemWrapper(const DRTRangeModulatorSequenceItemWrapper &toCopy)
QString getRangeModulatorDescription() const
bool setRangeModulatorID(QString qParam)
bool setRangeModulatorType(QString qParam)
DRTRangeModulatorSequenceItemWrapper(const ml::DcmDRTRangeModulatorSequenceInterface::Item &wrappedSequenceItem, ml::DcmDRTRangeModulatorSequenceInterface *sequenceInterface)
Class to provide access to DRTRangeModulatorSequence.
Class to provide access to DRTRangeModulatorSequence.
Main documentation file for ML users and developers.
Definition SoSFMLImage.h:51