MeVisLab Toolbox Reference
mlDRTBrachyControlPointSequenceItemWrapper.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 __mlDRTBrachyControlPointSequenceItemWrapper_H
26#define __mlDRTBrachyControlPointSequenceItemWrapper_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::DcmDRTBrachyControlPointSequenceInterface* getSequence() const { return _sequenceInterface; }
81
82
91
94
95
96public slots:
99
100 QStringList dir(QString searchString="") const;
101
102 QVariantMap getDicomTagByKey(QString key) const;
103 QVariantMap getDicomTagByName(QString name) const;
104 QVariant getDicomTagValueByKey(QString key) const;
105 QVariant getDicomTagValueByName(QString name) const;
106
107
108 bool setControlPoint3DPosition(QString qParam);
111
112 bool setControlPointIndex(QString qParam);
113 QString getControlPointIndexTag() const;
114 QString getControlPointIndex() const;
115
119
120 bool setCumulativeTimeWeight(QString qParam);
122 QString getCumulativeTimeWeight() const;
123
124
128
129
131
132private:
133
134 ml::DcmDRTBrachyControlPointSequenceInterface::Item _wrappedSequenceItem;
135 ml::DcmDRTBrachyControlPointSequenceInterface* _sequenceInterface;
136
137 QMap<QString, QString> _dcmTagToPropertyMap;
138 QMap<QString, QString> _vrCode;
139 void _init();
140};
141
142
143#endif // __mlDRTBrachyControlPointSequenceItemWrapper_H
A class that wraps DRTBrachyControlPointSequence Item for use in Python.
DRTBrachyControlPointSequenceItemWrapper(const ml::DcmDRTBrachyControlPointSequenceInterface::Item &wrappedSequenceItem, ml::DcmDRTBrachyControlPointSequenceInterface *sequenceInterface)
QVariantMap getDicomTagByName(QString name) const
bool setBrachyReferencedDoseReferenceSequence(QVariant qParam)
QVariantMap getDicomTagByKey(QString key) const
bool setCumulativeTimeWeight(QString qParam)
bool setControlPoint3DPosition(QString qParam)
QVariant getBrachyReferencedDoseReferenceSequence() const
ml::DcmDRTBrachyControlPointSequenceInterface::Item getWrappedSequenceItem() const
bool setControlPointRelativePosition(QString qParam)
QVariant getDicomTagValueByName(QString name) const
DRTBrachyControlPointSequenceItemWrapper & operator=(const DRTBrachyControlPointSequenceItemWrapper &toCopy)
QString getBrachyReferencedDoseReferenceSequenceTag() const
QVariant getDicomTagValueByKey(QString key) const
DRTBrachyControlPointSequenceItemWrapper(const DRTBrachyControlPointSequenceItemWrapper &toCopy)
ml::DcmDRTBrachyControlPointSequenceInterface * getSequence() const
QStringList dir(QString searchString="") const
Class to provide access to DRTBrachyControlPointSequence.
Class to provide access to DRTBrachyControlPointSequence.
Main documentation file for ML users and developers.
Definition SoSFMLImage.h:51