MeVisLab Toolbox Reference
mlDRTStructureSetROISequenceItemWrapper.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 __mlDRTStructureSetROISequenceItemWrapper_H
26#define __mlDRTStructureSetROISequenceItemWrapper_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::DcmDRTStructureSetROISequenceInterface* getSequence() const { return _sequenceInterface; }
80
81
83 Q_PROPERTY(QString ROIDescription READ getROIDescription WRITE setROIDescription)
88 QString _ROIName;
89 Q_PROPERTY(QString ROIName READ getROIName WRITE setROIName)
90 QString _ROINumber;
91 Q_PROPERTY(QString ROINumber READ getROINumber WRITE setROINumber)
92 QString _ROIVolume;
93 Q_PROPERTY(QString ROIVolume READ getROIVolume WRITE setROIVolume)
96
97
98
99public slots:
102
103 QStringList dir(QString searchString="") const;
104
105 QVariantMap getDicomTagByKey(QString key) const;
106 QVariantMap getDicomTagByName(QString name) const;
107 QVariant getDicomTagValueByKey(QString key) const;
108 QVariant getDicomTagValueByName(QString name) const;
109
110
111 bool setROIDescription(QString qParam);
112 QString getROIDescriptionTag() const;
113 QString getROIDescription() const;
114
115 bool setROIGenerationAlgorithm(QString qParam);
118
119 bool setROIGenerationDescription(QString qParam);
122
123 bool setROIName(QString qParam);
124 QString getROINameTag() const;
125 QString getROIName() const;
126
127 bool setROINumber(QString qParam);
128 QString getROINumberTag() const;
129 QString getROINumber() const;
130
131 bool setROIVolume(QString qParam);
132 QString getROIVolumeTag() const;
133 QString getROIVolume() const;
134
138
139
140
142
143private:
144
145 ml::DcmDRTStructureSetROISequenceInterface::Item _wrappedSequenceItem;
146 ml::DcmDRTStructureSetROISequenceInterface* _sequenceInterface;
147
148 QMap<QString, QString> _dcmTagToPropertyMap;
149 QMap<QString, QString> _vrCode;
150 void _init();
151};
152
153
154#endif // __mlDRTStructureSetROISequenceItemWrapper_H
A class that wraps DRTStructureSetROISequence Item for use in Python.
QVariant getDicomTagValueByName(QString name) const
ml::DcmDRTStructureSetROISequenceInterface * getSequence() const
QString getROIGenerationDescriptionTag() const
bool setReferencedFrameOfReferenceUID(QString qParam)
DRTStructureSetROISequenceItemWrapper & operator=(const DRTStructureSetROISequenceItemWrapper &toCopy)
DRTStructureSetROISequenceItemWrapper(const DRTStructureSetROISequenceItemWrapper &toCopy)
bool setROIGenerationDescription(QString qParam)
QVariant getDicomTagValueByKey(QString key) const
QString getReferencedFrameOfReferenceUIDTag() const
QVariantMap getDicomTagByName(QString name) const
ml::DcmDRTStructureSetROISequenceInterface::Item getWrappedSequenceItem() const
QString getReferencedFrameOfReferenceUID() const
QVariantMap getDicomTagByKey(QString key) const
bool setROIGenerationAlgorithm(QString qParam)
bool setROIDescription(QString qParam)
DRTStructureSetROISequenceItemWrapper(const ml::DcmDRTStructureSetROISequenceInterface::Item &wrappedSequenceItem, ml::DcmDRTStructureSetROISequenceInterface *sequenceInterface)
QStringList dir(QString searchString="") const
Class to provide access to DRTStructureSetROISequence.
Class to provide access to DRTStructureSetROISequence.
Main documentation file for ML users and developers.
Definition SoSFMLImage.h:51