Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DicomBeamDevice Class Reference

#include <DicomBeamDevice.hh>

Public Member Functions

 DicomBeamDevice (DRTBeamLimitingDeviceSequenceInRTBeamsModule::Item bldsItem)
 
 DicomBeamDevice (DRTBeamLimitingDevicePositionSequence::Item bldpsItem)
 
 ~DicomBeamDevice ()
 
void SetSourceToBeamLimitingDeviceDistance (Float64 dat)
 
Float64 GetSourceToBeamLimitingDeviceDistance () const
 
void SetNumberOfLeafJawPairs (Sint32 dat)
 
Sint32 GetNumberOfLeafJawPairs () const
 
void SetType (OFString dat)
 
OFString GetType () const
 
void AddPositionBoundary (Float64 dat)
 
Float64 GetPositionBoundary (size_t ii)
 
void Print (std::ostream &out)
 

Detailed Description

Definition at line 39 of file DicomBeamDevice.hh.

Constructor & Destructor Documentation

DicomBeamDevice::DicomBeamDevice ( DRTBeamLimitingDeviceSequenceInRTBeamsModule::Item  bldsItem)

Definition at line 31 of file DicomBeamDevice.cc.

32 {
33  OFString fstr;
34  Sint32 fint;
35  Float64 ffloat;
36  OFVector<Float64> fvfloat;
37 
38  bldsItem.getRTBeamLimitingDeviceType(fstr);
39  G4cout << " " << " RTBeamLimitingDeviceType " << fstr << G4endl;
40  SetType(fstr);
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;
51  AddPositionBoundary(fvfloat[ii]);
52  }
53 }
void SetType(OFString dat)
void SetSourceToBeamLimitingDeviceDistance(Float64 dat)
void SetNumberOfLeafJawPairs(Sint32 dat)
G4GLOB_DLL std::ostream G4cout
void AddPositionBoundary(Float64 dat)
#define G4endl
Definition: G4ios.hh:61

Here is the call graph for this function:

DicomBeamDevice::DicomBeamDevice ( DRTBeamLimitingDevicePositionSequence::Item  bldpsItem)

Definition at line 56 of file DicomBeamDevice.cc.

57 {
58  OFString fstr;
59  Float64 ffloat;
60 
61  bldpsItem.getRTBeamLimitingDeviceType(fstr);
62  G4cout << " " << " BeamLimitingDeviceType " << fstr << G4endl;
63  SetType(fstr);
64  for(size_t ii = 0;; ii++ ){
65  if( bldpsItem.getLeafJawPositions(ffloat,ii) == EC_Normal ){
66  G4cout << " " << ii << " LeafPositionBoundaries " << ffloat << G4endl;
67  AddPositionBoundary(ffloat);
68  } else {
69  break;
70  }
71  }
72 }
void SetType(OFString dat)
G4GLOB_DLL std::ostream G4cout
void AddPositionBoundary(Float64 dat)
#define G4endl
Definition: G4ios.hh:61

Here is the call graph for this function:

DicomBeamDevice::~DicomBeamDevice ( )
inline

Definition at line 44 of file DicomBeamDevice.hh.

44 {};

Member Function Documentation

void DicomBeamDevice::AddPositionBoundary ( Float64  dat)
inline

Definition at line 65 of file DicomBeamDevice.hh.

65  {
66  thePositionBoundaries.push_back(dat);
67  }

Here is the caller graph for this function:

Sint32 DicomBeamDevice::GetNumberOfLeafJawPairs ( ) const
inline

Definition at line 56 of file DicomBeamDevice.hh.

56  {
57  return theNumberOfLeafJawPairs;
58  }
Float64 DicomBeamDevice::GetPositionBoundary ( size_t  ii)
inline

Definition at line 68 of file DicomBeamDevice.hh.

68  {
69  return thePositionBoundaries[ii];
70  }
Float64 DicomBeamDevice::GetSourceToBeamLimitingDeviceDistance ( ) const
inline

Definition at line 50 of file DicomBeamDevice.hh.

50  {
51  return theSourceToBeamLimitingDeviceDistance;
52  }
OFString DicomBeamDevice::GetType ( ) const
inline

Definition at line 62 of file DicomBeamDevice.hh.

62  {
63  return theType;
64  }
void DicomBeamDevice::Print ( std::ostream &  out)

Definition at line 75 of file DicomBeamDevice.cc.

76 {
77 
78 }
void DicomBeamDevice::SetNumberOfLeafJawPairs ( Sint32  dat)
inline

Definition at line 53 of file DicomBeamDevice.hh.

53  {
54  theNumberOfLeafJawPairs= dat;
55  }

Here is the caller graph for this function:

void DicomBeamDevice::SetSourceToBeamLimitingDeviceDistance ( Float64  dat)
inline

Definition at line 47 of file DicomBeamDevice.hh.

47  {
48  theSourceToBeamLimitingDeviceDistance= dat;
49  }

Here is the caller graph for this function:

void DicomBeamDevice::SetType ( OFString  dat)
inline

Definition at line 59 of file DicomBeamDevice.hh.

59  {
60  theType = dat;
61  }

Here is the caller graph for this function:


The documentation for this class was generated from the following files: