MeVisLab Toolbox Reference
mlDcmDRTControlPointSequenceInterface.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/MLDcmtkAccessoriesNew/templates/DcmSequenceInterface.h
10//
11// Destination project:
12// FMEwork/ReleaseMeVis/Sources/Shared/MLDcmtkAccessoriesNew/DcmSequenceInterfaces
13//
14//----------------------------------------------------------------------------------
16
21//----------------------------------------------------------------------------------
22
23#ifndef __mlDcmDRTControlPointSequenceInterface_H
24#define __mlDcmDRTControlPointSequenceInterface_H
25
26// Local includes
27#include "mlDcmtkAccessories.h"
28
29// Dcmtk includes
30//#include "mlDcmDRTControlPointSequenceInterface.h" //DRTControlPointSequence
31#include "mlDcmDRTBeamLimitingDevicePositionSequenceInterface.h" //DRTBeamLimitingDevicePositionSequence
32#include "mlDcmDRTReferencedDoseReferenceSequenceInRTBeamsModuleInterface.h" //DRTReferencedDoseReferenceSequenceInRTBeamsModule
33#include "mlDcmDRTReferencedDoseSequenceInterface.h" //DRTReferencedDoseSequence
34#include "mlDcmDRTWedgePositionSequenceInterface.h" //DRTWedgePositionSequence
35
36
37// ML includes
38#ifndef __mlModuleIncludes_H
39#include "mlModuleIncludes.h"
40#endif
41
43
44// ------------------------------------------------------------------
46// ------------------------------------------------------------------
48{
49 public:
50
52 {
53 public:
54
55 Item() { _dcmItem = DcmtkAccessories::createNewDicomTree(); }
56
58
59 Item(const Item &copyDcmItem) : _dcmItem(copyDcmItem.getTreePtr()) {}
60
61 Item &operator=(const Item &copyDcmItem){ _dcmItem = copyDcmItem.getTreePtr(); return *this; }
62
63 virtual ~Item() {}
64
65 DCMTree::TreePtr getTreePtr() const { return _dcmItem; }
66
67 bool isValid() const { return _dcmItem.get() != nullptr; }
68
69
70 // BeamLimitingDeviceAngle (300a,0120) vr=DS, vm=1, type=1C
71 bool getBeamLimitingDeviceAngle(std::string& parameter) const;
72 std::string getBeamLimitingDeviceAngleTag() const { return "(300a,0120)"; }
73 bool setBeamLimitingDeviceAngle(std::string parameter);
74
75 // BeamLimitingDeviceRotationDirection (300a,0121) vr=CS, vm=1, type=1C
76 bool getBeamLimitingDeviceRotationDirection(std::string& parameter) const;
77 std::string getBeamLimitingDeviceRotationDirectionTag() const { return "(300a,0121)"; }
78 bool setBeamLimitingDeviceRotationDirection(std::string parameter);
79
80 // ControlPointIndex (300a,0112) vr=IS, vm=1, type=1C
81 bool getControlPointIndex(std::string& parameter) const;
82 std::string getControlPointIndexTag() const { return "(300a,0112)"; }
83 bool setControlPointIndex(std::string parameter);
84
85 // CumulativeMetersetWeight (300a,0134) vr=DS, vm=1, type=2C
86 bool getCumulativeMetersetWeight(std::string& parameter) const;
87 std::string getCumulativeMetersetWeightTag() const { return "(300a,0134)"; }
88 bool setCumulativeMetersetWeight(std::string parameter);
89
90 // DoseRateSet (300a,0115) vr=DS, vm=1, type=3
91 bool getDoseRateSet(std::string& parameter) const;
92 std::string getDoseRateSetTag() const { return "(300a,0115)"; }
93 bool setDoseRateSet(std::string parameter);
94
95 // GantryAngle (300a,011e) vr=DS, vm=1, type=1C
96 bool getGantryAngle(std::string& parameter) const;
97 std::string getGantryAngleTag() const { return "(300a,011e)"; }
98 bool setGantryAngle(std::string parameter);
99
100 // GantryPitchAngle (300a,014a) vr=FL, vm=1, type=3
101 bool getGantryPitchAngle(float& parameter) const;
102 std::string getGantryPitchAngleTag() const { return "(300a,014a)"; }
103 bool setGantryPitchAngle(float parameter);
104
105 // GantryPitchRotationDirection (300a,014c) vr=CS, vm=1, type=3
106 bool getGantryPitchRotationDirection(std::string& parameter) const;
107 std::string getGantryPitchRotationDirectionTag() const { return "(300a,014c)"; }
108 bool setGantryPitchRotationDirection(std::string parameter);
109
110 // GantryRotationDirection (300a,011f) vr=CS, vm=1, type=1C
111 bool getGantryRotationDirection(std::string& parameter) const;
112 std::string getGantryRotationDirectionTag() const { return "(300a,011f)"; }
113 bool setGantryRotationDirection(std::string parameter);
114
115 // IsocenterPosition (300a,012c) vr=DS, vm=3, type=2C
116 bool getIsocenterPosition(std::string& parameter) const;
117 std::string getIsocenterPositionTag() const { return "(300a,012c)"; }
118 bool setIsocenterPosition(std::string parameter);
119
120 // NominalBeamEnergy (300a,0114) vr=DS, vm=1, type=3
121 bool getNominalBeamEnergy(std::string& parameter) const;
122 std::string getNominalBeamEnergyTag() const { return "(300a,0114)"; }
123 bool setNominalBeamEnergy(std::string parameter);
124
125 // PatientSupportAngle (300a,0122) vr=DS, vm=1, type=1C
126 bool getPatientSupportAngle(std::string& parameter) const;
127 std::string getPatientSupportAngleTag() const { return "(300a,0122)"; }
128 bool setPatientSupportAngle(std::string parameter);
129
130 // PatientSupportRotationDirection (300a,0123) vr=CS, vm=1, type=1C
131 bool getPatientSupportRotationDirection(std::string& parameter) const;
132 std::string getPatientSupportRotationDirectionTag() const { return "(300a,0123)"; }
133 bool setPatientSupportRotationDirection(std::string parameter);
134
135 // SourceToSurfaceDistance (300a,0130) vr=DS, vm=1, type=3
136 bool getSourceToSurfaceDistance(std::string& parameter) const;
137 std::string getSourceToSurfaceDistanceTag() const { return "(300a,0130)"; }
138 bool setSourceToSurfaceDistance(std::string parameter);
139
140 // SurfaceEntryPoint (300a,012e) vr=DS, vm=3, type=3
141 bool getSurfaceEntryPoint(std::string& parameter) const;
142 std::string getSurfaceEntryPointTag() const { return "(300a,012e)"; }
143 bool setSurfaceEntryPoint(std::string parameter);
144
145 // TableTopEccentricAngle (300a,0125) vr=DS, vm=1, type=1C
146 bool getTableTopEccentricAngle(std::string& parameter) const;
147 std::string getTableTopEccentricAngleTag() const { return "(300a,0125)"; }
148 bool setTableTopEccentricAngle(std::string parameter);
149
150 // TableTopEccentricAxisDistance (300a,0124) vr=DS, vm=1, type=3
151 bool getTableTopEccentricAxisDistance(std::string& parameter) const;
152 std::string getTableTopEccentricAxisDistanceTag() const { return "(300a,0124)"; }
153 bool setTableTopEccentricAxisDistance(std::string parameter);
154
155 // TableTopEccentricRotationDirection (300a,0126) vr=CS, vm=1, type=1C
156 bool getTableTopEccentricRotationDirection(std::string& parameter) const;
157 std::string getTableTopEccentricRotationDirectionTag() const { return "(300a,0126)"; }
158 bool setTableTopEccentricRotationDirection(std::string parameter);
159
160 // TableTopLateralPosition (300a,012a) vr=DS, vm=1, type=2C
161 bool getTableTopLateralPosition(std::string& parameter) const;
162 std::string getTableTopLateralPositionTag() const { return "(300a,012a)"; }
163 bool setTableTopLateralPosition(std::string parameter);
164
165 // TableTopLongitudinalPosition (300a,0129) vr=DS, vm=1, type=2C
166 bool getTableTopLongitudinalPosition(std::string& parameter) const;
167 std::string getTableTopLongitudinalPositionTag() const { return "(300a,0129)"; }
168 bool setTableTopLongitudinalPosition(std::string parameter);
169
170 // TableTopVerticalPosition (300a,0128) vr=DS, vm=1, type=2C
171 bool getTableTopVerticalPosition(std::string& parameter) const;
172 std::string getTableTopVerticalPositionTag() const { return "(300a,0128)"; }
173 bool setTableTopVerticalPosition(std::string parameter);
174
175 // BeamLimitingDevicePositionSequence (300a,011a) vr=SQ, vm=1, type=1C
177 std::string getBeamLimitingDevicePositionSequenceTag() const { return std::string("(300a,011a)"); }
179
180 // ReferencedDoseReferenceSequence (300c,0050) vr=SQ, vm=1, type=3
182 std::string getReferencedDoseReferenceSequenceTag() const { return std::string("(300c,0050)"); }
184
185 // ReferencedDoseSequence (300c,0080) vr=SQ, vm=1, type=1C
187 std::string getReferencedDoseSequenceTag() const { return std::string("(300c,0080)"); }
189
190 // WedgePositionSequence (300a,0116) vr=SQ, vm=1, type=3
192 std::string getWedgePositionSequenceTag() const { return std::string("(300a,0116)"); }
194
195
196 private:
197
198 DCMTree::TreePtr _dcmItem;
199
200 };
201
203
205 DcmDRTControlPointSequenceInterface(std::vector<DcmDRTControlPointSequenceInterface::Item> dcmSequence) : _itemVec(dcmSequence) {}
206
213
216 // BeamLimitingDeviceAngle (300a,0120) vr=DS, vm=1, type=1C
217 bool getBeamLimitingDeviceAngle(unsigned long idx, std::string& parameter) const;
218 bool getBeamLimitingDeviceAngle(DCMTree::TreePtr item, std::string& parameter) const;
219 std::string getBeamLimitingDeviceAngleTag() const { return "(300a,0120)"; }
220 bool setBeamLimitingDeviceAngle(unsigned long idx, std::string parameter);
221
222 // BeamLimitingDeviceRotationDirection (300a,0121) vr=CS, vm=1, type=1C
223 bool getBeamLimitingDeviceRotationDirection(unsigned long idx, std::string& parameter) const;
225 std::string getBeamLimitingDeviceRotationDirectionTag() const { return "(300a,0121)"; }
226 bool setBeamLimitingDeviceRotationDirection(unsigned long idx, std::string parameter);
227
228 // ControlPointIndex (300a,0112) vr=IS, vm=1, type=1C
229 bool getControlPointIndex(unsigned long idx, std::string& parameter) const;
230 bool getControlPointIndex(DCMTree::TreePtr item, std::string& parameter) const;
231 std::string getControlPointIndexTag() const { return "(300a,0112)"; }
232 bool setControlPointIndex(unsigned long idx, std::string parameter);
233
234 // CumulativeMetersetWeight (300a,0134) vr=DS, vm=1, type=2C
235 bool getCumulativeMetersetWeight(unsigned long idx, std::string& parameter) const;
236 bool getCumulativeMetersetWeight(DCMTree::TreePtr item, std::string& parameter) const;
237 std::string getCumulativeMetersetWeightTag() const { return "(300a,0134)"; }
238 bool setCumulativeMetersetWeight(unsigned long idx, std::string parameter);
239
240 // DoseRateSet (300a,0115) vr=DS, vm=1, type=3
241 bool getDoseRateSet(unsigned long idx, std::string& parameter) const;
242 bool getDoseRateSet(DCMTree::TreePtr item, std::string& parameter) const;
243 std::string getDoseRateSetTag() const { return "(300a,0115)"; }
244 bool setDoseRateSet(unsigned long idx, std::string parameter);
245
246 // GantryAngle (300a,011e) vr=DS, vm=1, type=1C
247 bool getGantryAngle(unsigned long idx, std::string& parameter) const;
248 bool getGantryAngle(DCMTree::TreePtr item, std::string& parameter) const;
249 std::string getGantryAngleTag() const { return "(300a,011e)"; }
250 bool setGantryAngle(unsigned long idx, std::string parameter);
251
252 // GantryPitchAngle (300a,014a) vr=FL, vm=1, type=3
253 bool getGantryPitchAngle(unsigned long idx, float& parameter) const;
254 bool getGantryPitchAngle(DCMTree::TreePtr item, float& parameter) const;
255 std::string getGantryPitchAngleTag() const { return "(300a,014a)"; }
256 bool setGantryPitchAngle(unsigned long idx, float parameter);
257
258 // GantryPitchRotationDirection (300a,014c) vr=CS, vm=1, type=3
259 bool getGantryPitchRotationDirection(unsigned long idx, std::string& parameter) const;
260 bool getGantryPitchRotationDirection(DCMTree::TreePtr item, std::string& parameter) const;
261 std::string getGantryPitchRotationDirectionTag() const { return "(300a,014c)"; }
262 bool setGantryPitchRotationDirection(unsigned long idx, std::string parameter);
263
264 // GantryRotationDirection (300a,011f) vr=CS, vm=1, type=1C
265 bool getGantryRotationDirection(unsigned long idx, std::string& parameter) const;
266 bool getGantryRotationDirection(DCMTree::TreePtr item, std::string& parameter) const;
267 std::string getGantryRotationDirectionTag() const { return "(300a,011f)"; }
268 bool setGantryRotationDirection(unsigned long idx, std::string parameter);
269
270 // IsocenterPosition (300a,012c) vr=DS, vm=3, type=2C
271 bool getIsocenterPosition(unsigned long idx, std::string& parameter) const;
272 bool getIsocenterPosition(DCMTree::TreePtr item, std::string& parameter) const;
273 std::string getIsocenterPositionTag() const { return "(300a,012c)"; }
274 bool setIsocenterPosition(unsigned long idx, std::string parameter);
275
276 // NominalBeamEnergy (300a,0114) vr=DS, vm=1, type=3
277 bool getNominalBeamEnergy(unsigned long idx, std::string& parameter) const;
278 bool getNominalBeamEnergy(DCMTree::TreePtr item, std::string& parameter) const;
279 std::string getNominalBeamEnergyTag() const { return "(300a,0114)"; }
280 bool setNominalBeamEnergy(unsigned long idx, std::string parameter);
281
282 // PatientSupportAngle (300a,0122) vr=DS, vm=1, type=1C
283 bool getPatientSupportAngle(unsigned long idx, std::string& parameter) const;
284 bool getPatientSupportAngle(DCMTree::TreePtr item, std::string& parameter) const;
285 std::string getPatientSupportAngleTag() const { return "(300a,0122)"; }
286 bool setPatientSupportAngle(unsigned long idx, std::string parameter);
287
288 // PatientSupportRotationDirection (300a,0123) vr=CS, vm=1, type=1C
289 bool getPatientSupportRotationDirection(unsigned long idx, std::string& parameter) const;
290 bool getPatientSupportRotationDirection(DCMTree::TreePtr item, std::string& parameter) const;
291 std::string getPatientSupportRotationDirectionTag() const { return "(300a,0123)"; }
292 bool setPatientSupportRotationDirection(unsigned long idx, std::string parameter);
293
294 // SourceToSurfaceDistance (300a,0130) vr=DS, vm=1, type=3
295 bool getSourceToSurfaceDistance(unsigned long idx, std::string& parameter) const;
296 bool getSourceToSurfaceDistance(DCMTree::TreePtr item, std::string& parameter) const;
297 std::string getSourceToSurfaceDistanceTag() const { return "(300a,0130)"; }
298 bool setSourceToSurfaceDistance(unsigned long idx, std::string parameter);
299
300 // SurfaceEntryPoint (300a,012e) vr=DS, vm=3, type=3
301 bool getSurfaceEntryPoint(unsigned long idx, std::string& parameter) const;
302 bool getSurfaceEntryPoint(DCMTree::TreePtr item, std::string& parameter) const;
303 std::string getSurfaceEntryPointTag() const { return "(300a,012e)"; }
304 bool setSurfaceEntryPoint(unsigned long idx, std::string parameter);
305
306 // TableTopEccentricAngle (300a,0125) vr=DS, vm=1, type=1C
307 bool getTableTopEccentricAngle(unsigned long idx, std::string& parameter) const;
308 bool getTableTopEccentricAngle(DCMTree::TreePtr item, std::string& parameter) const;
309 std::string getTableTopEccentricAngleTag() const { return "(300a,0125)"; }
310 bool setTableTopEccentricAngle(unsigned long idx, std::string parameter);
311
312 // TableTopEccentricAxisDistance (300a,0124) vr=DS, vm=1, type=3
313 bool getTableTopEccentricAxisDistance(unsigned long idx, std::string& parameter) const;
314 bool getTableTopEccentricAxisDistance(DCMTree::TreePtr item, std::string& parameter) const;
315 std::string getTableTopEccentricAxisDistanceTag() const { return "(300a,0124)"; }
316 bool setTableTopEccentricAxisDistance(unsigned long idx, std::string parameter);
317
318 // TableTopEccentricRotationDirection (300a,0126) vr=CS, vm=1, type=1C
319 bool getTableTopEccentricRotationDirection(unsigned long idx, std::string& parameter) const;
321 std::string getTableTopEccentricRotationDirectionTag() const { return "(300a,0126)"; }
322 bool setTableTopEccentricRotationDirection(unsigned long idx, std::string parameter);
323
324 // TableTopLateralPosition (300a,012a) vr=DS, vm=1, type=2C
325 bool getTableTopLateralPosition(unsigned long idx, std::string& parameter) const;
326 bool getTableTopLateralPosition(DCMTree::TreePtr item, std::string& parameter) const;
327 std::string getTableTopLateralPositionTag() const { return "(300a,012a)"; }
328 bool setTableTopLateralPosition(unsigned long idx, std::string parameter);
329
330 // TableTopLongitudinalPosition (300a,0129) vr=DS, vm=1, type=2C
331 bool getTableTopLongitudinalPosition(unsigned long idx, std::string& parameter) const;
332 bool getTableTopLongitudinalPosition(DCMTree::TreePtr item, std::string& parameter) const;
333 std::string getTableTopLongitudinalPositionTag() const { return "(300a,0129)"; }
334 bool setTableTopLongitudinalPosition(unsigned long idx, std::string parameter);
335
336 // TableTopVerticalPosition (300a,0128) vr=DS, vm=1, type=2C
337 bool getTableTopVerticalPosition(unsigned long idx, std::string& parameter) const;
338 bool getTableTopVerticalPosition(DCMTree::TreePtr item, std::string& parameter) const;
339 std::string getTableTopVerticalPositionTag() const { return "(300a,0128)"; }
340 bool setTableTopVerticalPosition(unsigned long idx, std::string parameter);
341
342 // BeamLimitingDevicePositionSequence (300a,011a) vr=SQ, vm=1, type=1C
344 std::string getBeamLimitingDevicePositionSequenceTag() const { return std::string("(300a,011a)"); }
346
347 // ReferencedDoseReferenceSequence (300c,0050) vr=SQ, vm=1, type=3
349 std::string getReferencedDoseReferenceSequenceTag() const { return std::string("(300c,0050)"); }
351
352 // ReferencedDoseSequence (300c,0080) vr=SQ, vm=1, type=1C
354 std::string getReferencedDoseSequenceTag() const { return std::string("(300c,0080)"); }
356
357 // WedgePositionSequence (300a,0116) vr=SQ, vm=1, type=3
359 std::string getWedgePositionSequenceTag() const { return std::string("(300a,0116)"); }
361
362
365 void setSequence(std::vector<DcmDRTControlPointSequenceInterface::Item> dcmSequence) {
366 _itemVec = dcmSequence;
367 }
368
371 std::vector<DcmDRTControlPointSequenceInterface::Item> getSequence() const {
372 return _itemVec;
373 }
374
377 bool hasSequence() const {
378 return (_itemVec.size() != 0);
379 }
380
384 return static_cast<MLint>(_itemVec.size());
385 }
386
390 if (_itemVec.size() > idx) {
391 return _itemVec[idx];
392 }
394 }
395
399 _itemVec.push_back(DcmDRTControlPointSequenceInterface::Item());
400 return _itemVec[_itemVec.size()-1];
401 }
402
404 _itemVec.push_back(newItem);
405 }
406
409 bool insertItem(const size_t idx) {
410 if (_itemVec.size() > idx) {
411 std::vector<DcmDRTControlPointSequenceInterface::Item>::iterator it = _itemVec.begin();
412 std::advance(it, idx);
414 return true;
415 }
416 return false;
417 }
418
421 bool removeItem(const size_t idx) {
422 if ( _itemVec.size() > idx ) {
423 std::vector<DcmDRTControlPointSequenceInterface::Item>::iterator it = _itemVec.begin();
424 std::advance(it, idx);
425 _itemVec.erase(it);
426 return true;
427 }
428 return false;
429 }
430
431 protected:
433 std::vector<DcmDRTControlPointSequenceInterface::Item> _itemVec;
434};
435
437
438#endif // __mlDcmDRTControlPointSequenceInterface_H
439
440/* MeVis-Hidden-Components-Start */
441/* MeVis-Hidden-Components-End */
#define MLDCMTKACCESSORIES_EXPORT
Class to provide access to DRTBeamLimitingDevicePositionSequence.
void setWedgePositionSequence(DcmDRTWedgePositionSequenceInterface seq)
bool setControlPointIndex(std::string parameter)
bool setTableTopEccentricRotationDirection(std::string parameter)
bool setSourceToSurfaceDistance(std::string parameter)
bool getTableTopEccentricAxisDistance(std::string &parameter) const
bool getPatientSupportRotationDirection(std::string &parameter) const
bool getGantryAngle(std::string &parameter) const
DcmDRTReferencedDoseReferenceSequenceInRTBeamsModuleInterface getReferencedDoseReferenceSequence() const
bool getGantryPitchRotationDirection(std::string &parameter) const
bool getGantryPitchAngle(float &parameter) const
void setReferencedDoseReferenceSequence(DcmDRTReferencedDoseReferenceSequenceInRTBeamsModuleInterface seq)
bool setTableTopLateralPosition(std::string parameter)
bool getTableTopVerticalPosition(std::string &parameter) const
bool setGantryPitchRotationDirection(std::string parameter)
DcmDRTWedgePositionSequenceInterface getWedgePositionSequence() const
bool getTableTopLateralPosition(std::string &parameter) const
bool setPatientSupportRotationDirection(std::string parameter)
DcmDRTReferencedDoseSequenceInterface getReferencedDoseSequence() const
bool getPatientSupportAngle(std::string &parameter) const
bool getTableTopEccentricRotationDirection(std::string &parameter) const
bool getIsocenterPosition(std::string &parameter) const
bool getTableTopLongitudinalPosition(std::string &parameter) const
bool setGantryRotationDirection(std::string parameter)
bool getNominalBeamEnergy(std::string &parameter) const
bool setTableTopEccentricAxisDistance(std::string parameter)
bool setDoseRateSet(std::string parameter)
bool setBeamLimitingDeviceAngle(std::string parameter)
bool setTableTopVerticalPosition(std::string parameter)
bool setBeamLimitingDeviceRotationDirection(std::string parameter)
bool getControlPointIndex(std::string &parameter) const
bool setCumulativeMetersetWeight(std::string parameter)
bool getBeamLimitingDeviceAngle(std::string &parameter) const
bool getGantryRotationDirection(std::string &parameter) const
bool setNominalBeamEnergy(std::string parameter)
DcmDRTBeamLimitingDevicePositionSequenceInterface getBeamLimitingDevicePositionSequence() const
bool getTableTopEccentricAngle(std::string &parameter) const
bool setSurfaceEntryPoint(std::string parameter)
bool setTableTopLongitudinalPosition(std::string parameter)
bool getDoseRateSet(std::string &parameter) const
bool setTableTopEccentricAngle(std::string parameter)
bool setPatientSupportAngle(std::string parameter)
bool getCumulativeMetersetWeight(std::string &parameter) const
bool getSurfaceEntryPoint(std::string &parameter) const
void setBeamLimitingDevicePositionSequence(DcmDRTBeamLimitingDevicePositionSequenceInterface seq)
bool getSourceToSurfaceDistance(std::string &parameter) const
void setReferencedDoseSequence(DcmDRTReferencedDoseSequenceInterface seq)
bool getBeamLimitingDeviceRotationDirection(std::string &parameter) const
bool setGantryAngle(std::string parameter)
bool setIsocenterPosition(std::string parameter)
Class to provide access to DRTControlPointSequence.
void setWedgePositionSequence(DcmDRTWedgePositionSequenceInterface seq, unsigned long idx)
std::vector< DcmDRTControlPointSequenceInterface::Item > getSequence() const
Return the DRTControlPointSequence this interface class provides access to.
bool getTableTopLateralPosition(DCMTree::TreePtr item, std::string &parameter) const
DcmDRTControlPointSequenceInterface(std::vector< DcmDRTControlPointSequenceInterface::Item > dcmSequence)
Default Constructor.
bool removeItem(const size_t idx)
Removes the indicated item from the sequence.
bool insertItem(const size_t idx)
Insert an item at the indicated position.
DcmDRTWedgePositionSequenceInterface getWedgePositionSequence(unsigned long idx) const
DcmDRTBeamLimitingDevicePositionSequenceInterface getBeamLimitingDevicePositionSequence(unsigned long idx) const
bool getGantryPitchAngle(DCMTree::TreePtr item, float &parameter) const
bool getBeamLimitingDeviceAngle(DCMTree::TreePtr item, std::string &parameter) const
bool setTableTopLateralPosition(unsigned long idx, std::string parameter)
bool setPatientSupportAngle(unsigned long idx, std::string parameter)
virtual ~DcmDRTControlPointSequenceInterface()
Default virtual Destructor.
bool getGantryPitchRotationDirection(DCMTree::TreePtr item, std::string &parameter) const
bool getTableTopEccentricAxisDistance(unsigned long idx, std::string &parameter) const
void setReferencedDoseSequence(DcmDRTReferencedDoseSequenceInterface seq, unsigned long idx)
bool getPatientSupportRotationDirection(unsigned long idx, std::string &parameter) const
bool getControlPointIndex(unsigned long idx, std::string &parameter) const
bool setTableTopVerticalPosition(unsigned long idx, std::string parameter)
bool getPatientSupportAngle(unsigned long idx, std::string &parameter) const
bool getNominalBeamEnergy(DCMTree::TreePtr item, std::string &parameter) const
bool setTableTopEccentricAngle(unsigned long idx, std::string parameter)
bool getTableTopVerticalPosition(DCMTree::TreePtr item, std::string &parameter) const
bool getTableTopVerticalPosition(unsigned long idx, std::string &parameter) const
bool setControlPointIndex(unsigned long idx, std::string parameter)
bool getSurfaceEntryPoint(unsigned long idx, std::string &parameter) const
bool getTableTopEccentricRotationDirection(DCMTree::TreePtr item, std::string &parameter) const
bool getTableTopLateralPosition(unsigned long idx, std::string &parameter) const
bool setTableTopLongitudinalPosition(unsigned long idx, std::string parameter)
bool getTableTopEccentricAngle(DCMTree::TreePtr item, std::string &parameter) const
bool getBeamLimitingDeviceRotationDirection(unsigned long idx, std::string &parameter) const
bool getGantryAngle(DCMTree::TreePtr item, std::string &parameter) const
bool setTableTopEccentricRotationDirection(unsigned long idx, std::string parameter)
bool getGantryAngle(unsigned long idx, std::string &parameter) const
bool setNominalBeamEnergy(unsigned long idx, std::string parameter)
MLint getNumberOfItems() const
Return number of items the internal sequence consists of.
DcmDRTControlPointSequenceInterface(DCMTree::TreePtrVector treePtrSeq)
bool getSourceToSurfaceDistance(unsigned long idx, std::string &parameter) const
DcmDRTReferencedDoseReferenceSequenceInRTBeamsModuleInterface getReferencedDoseReferenceSequence(unsigned long idx) const
bool setPatientSupportRotationDirection(unsigned long idx, std::string parameter)
bool getPatientSupportAngle(DCMTree::TreePtr item, std::string &parameter) const
bool setGantryPitchRotationDirection(unsigned long idx, std::string parameter)
std::vector< DcmDRTControlPointSequenceInterface::Item > _itemVec
Reference to the wrapped DICOM tree pointer vector.
bool getGantryPitchAngle(unsigned long idx, float &parameter) const
bool getTableTopLongitudinalPosition(unsigned long idx, std::string &parameter) const
bool setSourceToSurfaceDistance(unsigned long idx, std::string parameter)
bool getCumulativeMetersetWeight(DCMTree::TreePtr item, std::string &parameter) const
bool setTableTopEccentricAxisDistance(unsigned long idx, std::string parameter)
bool getControlPointIndex(DCMTree::TreePtr item, std::string &parameter) const
bool setGantryAngle(unsigned long idx, std::string parameter)
bool setDoseRateSet(unsigned long idx, std::string parameter)
void setBeamLimitingDevicePositionSequence(DcmDRTBeamLimitingDevicePositionSequenceInterface seq, unsigned long idx)
bool getPatientSupportRotationDirection(DCMTree::TreePtr item, std::string &parameter) const
bool setGantryPitchAngle(unsigned long idx, float parameter)
bool setCumulativeMetersetWeight(unsigned long idx, std::string parameter)
bool getDoseRateSet(unsigned long idx, std::string &parameter) const
bool getBeamLimitingDeviceAngle(unsigned long idx, std::string &parameter) const
bool getGantryRotationDirection(unsigned long idx, std::string &parameter) const
void setReferencedDoseReferenceSequence(DcmDRTReferencedDoseReferenceSequenceInRTBeamsModuleInterface seq, unsigned long idx)
bool getNominalBeamEnergy(unsigned long idx, std::string &parameter) const
bool hasSequence() const
Check if the DRTControlPointSequence is set.
bool getTableTopEccentricRotationDirection(unsigned long idx, std::string &parameter) const
DcmDRTControlPointSequenceInterface::Item & addItem()
Adds a new item to the sequence.
void addItem(DcmDRTControlPointSequenceInterface::Item newItem)
bool getSourceToSurfaceDistance(DCMTree::TreePtr item, std::string &parameter) const
bool setBeamLimitingDeviceRotationDirection(unsigned long idx, std::string parameter)
bool getTableTopEccentricAxisDistance(DCMTree::TreePtr item, std::string &parameter) const
bool getIsocenterPosition(unsigned long idx, std::string &parameter) const
void setSequence(std::vector< DcmDRTControlPointSequenceInterface::Item > dcmSequence)
Set the DRTControlPointSequence this interface class provides access to.
bool getIsocenterPosition(DCMTree::TreePtr item, std::string &parameter) const
DcmDRTReferencedDoseSequenceInterface getReferencedDoseSequence(unsigned long idx) const
DcmDRTControlPointSequenceInterface::Item getItem(const size_t idx) const
Gets the item at the indicated position.
bool getSurfaceEntryPoint(DCMTree::TreePtr item, std::string &parameter) const
bool getGantryRotationDirection(DCMTree::TreePtr item, std::string &parameter) const
bool getCumulativeMetersetWeight(unsigned long idx, std::string &parameter) const
bool setGantryRotationDirection(unsigned long idx, std::string parameter)
bool setSurfaceEntryPoint(unsigned long idx, std::string parameter)
bool getTableTopEccentricAngle(unsigned long idx, std::string &parameter) const
bool setIsocenterPosition(unsigned long idx, std::string parameter)
bool getDoseRateSet(DCMTree::TreePtr item, std::string &parameter) const
bool setBeamLimitingDeviceAngle(unsigned long idx, std::string parameter)
bool getBeamLimitingDeviceRotationDirection(DCMTree::TreePtr item, std::string &parameter) const
bool getTableTopLongitudinalPosition(DCMTree::TreePtr item, std::string &parameter) const
bool getGantryPitchRotationDirection(unsigned long idx, std::string &parameter) const
Class to provide access to DRTReferencedDoseSequence.
Class to provide access to DRTWedgePositionSequence.
Class to provide access to DRTBeamLimitingDevicePositionSequence.
Class to provide access to DRTReferencedDoseReferenceSequenceInRTBeamsModule.
Class to provide access to DRTReferencedDoseSequence.
Class to provide access to DRTWedgePositionSequence.
Class collecting some DICOM helper functionality explicitly for dcmtk.
Target mlrange_cast(Source arg)
Generic version of checked ML casts.
MLint64 MLint
A signed ML integer type with at least 64 bits used for index calculations on very large images even ...
Definition mlTypeDefs.h:490
std::vector< TreePtr > TreePtrVector
a vector of TreePtr - used for sequences
Definition DCMTree_Lib.h:85
boost::shared_ptr< Tree > TreePtr
shared pointer to a DCMTree::Tree
Definition DCMTree_Lib.h:72