MeVisLab Toolbox Reference
mlDRTContourSequenceItemWrapper.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 __mlDRTContourSequenceItemWrapper_H
26#define __mlDRTContourSequenceItemWrapper_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
48class DRTContourSequenceItemWrapper : public QObject
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::DcmDRTContourSequenceInterface* getSequence() const { return _sequenceInterface; }
81
82
85 QString _ContourData;
86 Q_PROPERTY(QString ContourData READ getContourData WRITE setContourData)
90 Q_PROPERTY(QString ContourNumber READ getContourNumber WRITE setContourNumber)
97
100
101
102public slots:
105
106 QStringList dir(QString searchString="") const;
107
108 QVariantMap getDicomTagByKey(QString key) const;
109 QVariantMap getDicomTagByName(QString name) const;
110 QVariant getDicomTagValueByKey(QString key) const;
111 QVariant getDicomTagValueByName(QString name) const;
112
113
114 bool setAttachedContours(QString qParam);
115 QString getAttachedContoursTag() const;
116 QString getAttachedContours() const;
117
118 bool setContourData(QString qParam);
119 QString getContourDataTag() const;
120 QString getContourData() const;
121
122 bool setContourGeometricType(QString qParam);
124 QString getContourGeometricType() const;
125
126 bool setContourNumber(QString qParam);
127 QString getContourNumberTag() const;
128 QString getContourNumber() const;
129
130 bool setContourOffsetVector(QString qParam);
132 QString getContourOffsetVector() const;
133
134 bool setContourSlabThickness(QString qParam);
136 QString getContourSlabThickness() const;
137
138 bool setNumberOfContourPoints(QString qParam);
141
142
143 bool setContourImageSequence(QVariant qParam);
144 QVariant getContourImageSequence() const;
146
147
149
150private:
151
152 ml::DcmDRTContourSequenceInterface::Item _wrappedSequenceItem;
153 ml::DcmDRTContourSequenceInterface* _sequenceInterface;
154
155 QMap<QString, QString> _dcmTagToPropertyMap;
156 QMap<QString, QString> _vrCode;
157 void _init();
158};
159
160
161#endif // __mlDRTContourSequenceItemWrapper_H
A class that wraps DRTContourSequence Item for use in Python.
QString getContourImageSequenceTag() const
QVariant getDicomTagValueByKey(QString key) const
bool setContourSlabThickness(QString qParam)
QStringList dir(QString searchString="") const
bool setAttachedContours(QString qParam)
QString getAttachedContours() const
QVariant getDicomTagValueByName(QString name) const
QString getContourOffsetVectorTag() const
QString getContourDataTag() const
bool setContourOffsetVector(QString qParam)
QString getContourSlabThicknessTag() const
bool setContourNumber(QString qParam)
bool setNumberOfContourPoints(QString qParam)
bool setContourImageSequence(QVariant qParam)
QString getNumberOfContourPoints() const
QString getContourOffsetVector() const
ml::DcmDRTContourSequenceInterface * getSequence() const
QString getAttachedContoursTag() const
bool setContourGeometricType(QString qParam)
QVariantMap getDicomTagByKey(QString key) const
QString getContourNumber() const
bool setContourData(QString qParam)
DRTContourSequenceItemWrapper & operator=(const DRTContourSequenceItemWrapper &toCopy)
QString getContourData() const
QString getContourNumberTag() const
QString getContourGeometricType() const
QVariant getContourImageSequence() const
QString getNumberOfContourPointsTag() const
DRTContourSequenceItemWrapper(const DRTContourSequenceItemWrapper &toCopy)
QVariantMap getDicomTagByName(QString name) const
QString getContourSlabThickness() const
QString getContourGeometricTypeTag() const
DRTContourSequenceItemWrapper(const ml::DcmDRTContourSequenceInterface::Item &wrappedSequenceItem, ml::DcmDRTContourSequenceInterface *sequenceInterface)
ml::DcmDRTContourSequenceInterface::Item getWrappedSequenceItem() const
Class to provide access to DRTContourSequence.
Class to provide access to DRTContourSequence.
Main documentation file for ML users and developers.
Definition SoSFMLImage.h:51