MeVisLab Toolbox Reference
mlDcmDRTBeamSequenceInterface.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 __mlDcmDRTBeamSequenceInterface_H
24#define __mlDcmDRTBeamSequenceInterface_H
25
26// Local includes
27#include "mlDcmtkAccessories.h"
28
29// Dcmtk includes
30//#include "mlDcmDRTBeamSequenceInterface.h" //DRTBeamSequence
31#include "mlDcmDRTApplicatorSequenceInRTBeamsModuleInterface.h" //DRTApplicatorSequenceInRTBeamsModule
32#include "mlDcmDRTBeamLimitingDeviceSequenceInRTBeamsModuleInterface.h" //DRTBeamLimitingDeviceSequenceInRTBeamsModule
33#include "mlDcmDRTBlockSequenceInRTBeamsModuleInterface.h" //DRTBlockSequenceInRTBeamsModule
34#include "mlDcmDRTCompensatorSequenceInterface.h" //DRTCompensatorSequence
35#include "mlDcmDRTControlPointSequenceInterface.h" //DRTControlPointSequence
36#include "mlDcmDRTPlannedVerificationImageSequenceInterface.h" //DRTPlannedVerificationImageSequence
37#include "mlDcmDRTReferencedBolusSequenceInRTBeamsModuleInterface.h" //DRTReferencedBolusSequenceInRTBeamsModule
38#include "mlDcmDRTReferencedDoseSequenceInterface.h" //DRTReferencedDoseSequence
39#include "mlDcmDRTReferencedReferenceImageSequenceInRTBeamsModuleInterface.h" //DRTReferencedReferenceImageSequenceInRTBeamsModule
40#include "mlDcmDRTWedgeSequenceInterface.h" //DRTWedgeSequence
41
42
43// ML includes
44#ifndef __mlModuleIncludes_H
45#include "mlModuleIncludes.h"
46#endif
47
49
50// ------------------------------------------------------------------
52// ------------------------------------------------------------------
54{
55 public:
56
58 {
59 public:
60
61 Item() { _dcmItem = DcmtkAccessories::createNewDicomTree(); }
62
64
65 Item(const Item &copyDcmItem) : _dcmItem(copyDcmItem.getTreePtr()) {}
66
67 Item &operator=(const Item &copyDcmItem){ _dcmItem = copyDcmItem.getTreePtr(); return *this; }
68
69 virtual ~Item() {}
70
71 DCMTree::TreePtr getTreePtr() const { return _dcmItem; }
72
73 bool isValid() const { return _dcmItem.get() != nullptr; }
74
75
76 // BeamDescription (300a,00c3) vr=ST, vm=1, type=3
77 bool getBeamDescription(std::string& parameter) const;
78 std::string getBeamDescriptionTag() const { return "(300a,00c3)"; }
79 bool setBeamDescription(std::string parameter);
80
81 // BeamName (300a,00c2) vr=LO, vm=1, type=3
82 bool getBeamName(std::string& parameter) const;
83 std::string getBeamNameTag() const { return "(300a,00c2)"; }
84 bool setBeamName(std::string parameter);
85
86 // BeamNumber (300a,00c0) vr=IS, vm=1, type=1
87 bool getBeamNumber(std::string& parameter) const;
88 std::string getBeamNumberTag() const { return "(300a,00c0)"; }
89 bool setBeamNumber(std::string parameter);
90
91 // BeamType (300a,00c4) vr=CS, vm=1, type=1
92 bool getBeamType(std::string& parameter) const;
93 std::string getBeamTypeTag() const { return "(300a,00c4)"; }
94 bool setBeamType(std::string parameter);
95
96 // DeviceSerialNumber (0018,1000) vr=LO, vm=1, type=3
97 bool getDeviceSerialNumber(std::string& parameter) const;
98 std::string getDeviceSerialNumberTag() const { return "(0018,1000)"; }
99 bool setDeviceSerialNumber(std::string parameter);
100
101 // FinalCumulativeMetersetWeight (300a,010e) vr=DS, vm=1, type=1C
102 bool getFinalCumulativeMetersetWeight(std::string& parameter) const;
103 std::string getFinalCumulativeMetersetWeightTag() const { return "(300a,010e)"; }
104 bool setFinalCumulativeMetersetWeight(std::string parameter);
105
106 // HighDoseTechniqueType (300a,00c7) vr=CS, vm=1, type=1C
107 bool getHighDoseTechniqueType(std::string& parameter) const;
108 std::string getHighDoseTechniqueTypeTag() const { return "(300a,00c7)"; }
109 bool setHighDoseTechniqueType(std::string parameter);
110
111 // InstitutionAddress (0008,0081) vr=ST, vm=1, type=3
112 bool getInstitutionAddress(std::string& parameter) const;
113 std::string getInstitutionAddressTag() const { return "(0008,0081)"; }
114 bool setInstitutionAddress(std::string parameter);
115
116 // InstitutionName (0008,0080) vr=LO, vm=1, type=3
117 bool getInstitutionName(std::string& parameter) const;
118 std::string getInstitutionNameTag() const { return "(0008,0080)"; }
119 bool setInstitutionName(std::string parameter);
120
121 // InstitutionalDepartmentName (0008,1040) vr=LO, vm=1, type=3
122 bool getInstitutionalDepartmentName(std::string& parameter) const;
123 std::string getInstitutionalDepartmentNameTag() const { return "(0008,1040)"; }
124 bool setInstitutionalDepartmentName(std::string parameter);
125
126 // Manufacturer (0008,0070) vr=LO, vm=1, type=3
127 bool getManufacturer(std::string& parameter) const;
128 std::string getManufacturerTag() const { return "(0008,0070)"; }
129 bool setManufacturer(std::string parameter);
130
131 // ManufacturerModelName (0008,1090) vr=LO, vm=1, type=3
132 bool getManufacturerModelName(std::string& parameter) const;
133 std::string getManufacturerModelNameTag() const { return "(0008,1090)"; }
134 bool setManufacturerModelName(std::string parameter);
135
136 // NumberOfBlocks (300a,00f0) vr=IS, vm=1, type=1
137 bool getNumberOfBlocks(std::string& parameter) const;
138 std::string getNumberOfBlocksTag() const { return "(300a,00f0)"; }
139 bool setNumberOfBlocks(std::string parameter);
140
141 // NumberOfBoli (300a,00ed) vr=IS, vm=1, type=1
142 bool getNumberOfBoli(std::string& parameter) const;
143 std::string getNumberOfBoliTag() const { return "(300a,00ed)"; }
144 bool setNumberOfBoli(std::string parameter);
145
146 // NumberOfCompensators (300a,00e0) vr=IS, vm=1, type=1
147 bool getNumberOfCompensators(std::string& parameter) const;
148 std::string getNumberOfCompensatorsTag() const { return "(300a,00e0)"; }
149 bool setNumberOfCompensators(std::string parameter);
150
151 // NumberOfControlPoints (300a,0110) vr=IS, vm=1, type=1
152 bool getNumberOfControlPoints(std::string& parameter) const;
153 std::string getNumberOfControlPointsTag() const { return "(300a,0110)"; }
154 bool setNumberOfControlPoints(std::string parameter);
155
156 // NumberOfWedges (300a,00d0) vr=IS, vm=1, type=1
157 bool getNumberOfWedges(std::string& parameter) const;
158 std::string getNumberOfWedgesTag() const { return "(300a,00d0)"; }
159 bool setNumberOfWedges(std::string parameter);
160
161 // PrimaryDosimeterUnit (300a,00b3) vr=CS, vm=1, type=3
162 bool getPrimaryDosimeterUnit(std::string& parameter) const;
163 std::string getPrimaryDosimeterUnitTag() const { return "(300a,00b3)"; }
164 bool setPrimaryDosimeterUnit(std::string parameter);
165
166 // RadiationType (300a,00c6) vr=CS, vm=1, type=2
167 bool getRadiationType(std::string& parameter) const;
168 std::string getRadiationTypeTag() const { return "(300a,00c6)"; }
169 bool setRadiationType(std::string parameter);
170
171 // ReferencedPatientSetupNumber (300c,006a) vr=IS, vm=1, type=3
172 bool getReferencedPatientSetupNumber(std::string& parameter) const;
173 std::string getReferencedPatientSetupNumberTag() const { return "(300c,006a)"; }
174 bool setReferencedPatientSetupNumber(std::string parameter);
175
176 // ReferencedToleranceTableNumber (300c,00a0) vr=IS, vm=1, type=3
177 bool getReferencedToleranceTableNumber(std::string& parameter) const;
178 std::string getReferencedToleranceTableNumberTag() const { return "(300c,00a0)"; }
179 bool setReferencedToleranceTableNumber(std::string parameter);
180
181 // SourceAxisDistance (300a,00b4) vr=DS, vm=1, type=3
182 bool getSourceAxisDistance(std::string& parameter) const;
183 std::string getSourceAxisDistanceTag() const { return "(300a,00b4)"; }
184 bool setSourceAxisDistance(std::string parameter);
185
186 // TotalBlockTrayFactor (300a,00f2) vr=DS, vm=1, type=3
187 bool getTotalBlockTrayFactor(std::string& parameter) const;
188 std::string getTotalBlockTrayFactorTag() const { return "(300a,00f2)"; }
189 bool setTotalBlockTrayFactor(std::string parameter);
190
191 // TotalCompensatorTrayFactor (300a,00e2) vr=DS, vm=1, type=3
192 bool getTotalCompensatorTrayFactor(std::string& parameter) const;
193 std::string getTotalCompensatorTrayFactorTag() const { return "(300a,00e2)"; }
194 bool setTotalCompensatorTrayFactor(std::string parameter);
195
196 // TreatmentDeliveryType (300a,00ce) vr=CS, vm=1, type=3
197 bool getTreatmentDeliveryType(std::string& parameter) const;
198 std::string getTreatmentDeliveryTypeTag() const { return "(300a,00ce)"; }
199 bool setTreatmentDeliveryType(std::string parameter);
200
201 // TreatmentMachineName (300a,00b2) vr=SH, vm=1, type=2
202 bool getTreatmentMachineName(std::string& parameter) const;
203 std::string getTreatmentMachineNameTag() const { return "(300a,00b2)"; }
204 bool setTreatmentMachineName(std::string parameter);
205
206 // ApplicatorSequence (300a,0107) vr=SQ, vm=1, type=3
208 std::string getApplicatorSequenceTag() const { return std::string("(300a,0107)"); }
210
211 // BeamLimitingDeviceSequence (300a,00b6) vr=SQ, vm=1, type=1
213 std::string getBeamLimitingDeviceSequenceTag() const { return std::string("(300a,00b6)"); }
215
216 // BlockSequence (300a,00f4) vr=SQ, vm=1, type=1C
218 std::string getBlockSequenceTag() const { return std::string("(300a,00f4)"); }
220
221 // CompensatorSequence (300a,00e3) vr=SQ, vm=1, type=1C
223 std::string getCompensatorSequenceTag() const { return std::string("(300a,00e3)"); }
225
226 // ControlPointSequence (300a,0111) vr=SQ, vm=1, type=1
228 std::string getControlPointSequenceTag() const { return std::string("(300a,0111)"); }
230
231 // PlannedVerificationImageSequence (300a,00ca) vr=SQ, vm=1, type=3
233 std::string getPlannedVerificationImageSequenceTag() const { return std::string("(300a,00ca)"); }
235
236 // ReferencedBolusSequence (300c,00b0) vr=SQ, vm=1, type=1C
238 std::string getReferencedBolusSequenceTag() const { return std::string("(300c,00b0)"); }
240
241 // ReferencedDoseSequence (300c,0080) vr=SQ, vm=1, type=3
243 std::string getReferencedDoseSequenceTag() const { return std::string("(300c,0080)"); }
245
246 // ReferencedReferenceImageSequence (300c,0042) vr=SQ, vm=1, type=3
248 std::string getReferencedReferenceImageSequenceTag() const { return std::string("(300c,0042)"); }
250
251 // WedgeSequence (300a,00d1) vr=SQ, vm=1, type=1C
253 std::string getWedgeSequenceTag() const { return std::string("(300a,00d1)"); }
255
256
257 private:
258
259 DCMTree::TreePtr _dcmItem;
260
261 };
262
264
266 DcmDRTBeamSequenceInterface(std::vector<DcmDRTBeamSequenceInterface::Item> dcmSequence) : _itemVec(dcmSequence) {}
267
269 for(size_t i=0; i < treePtrSeq.size(); i++)
270 {
271 _itemVec.push_back(DcmDRTBeamSequenceInterface::Item(treePtrSeq[i]));
272 }
273 }
274
277 // BeamDescription (300a,00c3) vr=ST, vm=1, type=3
278 bool getBeamDescription(unsigned long idx, std::string& parameter) const;
279 bool getBeamDescription(DCMTree::TreePtr item, std::string& parameter) const;
280 std::string getBeamDescriptionTag() const { return "(300a,00c3)"; }
281 bool setBeamDescription(unsigned long idx, std::string parameter);
282
283 // BeamName (300a,00c2) vr=LO, vm=1, type=3
284 bool getBeamName(unsigned long idx, std::string& parameter) const;
285 bool getBeamName(DCMTree::TreePtr item, std::string& parameter) const;
286 std::string getBeamNameTag() const { return "(300a,00c2)"; }
287 bool setBeamName(unsigned long idx, std::string parameter);
288
289 // BeamNumber (300a,00c0) vr=IS, vm=1, type=1
290 bool getBeamNumber(unsigned long idx, std::string& parameter) const;
291 bool getBeamNumber(DCMTree::TreePtr item, std::string& parameter) const;
292 std::string getBeamNumberTag() const { return "(300a,00c0)"; }
293 bool setBeamNumber(unsigned long idx, std::string parameter);
294
295 // BeamType (300a,00c4) vr=CS, vm=1, type=1
296 bool getBeamType(unsigned long idx, std::string& parameter) const;
297 bool getBeamType(DCMTree::TreePtr item, std::string& parameter) const;
298 std::string getBeamTypeTag() const { return "(300a,00c4)"; }
299 bool setBeamType(unsigned long idx, std::string parameter);
300
301 // DeviceSerialNumber (0018,1000) vr=LO, vm=1, type=3
302 bool getDeviceSerialNumber(unsigned long idx, std::string& parameter) const;
303 bool getDeviceSerialNumber(DCMTree::TreePtr item, std::string& parameter) const;
304 std::string getDeviceSerialNumberTag() const { return "(0018,1000)"; }
305 bool setDeviceSerialNumber(unsigned long idx, std::string parameter);
306
307 // FinalCumulativeMetersetWeight (300a,010e) vr=DS, vm=1, type=1C
308 bool getFinalCumulativeMetersetWeight(unsigned long idx, std::string& parameter) const;
309 bool getFinalCumulativeMetersetWeight(DCMTree::TreePtr item, std::string& parameter) const;
310 std::string getFinalCumulativeMetersetWeightTag() const { return "(300a,010e)"; }
311 bool setFinalCumulativeMetersetWeight(unsigned long idx, std::string parameter);
312
313 // HighDoseTechniqueType (300a,00c7) vr=CS, vm=1, type=1C
314 bool getHighDoseTechniqueType(unsigned long idx, std::string& parameter) const;
315 bool getHighDoseTechniqueType(DCMTree::TreePtr item, std::string& parameter) const;
316 std::string getHighDoseTechniqueTypeTag() const { return "(300a,00c7)"; }
317 bool setHighDoseTechniqueType(unsigned long idx, std::string parameter);
318
319 // InstitutionAddress (0008,0081) vr=ST, vm=1, type=3
320 bool getInstitutionAddress(unsigned long idx, std::string& parameter) const;
321 bool getInstitutionAddress(DCMTree::TreePtr item, std::string& parameter) const;
322 std::string getInstitutionAddressTag() const { return "(0008,0081)"; }
323 bool setInstitutionAddress(unsigned long idx, std::string parameter);
324
325 // InstitutionName (0008,0080) vr=LO, vm=1, type=3
326 bool getInstitutionName(unsigned long idx, std::string& parameter) const;
327 bool getInstitutionName(DCMTree::TreePtr item, std::string& parameter) const;
328 std::string getInstitutionNameTag() const { return "(0008,0080)"; }
329 bool setInstitutionName(unsigned long idx, std::string parameter);
330
331 // InstitutionalDepartmentName (0008,1040) vr=LO, vm=1, type=3
332 bool getInstitutionalDepartmentName(unsigned long idx, std::string& parameter) const;
333 bool getInstitutionalDepartmentName(DCMTree::TreePtr item, std::string& parameter) const;
334 std::string getInstitutionalDepartmentNameTag() const { return "(0008,1040)"; }
335 bool setInstitutionalDepartmentName(unsigned long idx, std::string parameter);
336
337 // Manufacturer (0008,0070) vr=LO, vm=1, type=3
338 bool getManufacturer(unsigned long idx, std::string& parameter) const;
339 bool getManufacturer(DCMTree::TreePtr item, std::string& parameter) const;
340 std::string getManufacturerTag() const { return "(0008,0070)"; }
341 bool setManufacturer(unsigned long idx, std::string parameter);
342
343 // ManufacturerModelName (0008,1090) vr=LO, vm=1, type=3
344 bool getManufacturerModelName(unsigned long idx, std::string& parameter) const;
345 bool getManufacturerModelName(DCMTree::TreePtr item, std::string& parameter) const;
346 std::string getManufacturerModelNameTag() const { return "(0008,1090)"; }
347 bool setManufacturerModelName(unsigned long idx, std::string parameter);
348
349 // NumberOfBlocks (300a,00f0) vr=IS, vm=1, type=1
350 bool getNumberOfBlocks(unsigned long idx, std::string& parameter) const;
351 bool getNumberOfBlocks(DCMTree::TreePtr item, std::string& parameter) const;
352 std::string getNumberOfBlocksTag() const { return "(300a,00f0)"; }
353 bool setNumberOfBlocks(unsigned long idx, std::string parameter);
354
355 // NumberOfBoli (300a,00ed) vr=IS, vm=1, type=1
356 bool getNumberOfBoli(unsigned long idx, std::string& parameter) const;
357 bool getNumberOfBoli(DCMTree::TreePtr item, std::string& parameter) const;
358 std::string getNumberOfBoliTag() const { return "(300a,00ed)"; }
359 bool setNumberOfBoli(unsigned long idx, std::string parameter);
360
361 // NumberOfCompensators (300a,00e0) vr=IS, vm=1, type=1
362 bool getNumberOfCompensators(unsigned long idx, std::string& parameter) const;
363 bool getNumberOfCompensators(DCMTree::TreePtr item, std::string& parameter) const;
364 std::string getNumberOfCompensatorsTag() const { return "(300a,00e0)"; }
365 bool setNumberOfCompensators(unsigned long idx, std::string parameter);
366
367 // NumberOfControlPoints (300a,0110) vr=IS, vm=1, type=1
368 bool getNumberOfControlPoints(unsigned long idx, std::string& parameter) const;
369 bool getNumberOfControlPoints(DCMTree::TreePtr item, std::string& parameter) const;
370 std::string getNumberOfControlPointsTag() const { return "(300a,0110)"; }
371 bool setNumberOfControlPoints(unsigned long idx, std::string parameter);
372
373 // NumberOfWedges (300a,00d0) vr=IS, vm=1, type=1
374 bool getNumberOfWedges(unsigned long idx, std::string& parameter) const;
375 bool getNumberOfWedges(DCMTree::TreePtr item, std::string& parameter) const;
376 std::string getNumberOfWedgesTag() const { return "(300a,00d0)"; }
377 bool setNumberOfWedges(unsigned long idx, std::string parameter);
378
379 // PrimaryDosimeterUnit (300a,00b3) vr=CS, vm=1, type=3
380 bool getPrimaryDosimeterUnit(unsigned long idx, std::string& parameter) const;
381 bool getPrimaryDosimeterUnit(DCMTree::TreePtr item, std::string& parameter) const;
382 std::string getPrimaryDosimeterUnitTag() const { return "(300a,00b3)"; }
383 bool setPrimaryDosimeterUnit(unsigned long idx, std::string parameter);
384
385 // RadiationType (300a,00c6) vr=CS, vm=1, type=2
386 bool getRadiationType(unsigned long idx, std::string& parameter) const;
387 bool getRadiationType(DCMTree::TreePtr item, std::string& parameter) const;
388 std::string getRadiationTypeTag() const { return "(300a,00c6)"; }
389 bool setRadiationType(unsigned long idx, std::string parameter);
390
391 // ReferencedPatientSetupNumber (300c,006a) vr=IS, vm=1, type=3
392 bool getReferencedPatientSetupNumber(unsigned long idx, std::string& parameter) const;
393 bool getReferencedPatientSetupNumber(DCMTree::TreePtr item, std::string& parameter) const;
394 std::string getReferencedPatientSetupNumberTag() const { return "(300c,006a)"; }
395 bool setReferencedPatientSetupNumber(unsigned long idx, std::string parameter);
396
397 // ReferencedToleranceTableNumber (300c,00a0) vr=IS, vm=1, type=3
398 bool getReferencedToleranceTableNumber(unsigned long idx, std::string& parameter) const;
399 bool getReferencedToleranceTableNumber(DCMTree::TreePtr item, std::string& parameter) const;
400 std::string getReferencedToleranceTableNumberTag() const { return "(300c,00a0)"; }
401 bool setReferencedToleranceTableNumber(unsigned long idx, std::string parameter);
402
403 // SourceAxisDistance (300a,00b4) vr=DS, vm=1, type=3
404 bool getSourceAxisDistance(unsigned long idx, std::string& parameter) const;
405 bool getSourceAxisDistance(DCMTree::TreePtr item, std::string& parameter) const;
406 std::string getSourceAxisDistanceTag() const { return "(300a,00b4)"; }
407 bool setSourceAxisDistance(unsigned long idx, std::string parameter);
408
409 // TotalBlockTrayFactor (300a,00f2) vr=DS, vm=1, type=3
410 bool getTotalBlockTrayFactor(unsigned long idx, std::string& parameter) const;
411 bool getTotalBlockTrayFactor(DCMTree::TreePtr item, std::string& parameter) const;
412 std::string getTotalBlockTrayFactorTag() const { return "(300a,00f2)"; }
413 bool setTotalBlockTrayFactor(unsigned long idx, std::string parameter);
414
415 // TotalCompensatorTrayFactor (300a,00e2) vr=DS, vm=1, type=3
416 bool getTotalCompensatorTrayFactor(unsigned long idx, std::string& parameter) const;
417 bool getTotalCompensatorTrayFactor(DCMTree::TreePtr item, std::string& parameter) const;
418 std::string getTotalCompensatorTrayFactorTag() const { return "(300a,00e2)"; }
419 bool setTotalCompensatorTrayFactor(unsigned long idx, std::string parameter);
420
421 // TreatmentDeliveryType (300a,00ce) vr=CS, vm=1, type=3
422 bool getTreatmentDeliveryType(unsigned long idx, std::string& parameter) const;
423 bool getTreatmentDeliveryType(DCMTree::TreePtr item, std::string& parameter) const;
424 std::string getTreatmentDeliveryTypeTag() const { return "(300a,00ce)"; }
425 bool setTreatmentDeliveryType(unsigned long idx, std::string parameter);
426
427 // TreatmentMachineName (300a,00b2) vr=SH, vm=1, type=2
428 bool getTreatmentMachineName(unsigned long idx, std::string& parameter) const;
429 bool getTreatmentMachineName(DCMTree::TreePtr item, std::string& parameter) const;
430 std::string getTreatmentMachineNameTag() const { return "(300a,00b2)"; }
431 bool setTreatmentMachineName(unsigned long idx, std::string parameter);
432
433 // ApplicatorSequence (300a,0107) vr=SQ, vm=1, type=3
435 std::string getApplicatorSequenceTag() const { return std::string("(300a,0107)"); }
437
438 // BeamLimitingDeviceSequence (300a,00b6) vr=SQ, vm=1, type=1
440 std::string getBeamLimitingDeviceSequenceTag() const { return std::string("(300a,00b6)"); }
442
443 // BlockSequence (300a,00f4) vr=SQ, vm=1, type=1C
445 std::string getBlockSequenceTag() const { return std::string("(300a,00f4)"); }
447
448 // CompensatorSequence (300a,00e3) vr=SQ, vm=1, type=1C
450 std::string getCompensatorSequenceTag() const { return std::string("(300a,00e3)"); }
452
453 // ControlPointSequence (300a,0111) vr=SQ, vm=1, type=1
455 std::string getControlPointSequenceTag() const { return std::string("(300a,0111)"); }
457
458 // PlannedVerificationImageSequence (300a,00ca) vr=SQ, vm=1, type=3
460 std::string getPlannedVerificationImageSequenceTag() const { return std::string("(300a,00ca)"); }
462
463 // ReferencedBolusSequence (300c,00b0) vr=SQ, vm=1, type=1C
465 std::string getReferencedBolusSequenceTag() const { return std::string("(300c,00b0)"); }
467
468 // ReferencedDoseSequence (300c,0080) vr=SQ, vm=1, type=3
470 std::string getReferencedDoseSequenceTag() const { return std::string("(300c,0080)"); }
472
473 // ReferencedReferenceImageSequence (300c,0042) vr=SQ, vm=1, type=3
475 std::string getReferencedReferenceImageSequenceTag() const { return std::string("(300c,0042)"); }
477
478 // WedgeSequence (300a,00d1) vr=SQ, vm=1, type=1C
480 std::string getWedgeSequenceTag() const { return std::string("(300a,00d1)"); }
482
483
486 void setSequence(std::vector<DcmDRTBeamSequenceInterface::Item> dcmSequence) {
487 _itemVec = dcmSequence;
488 }
489
492 std::vector<DcmDRTBeamSequenceInterface::Item> getSequence() const {
493 return _itemVec;
494 }
495
498 bool hasSequence() const {
499 return (_itemVec.size() != 0);
500 }
501
505 return static_cast<MLint>(_itemVec.size());
506 }
507
511 if (_itemVec.size() > idx) {
512 return _itemVec[idx];
513 }
515 }
516
520 _itemVec.push_back(DcmDRTBeamSequenceInterface::Item());
521 return _itemVec[_itemVec.size()-1];
522 }
523
525 _itemVec.push_back(newItem);
526 }
527
530 bool insertItem(const size_t idx) {
531 if (_itemVec.size() > idx) {
532 std::vector<DcmDRTBeamSequenceInterface::Item>::iterator it = _itemVec.begin();
533 std::advance(it, idx);
534 _itemVec.insert(it, DcmDRTBeamSequenceInterface::Item());
535 return true;
536 }
537 return false;
538 }
539
542 bool removeItem(const size_t idx) {
543 if ( _itemVec.size() > idx ) {
544 std::vector<DcmDRTBeamSequenceInterface::Item>::iterator it = _itemVec.begin();
545 std::advance(it, idx);
546 _itemVec.erase(it);
547 return true;
548 }
549 return false;
550 }
551
552 protected:
554 std::vector<DcmDRTBeamSequenceInterface::Item> _itemVec;
555};
556
558
559#endif // __mlDcmDRTBeamSequenceInterface_H
560
561/* MeVis-Hidden-Components-Start */
562/* MeVis-Hidden-Components-End */
#define MLDCMTKACCESSORIES_EXPORT
Class to provide access to DRTApplicatorSequenceInRTBeamsModule.
Class to provide access to DRTBeamLimitingDeviceSequenceInRTBeamsModule.
bool getInstitutionalDepartmentName(std::string &parameter) const
void setReferencedDoseSequence(DcmDRTReferencedDoseSequenceInterface seq)
void setReferencedReferenceImageSequence(DcmDRTReferencedReferenceImageSequenceInRTBeamsModuleInterface seq)
bool getRadiationType(std::string &parameter) const
void setCompensatorSequence(DcmDRTCompensatorSequenceInterface seq)
DcmDRTReferencedReferenceImageSequenceInRTBeamsModuleInterface getReferencedReferenceImageSequence() const
bool setNumberOfBoli(std::string parameter)
bool setNumberOfControlPoints(std::string parameter)
bool getTreatmentMachineName(std::string &parameter) const
void setWedgeSequence(DcmDRTWedgeSequenceInterface seq)
bool setTotalBlockTrayFactor(std::string parameter)
bool getDeviceSerialNumber(std::string &parameter) const
bool setTotalCompensatorTrayFactor(std::string parameter)
bool setReferencedToleranceTableNumber(std::string parameter)
bool setManufacturer(std::string parameter)
bool getPrimaryDosimeterUnit(std::string &parameter) const
bool setNumberOfCompensators(std::string parameter)
bool setInstitutionAddress(std::string parameter)
bool setTreatmentMachineName(std::string parameter)
DcmDRTWedgeSequenceInterface getWedgeSequence() const
void setReferencedBolusSequence(DcmDRTReferencedBolusSequenceInRTBeamsModuleInterface seq)
bool setInstitutionalDepartmentName(std::string parameter)
bool getNumberOfCompensators(std::string &parameter) const
bool getBeamName(std::string &parameter) const
bool getBeamType(std::string &parameter) const
bool setNumberOfWedges(std::string parameter)
void setBeamLimitingDeviceSequence(DcmDRTBeamLimitingDeviceSequenceInRTBeamsModuleInterface seq)
void setPlannedVerificationImageSequence(DcmDRTPlannedVerificationImageSequenceInterface seq)
bool getManufacturer(std::string &parameter) const
bool getHighDoseTechniqueType(std::string &parameter) const
bool setReferencedPatientSetupNumber(std::string parameter)
bool setTreatmentDeliveryType(std::string parameter)
DcmDRTPlannedVerificationImageSequenceInterface getPlannedVerificationImageSequence() const
bool getReferencedPatientSetupNumber(std::string &parameter) const
bool setHighDoseTechniqueType(std::string parameter)
void setBlockSequence(DcmDRTBlockSequenceInRTBeamsModuleInterface seq)
bool setInstitutionName(std::string parameter)
bool getFinalCumulativeMetersetWeight(std::string &parameter) const
bool setRadiationType(std::string parameter)
bool getNumberOfBoli(std::string &parameter) const
bool setDeviceSerialNumber(std::string parameter)
bool setBeamName(std::string parameter)
bool setFinalCumulativeMetersetWeight(std::string parameter)
bool setPrimaryDosimeterUnit(std::string parameter)
bool getBeamNumber(std::string &parameter) const
bool setBeamNumber(std::string parameter)
DcmDRTBlockSequenceInRTBeamsModuleInterface getBlockSequence() const
DcmDRTCompensatorSequenceInterface getCompensatorSequence() const
bool getNumberOfWedges(std::string &parameter) const
bool getTreatmentDeliveryType(std::string &parameter) const
bool getTotalBlockTrayFactor(std::string &parameter) const
bool setSourceAxisDistance(std::string parameter)
DcmDRTApplicatorSequenceInRTBeamsModuleInterface getApplicatorSequence() const
bool setBeamType(std::string parameter)
void setApplicatorSequence(DcmDRTApplicatorSequenceInRTBeamsModuleInterface seq)
bool setBeamDescription(std::string parameter)
DcmDRTReferencedBolusSequenceInRTBeamsModuleInterface getReferencedBolusSequence() const
bool getInstitutionName(std::string &parameter) const
bool getSourceAxisDistance(std::string &parameter) const
bool getBeamDescription(std::string &parameter) const
bool getNumberOfControlPoints(std::string &parameter) const
bool getInstitutionAddress(std::string &parameter) const
DcmDRTBeamLimitingDeviceSequenceInRTBeamsModuleInterface getBeamLimitingDeviceSequence() const
bool getManufacturerModelName(std::string &parameter) const
DcmDRTReferencedDoseSequenceInterface getReferencedDoseSequence() const
bool getNumberOfBlocks(std::string &parameter) const
bool setNumberOfBlocks(std::string parameter)
DcmDRTControlPointSequenceInterface getControlPointSequence() const
bool getReferencedToleranceTableNumber(std::string &parameter) const
void setControlPointSequence(DcmDRTControlPointSequenceInterface seq)
bool getTotalCompensatorTrayFactor(std::string &parameter) const
bool setManufacturerModelName(std::string parameter)
Class to provide access to DRTBeamSequence.
bool getNumberOfBoli(DCMTree::TreePtr item, std::string &parameter) const
bool getBeamName(DCMTree::TreePtr item, std::string &parameter) const
bool getHighDoseTechniqueType(DCMTree::TreePtr item, std::string &parameter) const
bool getReferencedToleranceTableNumber(unsigned long idx, std::string &parameter) const
bool getInstitutionName(DCMTree::TreePtr item, std::string &parameter) const
DcmDRTPlannedVerificationImageSequenceInterface getPlannedVerificationImageSequence(unsigned long idx) const
DcmDRTCompensatorSequenceInterface getCompensatorSequence(unsigned long idx) const
bool getTotalCompensatorTrayFactor(DCMTree::TreePtr item, std::string &parameter) const
bool getBeamDescription(unsigned long idx, std::string &parameter) const
bool getBeamDescription(DCMTree::TreePtr item, std::string &parameter) const
DcmDRTBeamSequenceInterface(std::vector< DcmDRTBeamSequenceInterface::Item > dcmSequence)
Default Constructor.
void setApplicatorSequence(DcmDRTApplicatorSequenceInRTBeamsModuleInterface seq, unsigned long idx)
bool getBeamType(unsigned long idx, std::string &parameter) const
bool getInstitutionalDepartmentName(DCMTree::TreePtr item, std::string &parameter) const
bool getManufacturerModelName(DCMTree::TreePtr item, std::string &parameter) const
bool getNumberOfWedges(DCMTree::TreePtr item, std::string &parameter) const
bool getTreatmentDeliveryType(DCMTree::TreePtr item, std::string &parameter) const
bool setInstitutionName(unsigned long idx, std::string parameter)
DcmDRTReferencedBolusSequenceInRTBeamsModuleInterface getReferencedBolusSequence(unsigned long idx) const
bool setNumberOfBoli(unsigned long idx, std::string parameter)
bool setTotalBlockTrayFactor(unsigned long idx, std::string parameter)
bool getInstitutionName(unsigned long idx, std::string &parameter) const
bool getSourceAxisDistance(unsigned long idx, std::string &parameter) const
void setReferencedDoseSequence(DcmDRTReferencedDoseSequenceInterface seq, unsigned long idx)
bool getManufacturer(DCMTree::TreePtr item, std::string &parameter) const
DcmDRTApplicatorSequenceInRTBeamsModuleInterface getApplicatorSequence(unsigned long idx) const
void setBlockSequence(DcmDRTBlockSequenceInRTBeamsModuleInterface seq, unsigned long idx)
DcmDRTReferencedReferenceImageSequenceInRTBeamsModuleInterface getReferencedReferenceImageSequence(unsigned long idx) const
bool setRadiationType(unsigned long idx, std::string parameter)
bool getReferencedPatientSetupNumber(unsigned long idx, std::string &parameter) const
MLint getNumberOfItems() const
Return number of items the internal sequence consists of.
bool getNumberOfBlocks(DCMTree::TreePtr item, std::string &parameter) const
bool getNumberOfCompensators(DCMTree::TreePtr item, std::string &parameter) const
bool getManufacturerModelName(unsigned long idx, std::string &parameter) const
bool getNumberOfControlPoints(DCMTree::TreePtr item, std::string &parameter) const
bool getDeviceSerialNumber(unsigned long idx, std::string &parameter) const
virtual ~DcmDRTBeamSequenceInterface()
Default virtual Destructor.
bool getNumberOfCompensators(unsigned long idx, std::string &parameter) const
bool getTotalCompensatorTrayFactor(unsigned long idx, std::string &parameter) const
void setWedgeSequence(DcmDRTWedgeSequenceInterface seq, unsigned long idx)
bool getBeamNumber(DCMTree::TreePtr item, std::string &parameter) const
void setReferencedBolusSequence(DcmDRTReferencedBolusSequenceInRTBeamsModuleInterface seq, unsigned long idx)
bool setInstitutionalDepartmentName(unsigned long idx, std::string parameter)
bool setNumberOfControlPoints(unsigned long idx, std::string parameter)
bool setNumberOfWedges(unsigned long idx, std::string parameter)
bool setPrimaryDosimeterUnit(unsigned long idx, std::string parameter)
void setBeamLimitingDeviceSequence(DcmDRTBeamLimitingDeviceSequenceInRTBeamsModuleInterface seq, unsigned long idx)
void setCompensatorSequence(DcmDRTCompensatorSequenceInterface seq, unsigned long idx)
bool hasSequence() const
Check if the DRTBeamSequence is set.
void addItem(DcmDRTBeamSequenceInterface::Item newItem)
bool getRadiationType(unsigned long idx, std::string &parameter) const
bool getNumberOfControlPoints(unsigned long idx, std::string &parameter) const
bool setReferencedToleranceTableNumber(unsigned long idx, std::string parameter)
bool setManufacturer(unsigned long idx, std::string parameter)
bool getNumberOfBoli(unsigned long idx, std::string &parameter) const
bool getFinalCumulativeMetersetWeight(unsigned long idx, std::string &parameter) const
DcmDRTControlPointSequenceInterface getControlPointSequence(unsigned long idx) const
bool setDeviceSerialNumber(unsigned long idx, std::string parameter)
bool setBeamName(unsigned long idx, std::string parameter)
bool getFinalCumulativeMetersetWeight(DCMTree::TreePtr item, std::string &parameter) const
bool setNumberOfCompensators(unsigned long idx, std::string parameter)
DcmDRTBeamLimitingDeviceSequenceInRTBeamsModuleInterface getBeamLimitingDeviceSequence(unsigned long idx) const
bool setHighDoseTechniqueType(unsigned long idx, std::string parameter)
bool getTreatmentMachineName(unsigned long idx, std::string &parameter) const
bool getTotalBlockTrayFactor(DCMTree::TreePtr item, std::string &parameter) const
DcmDRTBlockSequenceInRTBeamsModuleInterface getBlockSequence(unsigned long idx) const
bool getBeamNumber(unsigned long idx, std::string &parameter) const
bool getReferencedToleranceTableNumber(DCMTree::TreePtr item, std::string &parameter) const
bool removeItem(const size_t idx)
Removes the indicated item from the sequence.
bool getManufacturer(unsigned long idx, std::string &parameter) const
bool getReferencedPatientSetupNumber(DCMTree::TreePtr item, std::string &parameter) const
DcmDRTBeamSequenceInterface(DCMTree::TreePtrVector treePtrSeq)
bool getRadiationType(DCMTree::TreePtr item, std::string &parameter) const
DcmDRTBeamSequenceInterface::Item getItem(const size_t idx) const
Gets the item at the indicated position.
bool getBeamType(DCMTree::TreePtr item, std::string &parameter) const
std::vector< DcmDRTBeamSequenceInterface::Item > getSequence() const
Return the DRTBeamSequence this interface class provides access to.
DcmDRTWedgeSequenceInterface getWedgeSequence(unsigned long idx) const
bool getDeviceSerialNumber(DCMTree::TreePtr item, std::string &parameter) const
bool setManufacturerModelName(unsigned long idx, std::string parameter)
bool setInstitutionAddress(unsigned long idx, std::string parameter)
void setSequence(std::vector< DcmDRTBeamSequenceInterface::Item > dcmSequence)
Set the DRTBeamSequence this interface class provides access to.
bool setSourceAxisDistance(unsigned long idx, std::string parameter)
bool setNumberOfBlocks(unsigned long idx, std::string parameter)
bool getBeamName(unsigned long idx, std::string &parameter) const
void setControlPointSequence(DcmDRTControlPointSequenceInterface seq, unsigned long idx)
bool getPrimaryDosimeterUnit(unsigned long idx, std::string &parameter) const
void setPlannedVerificationImageSequence(DcmDRTPlannedVerificationImageSequenceInterface seq, unsigned long idx)
bool getTreatmentMachineName(DCMTree::TreePtr item, std::string &parameter) const
bool getNumberOfWedges(unsigned long idx, std::string &parameter) const
bool setTreatmentMachineName(unsigned long idx, std::string parameter)
bool setTotalCompensatorTrayFactor(unsigned long idx, std::string parameter)
bool setBeamNumber(unsigned long idx, std::string parameter)
bool setFinalCumulativeMetersetWeight(unsigned long idx, std::string parameter)
bool setBeamDescription(unsigned long idx, std::string parameter)
DcmDRTBeamSequenceInterface::Item & addItem()
Adds a new item to the sequence.
bool getInstitutionAddress(DCMTree::TreePtr item, std::string &parameter) const
bool getTotalBlockTrayFactor(unsigned long idx, std::string &parameter) const
bool getNumberOfBlocks(unsigned long idx, std::string &parameter) const
bool getHighDoseTechniqueType(unsigned long idx, std::string &parameter) const
bool getPrimaryDosimeterUnit(DCMTree::TreePtr item, std::string &parameter) const
bool getTreatmentDeliveryType(unsigned long idx, std::string &parameter) const
bool getSourceAxisDistance(DCMTree::TreePtr item, std::string &parameter) const
DcmDRTReferencedDoseSequenceInterface getReferencedDoseSequence(unsigned long idx) const
bool setReferencedPatientSetupNumber(unsigned long idx, std::string parameter)
bool setTreatmentDeliveryType(unsigned long idx, std::string parameter)
bool getInstitutionalDepartmentName(unsigned long idx, std::string &parameter) const
std::vector< DcmDRTBeamSequenceInterface::Item > _itemVec
Reference to the wrapped DICOM tree pointer vector.
void setReferencedReferenceImageSequence(DcmDRTReferencedReferenceImageSequenceInRTBeamsModuleInterface seq, unsigned long idx)
bool setBeamType(unsigned long idx, std::string parameter)
bool getInstitutionAddress(unsigned long idx, std::string &parameter) const
bool insertItem(const size_t idx)
Insert an item at the indicated position.
Class to provide access to DRTBlockSequenceInRTBeamsModule.
Class to provide access to DRTCompensatorSequence.
Class to provide access to DRTControlPointSequence.
Class to provide access to DRTPlannedVerificationImageSequence.
Class to provide access to DRTReferencedBolusSequenceInRTBeamsModule.
Class to provide access to DRTReferencedDoseSequence.
Class to provide access to DRTWedgeSequence.
Class to provide access to DRTApplicatorSequenceInRTBeamsModule.
Class to provide access to DRTBeamLimitingDeviceSequenceInRTBeamsModule.
Class to provide access to DRTBlockSequenceInRTBeamsModule.
Class to provide access to DRTCompensatorSequence.
Class to provide access to DRTControlPointSequence.
Class to provide access to DRTPlannedVerificationImageSequence.
Class to provide access to DRTReferencedBolusSequenceInRTBeamsModule.
Class to provide access to DRTReferencedDoseSequence.
Class to provide access to DRTReferencedReferenceImageSequenceInRTBeamsModule.
Class to provide access to DRTWedgeSequence.
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