MeVisLab Toolbox Reference
mlDRTReferencedBeamSequenceInRTFractionSchemeModuleItemWrapper.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/DcmSequenceItemWrapper.h
10 //
11 // Destination project:
12 // FMEwork/ReleaseMeVis/Sources/Wrappers/MLDcmtkIODWrappers/DcmSequenceInterfaces/Items
13 //
14 //----------------------------------------------------------------------------------
16 
22 //----------------------------------------------------------------------------------
23 
24 
25 #ifndef __mlDRTReferencedBeamSequenceInRTFractionSchemeModuleItemWrapper_H
26 #define __mlDRTReferencedBeamSequenceInRTFractionSchemeModuleItemWrapper_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 
42 
43 #endif
44 
48 {
49  Q_OBJECT
50 
51 public:
52 
53  QStringList _propertyKeys;
54 
56  : _wrappedSequenceItem(wrappedSequenceItem)
57  , _sequenceInterface(sequenceInterface)
58  {
59  _init();
60  }
61 
63  : QObject()
64  {
65  _wrappedSequenceItem = toCopy.getWrappedSequenceItem();
66  _sequenceInterface = toCopy.getSequence();
67  _init();
68  }
69 
71  {
72  _wrappedSequenceItem = toCopy.getWrappedSequenceItem();
73  _sequenceInterface = toCopy.getSequence();
74  _init();
75  return *this;
76  }
77 
80 
81 
82  QString _BeamDose;
83  Q_PROPERTY(QString BeamDose READ getBeamDose WRITE setBeamDose)
89  Q_PROPERTY(float BeamDosePointSSD READ getBeamDosePointSSD WRITE setBeamDosePointSSD)
92  QString _BeamMeterset;
93  Q_PROPERTY(QString BeamMeterset READ getBeamMeterset WRITE setBeamMeterset)
96 
97 
98 
99 public slots:
102 
103  QStringList dir(QString searchString="") const;
104 
105  QVariantMap getDicomTagByKey(QString key) const;
106  QVariantMap getDicomTagByName(QString name) const;
107  QVariant getDicomTagValueByKey(QString key) const;
108  QVariant getDicomTagValueByName(QString name) const;
109 
110 
111  bool setBeamDose(QString qParam);
112  QString getBeamDoseTag() const;
113  QString getBeamDose() const;
114 
115  bool setBeamDosePointDepth(float qParam);
116  QString getBeamDosePointDepthTag() const;
117  float getBeamDosePointDepth() const;
118 
122 
123  bool setBeamDosePointSSD(float qParam);
124  QString getBeamDosePointSSDTag() const;
125  float getBeamDosePointSSD() const;
126 
127  bool setBeamDoseSpecificationPoint(QString qParam);
130 
131  bool setBeamMeterset(QString qParam);
132  QString getBeamMetersetTag() const;
133  QString getBeamMeterset() const;
134 
135  bool setReferencedBeamNumber(QString qParam);
136  QString getReferencedBeamNumberTag() const;
137  QString getReferencedBeamNumber() const;
138 
139 
140 
142 
143 private:
144 
145  ml::DcmDRTReferencedBeamSequenceInRTFractionSchemeModuleInterface::Item _wrappedSequenceItem;
146  ml::DcmDRTReferencedBeamSequenceInRTFractionSchemeModuleInterface* _sequenceInterface;
147 
148  QMap<QString, QString> _dcmTagToPropertyMap;
149  QMap<QString, QString> _vrCode;
150  void _init();
151 };
152 
153 
154 #endif // __mlDRTReferencedBeamSequenceInRTFractionSchemeModuleItemWrapper_H
A class that wraps DRTReferencedBeamSequenceInRTFractionSchemeModule Item for use in Python.
DRTReferencedBeamSequenceInRTFractionSchemeModuleItemWrapper & operator=(const DRTReferencedBeamSequenceInRTFractionSchemeModuleItemWrapper &toCopy)
ml::DcmDRTReferencedBeamSequenceInRTFractionSchemeModuleInterface * getSequence() const
DRTReferencedBeamSequenceInRTFractionSchemeModuleItemWrapper(const ml::DcmDRTReferencedBeamSequenceInRTFractionSchemeModuleInterface::Item &wrappedSequenceItem, ml::DcmDRTReferencedBeamSequenceInRTFractionSchemeModuleInterface *sequenceInterface)
DRTReferencedBeamSequenceInRTFractionSchemeModuleItemWrapper(const DRTReferencedBeamSequenceInRTFractionSchemeModuleItemWrapper &toCopy)
ml::DcmDRTReferencedBeamSequenceInRTFractionSchemeModuleInterface::Item getWrappedSequenceItem() const
QStringList dir(QString searchString="") const
Class to provide access to DRTReferencedBeamSequenceInRTFractionSchemeModule.
Class to provide access to DRTReferencedBeamSequenceInRTFractionSchemeModule.
Main documentation file for ML users and developers.
Definition: SoSFMLImage.h:51