MeVisLab Toolbox Reference
mlDRTCompensatorSequenceWrapper.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 __mlDRTCompensatorSequenceWrapper_H
26#define __mlDRTCompensatorSequenceWrapper_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 DRTCompensatorSequenceWrapper : public QObject
46{
48
49public:
50
51 DRTCompensatorSequenceWrapper(ML_NAMESPACE::DcmDRTCompensatorSequenceInterface* 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 getAccessoryCodeTag() const { return QString(_wrappedSequence.getAccessoryCodeTag().c_str()); }
71
72 QString getCompensatorColumnsTag() const { return QString(_wrappedSequence.getCompensatorColumnsTag().c_str()); }
73
74 QString getCompensatorDivergenceTag() const { return QString(_wrappedSequence.getCompensatorDivergenceTag().c_str()); }
75
76 QString getCompensatorIDTag() const { return QString(_wrappedSequence.getCompensatorIDTag().c_str()); }
77
79
80 QString getCompensatorNumberTag() const { return QString(_wrappedSequence.getCompensatorNumberTag().c_str()); }
81
82 QString getCompensatorPixelSpacingTag() const { return QString(_wrappedSequence.getCompensatorPixelSpacingTag().c_str()); }
83
84 QString getCompensatorPositionTag() const { return QString(_wrappedSequence.getCompensatorPositionTag().c_str()); }
85
86 QString getCompensatorRowsTag() const { return QString(_wrappedSequence.getCompensatorRowsTag().c_str()); }
87
88 QString getCompensatorThicknessDataTag() const { return QString(_wrappedSequence.getCompensatorThicknessDataTag().c_str()); }
89
91
92 QString getCompensatorTypeTag() const { return QString(_wrappedSequence.getCompensatorTypeTag().c_str()); }
93
94 QString getMaterialIDTag() const { return QString(_wrappedSequence.getMaterialIDTag().c_str()); }
95
97
99
100
101
102
103public slots:
106
107 int getNumberOfItems() const;
110 bool insertItem(int idx);
111 bool removeItem(int idx);
112
114
115private:
117};
118
119
120#endif // __mlDRTCompensatorSequenceWrapper_H
A class that wraps DRTCompensatorSequence Item for use in Python.
DRTCompensatorSequenceWrapper(const DRTCompensatorSequenceWrapper &toCopy)
DRTCompensatorSequenceWrapper & operator=(const DRTCompensatorSequenceWrapper &toCopy)
ml::DcmDRTCompensatorSequenceInterface getWrappedSequence() const
DRTCompensatorSequenceWrapper(ml::DcmDRTCompensatorSequenceInterface *wrappedSequence)
Class to provide access to DRTCompensatorSequence.
void setSequence(std::vector< DcmDRTCompensatorSequenceInterface::Item > dcmSequence)
Set the DRTCompensatorSequence this interface class provides access to.
Class to provide access to DRTCompensatorSequence.
Target mlrange_cast(Source arg)
Generic version of checked ML casts.