MeVisLab Toolbox Reference
mlDRTControlPointSequenceWrapper.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 __mlDRTControlPointSequenceWrapper_H
26#define __mlDRTControlPointSequenceWrapper_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 DRTControlPointSequenceWrapper : public QObject
46{
48
49public:
50
51 DRTControlPointSequenceWrapper(ML_NAMESPACE::DcmDRTControlPointSequenceInterface* 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 getBeamLimitingDeviceAngleTag() const { return QString(_wrappedSequence.getBeamLimitingDeviceAngleTag().c_str()); }
71
73
74 QString getControlPointIndexTag() const { return QString(_wrappedSequence.getControlPointIndexTag().c_str()); }
75
76 QString getCumulativeMetersetWeightTag() const { return QString(_wrappedSequence.getCumulativeMetersetWeightTag().c_str()); }
77
78 QString getDoseRateSetTag() const { return QString(_wrappedSequence.getDoseRateSetTag().c_str()); }
79
80 QString getGantryAngleTag() const { return QString(_wrappedSequence.getGantryAngleTag().c_str()); }
81
82 QString getGantryPitchAngleTag() const { return QString(_wrappedSequence.getGantryPitchAngleTag().c_str()); }
83
85
86 QString getGantryRotationDirectionTag() const { return QString(_wrappedSequence.getGantryRotationDirectionTag().c_str()); }
87
88 QString getIsocenterPositionTag() const { return QString(_wrappedSequence.getIsocenterPositionTag().c_str()); }
89
90 QString getNominalBeamEnergyTag() const { return QString(_wrappedSequence.getNominalBeamEnergyTag().c_str()); }
91
92 QString getPatientSupportAngleTag() const { return QString(_wrappedSequence.getPatientSupportAngleTag().c_str()); }
93
95
96 QString getSourceToSurfaceDistanceTag() const { return QString(_wrappedSequence.getSourceToSurfaceDistanceTag().c_str()); }
97
98 QString getSurfaceEntryPointTag() const { return QString(_wrappedSequence.getSurfaceEntryPointTag().c_str()); }
99
100 QString getTableTopEccentricAngleTag() const { return QString(_wrappedSequence.getTableTopEccentricAngleTag().c_str()); }
101
103
105
106 QString getTableTopLateralPositionTag() const { return QString(_wrappedSequence.getTableTopLateralPositionTag().c_str()); }
107
109
110 QString getTableTopVerticalPositionTag() const { return QString(_wrappedSequence.getTableTopVerticalPositionTag().c_str()); }
111
112
114
116
117 QString getReferencedDoseSequenceTag() const { return QString(_wrappedSequence.getReferencedDoseSequenceTag().c_str()); }
118
119 QString getWedgePositionSequenceTag() const { return QString(_wrappedSequence.getWedgePositionSequenceTag().c_str()); }
120
121
122
123public slots:
126
127 int getNumberOfItems() const;
130 bool insertItem(int idx);
131 bool removeItem(int idx);
132
134
135private:
137};
138
139
140#endif // __mlDRTControlPointSequenceWrapper_H
A class that wraps DRTControlPointSequence Item for use in Python.
DRTControlPointSequenceWrapper(ml::DcmDRTControlPointSequenceInterface *wrappedSequence)
ml::DcmDRTControlPointSequenceInterface getWrappedSequence() const
DRTControlPointSequenceWrapper & operator=(const DRTControlPointSequenceWrapper &toCopy)
DRTControlPointSequenceWrapper(const DRTControlPointSequenceWrapper &toCopy)
Class to provide access to DRTControlPointSequence.
void setSequence(std::vector< DcmDRTControlPointSequenceInterface::Item > dcmSequence)
Set the DRTControlPointSequence this interface class provides access to.
Class to provide access to DRTControlPointSequence.
Target mlrange_cast(Source arg)
Generic version of checked ML casts.