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{
51
52public:
53
55
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
97
100
101
105
107
112
113
117
121
125
129
133
137
141
142
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.
std::vector< DcmDRTContourSequenceInterface::Item > getSequence() const
Return the DRTContourSequence this interface class provides access to.
Class to provide access to DRTContourSequence.
Target mlrange_cast(Source arg)
Generic version of checked ML casts.
Main documentation file for ML users and developers.
Definition SoSFMLImage.h:51