MeVisLab Toolbox Reference
mlDRTSourceImageSequenceItemWrapper.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 __mlDRTSourceImageSequenceItemWrapper_H
26#define __mlDRTSourceImageSequenceItemWrapper_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::DcmDRTSourceImageSequenceInterface* getSequence() const { return _sequenceInterface; }
81
82
95
98
99
100public slots:
103
104 QStringList dir(QString searchString="") const;
105
106 QVariantMap getDicomTagByKey(QString key) const;
107 QVariantMap getDicomTagByName(QString name) const;
108 QVariant getDicomTagValueByKey(QString key) const;
109 QVariant getDicomTagValueByName(QString name) const;
110
111
112 bool setPatientOrientation(QString qParam);
114 QString getPatientOrientation() const;
115
116 bool setReferencedFrameNumber(QString qParam);
119
120 bool setReferencedSOPClassUID(QString qParam);
123
124 bool setReferencedSOPInstanceUID(QString qParam);
127
131
132 bool setSpatialLocationsPreserved(QString qParam);
135
136
140
141
143
144private:
145
146 ml::DcmDRTSourceImageSequenceInterface::Item _wrappedSequenceItem;
147 ml::DcmDRTSourceImageSequenceInterface* _sequenceInterface;
148
149 QMap<QString, QString> _dcmTagToPropertyMap;
150 QMap<QString, QString> _vrCode;
151 void _init();
152};
153
154
155#endif // __mlDRTSourceImageSequenceItemWrapper_H
A class that wraps DRTSourceImageSequence Item for use in Python.
bool setPatientOrientation(QString qParam)
QVariantMap getDicomTagByKey(QString key) const
bool setReferencedSegmentNumber(int qParam)
QString getPurposeOfReferenceCodeSequenceTag() const
QString getPatientOrientationTag() const
QString getReferencedSOPInstanceUID() const
QStringList dir(QString searchString="") const
bool setReferencedSOPClassUID(QString qParam)
ml::DcmDRTSourceImageSequenceInterface * getSequence() const
bool setSpatialLocationsPreserved(QString qParam)
QVariant getPurposeOfReferenceCodeSequence() const
QString getReferencedSOPClassUID() const
QString getReferencedSegmentNumberTag() const
QVariantMap getDicomTagByName(QString name) const
QString getReferencedSOPClassUIDTag() const
QString getReferencedFrameNumber() const
QString getReferencedSOPInstanceUIDTag() const
ml::DcmDRTSourceImageSequenceInterface::Item getWrappedSequenceItem() const
QString getSpatialLocationsPreservedTag() const
QString getReferencedFrameNumberTag() const
bool setReferencedFrameNumber(QString qParam)
QString getSpatialLocationsPreserved() const
DRTSourceImageSequenceItemWrapper(const ml::DcmDRTSourceImageSequenceInterface::Item &wrappedSequenceItem, ml::DcmDRTSourceImageSequenceInterface *sequenceInterface)
DRTSourceImageSequenceItemWrapper & operator=(const DRTSourceImageSequenceItemWrapper &toCopy)
DRTSourceImageSequenceItemWrapper(const DRTSourceImageSequenceItemWrapper &toCopy)
bool setReferencedSOPInstanceUID(QString qParam)
QVariant getDicomTagValueByKey(QString key) const
QVariant getDicomTagValueByName(QString name) const
bool setPurposeOfReferenceCodeSequence(QVariant qParam)
Class to provide access to DRTSourceImageSequence.
Class to provide access to DRTSourceImageSequence.
Main documentation file for ML users and developers.
Definition SoSFMLImage.h:51