MeVisLab Toolbox Reference
mlDRTIonBlockSequenceItemWrapper.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 __mlDRTIonBlockSequenceItemWrapper_H
26#define __mlDRTIonBlockSequenceItemWrapper_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
42
43#endif
44
47class DRTIonBlockSequenceItemWrapper : public QObject
48{
50
51public:
52
54
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
79 ml::DcmDRTIonBlockSequenceInterface* getSequence() const { return _sequenceInterface; }
80
81
106
107
108
112
114
119
120
124
128
132
136
140
144
148
152
156
160
164
168
169
170
172
173private:
174
175 ml::DcmDRTIonBlockSequenceInterface::Item _wrappedSequenceItem;
176 ml::DcmDRTIonBlockSequenceInterface* _sequenceInterface;
177
178 QMap<QString, QString> _dcmTagToPropertyMap;
179 QMap<QString, QString> _vrCode;
180 void _init();
181};
182
183
184#endif // __mlDRTIonBlockSequenceItemWrapper_H
A class that wraps DRTIonBlockSequence Item for use in Python.
QVariant getDicomTagValueByKey(QString key) const
bool setMaterialID(QString qParam)
QString getBlockNumberOfPointsTag() const
bool setIsocenterToBlockTrayDistance(float qParam)
bool setBlockName(QString qParam)
QVariant getDicomTagValueByName(QString name) const
QString getAccessoryCodeTag() const
DRTIonBlockSequenceItemWrapper & operator=(const DRTIonBlockSequenceItemWrapper &toCopy)
QString getBlockDivergence() const
QString getBlockThicknessTag() const
QString getBlockNumberTag() const
QString getBlockNumberOfPoints() const
QString getAccessoryCode() const
bool setBlockNumber(QString qParam)
QString getBlockDivergenceTag() const
bool setBlockTrayID(QString qParam)
QString getBlockMountingPosition() const
ml::DcmDRTIonBlockSequenceInterface * getSequence() const
float getIsocenterToBlockTrayDistance() const
QVariantMap getDicomTagByKey(QString key) const
QString getIsocenterToBlockTrayDistanceTag() const
QString getBlockThickness() const
QVariantMap getDicomTagByName(QString name) const
bool setBlockMountingPosition(QString qParam)
QString getBlockTrayIDTag() const
bool setBlockDivergence(QString qParam)
QString getBlockMountingPositionTag() const
ml::DcmDRTIonBlockSequenceInterface::Item getWrappedSequenceItem() const
QStringList dir(QString searchString="") const
bool setAccessoryCode(QString qParam)
bool setBlockType(QString qParam)
DRTIonBlockSequenceItemWrapper(const ml::DcmDRTIonBlockSequenceInterface::Item &wrappedSequenceItem, ml::DcmDRTIonBlockSequenceInterface *sequenceInterface)
DRTIonBlockSequenceItemWrapper(const DRTIonBlockSequenceItemWrapper &toCopy)
bool setBlockThickness(QString qParam)
bool setBlockNumberOfPoints(QString qParam)
QString getMaterialIDTag() const
bool setBlockData(QString qParam)
Class to provide access to DRTIonBlockSequence.
std::vector< DcmDRTIonBlockSequenceInterface::Item > getSequence() const
Return the DRTIonBlockSequence this interface class provides access to.
Class to provide access to DRTIonBlockSequence.
Target mlrange_cast(Source arg)
Generic version of checked ML casts.
Main documentation file for ML users and developers.
Definition SoSFMLImage.h:51