MeVisLab Toolbox Reference
mlDRTWedgeSequenceItemWrapper.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 __mlDRTWedgeSequenceItemWrapper_H
26#define __mlDRTWedgeSequenceItemWrapper_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
47class DRTWedgeSequenceItemWrapper : public QObject
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
78 ml::DcmDRTWedgeSequenceInterface::Item getWrappedSequenceItem() const { return _wrappedSequenceItem; }
79 ml::DcmDRTWedgeSequenceInterface* getSequence() const { return _sequenceInterface; }
80
81
83 Q_PROPERTY(QString AccessoryCode READ getAccessoryCode WRITE setAccessoryCode)
86 QString _WedgeAngle;
87 Q_PROPERTY(QString WedgeAngle READ getWedgeAngle WRITE setWedgeAngle)
88 QString _WedgeFactor;
89 Q_PROPERTY(QString WedgeFactor READ getWedgeFactor WRITE setWedgeFactor)
90 QString _WedgeID;
91 Q_PROPERTY(QString WedgeID READ getWedgeID WRITE setWedgeID)
92 QString _WedgeNumber;
93 Q_PROPERTY(QString WedgeNumber READ getWedgeNumber WRITE setWedgeNumber)
96 QString _WedgeType;
97 Q_PROPERTY(QString WedgeType READ getWedgeType WRITE setWedgeType)
98
99
100
101public slots:
104
105 QStringList dir(QString searchString="") const;
106
107 QVariantMap getDicomTagByKey(QString key) const;
108 QVariantMap getDicomTagByName(QString name) const;
109 QVariant getDicomTagValueByKey(QString key) const;
110 QVariant getDicomTagValueByName(QString name) const;
111
112
113 bool setAccessoryCode(QString qParam);
114 QString getAccessoryCodeTag() const;
115 QString getAccessoryCode() const;
116
117 bool setSourceToWedgeTrayDistance(QString qParam);
120
121 bool setWedgeAngle(QString qParam);
122 QString getWedgeAngleTag() const;
123 QString getWedgeAngle() const;
124
125 bool setWedgeFactor(QString qParam);
126 QString getWedgeFactorTag() const;
127 QString getWedgeFactor() const;
128
129 bool setWedgeID(QString qParam);
130 QString getWedgeIDTag() const;
131 QString getWedgeID() const;
132
133 bool setWedgeNumber(QString qParam);
134 QString getWedgeNumberTag() const;
135 QString getWedgeNumber() const;
136
137 bool setWedgeOrientation(QString qParam);
138 QString getWedgeOrientationTag() const;
139 QString getWedgeOrientation() const;
140
141 bool setWedgeType(QString qParam);
142 QString getWedgeTypeTag() const;
143 QString getWedgeType() const;
144
145
146
148
149private:
150
151 ml::DcmDRTWedgeSequenceInterface::Item _wrappedSequenceItem;
152 ml::DcmDRTWedgeSequenceInterface* _sequenceInterface;
153
154 QMap<QString, QString> _dcmTagToPropertyMap;
155 QMap<QString, QString> _vrCode;
156 void _init();
157};
158
159
160#endif // __mlDRTWedgeSequenceItemWrapper_H
A class that wraps DRTWedgeSequence Item for use in Python.
bool setWedgeOrientation(QString qParam)
QString getWedgeIDTag() const
DRTWedgeSequenceItemWrapper(const DRTWedgeSequenceItemWrapper &toCopy)
QString getWedgeType() const
DRTWedgeSequenceItemWrapper & operator=(const DRTWedgeSequenceItemWrapper &toCopy)
bool setSourceToWedgeTrayDistance(QString qParam)
QVariantMap getDicomTagByName(QString name) const
bool setWedgeType(QString qParam)
bool setAccessoryCode(QString qParam)
QString getSourceToWedgeTrayDistance() const
QVariantMap getDicomTagByKey(QString key) const
QVariant getDicomTagValueByName(QString name) const
QString getWedgeOrientation() const
QString getSourceToWedgeTrayDistanceTag() const
ml::DcmDRTWedgeSequenceInterface::Item getWrappedSequenceItem() const
ml::DcmDRTWedgeSequenceInterface * getSequence() const
QVariant getDicomTagValueByKey(QString key) const
QString getWedgeAngleTag() const
QString getWedgeOrientationTag() const
QStringList dir(QString searchString="") const
QString getWedgeFactor() const
QString getWedgeFactorTag() const
bool setWedgeID(QString qParam)
QString getWedgeID() const
QString getWedgeAngle() const
DRTWedgeSequenceItemWrapper(const ml::DcmDRTWedgeSequenceInterface::Item &wrappedSequenceItem, ml::DcmDRTWedgeSequenceInterface *sequenceInterface)
bool setWedgeAngle(QString qParam)
QString getAccessoryCode() const
QString getWedgeNumber() const
QString getAccessoryCodeTag() const
bool setWedgeFactor(QString qParam)
QString getWedgeTypeTag() const
QString getWedgeNumberTag() const
bool setWedgeNumber(QString qParam)
Class to provide access to DRTWedgeSequence.
Class to provide access to DRTWedgeSequence.
Main documentation file for ML users and developers.
Definition SoSFMLImage.h:51