MeVisLab Toolbox Reference
mlDRTROIContourSequenceItemWrapper.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 __mlDRTROIContourSequenceItemWrapper_H
26#define __mlDRTROIContourSequenceItemWrapper_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
43
44#endif
45
49{
50 Q_OBJECT
51
52public:
53
54 QStringList _propertyKeys;
55
57 : _wrappedSequenceItem(wrappedSequenceItem)
58 , _sequenceInterface(sequenceInterface)
59 {
60 _init();
61 }
62
64 : QObject()
65 {
66 _wrappedSequenceItem = toCopy.getWrappedSequenceItem();
67 _sequenceInterface = toCopy.getSequence();
68 _init();
69 }
70
72 {
73 _wrappedSequenceItem = toCopy.getWrappedSequenceItem();
74 _sequenceInterface = toCopy.getSequence();
75 _init();
76 return *this;
77 }
78
80 ml::DcmDRTROIContourSequenceInterface* getSequence() const { return _sequenceInterface; }
81
82
87
90
91
92public slots:
95
96 QStringList dir(QString searchString="") const;
97
98 QVariantMap getDicomTagByKey(QString key) const;
99 QVariantMap getDicomTagByName(QString name) const;
100 QVariant getDicomTagValueByKey(QString key) const;
101 QVariant getDicomTagValueByName(QString name) const;
102
103
104 bool setROIDisplayColor(QString qParam);
105 QString getROIDisplayColorTag() const;
106 QString getROIDisplayColor() const;
107
108 bool setReferencedROINumber(QString qParam);
110 QString getReferencedROINumber() const;
111
112
113 bool setContourSequence(QVariant qParam);
114 QVariant getContourSequence() const;
115 QString getContourSequenceTag() const;
116
117
119
120private:
121
122 ml::DcmDRTROIContourSequenceInterface::Item _wrappedSequenceItem;
123 ml::DcmDRTROIContourSequenceInterface* _sequenceInterface;
124
125 QMap<QString, QString> _dcmTagToPropertyMap;
126 QMap<QString, QString> _vrCode;
127 void _init();
128};
129
130
131#endif // __mlDRTROIContourSequenceItemWrapper_H
A class that wraps DRTROIContourSequence Item for use in Python.
QString getReferencedROINumberTag() const
bool setROIDisplayColor(QString qParam)
DRTROIContourSequenceItemWrapper(const DRTROIContourSequenceItemWrapper &toCopy)
DRTROIContourSequenceItemWrapper & operator=(const DRTROIContourSequenceItemWrapper &toCopy)
ml::DcmDRTROIContourSequenceInterface * getSequence() const
ml::DcmDRTROIContourSequenceInterface::Item getWrappedSequenceItem() const
QStringList dir(QString searchString="") const
bool setReferencedROINumber(QString qParam)
QString getContourSequenceTag() const
bool setContourSequence(QVariant qParam)
QVariantMap getDicomTagByKey(QString key) const
QVariant getDicomTagValueByName(QString name) const
QVariant getContourSequence() const
QString getROIDisplayColorTag() const
DRTROIContourSequenceItemWrapper(const ml::DcmDRTROIContourSequenceInterface::Item &wrappedSequenceItem, ml::DcmDRTROIContourSequenceInterface *sequenceInterface)
QVariantMap getDicomTagByName(QString name) const
QString getReferencedROINumber() const
QVariant getDicomTagValueByKey(QString key) const
Class to provide access to DRTROIContourSequence.
Class to provide access to DRTROIContourSequence.
Main documentation file for ML users and developers.
Definition SoSFMLImage.h:51