MeVisLab Toolbox Reference
mlDRTBlockSequenceInRTImageModuleItemWrapper.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 __mlDRTBlockSequenceInRTImageModuleItemWrapper_H
26#define __mlDRTBlockSequenceInRTImageModuleItemWrapper_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::DcmDRTBlockSequenceInRTImageModuleInterface* getSequence() const { return _sequenceInterface; }
80
81
82 QString _BlockData;
83 Q_PROPERTY(QString BlockData READ getBlockData WRITE setBlockData)
88 QString _BlockName;
89 Q_PROPERTY(QString BlockName READ getBlockName WRITE setBlockName)
90 QString _BlockNumber;
91 Q_PROPERTY(QString BlockNumber READ getBlockNumber WRITE setBlockNumber)
95 Q_PROPERTY(QString BlockThickness READ getBlockThickness WRITE setBlockThickness)
96 QString _BlockTrayID;
97 Q_PROPERTY(QString BlockTrayID READ getBlockTrayID WRITE setBlockTrayID)
98 QString _BlockType;
99 Q_PROPERTY(QString BlockType READ getBlockType WRITE setBlockType)
100 QString _MaterialID;
101 Q_PROPERTY(QString MaterialID READ getMaterialID WRITE setMaterialID)
104
105
106
107public slots:
110
111 QStringList dir(QString searchString="") const;
112
113 QVariantMap getDicomTagByKey(QString key) const;
114 QVariantMap getDicomTagByName(QString name) const;
115 QVariant getDicomTagValueByKey(QString key) const;
116 QVariant getDicomTagValueByName(QString name) const;
117
118
119 bool setBlockData(QString qParam);
120 QString getBlockDataTag() const;
121 QString getBlockData() const;
122
123 bool setBlockDivergence(QString qParam);
124 QString getBlockDivergenceTag() const;
125 QString getBlockDivergence() const;
126
127 bool setBlockMountingPosition(QString qParam);
130
131 bool setBlockName(QString qParam);
132 QString getBlockNameTag() const;
133 QString getBlockName() const;
134
135 bool setBlockNumber(QString qParam);
136 QString getBlockNumberTag() const;
137 QString getBlockNumber() const;
138
139 bool setBlockNumberOfPoints(QString qParam);
141 QString getBlockNumberOfPoints() const;
142
143 bool setBlockThickness(QString qParam);
144 QString getBlockThicknessTag() const;
145 QString getBlockThickness() const;
146
147 bool setBlockTrayID(QString qParam);
148 QString getBlockTrayIDTag() const;
149 QString getBlockTrayID() const;
150
151 bool setBlockType(QString qParam);
152 QString getBlockTypeTag() const;
153 QString getBlockType() const;
154
155 bool setMaterialID(QString qParam);
156 QString getMaterialIDTag() const;
157 QString getMaterialID() const;
158
159 bool setSourceToBlockTrayDistance(QString qParam);
162
163
164
166
167private:
168
169 ml::DcmDRTBlockSequenceInRTImageModuleInterface::Item _wrappedSequenceItem;
170 ml::DcmDRTBlockSequenceInRTImageModuleInterface* _sequenceInterface;
171
172 QMap<QString, QString> _dcmTagToPropertyMap;
173 QMap<QString, QString> _vrCode;
174 void _init();
175};
176
177
178#endif // __mlDRTBlockSequenceInRTImageModuleItemWrapper_H
A class that wraps DRTBlockSequenceInRTImageModule Item for use in Python.
ml::DcmDRTBlockSequenceInRTImageModuleInterface * getSequence() const
ml::DcmDRTBlockSequenceInRTImageModuleInterface::Item getWrappedSequenceItem() const
DRTBlockSequenceInRTImageModuleItemWrapper & operator=(const DRTBlockSequenceInRTImageModuleItemWrapper &toCopy)
QVariant getDicomTagValueByKey(QString key) const
QStringList dir(QString searchString="") const
bool setSourceToBlockTrayDistance(QString qParam)
QVariantMap getDicomTagByName(QString name) const
DRTBlockSequenceInRTImageModuleItemWrapper(const DRTBlockSequenceInRTImageModuleItemWrapper &toCopy)
QVariant getDicomTagValueByName(QString name) const
QVariantMap getDicomTagByKey(QString key) const
DRTBlockSequenceInRTImageModuleItemWrapper(const ml::DcmDRTBlockSequenceInRTImageModuleInterface::Item &wrappedSequenceItem, ml::DcmDRTBlockSequenceInRTImageModuleInterface *sequenceInterface)
Class to provide access to DRTBlockSequenceInRTImageModule.
Class to provide access to DRTBlockSequenceInRTImageModule.
Main documentation file for ML users and developers.
Definition SoSFMLImage.h:51