MeVisLab Toolbox Reference
mlDcmDRTChannelSequenceInterface.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 __mlDcmDRTChannelSequenceInterface_H
24#define __mlDcmDRTChannelSequenceInterface_H
25
26// Local includes
27#include "mlDcmtkAccessories.h"
28
29// Dcmtk includes
30//#include "mlDcmDRTChannelSequenceInterface.h" //DRTChannelSequence
31#include "mlDcmDRTBrachyControlPointSequenceInterface.h" //DRTBrachyControlPointSequence
32#include "mlDcmDRTChannelShieldSequenceInterface.h" //DRTChannelShieldSequence
33
34
35// ML includes
36#ifndef __mlModuleIncludes_H
37#include "mlModuleIncludes.h"
38#endif
39
41
42// ------------------------------------------------------------------
44// ------------------------------------------------------------------
46{
47 public:
48
50 {
51 public:
52
53 Item() { _dcmItem = DcmtkAccessories::createNewDicomTree(); }
54
56
57 Item(const Item &copyDcmItem) : _dcmItem(copyDcmItem.getTreePtr()) {}
58
59 Item &operator=(const Item &copyDcmItem){ _dcmItem = copyDcmItem.getTreePtr(); return *this; }
60
61 virtual ~Item() {}
62
63 DCMTree::TreePtr getTreePtr() const { return _dcmItem; }
64
65 bool isValid() const { return _dcmItem.get() != nullptr; }
66
67
68 // ChannelLength (300a,0284) vr=DS, vm=1, type=2
69 bool getChannelLength(std::string& parameter) const;
70 std::string getChannelLengthTag() const { return "(300a,0284)"; }
71 bool setChannelLength(std::string parameter);
72
73 // ChannelNumber (300a,0282) vr=IS, vm=1, type=1
74 bool getChannelNumber(std::string& parameter) const;
75 std::string getChannelNumberTag() const { return "(300a,0282)"; }
76 bool setChannelNumber(std::string parameter);
77
78 // ChannelTotalTime (300a,0286) vr=DS, vm=1, type=1
79 bool getChannelTotalTime(std::string& parameter) const;
80 std::string getChannelTotalTimeTag() const { return "(300a,0286)"; }
81 bool setChannelTotalTime(std::string parameter);
82
83 // FinalCumulativeTimeWeight (300a,02c8) vr=DS, vm=1, type=1C
84 bool getFinalCumulativeTimeWeight(std::string& parameter) const;
85 std::string getFinalCumulativeTimeWeightTag() const { return "(300a,02c8)"; }
86 bool setFinalCumulativeTimeWeight(std::string parameter);
87
88 // MaterialID (300a,00e1) vr=SH, vm=1, type=3
89 bool getMaterialID(std::string& parameter) const;
90 std::string getMaterialIDTag() const { return "(300a,00e1)"; }
91 bool setMaterialID(std::string parameter);
92
93 // NumberOfControlPoints (300a,0110) vr=IS, vm=1, type=1
94 bool getNumberOfControlPoints(std::string& parameter) const;
95 std::string getNumberOfControlPointsTag() const { return "(300a,0110)"; }
96 bool setNumberOfControlPoints(std::string parameter);
97
98 // NumberOfPulses (300a,028a) vr=IS, vm=1, type=1C
99 bool getNumberOfPulses(std::string& parameter) const;
100 std::string getNumberOfPulsesTag() const { return "(300a,028a)"; }
101 bool setNumberOfPulses(std::string parameter);
102
103 // PulseRepetitionInterval (300a,028c) vr=DS, vm=1, type=1C
104 bool getPulseRepetitionInterval(std::string& parameter) const;
105 std::string getPulseRepetitionIntervalTag() const { return "(300a,028c)"; }
106 bool setPulseRepetitionInterval(std::string parameter);
107
108 // ReferencedROINumber (3006,0084) vr=IS, vm=1, type=2C
109 bool getReferencedROINumber(std::string& parameter) const;
110 std::string getReferencedROINumberTag() const { return "(3006,0084)"; }
111 bool setReferencedROINumber(std::string parameter);
112
113 // ReferencedSourceNumber (300c,000e) vr=IS, vm=1, type=1
114 bool getReferencedSourceNumber(std::string& parameter) const;
115 std::string getReferencedSourceNumberTag() const { return "(300c,000e)"; }
116 bool setReferencedSourceNumber(std::string parameter);
117
118 // SourceApplicatorID (300a,0291) vr=SH, vm=1, type=2C
119 bool getSourceApplicatorID(std::string& parameter) const;
120 std::string getSourceApplicatorIDTag() const { return "(300a,0291)"; }
121 bool setSourceApplicatorID(std::string parameter);
122
123 // SourceApplicatorLength (300a,0296) vr=DS, vm=1, type=1C
124 bool getSourceApplicatorLength(std::string& parameter) const;
125 std::string getSourceApplicatorLengthTag() const { return "(300a,0296)"; }
126 bool setSourceApplicatorLength(std::string parameter);
127
128 // SourceApplicatorManufacturer (300a,0298) vr=LO, vm=1, type=3
129 bool getSourceApplicatorManufacturer(std::string& parameter) const;
130 std::string getSourceApplicatorManufacturerTag() const { return "(300a,0298)"; }
131 bool setSourceApplicatorManufacturer(std::string parameter);
132
133 // SourceApplicatorName (300a,0294) vr=LO, vm=1, type=3
134 bool getSourceApplicatorName(std::string& parameter) const;
135 std::string getSourceApplicatorNameTag() const { return "(300a,0294)"; }
136 bool setSourceApplicatorName(std::string parameter);
137
138 // SourceApplicatorNumber (300a,0290) vr=IS, vm=1, type=3
139 bool getSourceApplicatorNumber(std::string& parameter) const;
140 std::string getSourceApplicatorNumberTag() const { return "(300a,0290)"; }
141 bool setSourceApplicatorNumber(std::string parameter);
142
143 // SourceApplicatorStepSize (300a,02a0) vr=DS, vm=1, type=1C
144 bool getSourceApplicatorStepSize(std::string& parameter) const;
145 std::string getSourceApplicatorStepSizeTag() const { return "(300a,02a0)"; }
146 bool setSourceApplicatorStepSize(std::string parameter);
147
148 // SourceApplicatorType (300a,0292) vr=CS, vm=1, type=1C
149 bool getSourceApplicatorType(std::string& parameter) const;
150 std::string getSourceApplicatorTypeTag() const { return "(300a,0292)"; }
151 bool setSourceApplicatorType(std::string parameter);
152
153 // SourceApplicatorWallNominalThickness (300a,029c) vr=DS, vm=1, type=3
154 bool getSourceApplicatorWallNominalThickness(std::string& parameter) const;
155 std::string getSourceApplicatorWallNominalThicknessTag() const { return "(300a,029c)"; }
156 bool setSourceApplicatorWallNominalThickness(std::string parameter);
157
158 // SourceApplicatorWallNominalTransmission (300a,029e) vr=DS, vm=1, type=3
159 bool getSourceApplicatorWallNominalTransmission(std::string& parameter) const;
160 std::string getSourceApplicatorWallNominalTransmissionTag() const { return "(300a,029e)"; }
162
163 // SourceMovementType (300a,0288) vr=CS, vm=1, type=1
164 bool getSourceMovementType(std::string& parameter) const;
165 std::string getSourceMovementTypeTag() const { return "(300a,0288)"; }
166 bool setSourceMovementType(std::string parameter);
167
168 // TransferTubeLength (300a,02a4) vr=DS, vm=1, type=2C
169 bool getTransferTubeLength(std::string& parameter) const;
170 std::string getTransferTubeLengthTag() const { return "(300a,02a4)"; }
171 bool setTransferTubeLength(std::string parameter);
172
173 // TransferTubeNumber (300a,02a2) vr=IS, vm=1, type=2
174 bool getTransferTubeNumber(std::string& parameter) const;
175 std::string getTransferTubeNumberTag() const { return "(300a,02a2)"; }
176 bool setTransferTubeNumber(std::string parameter);
177
178 // BrachyControlPointSequence (300a,02d0) vr=SQ, vm=1, type=1
180 std::string getBrachyControlPointSequenceTag() const { return std::string("(300a,02d0)"); }
182
183 // ChannelShieldSequence (300a,02b0) vr=SQ, vm=1, type=3
185 std::string getChannelShieldSequenceTag() const { return std::string("(300a,02b0)"); }
187
188
189 private:
190
191 DCMTree::TreePtr _dcmItem;
192
193 };
194
196
198 DcmDRTChannelSequenceInterface(std::vector<DcmDRTChannelSequenceInterface::Item> dcmSequence) : _itemVec(dcmSequence) {}
199
201 for(size_t i=0; i < treePtrSeq.size(); i++)
202 {
204 }
205 }
206
209 // ChannelLength (300a,0284) vr=DS, vm=1, type=2
210 bool getChannelLength(unsigned long idx, std::string& parameter) const;
211 bool getChannelLength(DCMTree::TreePtr item, std::string& parameter) const;
212 std::string getChannelLengthTag() const { return "(300a,0284)"; }
213 bool setChannelLength(unsigned long idx, std::string parameter);
214
215 // ChannelNumber (300a,0282) vr=IS, vm=1, type=1
216 bool getChannelNumber(unsigned long idx, std::string& parameter) const;
217 bool getChannelNumber(DCMTree::TreePtr item, std::string& parameter) const;
218 std::string getChannelNumberTag() const { return "(300a,0282)"; }
219 bool setChannelNumber(unsigned long idx, std::string parameter);
220
221 // ChannelTotalTime (300a,0286) vr=DS, vm=1, type=1
222 bool getChannelTotalTime(unsigned long idx, std::string& parameter) const;
223 bool getChannelTotalTime(DCMTree::TreePtr item, std::string& parameter) const;
224 std::string getChannelTotalTimeTag() const { return "(300a,0286)"; }
225 bool setChannelTotalTime(unsigned long idx, std::string parameter);
226
227 // FinalCumulativeTimeWeight (300a,02c8) vr=DS, vm=1, type=1C
228 bool getFinalCumulativeTimeWeight(unsigned long idx, std::string& parameter) const;
229 bool getFinalCumulativeTimeWeight(DCMTree::TreePtr item, std::string& parameter) const;
230 std::string getFinalCumulativeTimeWeightTag() const { return "(300a,02c8)"; }
231 bool setFinalCumulativeTimeWeight(unsigned long idx, std::string parameter);
232
233 // MaterialID (300a,00e1) vr=SH, vm=1, type=3
234 bool getMaterialID(unsigned long idx, std::string& parameter) const;
235 bool getMaterialID(DCMTree::TreePtr item, std::string& parameter) const;
236 std::string getMaterialIDTag() const { return "(300a,00e1)"; }
237 bool setMaterialID(unsigned long idx, std::string parameter);
238
239 // NumberOfControlPoints (300a,0110) vr=IS, vm=1, type=1
240 bool getNumberOfControlPoints(unsigned long idx, std::string& parameter) const;
241 bool getNumberOfControlPoints(DCMTree::TreePtr item, std::string& parameter) const;
242 std::string getNumberOfControlPointsTag() const { return "(300a,0110)"; }
243 bool setNumberOfControlPoints(unsigned long idx, std::string parameter);
244
245 // NumberOfPulses (300a,028a) vr=IS, vm=1, type=1C
246 bool getNumberOfPulses(unsigned long idx, std::string& parameter) const;
247 bool getNumberOfPulses(DCMTree::TreePtr item, std::string& parameter) const;
248 std::string getNumberOfPulsesTag() const { return "(300a,028a)"; }
249 bool setNumberOfPulses(unsigned long idx, std::string parameter);
250
251 // PulseRepetitionInterval (300a,028c) vr=DS, vm=1, type=1C
252 bool getPulseRepetitionInterval(unsigned long idx, std::string& parameter) const;
253 bool getPulseRepetitionInterval(DCMTree::TreePtr item, std::string& parameter) const;
254 std::string getPulseRepetitionIntervalTag() const { return "(300a,028c)"; }
255 bool setPulseRepetitionInterval(unsigned long idx, std::string parameter);
256
257 // ReferencedROINumber (3006,0084) vr=IS, vm=1, type=2C
258 bool getReferencedROINumber(unsigned long idx, std::string& parameter) const;
259 bool getReferencedROINumber(DCMTree::TreePtr item, std::string& parameter) const;
260 std::string getReferencedROINumberTag() const { return "(3006,0084)"; }
261 bool setReferencedROINumber(unsigned long idx, std::string parameter);
262
263 // ReferencedSourceNumber (300c,000e) vr=IS, vm=1, type=1
264 bool getReferencedSourceNumber(unsigned long idx, std::string& parameter) const;
265 bool getReferencedSourceNumber(DCMTree::TreePtr item, std::string& parameter) const;
266 std::string getReferencedSourceNumberTag() const { return "(300c,000e)"; }
267 bool setReferencedSourceNumber(unsigned long idx, std::string parameter);
268
269 // SourceApplicatorID (300a,0291) vr=SH, vm=1, type=2C
270 bool getSourceApplicatorID(unsigned long idx, std::string& parameter) const;
271 bool getSourceApplicatorID(DCMTree::TreePtr item, std::string& parameter) const;
272 std::string getSourceApplicatorIDTag() const { return "(300a,0291)"; }
273 bool setSourceApplicatorID(unsigned long idx, std::string parameter);
274
275 // SourceApplicatorLength (300a,0296) vr=DS, vm=1, type=1C
276 bool getSourceApplicatorLength(unsigned long idx, std::string& parameter) const;
277 bool getSourceApplicatorLength(DCMTree::TreePtr item, std::string& parameter) const;
278 std::string getSourceApplicatorLengthTag() const { return "(300a,0296)"; }
279 bool setSourceApplicatorLength(unsigned long idx, std::string parameter);
280
281 // SourceApplicatorManufacturer (300a,0298) vr=LO, vm=1, type=3
282 bool getSourceApplicatorManufacturer(unsigned long idx, std::string& parameter) const;
283 bool getSourceApplicatorManufacturer(DCMTree::TreePtr item, std::string& parameter) const;
284 std::string getSourceApplicatorManufacturerTag() const { return "(300a,0298)"; }
285 bool setSourceApplicatorManufacturer(unsigned long idx, std::string parameter);
286
287 // SourceApplicatorName (300a,0294) vr=LO, vm=1, type=3
288 bool getSourceApplicatorName(unsigned long idx, std::string& parameter) const;
289 bool getSourceApplicatorName(DCMTree::TreePtr item, std::string& parameter) const;
290 std::string getSourceApplicatorNameTag() const { return "(300a,0294)"; }
291 bool setSourceApplicatorName(unsigned long idx, std::string parameter);
292
293 // SourceApplicatorNumber (300a,0290) vr=IS, vm=1, type=3
294 bool getSourceApplicatorNumber(unsigned long idx, std::string& parameter) const;
295 bool getSourceApplicatorNumber(DCMTree::TreePtr item, std::string& parameter) const;
296 std::string getSourceApplicatorNumberTag() const { return "(300a,0290)"; }
297 bool setSourceApplicatorNumber(unsigned long idx, std::string parameter);
298
299 // SourceApplicatorStepSize (300a,02a0) vr=DS, vm=1, type=1C
300 bool getSourceApplicatorStepSize(unsigned long idx, std::string& parameter) const;
301 bool getSourceApplicatorStepSize(DCMTree::TreePtr item, std::string& parameter) const;
302 std::string getSourceApplicatorStepSizeTag() const { return "(300a,02a0)"; }
303 bool setSourceApplicatorStepSize(unsigned long idx, std::string parameter);
304
305 // SourceApplicatorType (300a,0292) vr=CS, vm=1, type=1C
306 bool getSourceApplicatorType(unsigned long idx, std::string& parameter) const;
307 bool getSourceApplicatorType(DCMTree::TreePtr item, std::string& parameter) const;
308 std::string getSourceApplicatorTypeTag() const { return "(300a,0292)"; }
309 bool setSourceApplicatorType(unsigned long idx, std::string parameter);
310
311 // SourceApplicatorWallNominalThickness (300a,029c) vr=DS, vm=1, type=3
312 bool getSourceApplicatorWallNominalThickness(unsigned long idx, std::string& parameter) const;
314 std::string getSourceApplicatorWallNominalThicknessTag() const { return "(300a,029c)"; }
315 bool setSourceApplicatorWallNominalThickness(unsigned long idx, std::string parameter);
316
317 // SourceApplicatorWallNominalTransmission (300a,029e) vr=DS, vm=1, type=3
318 bool getSourceApplicatorWallNominalTransmission(unsigned long idx, std::string& parameter) const;
320 std::string getSourceApplicatorWallNominalTransmissionTag() const { return "(300a,029e)"; }
321 bool setSourceApplicatorWallNominalTransmission(unsigned long idx, std::string parameter);
322
323 // SourceMovementType (300a,0288) vr=CS, vm=1, type=1
324 bool getSourceMovementType(unsigned long idx, std::string& parameter) const;
325 bool getSourceMovementType(DCMTree::TreePtr item, std::string& parameter) const;
326 std::string getSourceMovementTypeTag() const { return "(300a,0288)"; }
327 bool setSourceMovementType(unsigned long idx, std::string parameter);
328
329 // TransferTubeLength (300a,02a4) vr=DS, vm=1, type=2C
330 bool getTransferTubeLength(unsigned long idx, std::string& parameter) const;
331 bool getTransferTubeLength(DCMTree::TreePtr item, std::string& parameter) const;
332 std::string getTransferTubeLengthTag() const { return "(300a,02a4)"; }
333 bool setTransferTubeLength(unsigned long idx, std::string parameter);
334
335 // TransferTubeNumber (300a,02a2) vr=IS, vm=1, type=2
336 bool getTransferTubeNumber(unsigned long idx, std::string& parameter) const;
337 bool getTransferTubeNumber(DCMTree::TreePtr item, std::string& parameter) const;
338 std::string getTransferTubeNumberTag() const { return "(300a,02a2)"; }
339 bool setTransferTubeNumber(unsigned long idx, std::string parameter);
340
341 // BrachyControlPointSequence (300a,02d0) vr=SQ, vm=1, type=1
343 std::string getBrachyControlPointSequenceTag() const { return std::string("(300a,02d0)"); }
345
346 // ChannelShieldSequence (300a,02b0) vr=SQ, vm=1, type=3
348 std::string getChannelShieldSequenceTag() const { return std::string("(300a,02b0)"); }
350
351
354 void setSequence(std::vector<DcmDRTChannelSequenceInterface::Item> dcmSequence) {
355 _itemVec = dcmSequence;
356 }
357
360 std::vector<DcmDRTChannelSequenceInterface::Item> getSequence() const {
361 return _itemVec;
362 }
363
366 bool hasSequence() const {
367 return (_itemVec.size() != 0);
368 }
369
373 return static_cast<MLint>(_itemVec.size());
374 }
375
379 if (_itemVec.size() > idx) {
380 return _itemVec[idx];
381 }
383 }
384
388 _itemVec.push_back(DcmDRTChannelSequenceInterface::Item());
389 return _itemVec[_itemVec.size()-1];
390 }
391
393 _itemVec.push_back(newItem);
394 }
395
398 bool insertItem(const size_t idx) {
399 if (_itemVec.size() > idx) {
400 std::vector<DcmDRTChannelSequenceInterface::Item>::iterator it = _itemVec.begin();
401 std::advance(it, idx);
402 _itemVec.insert(it, DcmDRTChannelSequenceInterface::Item());
403 return true;
404 }
405 return false;
406 }
407
410 bool removeItem(const size_t idx) {
411 if ( _itemVec.size() > idx ) {
412 std::vector<DcmDRTChannelSequenceInterface::Item>::iterator it = _itemVec.begin();
413 std::advance(it, idx);
414 _itemVec.erase(it);
415 return true;
416 }
417 return false;
418 }
419
420 protected:
422 std::vector<DcmDRTChannelSequenceInterface::Item> _itemVec;
423};
424
426
427#endif // __mlDcmDRTChannelSequenceInterface_H
428
429/* MeVis-Hidden-Components-Start */
430/* MeVis-Hidden-Components-End */
#define MLDCMTKACCESSORIES_EXPORT
Class to provide access to DRTBrachyControlPointSequence.
bool setSourceApplicatorNumber(std::string parameter)
bool setSourceApplicatorType(std::string parameter)
bool setSourceApplicatorWallNominalTransmission(std::string parameter)
void setBrachyControlPointSequence(DcmDRTBrachyControlPointSequenceInterface seq)
bool getSourceApplicatorWallNominalThickness(std::string &parameter) const
bool setNumberOfControlPoints(std::string parameter)
bool getTransferTubeLength(std::string &parameter) const
bool getSourceApplicatorWallNominalTransmission(std::string &parameter) const
bool getSourceApplicatorManufacturer(std::string &parameter) const
bool setSourceApplicatorLength(std::string parameter)
bool setTransferTubeNumber(std::string parameter)
bool getSourceMovementType(std::string &parameter) const
bool getReferencedROINumber(std::string &parameter) const
bool setSourceApplicatorID(std::string parameter)
void setChannelShieldSequence(DcmDRTChannelShieldSequenceInterface seq)
bool getChannelTotalTime(std::string &parameter) const
bool setNumberOfPulses(std::string parameter)
bool getSourceApplicatorLength(std::string &parameter) const
DcmDRTBrachyControlPointSequenceInterface getBrachyControlPointSequence() const
bool getPulseRepetitionInterval(std::string &parameter) const
bool getChannelLength(std::string &parameter) const
bool setSourceMovementType(std::string parameter)
bool setPulseRepetitionInterval(std::string parameter)
bool getTransferTubeNumber(std::string &parameter) const
bool getSourceApplicatorStepSize(std::string &parameter) const
bool getSourceApplicatorType(std::string &parameter) const
bool getMaterialID(std::string &parameter) const
bool setChannelNumber(std::string parameter)
bool getSourceApplicatorNumber(std::string &parameter) const
bool getSourceApplicatorID(std::string &parameter) const
bool setTransferTubeLength(std::string parameter)
bool setSourceApplicatorManufacturer(std::string parameter)
bool setReferencedSourceNumber(std::string parameter)
bool getSourceApplicatorName(std::string &parameter) const
bool getNumberOfPulses(std::string &parameter) const
bool setMaterialID(std::string parameter)
bool setChannelTotalTime(std::string parameter)
bool setFinalCumulativeTimeWeight(std::string parameter)
bool setSourceApplicatorName(std::string parameter)
bool getChannelNumber(std::string &parameter) const
bool setChannelLength(std::string parameter)
bool setSourceApplicatorStepSize(std::string parameter)
bool setSourceApplicatorWallNominalThickness(std::string parameter)
bool getNumberOfControlPoints(std::string &parameter) const
bool getReferencedSourceNumber(std::string &parameter) const
DcmDRTChannelShieldSequenceInterface getChannelShieldSequence() const
bool getFinalCumulativeTimeWeight(std::string &parameter) const
bool setReferencedROINumber(std::string parameter)
Class to provide access to DRTChannelSequence.
std::vector< DcmDRTChannelSequenceInterface::Item > getSequence() const
Return the DRTChannelSequence this interface class provides access to.
bool getChannelLength(unsigned long idx, std::string &parameter) const
bool setChannelLength(unsigned long idx, std::string parameter)
bool setSourceApplicatorWallNominalTransmission(unsigned long idx, std::string parameter)
bool getMaterialID(DCMTree::TreePtr item, std::string &parameter) const
bool getSourceApplicatorWallNominalTransmission(unsigned long idx, std::string &parameter) const
bool setSourceApplicatorManufacturer(unsigned long idx, std::string parameter)
bool getTransferTubeLength(unsigned long idx, std::string &parameter) const
MLint getNumberOfItems() const
Return number of items the internal sequence consists of.
bool setNumberOfPulses(unsigned long idx, std::string parameter)
bool getSourceApplicatorType(unsigned long idx, std::string &parameter) const
bool getChannelNumber(DCMTree::TreePtr item, std::string &parameter) const
bool getSourceMovementType(DCMTree::TreePtr item, std::string &parameter) const
bool setSourceMovementType(unsigned long idx, std::string parameter)
bool getSourceApplicatorWallNominalTransmission(DCMTree::TreePtr item, std::string &parameter) const
bool setSourceApplicatorLength(unsigned long idx, std::string parameter)
bool getNumberOfPulses(unsigned long idx, std::string &parameter) const
DcmDRTBrachyControlPointSequenceInterface getBrachyControlPointSequence(unsigned long idx) const
bool setSourceApplicatorStepSize(unsigned long idx, std::string parameter)
bool getNumberOfPulses(DCMTree::TreePtr item, std::string &parameter) const
bool getPulseRepetitionInterval(DCMTree::TreePtr item, std::string &parameter) const
bool getSourceApplicatorManufacturer(unsigned long idx, std::string &parameter) const
std::vector< DcmDRTChannelSequenceInterface::Item > _itemVec
Reference to the wrapped DICOM tree pointer vector.
bool setChannelNumber(unsigned long idx, std::string parameter)
DcmDRTChannelSequenceInterface(std::vector< DcmDRTChannelSequenceInterface::Item > dcmSequence)
Default Constructor.
bool setSourceApplicatorType(unsigned long idx, std::string parameter)
bool removeItem(const size_t idx)
Removes the indicated item from the sequence.
bool setReferencedSourceNumber(unsigned long idx, std::string parameter)
bool getFinalCumulativeTimeWeight(DCMTree::TreePtr item, std::string &parameter) const
bool getSourceApplicatorWallNominalThickness(DCMTree::TreePtr item, std::string &parameter) const
DcmDRTChannelSequenceInterface::Item getItem(const size_t idx) const
Gets the item at the indicated position.
bool setSourceApplicatorID(unsigned long idx, std::string parameter)
virtual ~DcmDRTChannelSequenceInterface()
Default virtual Destructor.
bool getReferencedROINumber(unsigned long idx, std::string &parameter) const
DcmDRTChannelSequenceInterface::Item & addItem()
Adds a new item to the sequence.
bool getFinalCumulativeTimeWeight(unsigned long idx, std::string &parameter) const
bool getSourceApplicatorID(DCMTree::TreePtr item, std::string &parameter) const
bool setTransferTubeNumber(unsigned long idx, std::string parameter)
bool getChannelLength(DCMTree::TreePtr item, std::string &parameter) const
bool setFinalCumulativeTimeWeight(unsigned long idx, std::string parameter)
bool getMaterialID(unsigned long idx, std::string &parameter) const
bool setSourceApplicatorName(unsigned long idx, std::string parameter)
bool setChannelTotalTime(unsigned long idx, std::string parameter)
bool getTransferTubeNumber(unsigned long idx, std::string &parameter) const
void setBrachyControlPointSequence(DcmDRTBrachyControlPointSequenceInterface seq, unsigned long idx)
bool setSourceApplicatorNumber(unsigned long idx, std::string parameter)
bool setMaterialID(unsigned long idx, std::string parameter)
DcmDRTChannelShieldSequenceInterface getChannelShieldSequence(unsigned long idx) const
bool getChannelNumber(unsigned long idx, std::string &parameter) const
bool getPulseRepetitionInterval(unsigned long idx, std::string &parameter) const
bool getChannelTotalTime(DCMTree::TreePtr item, std::string &parameter) const
bool getSourceApplicatorStepSize(DCMTree::TreePtr item, std::string &parameter) const
bool getTransferTubeNumber(DCMTree::TreePtr item, std::string &parameter) const
void setChannelShieldSequence(DcmDRTChannelShieldSequenceInterface seq, unsigned long idx)
bool setNumberOfControlPoints(unsigned long idx, std::string parameter)
bool getNumberOfControlPoints(unsigned long idx, std::string &parameter) const
bool setReferencedROINumber(unsigned long idx, std::string parameter)
bool getReferencedSourceNumber(unsigned long idx, std::string &parameter) const
bool getSourceApplicatorType(DCMTree::TreePtr item, std::string &parameter) const
bool getSourceApplicatorName(DCMTree::TreePtr item, std::string &parameter) const
bool insertItem(const size_t idx)
Insert an item at the indicated position.
bool setTransferTubeLength(unsigned long idx, std::string parameter)
bool getSourceApplicatorNumber(DCMTree::TreePtr item, std::string &parameter) const
bool getSourceApplicatorWallNominalThickness(unsigned long idx, std::string &parameter) const
bool getSourceApplicatorNumber(unsigned long idx, std::string &parameter) const
bool getSourceApplicatorLength(unsigned long idx, std::string &parameter) const
bool getSourceApplicatorStepSize(unsigned long idx, std::string &parameter) const
void setSequence(std::vector< DcmDRTChannelSequenceInterface::Item > dcmSequence)
Set the DRTChannelSequence this interface class provides access to.
bool getSourceApplicatorLength(DCMTree::TreePtr item, std::string &parameter) const
void addItem(DcmDRTChannelSequenceInterface::Item newItem)
bool getSourceApplicatorName(unsigned long idx, std::string &parameter) const
bool getReferencedSourceNumber(DCMTree::TreePtr item, std::string &parameter) const
bool getTransferTubeLength(DCMTree::TreePtr item, std::string &parameter) const
bool getChannelTotalTime(unsigned long idx, std::string &parameter) const
bool hasSequence() const
Check if the DRTChannelSequence is set.
bool getNumberOfControlPoints(DCMTree::TreePtr item, std::string &parameter) const
bool getSourceApplicatorManufacturer(DCMTree::TreePtr item, std::string &parameter) const
bool getReferencedROINumber(DCMTree::TreePtr item, std::string &parameter) const
bool getSourceApplicatorID(unsigned long idx, std::string &parameter) const
bool setPulseRepetitionInterval(unsigned long idx, std::string parameter)
bool getSourceMovementType(unsigned long idx, std::string &parameter) const
bool setSourceApplicatorWallNominalThickness(unsigned long idx, std::string parameter)
DcmDRTChannelSequenceInterface(DCMTree::TreePtrVector treePtrSeq)
Class to provide access to DRTChannelShieldSequence.
Class to provide access to DRTBrachyControlPointSequence.
Class to provide access to DRTChannelShieldSequence.
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