MeVisLab Toolbox Reference
mlDRTReferencedInstanceSequenceWrapper.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/DcmSequenceWrapper.h
10//
11// Destination project:
12// FMEwork/ReleaseMeVis/Sources/Wrappers/MLDcmtkIODWrappers/DcmSequenceInterfaces
13//
14//----------------------------------------------------------------------------------
16
22//----------------------------------------------------------------------------------
23
24
25#ifndef __mlDRTReferencedInstanceSequenceWrapper_H
26#define __mlDRTReferencedInstanceSequenceWrapper_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#endif
42
46{
48
49public:
50
51 DRTReferencedInstanceSequenceWrapper(ML_NAMESPACE::DcmDRTReferencedInstanceSequenceInterface* wrappedSequence)
52 : _wrappedSequence(wrappedSequence->getSequence())
53 {
54 }
55
57 {
58 _wrappedSequence.setSequence(toCopy.getWrappedSequence().getSequence());
59 }
60
62 {
63 _wrappedSequence.setSequence(toCopy.getWrappedSequence().getSequence());
64 return *this;
65 }
66
68
69
70 QString getBitsAllocatedTag() const { return QString(_wrappedSequence.getBitsAllocatedTag().c_str()); }
71
72 QString getBitsStoredTag() const { return QString(_wrappedSequence.getBitsStoredTag().c_str()); }
73
75
76 QString getColumnsTag() const { return QString(_wrappedSequence.getColumnsTag().c_str()); }
77
79
80 QString getHighBitTag() const { return QString(_wrappedSequence.getHighBitTag().c_str()); }
81
82 QString getICCProfileTag() const { return QString(_wrappedSequence.getICCProfileTag().c_str()); }
83
84 QString getLargestImagePixelValueTag() const { return QString(_wrappedSequence.getLargestImagePixelValueTag().c_str()); }
85
87
88 QString getPixelAspectRatioTag() const { return QString(_wrappedSequence.getPixelAspectRatioTag().c_str()); }
89
90 QString getPixelRepresentationTag() const { return QString(_wrappedSequence.getPixelRepresentationTag().c_str()); }
91
92 QString getPlanarConfigurationTag() const { return QString(_wrappedSequence.getPlanarConfigurationTag().c_str()); }
93
95
96 QString getReferencedSOPClassUIDTag() const { return QString(_wrappedSequence.getReferencedSOPClassUIDTag().c_str()); }
97
98 QString getReferencedSOPInstanceUIDTag() const { return QString(_wrappedSequence.getReferencedSOPInstanceUIDTag().c_str()); }
99
100 QString getRowsTag() const { return QString(_wrappedSequence.getRowsTag().c_str()); }
101
102 QString getSamplesPerPixelTag() const { return QString(_wrappedSequence.getSamplesPerPixelTag().c_str()); }
103
104 QString getSmallestImagePixelValueTag() const { return QString(_wrappedSequence.getSmallestImagePixelValueTag().c_str()); }
105
106
108
109
110
111public slots:
114
115 int getNumberOfItems() const;
118 bool insertItem(int idx);
119 bool removeItem(int idx);
120
122
123private:
125};
126
127
128#endif // __mlDRTReferencedInstanceSequenceWrapper_H
A class that wraps DRTReferencedInstanceSequence Item for use in Python.
DRTReferencedInstanceSequenceWrapper & operator=(const DRTReferencedInstanceSequenceWrapper &toCopy)
DRTReferencedInstanceSequenceWrapper(const DRTReferencedInstanceSequenceWrapper &toCopy)
DRTReferencedInstanceSequenceWrapper(ml::DcmDRTReferencedInstanceSequenceInterface *wrappedSequence)
ml::DcmDRTReferencedInstanceSequenceInterface getWrappedSequence() const
Class to provide access to DRTReferencedInstanceSequence.
void setSequence(std::vector< DcmDRTReferencedInstanceSequenceInterface::Item > dcmSequence)
Set the DRTReferencedInstanceSequence this interface class provides access to.
Class to provide access to DRTReferencedInstanceSequence.
Target mlrange_cast(Source arg)
Generic version of checked ML casts.