MeVisLab Toolbox Reference
mlDRTBlockSequenceInRTBeamsModuleItemWrapper.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 __mlDRTBlockSequenceInRTBeamsModuleItemWrapper_H
26#define __mlDRTBlockSequenceInRTBeamsModuleItemWrapper_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::DcmDRTBlockSequenceInRTBeamsModuleInterface* getSequence() const { return _sequenceInterface; }
80
81
83 Q_PROPERTY(QString AccessoryCode READ getAccessoryCode WRITE setAccessoryCode)
84 QString _BlockData;
85 Q_PROPERTY(QString BlockData READ getBlockData WRITE setBlockData)
90 QString _BlockName;
91 Q_PROPERTY(QString BlockName READ getBlockName WRITE setBlockName)
92 QString _BlockNumber;
93 Q_PROPERTY(QString BlockNumber READ getBlockNumber WRITE setBlockNumber)
97 Q_PROPERTY(QString BlockThickness READ getBlockThickness WRITE setBlockThickness)
101 Q_PROPERTY(QString BlockTrayID READ getBlockTrayID WRITE setBlockTrayID)
102 QString _BlockType;
103 Q_PROPERTY(QString BlockType READ getBlockType WRITE setBlockType)
104 QString _MaterialID;
105 Q_PROPERTY(QString MaterialID READ getMaterialID WRITE setMaterialID)
108
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 setAccessoryCode(QString qParam);
124 QString getAccessoryCodeTag() const;
125 QString getAccessoryCode() const;
126
127 bool setBlockData(QString qParam);
128 QString getBlockDataTag() const;
129 QString getBlockData() const;
130
131 bool setBlockDivergence(QString qParam);
132 QString getBlockDivergenceTag() const;
133 QString getBlockDivergence() const;
134
135 bool setBlockMountingPosition(QString qParam);
138
139 bool setBlockName(QString qParam);
140 QString getBlockNameTag() const;
141 QString getBlockName() const;
142
143 bool setBlockNumber(QString qParam);
144 QString getBlockNumberTag() const;
145 QString getBlockNumber() const;
146
147 bool setBlockNumberOfPoints(QString qParam);
149 QString getBlockNumberOfPoints() const;
150
151 bool setBlockThickness(QString qParam);
152 QString getBlockThicknessTag() const;
153 QString getBlockThickness() const;
154
155 bool setBlockTransmission(QString qParam);
156 QString getBlockTransmissionTag() const;
157 QString getBlockTransmission() const;
158
159 bool setBlockTrayID(QString qParam);
160 QString getBlockTrayIDTag() const;
161 QString getBlockTrayID() const;
162
163 bool setBlockType(QString qParam);
164 QString getBlockTypeTag() const;
165 QString getBlockType() const;
166
167 bool setMaterialID(QString qParam);
168 QString getMaterialIDTag() const;
169 QString getMaterialID() const;
170
171 bool setSourceToBlockTrayDistance(QString qParam);
174
175
176
178
179private:
180
181 ml::DcmDRTBlockSequenceInRTBeamsModuleInterface::Item _wrappedSequenceItem;
182 ml::DcmDRTBlockSequenceInRTBeamsModuleInterface* _sequenceInterface;
183
184 QMap<QString, QString> _dcmTagToPropertyMap;
185 QMap<QString, QString> _vrCode;
186 void _init();
187};
188
189
190#endif // __mlDRTBlockSequenceInRTBeamsModuleItemWrapper_H
A class that wraps DRTBlockSequenceInRTBeamsModule Item for use in Python.
QVariant getDicomTagValueByKey(QString key) const
QVariantMap getDicomTagByKey(QString key) const
DRTBlockSequenceInRTBeamsModuleItemWrapper(const DRTBlockSequenceInRTBeamsModuleItemWrapper &toCopy)
QVariant getDicomTagValueByName(QString name) const
DRTBlockSequenceInRTBeamsModuleItemWrapper & operator=(const DRTBlockSequenceInRTBeamsModuleItemWrapper &toCopy)
ml::DcmDRTBlockSequenceInRTBeamsModuleInterface * getSequence() const
QStringList dir(QString searchString="") const
DRTBlockSequenceInRTBeamsModuleItemWrapper(const ml::DcmDRTBlockSequenceInRTBeamsModuleInterface::Item &wrappedSequenceItem, ml::DcmDRTBlockSequenceInRTBeamsModuleInterface *sequenceInterface)
ml::DcmDRTBlockSequenceInRTBeamsModuleInterface::Item getWrappedSequenceItem() const
bool setSourceToBlockTrayDistance(QString qParam)
QVariantMap getDicomTagByName(QString name) const
Class to provide access to DRTBlockSequenceInRTBeamsModule.
Class to provide access to DRTBlockSequenceInRTBeamsModule.
Main documentation file for ML users and developers.
Definition SoSFMLImage.h:51