MeVisLab Toolbox Reference
mlDRTIonWedgeSequenceItemWrapper.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 __mlDRTIonWedgeSequenceItemWrapper_H
26#define __mlDRTIonWedgeSequenceItemWrapper_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 DRTIonWedgeSequenceItemWrapper : 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
79 ml::DcmDRTIonWedgeSequenceInterface* 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 _WedgeID;
89 Q_PROPERTY(QString WedgeID READ getWedgeID WRITE setWedgeID)
90 QString _WedgeNumber;
91 Q_PROPERTY(QString WedgeNumber READ getWedgeNumber WRITE setWedgeNumber)
94 QString _WedgeType;
95 Q_PROPERTY(QString WedgeType READ getWedgeType WRITE setWedgeType)
96
97
98
99public slots:
102
103 QStringList dir(QString searchString="") const;
104
105 QVariantMap getDicomTagByKey(QString key) const;
106 QVariantMap getDicomTagByName(QString name) const;
107 QVariant getDicomTagValueByKey(QString key) const;
108 QVariant getDicomTagValueByName(QString name) const;
109
110
111 bool setAccessoryCode(QString qParam);
112 QString getAccessoryCodeTag() const;
113 QString getAccessoryCode() const;
114
118
119 bool setWedgeAngle(QString qParam);
120 QString getWedgeAngleTag() const;
121 QString getWedgeAngle() const;
122
123 bool setWedgeID(QString qParam);
124 QString getWedgeIDTag() const;
125 QString getWedgeID() const;
126
127 bool setWedgeNumber(QString qParam);
128 QString getWedgeNumberTag() const;
129 QString getWedgeNumber() const;
130
131 bool setWedgeOrientation(QString qParam);
132 QString getWedgeOrientationTag() const;
133 QString getWedgeOrientation() const;
134
135 bool setWedgeType(QString qParam);
136 QString getWedgeTypeTag() const;
137 QString getWedgeType() const;
138
139
140
142
143private:
144
145 ml::DcmDRTIonWedgeSequenceInterface::Item _wrappedSequenceItem;
146 ml::DcmDRTIonWedgeSequenceInterface* _sequenceInterface;
147
148 QMap<QString, QString> _dcmTagToPropertyMap;
149 QMap<QString, QString> _vrCode;
150 void _init();
151};
152
153
154#endif // __mlDRTIonWedgeSequenceItemWrapper_H
A class that wraps DRTIonWedgeSequence Item for use in Python.
bool setAccessoryCode(QString qParam)
QStringList dir(QString searchString="") const
QString getWedgeAngleTag() const
DRTIonWedgeSequenceItemWrapper(const ml::DcmDRTIonWedgeSequenceInterface::Item &wrappedSequenceItem, ml::DcmDRTIonWedgeSequenceInterface *sequenceInterface)
float getIsocenterToWedgeTrayDistance() const
bool setWedgeAngle(QString qParam)
DRTIonWedgeSequenceItemWrapper & operator=(const DRTIonWedgeSequenceItemWrapper &toCopy)
QVariantMap getDicomTagByName(QString name) const
bool setWedgeID(QString qParam)
QString getIsocenterToWedgeTrayDistanceTag() const
QVariant getDicomTagValueByKey(QString key) const
QVariantMap getDicomTagByKey(QString key) const
DRTIonWedgeSequenceItemWrapper(const DRTIonWedgeSequenceItemWrapper &toCopy)
QString getWedgeOrientationTag() const
ml::DcmDRTIonWedgeSequenceInterface * getSequence() const
QVariant getDicomTagValueByName(QString name) const
bool setWedgeOrientation(QString qParam)
bool setWedgeType(QString qParam)
bool setWedgeNumber(QString qParam)
QString getAccessoryCode() const
ml::DcmDRTIonWedgeSequenceInterface::Item getWrappedSequenceItem() const
QString getAccessoryCodeTag() const
QString getWedgeNumberTag() const
QString getWedgeOrientation() const
bool setIsocenterToWedgeTrayDistance(float qParam)
Class to provide access to DRTIonWedgeSequence.
Class to provide access to DRTIonWedgeSequence.
Main documentation file for ML users and developers.
Definition SoSFMLImage.h:51