27 #include "dcmtk/dcmrt/seq/drtrbs8.h"
36 OFVector<Float64> fvfloat;
38 bldsItem.getRTBeamLimitingDeviceType(fstr);
39 G4cout <<
" " <<
" RTBeamLimitingDeviceType " << fstr <<
G4endl;
41 bldsItem.getSourceToBeamLimitingDeviceDistance(ffloat);
42 G4cout <<
" " <<
" SourceToBeamLimitingDeviceDistance " << ffloat <<
G4endl;
44 bldsItem.getNumberOfLeafJawPairs(fint);
46 G4cout <<
" " <<
" NumberOfLeafJawPairs " << fint <<
G4endl;
47 bldsItem.getLeafPositionBoundaries(fvfloat);
48 if( fint != 1 ) fint++;
49 for(
int ii = 0; ii < fint; ii++ ) {
50 G4cout <<
" " << ii <<
" LeafPositionBoundaries " << fvfloat[ii] <<
G4endl;
61 bldpsItem.getRTBeamLimitingDeviceType(fstr);
62 G4cout <<
" " <<
" BeamLimitingDeviceType " << fstr <<
G4endl;
64 for(
size_t ii = 0;; ii++ ){
65 if( bldpsItem.getLeafJawPositions(ffloat,ii) == EC_Normal ){
66 G4cout <<
" " << ii <<
" LeafPositionBoundaries " << ffloat <<
G4endl;
void SetType(OFString dat)
DicomBeamDevice(DRTBeamLimitingDeviceSequenceInRTBeamsModule::Item bldsItem)
void SetSourceToBeamLimitingDeviceDistance(Float64 dat)
void SetNumberOfLeafJawPairs(Sint32 dat)
G4GLOB_DLL std::ostream G4cout
void AddPositionBoundary(Float64 dat)
void Print(std::ostream &out)