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 <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 
46 {
47  Q_OBJECT
48 
49 public:
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 
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 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 
107  QString getPurposeOfReferenceCodeSequenceTag() const { return QString(_wrappedSequence.getPurposeOfReferenceCodeSequenceTag().c_str()); }
108 
109 
110 
111 public slots:
114 
115  int getNumberOfItems() const;
116  QVariant getItem(int idx);
117  QVariant addItem();
118  bool insertItem(int idx);
119  bool removeItem(int idx);
120 
122 
123 private:
125 };
126 
127 
128 #endif // __mlDRTReferencedInstanceSequenceWrapper_H
A class that wraps DRTReferencedInstanceSequence Item for use in Python.
DRTReferencedInstanceSequenceWrapper(const DRTReferencedInstanceSequenceWrapper &toCopy)
DRTReferencedInstanceSequenceWrapper(ml::DcmDRTReferencedInstanceSequenceInterface *wrappedSequence)
DRTReferencedInstanceSequenceWrapper & operator=(const DRTReferencedInstanceSequenceWrapper &toCopy)
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.
std::vector< DcmDRTReferencedInstanceSequenceInterface::Item > getSequence() const
Return the DRTReferencedInstanceSequence this interface class provides access to.
Class to provide access to DRTReferencedInstanceSequence.