MeVisLab Toolbox Reference
mlDRTReferencedFrameOfReferenceSequenceItemWrapper.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 __mlDRTReferencedFrameOfReferenceSequenceItemWrapper_H
26#define __mlDRTReferencedFrameOfReferenceSequenceItemWrapper_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
44
45#endif
46
50{
51 Q_OBJECT
52
53public:
54
55 QStringList _propertyKeys;
56
58 : _wrappedSequenceItem(wrappedSequenceItem)
59 , _sequenceInterface(sequenceInterface)
60 {
61 _init();
62 }
63
65 : QObject()
66 {
67 _wrappedSequenceItem = toCopy.getWrappedSequenceItem();
68 _sequenceInterface = toCopy.getSequence();
69 _init();
70 }
71
73 {
74 _wrappedSequenceItem = toCopy.getWrappedSequenceItem();
75 _sequenceInterface = toCopy.getSequence();
76 _init();
77 return *this;
78 }
79
82
83
87 Q_PROPERTY(QString ROIDescription READ getROIDescription WRITE setROIDescription)
92 QString _ROIName;
93 Q_PROPERTY(QString ROIName READ getROIName WRITE setROIName)
94 QString _ROINumber;
95 Q_PROPERTY(QString ROINumber READ getROINumber WRITE setROINumber)
96 QString _ROIVolume;
97 Q_PROPERTY(QString ROIVolume READ getROIVolume WRITE setROIVolume)
100
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 setFrameOfReferenceUID(QString qParam);
121 QString getFrameOfReferenceUID() const;
122
123 bool setROIDescription(QString qParam);
124 QString getROIDescriptionTag() const;
125 QString getROIDescription() const;
126
127 bool setROIGenerationAlgorithm(QString qParam);
130
131 bool setROIGenerationDescription(QString qParam);
134
135 bool setROIName(QString qParam);
136 QString getROINameTag() const;
137 QString getROIName() const;
138
139 bool setROINumber(QString qParam);
140 QString getROINumberTag() const;
141 QString getROINumber() const;
142
143 bool setROIVolume(QString qParam);
144 QString getROIVolumeTag() const;
145 QString getROIVolume() const;
146
150
151
155
156 bool setRTReferencedStudySequence(QVariant qParam);
159
160
162
163private:
164
165 ml::DcmDRTReferencedFrameOfReferenceSequenceInterface::Item _wrappedSequenceItem;
166 ml::DcmDRTReferencedFrameOfReferenceSequenceInterface* _sequenceInterface;
167
168 QMap<QString, QString> _dcmTagToPropertyMap;
169 QMap<QString, QString> _vrCode;
170 void _init();
171};
172
173
174#endif // __mlDRTReferencedFrameOfReferenceSequenceItemWrapper_H
A class that wraps DRTReferencedFrameOfReferenceSequence Item for use in Python.
DRTReferencedFrameOfReferenceSequenceItemWrapper & operator=(const DRTReferencedFrameOfReferenceSequenceItemWrapper &toCopy)
QVariant getDicomTagValueByKey(QString key) const
QVariantMap getDicomTagByKey(QString key) const
QStringList dir(QString searchString="") const
QVariantMap getDicomTagByName(QString name) const
DRTReferencedFrameOfReferenceSequenceItemWrapper(const DRTReferencedFrameOfReferenceSequenceItemWrapper &toCopy)
QVariant getDicomTagValueByName(QString name) const
DRTReferencedFrameOfReferenceSequenceItemWrapper(const ml::DcmDRTReferencedFrameOfReferenceSequenceInterface::Item &wrappedSequenceItem, ml::DcmDRTReferencedFrameOfReferenceSequenceInterface *sequenceInterface)
ml::DcmDRTReferencedFrameOfReferenceSequenceInterface * getSequence() const
ml::DcmDRTReferencedFrameOfReferenceSequenceInterface::Item getWrappedSequenceItem() const
bool setFrameOfReferenceRelationshipSequence(QVariant qParam)
Class to provide access to DRTReferencedFrameOfReferenceSequence.
Class to provide access to DRTReferencedFrameOfReferenceSequence.
Main documentation file for ML users and developers.
Definition SoSFMLImage.h:51