MeVisLab Toolbox Reference
mlDRTRecordedWedgeSequenceItemWrapper.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 __mlDRTRecordedWedgeSequenceItemWrapper_H
26#define __mlDRTRecordedWedgeSequenceItemWrapper_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
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::DcmDRTRecordedWedgeSequenceInterface* getSequence() const { return _sequenceInterface; }
80
81
83 Q_PROPERTY(QString AccessoryCode READ getAccessoryCode WRITE setAccessoryCode)
84 QString _WedgeAngle;
85 Q_PROPERTY(QString WedgeAngle READ getWedgeAngle WRITE setWedgeAngle)
86 QString _WedgeID;
87 Q_PROPERTY(QString WedgeID READ getWedgeID WRITE setWedgeID)
88 QString _WedgeNumber;
89 Q_PROPERTY(QString WedgeNumber READ getWedgeNumber WRITE setWedgeNumber)
92 QString _WedgeType;
93 Q_PROPERTY(QString WedgeType READ getWedgeType WRITE setWedgeType)
94
95
96
97public slots:
100
101 QStringList dir(QString searchString="") const;
102
103 QVariantMap getDicomTagByKey(QString key) const;
104 QVariantMap getDicomTagByName(QString name) const;
105 QVariant getDicomTagValueByKey(QString key) const;
106 QVariant getDicomTagValueByName(QString name) const;
107
108
109 bool setAccessoryCode(QString qParam);
110 QString getAccessoryCodeTag() const;
111 QString getAccessoryCode() const;
112
113 bool setWedgeAngle(QString qParam);
114 QString getWedgeAngleTag() const;
115 QString getWedgeAngle() const;
116
117 bool setWedgeID(QString qParam);
118 QString getWedgeIDTag() const;
119 QString getWedgeID() const;
120
121 bool setWedgeNumber(QString qParam);
122 QString getWedgeNumberTag() const;
123 QString getWedgeNumber() const;
124
125 bool setWedgeOrientation(QString qParam);
126 QString getWedgeOrientationTag() const;
127 QString getWedgeOrientation() const;
128
129 bool setWedgeType(QString qParam);
130 QString getWedgeTypeTag() const;
131 QString getWedgeType() const;
132
133
134
136
137private:
138
139 ml::DcmDRTRecordedWedgeSequenceInterface::Item _wrappedSequenceItem;
140 ml::DcmDRTRecordedWedgeSequenceInterface* _sequenceInterface;
141
142 QMap<QString, QString> _dcmTagToPropertyMap;
143 QMap<QString, QString> _vrCode;
144 void _init();
145};
146
147
148#endif // __mlDRTRecordedWedgeSequenceItemWrapper_H
A class that wraps DRTRecordedWedgeSequence Item for use in Python.
QVariantMap getDicomTagByKey(QString key) const
bool setWedgeOrientation(QString qParam)
DRTRecordedWedgeSequenceItemWrapper(const ml::DcmDRTRecordedWedgeSequenceInterface::Item &wrappedSequenceItem, ml::DcmDRTRecordedWedgeSequenceInterface *sequenceInterface)
ml::DcmDRTRecordedWedgeSequenceInterface * getSequence() const
ml::DcmDRTRecordedWedgeSequenceInterface::Item getWrappedSequenceItem() const
bool setWedgeNumber(QString qParam)
QVariantMap getDicomTagByName(QString name) const
bool setAccessoryCode(QString qParam)
QVariant getDicomTagValueByName(QString name) const
DRTRecordedWedgeSequenceItemWrapper & operator=(const DRTRecordedWedgeSequenceItemWrapper &toCopy)
bool setWedgeAngle(QString qParam)
bool setWedgeType(QString qParam)
QStringList dir(QString searchString="") const
DRTRecordedWedgeSequenceItemWrapper(const DRTRecordedWedgeSequenceItemWrapper &toCopy)
QVariant getDicomTagValueByKey(QString key) const
Class to provide access to DRTRecordedWedgeSequence.
Class to provide access to DRTRecordedWedgeSequence.
Main documentation file for ML users and developers.
Definition SoSFMLImage.h:51