#include <DicomBeam.hh>
Definition at line 40 of file DicomBeam.hh.
DicomBeam::~DicomBeam |
( |
| ) |
|
|
inline |
Definition at line 71 of file DicomBeam.hh.
72 theBlocks.push_back(db);
Definition at line 68 of file DicomBeam.hh.
69 theCompensators.push_back(db);
Definition at line 65 of file DicomBeam.hh.
66 theControlPoints.push_back(db);
Definition at line 62 of file DicomBeam.hh.
63 theDevices.push_back(db);
Definition at line 74 of file DicomBeam.hh.
75 theWedges.push_back(db);
void DicomBeam::DumpToFile |
( |
| ) |
|
Definition at line 55 of file DicomBeam.cc.
57 std::ofstream fout(
"RTPlan_"+std::to_string(theNumber));
58 fout <<
":P BeamMeterset " << theMeterset <<
G4endl;
60 for(
size_t ii = 0; ii < theDevices.size(); ii++) {
61 theDevices[ii]->DumpToFile( fout );
64 for(
size_t ii = 0; ii < theCompensators.size(); ii++) {
65 theCompensators[ii]->DumpToFile( fout );
68 for(
size_t kk = 0; kk < theControlPoints.size(); kk++ ){
69 std::string kkstr = std::to_string(theControlPoints[kk]->GetIndex());
70 std::ofstream fout2(
"RTPlanControlPoint_"+std::to_string(theNumber)+
"_"+kkstr);
71 theControlPoints[kk]->DumpToFile( fout2 );
Definition at line 80 of file DicomBeam.hh.
81 return theControlPoints[ii];
size_t DicomBeam::GetNControlPoints |
( |
| ) |
const |
|
inline |
Definition at line 77 of file DicomBeam.hh.
78 return theControlPoints.size();
void DicomBeam::Print |
( |
std::ostream & |
out | ) |
|
void DicomBeam::SetControlPointMetersets |
( |
| ) |
|
Definition at line 44 of file DicomBeam.cc.
47 for(
size_t ii = 0; ii < theControlPoints.size(); ii++ ){
48 G4double cumulativeMS = theControlPoints[ii]->GetCumulativeMetersetWeight();
49 theControlPoints[ii]->SetMetersetWeight( (cumulativeMS - prevCumulativeMS )*theMeterset);
50 prevCumulativeMS = cumulativeMS;
Definition at line 47 of file DicomBeam.hh.
48 theDoseSpecificationPoint = point;
void DicomBeam::SetMeterset |
( |
Float64 |
dat | ) |
|
|
inline |
void DicomBeam::SetNumber |
( |
Sint32 |
dat | ) |
|
|
inline |
void DicomBeam::SetRadiationType |
( |
OFString |
dat | ) |
|
|
inline |
Definition at line 59 of file DicomBeam.hh.
60 theRadiationType = dat;
void DicomBeam::SetSourceAxisDistance |
( |
Float64 |
dat | ) |
|
|
inline |
Definition at line 53 of file DicomBeam.hh.
54 theSourceAxisDistance = dat;
The documentation for this class was generated from the following files:
- source/geant4.10.03.p03/examples/extended/medical/DICOM/dicomReader/include/DicomBeam.hh
- source/geant4.10.03.p03/examples/extended/medical/DICOM/dicomReader/src/DicomBeam.cc