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 <ThirdPartyWarningsDisable.h>
31 #include <QObject>
32 #include <QVariant>
33 #include <QVariantMap>
34 #include <QList>
35 #include <QStringList>
36 #include <ThirdPartyWarningsRestore.h>
37 
38 // MLDcmtkAccessories includes
40 
41 #endif
42 
45 class DRTIconImageSequenceWrapper : public QObject
46 {
47  Q_OBJECT
48 
49 public:
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 
74  QString getBluePaletteColorLookupTableDescriptorTag() const { return QString(_wrappedSequence.getBluePaletteColorLookupTableDescriptorTag().c_str()); }
75 
76  QString getColumnsTag() const { return QString(_wrappedSequence.getColumnsTag().c_str()); }
77 
78  QString getGreenPaletteColorLookupTableDescriptorTag() const { return QString(_wrappedSequence.getGreenPaletteColorLookupTableDescriptorTag().c_str()); }
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 
86  QString getPhotometricInterpretationTag() const { return QString(_wrappedSequence.getPhotometricInterpretationTag().c_str()); }
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 
94  QString getRedPaletteColorLookupTableDescriptorTag() const { return QString(_wrappedSequence.getRedPaletteColorLookupTableDescriptorTag().c_str()); }
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 
105 public slots:
108 
109  int getNumberOfItems() const;
110  QVariant getItem(int idx);
111  QVariant addItem();
112  bool insertItem(int idx);
113  bool removeItem(int idx);
114 
116 
117 private:
118  ml::DcmDRTIconImageSequenceInterface _wrappedSequence;
119 };
120 
121 
122 #endif // __mlDRTIconImageSequenceWrapper_H
A class that wraps DRTIconImageSequence Item for use in Python.
DRTIconImageSequenceWrapper & operator=(const DRTIconImageSequenceWrapper &toCopy)
DRTIconImageSequenceWrapper(const DRTIconImageSequenceWrapper &toCopy)
ml::DcmDRTIconImageSequenceInterface getWrappedSequence() const
QVariant getItem(int idx)
QString getBluePaletteColorLookupTableDescriptorTag() const
QString getRedPaletteColorLookupTableDescriptorTag() const
DRTIconImageSequenceWrapper(ml::DcmDRTIconImageSequenceInterface *wrappedSequence)
QString getGreenPaletteColorLookupTableDescriptorTag() const
Class to provide access to DRTIconImageSequence.
void setSequence(std::vector< DcmDRTIconImageSequenceInterface::Item > dcmSequence)
Set the DRTIconImageSequence this interface class provides access to.
std::vector< DcmDRTIconImageSequenceInterface::Item > getSequence() const
Return the DRTIconImageSequence this interface class provides access to.
Class to provide access to DRTIconImageSequence.