MeVisLab Toolbox Reference
mlDRTIconImageSequenceWrapper.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 __mlDRTIconImageSequenceWrapper_H
26#define __mlDRTIconImageSequenceWrapper_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
45class DRTIconImageSequenceWrapper : public QObject
46{
48
49public:
50
51 DRTIconImageSequenceWrapper(ML_NAMESPACE::DcmDRTIconImageSequenceInterface* 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
67 ml::DcmDRTIconImageSequenceInterface getWrappedSequence() const { return _wrappedSequence; }
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 getRowsTag() const { return QString(_wrappedSequence.getRowsTag().c_str()); }
97
98 QString getSamplesPerPixelTag() const { return QString(_wrappedSequence.getSamplesPerPixelTag().c_str()); }
99
100 QString getSmallestImagePixelValueTag() const { return QString(_wrappedSequence.getSmallestImagePixelValueTag().c_str()); }
101
102
103
104
105public slots:
108
109 int getNumberOfItems() const;
112 bool insertItem(int idx);
113 bool removeItem(int idx);
114
116
117private:
119};
120
121
122#endif // __mlDRTIconImageSequenceWrapper_H
A class that wraps DRTIconImageSequence Item for use in Python.
DRTIconImageSequenceWrapper(const DRTIconImageSequenceWrapper &toCopy)
ml::DcmDRTIconImageSequenceInterface getWrappedSequence() const
QVariant getItem(int idx)
DRTIconImageSequenceWrapper(ml::DcmDRTIconImageSequenceInterface *wrappedSequence)
DRTIconImageSequenceWrapper & operator=(const DRTIconImageSequenceWrapper &toCopy)
Class to provide access to DRTIconImageSequence.
void setSequence(std::vector< DcmDRTIconImageSequenceInterface::Item > dcmSequence)
Set the DRTIconImageSequence this interface class provides access to.
Class to provide access to DRTIconImageSequence.
Target mlrange_cast(Source arg)
Generic version of checked ML casts.