Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
DicomBeamControlPoint Class Reference

#include <Doxymodules_medical.h>

Public Member Functions

 DicomBeamControlPoint (DRTControlPointSequence::Item cpItem, DicomBeamControlPoint *point0)
 
 ~DicomBeamControlPoint ()
 
void SetIndex (Sint32 dat)
 
Sint32 GetIndex () const
 
void SetNominalBeamEnergy (Float64 dat)
 
Float64 GetNominalBeamEnergy () const
 
void SetGantryAngle (Float64 dat)
 
void SetGantryRotationDirection (OFString dat)
 
void SetBeamLimitingDeviceAngle (Float64 dat)
 
void SetBeamLimitingDeviceRotationDirection (OFString dat)
 
void SetPatientSupportAngle (Float64 dat)
 
void SetPatientSupportRotationDirection (OFString dat)
 
void SetTableTopEccentricAngle (Float64 dat)
 
void SetTableTopEccentricRotationDirection (OFString dat)
 
void SetIsocenterPosition (G4ThreeVector dat)
 
void SetSourceToSurfaceDistance (Float64 dat)
 
void SetCumulativeMetersetWeight (Float64 dat)
 
void SetMetersetWeight (Float64 dat)
 
void SetGantryPitchAngle (Float32 dat)
 
void SetSurfaceEntryPoint (Float64 dat)
 
void SetTableTopEccentricAxisDistance (Float64 dat)
 
void SetTableTopLateralPosition (Float64 dat)
 
void SetTableTopLongitudinalPosition (Float64 dat)
 
void SetTableTopPitchAngle (Float32 dat)
 
void SetTableTopPitchRotationDirection (OFString dat)
 
void SetTableTopRollAngle (Float32 dat)
 
void SetTableTopRollRotationDirection (OFString dat)
 
void SetTableTopVerticalPosition (Float64 dat)
 
OFString GetGantryRotationDirection () const
 
Float64 GetBeamLimitingDeviceAngle () const
 
OFString GetBeamLimitingDeviceRotationDirection () const
 
Float64 GetPatientSupportAngle () const
 
OFString GetPatientSupportRotationDirection () const
 
Float64 GetTableTopEccentricAngle () const
 
OFString GetTableTopEccentricRotationDirection () const
 
G4ThreeVector GetIsocenterPosition () const
 
Float64 GetSourceToSurfaceDistance () const
 
Float64 GetCumulativeMetersetWeight () const
 
Float64 GetMetersetWeight () const
 
Float32 GetGantryPitchAngle () const
 
Float64 GetSurfaceEntryPoint () const
 
Float64 GetTableTopEccentricAxisDistance () const
 
Float64 GetTableTopLateralPosition () const
 
Float64 GetTableTopLongitudinalPosition () const
 
Float32 GetTableTopPitchAngle () const
 
OFString GetTableTopPitchRotationDirection () const
 
Float32 GetTableTopRollAngle () const
 
OFString GetTableTopRollRotationDirection () const
 
Float64 GetTableTopVerticalPosition () const
 
void AddDevice (DicomBeamDevicePos *dbd)
 
void DumpToFile (std::ofstream &out)
 
void Print (std::ostream &out)
 

Private Attributes

Sint32 theIndex
 
Float64 theNominalBeamEnergy
 
Float64 theGantryAngle
 
OFString theGantryRotationDirection
 
Float64 theBeamLimitingDeviceAngle
 
OFString theBeamLimitingDeviceRotationDirection
 
Float64 thePatientSupportAngle
 
OFString thePatientSupportRotationDirection
 
Float64 theTableTopEccentricAngle
 
OFString theTableTopEccentricRotationDirection
 
G4ThreeVector theIsocenterPosition
 
Float64 theSourceToSurfaceDistance
 
Float64 theCumulativeMetersetWeight
 
Float64 theMetersetWeight
 
Float32 theGantryPitchAngle
 
Float64 theSurfaceEntryPoint
 
Float64 theTableTopEccentricAxisDistance
 
Float64 theTableTopLateralPosition
 
Float64 theTableTopLongitudinalPosition
 
Float32 theTableTopPitchAngle
 
OFString theTableTopPitchRotationDirection
 
Float32 theTableTopRollAngle
 
OFString theTableTopRollRotationDirection
 
Float64 theTableTopVerticalPosition
 
std::vector< DicomBeamDevicePos * > theDevices
 

Detailed Description

Definition at line 43 of file Doxymodules_medical.h.

Constructor & Destructor Documentation

◆ DicomBeamControlPoint()

DicomBeamControlPoint::DicomBeamControlPoint ( DRTControlPointSequence::Item  cpItem,
DicomBeamControlPoint point0 
)

Definition at line 33 of file DicomBeamControlPoint.cc.

35{
36 OFString fstr;
37 Sint32 fint;
38 Float64 ffloat;
39 Float32 ffloat32;
40 OFVector<Float64> fvfloat;
41
42 cpItem.getControlPointIndex(fint);
43 G4cout << " @ DicomBeamControlPoint: " << fint << G4endl;
44 G4cout << " " << " ControlPointIndex " << fint << G4endl;
45 SetIndex( fint );
46 if( cpItem.getNominalBeamEnergy(ffloat) != EC_Normal ) {
47 if( point0 ) ffloat = point0->GetNominalBeamEnergy();
48 }
49 G4cout << " " << " NominalBeamEnergy " << ffloat << G4endl;
51 cpItem.getDoseRateSet(ffloat); // != EC_Normal ) {
52 G4cout << " " << " DoseRateSet " << ffloat << G4endl;
53
54 DRTBeamLimitingDevicePositionSequence beamLDPS = cpItem.getBeamLimitingDevicePositionSequence();
55 G4cout << " @ NUMBER OF BeamLimitingDevicePositionSequence " << beamLDPS.getNumberOfItems()
56 << G4endl;
57 beamLDPS.gotoFirstItem();
58 for( size_t i3 = 0; i3 < beamLDPS.getNumberOfItems(); i3++ ) {
59 DRTBeamLimitingDevicePositionSequence::Item bldpsItem = beamLDPS.getCurrentItem();
60 DicomBeamDevicePos* dbd = new DicomBeamDevicePos(bldpsItem);
61 AddDevice(dbd);
62
63 beamLDPS.gotoNextItem();
64 }
65
66 cpItem.getGantryAngle(ffloat);
67 G4cout << " " << " GantryAngle " << ffloat << G4endl;
68
69 cpItem.getGantryRotationDirection(fstr); //**
70 G4cout << " " << " GantryRotationDirection " << fstr << G4endl;
71 if( fstr == "CC" ) { // counter-clockwise
72 SetGantryAngle(-ffloat);
73 } else if( fstr == "CW" || fstr == "NONE" || fstr == "") { // clockwise
74 SetGantryAngle(ffloat);
75 }
76 if( cpItem.getBeamLimitingDeviceAngle(ffloat) != EC_Normal ) {
77 if( point0 ) ffloat = point0->GetBeamLimitingDeviceAngle();
78 }
79 G4cout << " " << " BeamLimitingDeviceAngle " << ffloat << G4endl;
80
81 if( cpItem.getBeamLimitingDeviceRotationDirection(fstr) != EC_Normal ) {
82 if( point0 ) fstr = point0->GetBeamLimitingDeviceRotationDirection();
83 }
84 if( fstr == "CC" ) { // counter-clockwise
86 } else if( fstr == "CW" || fstr == "NONE" || fstr == "") { // clockwise
88 }
89 G4cout << " " << " BeamLimitingDeviceRotationDirection " << fstr << G4endl;
91
92 if( cpItem.getPatientSupportAngle(ffloat) != EC_Normal ) {
93 if( point0 ) fstr = point0->GetPatientSupportAngle();
94 }
95 G4cout << " " << " PatientSupportAngle " << ffloat << G4endl;
96
97 if( cpItem.getPatientSupportRotationDirection(fstr) != EC_Normal ) {
98 if( point0 ) fstr = point0->GetPatientSupportRotationDirection();
99 }
100 G4cout << " " << " PatientSupportRotationDirection " << fstr << G4endl;
102 if( fstr == "CC" ) { // counter-clockwise
103 SetPatientSupportAngle(-ffloat);
104 } else if( fstr == "CW" || fstr == "NONE" || fstr == "") { // clockwise
106 }
107
108 if( cpItem.getTableTopEccentricAngle(ffloat) != EC_Normal ) {
109 if( point0 ) ffloat = point0->GetTableTopEccentricAngle();
110 }
111 G4cout << " " << " TableTopEccentricAngle " << ffloat << G4endl;
112
113 if( cpItem.getTableTopEccentricRotationDirection(fstr) != EC_Normal ) {
114 if( point0 ) fstr = point0->GetTableTopEccentricRotationDirection();
115 }
116 if( fstr == "CC" ) { // counter-clockwise
118 } else if( fstr == "CW" || fstr == "NONE" || fstr == "") { // clockwise
120 }
121 G4cout << " " << " TableTopEccentricRotationDirection " << fstr << G4endl;
123
124 G4ThreeVector isoCenter;
125 if( cpItem.getIsocenterPosition(fvfloat) != EC_Normal ) {
126 if( point0 ) isoCenter = point0->GetIsocenterPosition();
127 } else {
128 isoCenter = G4ThreeVector(fvfloat[0],fvfloat[1],fvfloat[2]);
129 }
130 G4cout << " " << " IsocenterPosition " << isoCenter << G4endl;
131 SetIsocenterPosition(isoCenter);
132
133 if( cpItem.getSourceToSurfaceDistance(ffloat) != EC_Normal ) {
134 if( point0 ) ffloat = point0->GetSourceToSurfaceDistance();
135 }
136 G4cout << " " << " SourceToSurfaceDistance " << ffloat << G4endl;
138
139 cpItem.getCumulativeMetersetWeight(ffloat);
140 G4cout << " " << " CumulativeMetersetWeight " << ffloat << G4endl;
142
143 if( cpItem.getGantryPitchAngle(ffloat32) != EC_Normal ) {
144 if( point0 ) ffloat32 = point0->GetGantryPitchAngle();
145 }
146 G4cout << " " << " GantryPitchAngle " << ffloat32 << G4endl;
147 SetGantryPitchAngle(ffloat32);
148
149 if( cpItem.getSurfaceEntryPoint(ffloat) != EC_Normal ) {
150 if( point0 ) ffloat = point0->GetSurfaceEntryPoint();
151 }
152 G4cout << " " << " SurfaceEntryPoint " << ffloat << G4endl;
153 SetSurfaceEntryPoint(ffloat);
154
155 if( cpItem.getTableTopEccentricAxisDistance(ffloat) != EC_Normal ) {
156 if( point0 ) ffloat = point0->GetTableTopEccentricAxisDistance();
157 }
158 G4cout << " " << " TableTopEccentricAxisDistance " << ffloat << G4endl;
160
161 if( cpItem.getTableTopLateralPosition(ffloat) != EC_Normal ) {
162 if( point0 ) ffloat = point0->GetTableTopLateralPosition();
163 }
164 G4cout << " " << " TableTopLateralPosition " << ffloat << G4endl;
166
167 if( cpItem.getTableTopLongitudinalPosition(ffloat) != EC_Normal ) {
168 if( point0 ) ffloat = point0->GetTableTopLongitudinalPosition();
169 }
170 G4cout << " " << " TableTopLongitudinalPosition " << ffloat << G4endl;
172
173 if( cpItem.getTableTopPitchAngle(ffloat32) != EC_Normal ) {
174 if( point0 ) ffloat32 = point0->GetTableTopPitchAngle();
175 }
176 G4cout << " " << " TableTopPitchAngle " << ffloat32 << G4endl;
177
178 if( cpItem.getTableTopPitchRotationDirection(fstr) != EC_Normal ) {
179 if( point0 ) fstr = point0->GetTableTopPitchRotationDirection();
180 }
181 if( fstr == "CC" ) { // counter-clockwise
182 SetTableTopPitchAngle(-ffloat32);
183 } else if( fstr == "CW" || fstr == "NONE" || fstr == "") { // clockwise
184 SetTableTopPitchAngle(ffloat32);
185 }
186 G4cout << " " << " TableTopPitchRotationDirection " << fstr << G4endl;
188
189 if( cpItem.getTableTopRollAngle(ffloat32) != EC_Normal ) {
190 if( point0 ) ffloat32 = point0->GetTableTopRollAngle();
191 }
192 G4cout << " " << " TableTopRollAngle " << ffloat32 << G4endl;
193
194 if( cpItem.getTableTopRollRotationDirection(fstr) != EC_Normal ) {
195 if( point0 ) fstr = point0->GetTableTopRollRotationDirection();
196 }
197 if( fstr == "CC" ) { // counter-clockwise
198 SetTableTopRollAngle(-ffloat32);
199 } else if( fstr == "CW" || fstr == "NONE" || fstr == "") { // clockwise
200 SetTableTopRollAngle(ffloat32);
201 }
202 G4cout << " " << " TableTopRollRotationDirection " << fstr << G4endl;
204
205 if( cpItem.getTableTopVerticalPosition(ffloat) != EC_Normal ) {
206 if( point0 ) ffloat = point0->GetTableTopVerticalPosition();
207 }
208 G4cout << " " << " TableTopVerticalPosition " << ffloat << G4endl;
210
211 // --- get DICOM sequence attributes ---
212 //t DRTWedgePositionSequence &getWedgePositionSequence()
213 //t const DRTWedgePositionSequence &getWedgePositionSequence() const
214}
void SetTableTopRollAngle(Float32 dat)
void SetBeamLimitingDeviceRotationDirection(OFString dat)
void SetSurfaceEntryPoint(Float64 dat)
void SetSourceToSurfaceDistance(Float64 dat)
void SetTableTopEccentricAngle(Float64 dat)
Float64 GetNominalBeamEnergy() const
void SetTableTopVerticalPosition(Float64 dat)
OFString GetPatientSupportRotationDirection() const
void SetIsocenterPosition(G4ThreeVector dat)
Float64 GetTableTopEccentricAngle() const
void SetTableTopEccentricAxisDistance(Float64 dat)
void SetTableTopPitchRotationDirection(OFString dat)
Float64 GetTableTopEccentricAxisDistance() const
OFString GetTableTopPitchRotationDirection() const
OFString GetTableTopEccentricRotationDirection() const
void SetCumulativeMetersetWeight(Float64 dat)
void SetPatientSupportAngle(Float64 dat)
Float64 GetPatientSupportAngle() const
G4ThreeVector GetIsocenterPosition() const
void SetTableTopPitchAngle(Float32 dat)
void SetTableTopLongitudinalPosition(Float64 dat)
void SetGantryPitchAngle(Float32 dat)
void SetPatientSupportRotationDirection(OFString dat)
void AddDevice(DicomBeamDevicePos *dbd)
Float64 GetBeamLimitingDeviceAngle() const
OFString GetBeamLimitingDeviceRotationDirection() const
Float32 GetTableTopPitchAngle() const
void SetTableTopRollRotationDirection(OFString dat)
Float64 GetTableTopLateralPosition() const
Float64 GetSourceToSurfaceDistance() const
void SetNominalBeamEnergy(Float64 dat)
void SetGantryAngle(Float64 dat)
void SetTableTopEccentricRotationDirection(OFString dat)
void SetTableTopLateralPosition(Float64 dat)
void SetBeamLimitingDeviceAngle(Float64 dat)
Float64 GetTableTopVerticalPosition() const
Float64 GetTableTopLongitudinalPosition() const
OFString GetTableTopRollRotationDirection() const

◆ ~DicomBeamControlPoint()

DicomBeamControlPoint::~DicomBeamControlPoint ( )
inline

Definition at line 40 of file DicomBeamControlPoint.hh.

40{};

Member Function Documentation

◆ SetIndex()

void DicomBeamControlPoint::SetIndex ( Sint32  dat)
inline

Definition at line 43 of file DicomBeamControlPoint.hh.

43 {
44 theIndex = dat;
45 }

◆ GetIndex()

Sint32 DicomBeamControlPoint::GetIndex ( ) const
inline

Definition at line 46 of file DicomBeamControlPoint.hh.

46 {
47 return theIndex;
48 }

◆ SetNominalBeamEnergy()

void DicomBeamControlPoint::SetNominalBeamEnergy ( Float64  dat)
inline

Definition at line 49 of file DicomBeamControlPoint.hh.

49 {
51 }

◆ GetNominalBeamEnergy()

Float64 DicomBeamControlPoint::GetNominalBeamEnergy ( ) const
inline

Definition at line 52 of file DicomBeamControlPoint.hh.

52 {
54 }

◆ SetGantryAngle()

void DicomBeamControlPoint::SetGantryAngle ( Float64  dat)
inline

Definition at line 55 of file DicomBeamControlPoint.hh.

55 {
56 theGantryAngle = dat;
57 }

◆ SetGantryRotationDirection()

void DicomBeamControlPoint::SetGantryRotationDirection ( OFString  dat)
inline

Definition at line 58 of file DicomBeamControlPoint.hh.

58 {
60 }

◆ SetBeamLimitingDeviceAngle()

void DicomBeamControlPoint::SetBeamLimitingDeviceAngle ( Float64  dat)
inline

Definition at line 61 of file DicomBeamControlPoint.hh.

◆ SetBeamLimitingDeviceRotationDirection()

void DicomBeamControlPoint::SetBeamLimitingDeviceRotationDirection ( OFString  dat)
inline

Definition at line 64 of file DicomBeamControlPoint.hh.

◆ SetPatientSupportAngle()

void DicomBeamControlPoint::SetPatientSupportAngle ( Float64  dat)
inline

Definition at line 67 of file DicomBeamControlPoint.hh.

67 {
69 }

◆ SetPatientSupportRotationDirection()

void DicomBeamControlPoint::SetPatientSupportRotationDirection ( OFString  dat)
inline

Definition at line 70 of file DicomBeamControlPoint.hh.

◆ SetTableTopEccentricAngle()

void DicomBeamControlPoint::SetTableTopEccentricAngle ( Float64  dat)
inline

Definition at line 73 of file DicomBeamControlPoint.hh.

◆ SetTableTopEccentricRotationDirection()

void DicomBeamControlPoint::SetTableTopEccentricRotationDirection ( OFString  dat)
inline

Definition at line 76 of file DicomBeamControlPoint.hh.

◆ SetIsocenterPosition()

void DicomBeamControlPoint::SetIsocenterPosition ( G4ThreeVector  dat)
inline

Definition at line 79 of file DicomBeamControlPoint.hh.

79 {
81 }

◆ SetSourceToSurfaceDistance()

void DicomBeamControlPoint::SetSourceToSurfaceDistance ( Float64  dat)
inline

Definition at line 82 of file DicomBeamControlPoint.hh.

◆ SetCumulativeMetersetWeight()

void DicomBeamControlPoint::SetCumulativeMetersetWeight ( Float64  dat)
inline

Definition at line 85 of file DicomBeamControlPoint.hh.

◆ SetMetersetWeight()

void DicomBeamControlPoint::SetMetersetWeight ( Float64  dat)
inline

Definition at line 88 of file DicomBeamControlPoint.hh.

88 {
90 }

◆ SetGantryPitchAngle()

void DicomBeamControlPoint::SetGantryPitchAngle ( Float32  dat)
inline

Definition at line 91 of file DicomBeamControlPoint.hh.

91 {
93 }

◆ SetSurfaceEntryPoint()

void DicomBeamControlPoint::SetSurfaceEntryPoint ( Float64  dat)
inline

Definition at line 94 of file DicomBeamControlPoint.hh.

94 {
96 }

◆ SetTableTopEccentricAxisDistance()

void DicomBeamControlPoint::SetTableTopEccentricAxisDistance ( Float64  dat)
inline

Definition at line 97 of file DicomBeamControlPoint.hh.

◆ SetTableTopLateralPosition()

void DicomBeamControlPoint::SetTableTopLateralPosition ( Float64  dat)
inline

Definition at line 100 of file DicomBeamControlPoint.hh.

100 {
102 }

◆ SetTableTopLongitudinalPosition()

void DicomBeamControlPoint::SetTableTopLongitudinalPosition ( Float64  dat)
inline

Definition at line 103 of file DicomBeamControlPoint.hh.

103 {
105 }

◆ SetTableTopPitchAngle()

void DicomBeamControlPoint::SetTableTopPitchAngle ( Float32  dat)
inline

Definition at line 106 of file DicomBeamControlPoint.hh.

106 {
108 }

◆ SetTableTopPitchRotationDirection()

void DicomBeamControlPoint::SetTableTopPitchRotationDirection ( OFString  dat)
inline

Definition at line 109 of file DicomBeamControlPoint.hh.

109 {
111 }

◆ SetTableTopRollAngle()

void DicomBeamControlPoint::SetTableTopRollAngle ( Float32  dat)
inline

Definition at line 112 of file DicomBeamControlPoint.hh.

112 {
114 }

◆ SetTableTopRollRotationDirection()

void DicomBeamControlPoint::SetTableTopRollRotationDirection ( OFString  dat)
inline

Definition at line 115 of file DicomBeamControlPoint.hh.

115 {
117 }

◆ SetTableTopVerticalPosition()

void DicomBeamControlPoint::SetTableTopVerticalPosition ( Float64  dat)
inline

Definition at line 118 of file DicomBeamControlPoint.hh.

118 {
120 }

◆ GetGantryRotationDirection()

OFString DicomBeamControlPoint::GetGantryRotationDirection ( ) const
inline

Definition at line 121 of file DicomBeamControlPoint.hh.

121 {
123 }

◆ GetBeamLimitingDeviceAngle()

Float64 DicomBeamControlPoint::GetBeamLimitingDeviceAngle ( ) const
inline

Definition at line 124 of file DicomBeamControlPoint.hh.

124 {
126 }

◆ GetBeamLimitingDeviceRotationDirection()

OFString DicomBeamControlPoint::GetBeamLimitingDeviceRotationDirection ( ) const
inline

Definition at line 127 of file DicomBeamControlPoint.hh.

127 {
129 }

◆ GetPatientSupportAngle()

Float64 DicomBeamControlPoint::GetPatientSupportAngle ( ) const
inline

Definition at line 130 of file DicomBeamControlPoint.hh.

130 {
132 }

◆ GetPatientSupportRotationDirection()

OFString DicomBeamControlPoint::GetPatientSupportRotationDirection ( ) const
inline

Definition at line 133 of file DicomBeamControlPoint.hh.

133 {
135 }

◆ GetTableTopEccentricAngle()

Float64 DicomBeamControlPoint::GetTableTopEccentricAngle ( ) const
inline

Definition at line 136 of file DicomBeamControlPoint.hh.

136 {
138 }

◆ GetTableTopEccentricRotationDirection()

OFString DicomBeamControlPoint::GetTableTopEccentricRotationDirection ( ) const
inline

Definition at line 139 of file DicomBeamControlPoint.hh.

139 {
141 }

◆ GetIsocenterPosition()

G4ThreeVector DicomBeamControlPoint::GetIsocenterPosition ( ) const
inline

Definition at line 142 of file DicomBeamControlPoint.hh.

142 {
144 }

◆ GetSourceToSurfaceDistance()

Float64 DicomBeamControlPoint::GetSourceToSurfaceDistance ( ) const
inline

Definition at line 145 of file DicomBeamControlPoint.hh.

145 {
147 }

◆ GetCumulativeMetersetWeight()

Float64 DicomBeamControlPoint::GetCumulativeMetersetWeight ( ) const
inline

Definition at line 148 of file DicomBeamControlPoint.hh.

148 {
150 }

◆ GetMetersetWeight()

Float64 DicomBeamControlPoint::GetMetersetWeight ( ) const
inline

Definition at line 151 of file DicomBeamControlPoint.hh.

151 {
152 return theMetersetWeight;
153 }

◆ GetGantryPitchAngle()

Float32 DicomBeamControlPoint::GetGantryPitchAngle ( ) const
inline

Definition at line 154 of file DicomBeamControlPoint.hh.

154 {
155 return theGantryPitchAngle;
156 }

◆ GetSurfaceEntryPoint()

Float64 DicomBeamControlPoint::GetSurfaceEntryPoint ( ) const
inline

Definition at line 157 of file DicomBeamControlPoint.hh.

157 {
159 }

◆ GetTableTopEccentricAxisDistance()

Float64 DicomBeamControlPoint::GetTableTopEccentricAxisDistance ( ) const
inline

Definition at line 160 of file DicomBeamControlPoint.hh.

160 {
162 }

◆ GetTableTopLateralPosition()

Float64 DicomBeamControlPoint::GetTableTopLateralPosition ( ) const
inline

Definition at line 163 of file DicomBeamControlPoint.hh.

163 {
165 }

◆ GetTableTopLongitudinalPosition()

Float64 DicomBeamControlPoint::GetTableTopLongitudinalPosition ( ) const
inline

Definition at line 166 of file DicomBeamControlPoint.hh.

166 {
168 }

◆ GetTableTopPitchAngle()

Float32 DicomBeamControlPoint::GetTableTopPitchAngle ( ) const
inline

Definition at line 169 of file DicomBeamControlPoint.hh.

169 {
171 }

◆ GetTableTopPitchRotationDirection()

OFString DicomBeamControlPoint::GetTableTopPitchRotationDirection ( ) const
inline

Definition at line 172 of file DicomBeamControlPoint.hh.

172 {
174 }

◆ GetTableTopRollAngle()

Float32 DicomBeamControlPoint::GetTableTopRollAngle ( ) const
inline

Definition at line 175 of file DicomBeamControlPoint.hh.

175 {
177 }

◆ GetTableTopRollRotationDirection()

OFString DicomBeamControlPoint::GetTableTopRollRotationDirection ( ) const
inline

Definition at line 178 of file DicomBeamControlPoint.hh.

178 {
180 }

◆ GetTableTopVerticalPosition()

Float64 DicomBeamControlPoint::GetTableTopVerticalPosition ( ) const
inline

Definition at line 181 of file DicomBeamControlPoint.hh.

181 {
183 }

◆ AddDevice()

void DicomBeamControlPoint::AddDevice ( DicomBeamDevicePos dbd)
inline

Definition at line 185 of file DicomBeamControlPoint.hh.

185 {
186 theDevices.push_back(dbd);
187 }
std::vector< DicomBeamDevicePos * > theDevices

◆ DumpToFile()

void DicomBeamControlPoint::DumpToFile ( std::ofstream &  out)

Definition at line 223 of file DicomBeamControlPoint.cc.

224{
225 fout << ":P ControlPointIndex " << theIndex << G4endl;
226 fout << ":P NominalBeamEnergy " << theNominalBeamEnergy << G4endl;
227 fout << ":P IsocenterPositionX " << theIsocenterPosition.x() << G4endl;
228 fout << ":P IsocenterPositionY " << theIsocenterPosition.y() << G4endl;
229 fout << ":P IsocenterPositionZ " << theIsocenterPosition.z() << G4endl;
230
231 // std::string iistr = std::to_string(theControlPointIndex);
232 fout << ":P SourceToSurfaceDistance " << theSourceToSurfaceDistance << G4endl;
233 fout << ":P GantryAngle " << theGantryAngle << G4endl;
234 fout << ":P BeamLimitingDeviceAngle " << theBeamLimitingDeviceAngle << G4endl;
235 fout << ":P PatientSupportAngle " << thePatientSupportAngle << G4endl;
236 fout << ":P TableTopEccentricAngle " << theTableTopEccentricAngle << G4endl;
237 fout << ":P SourceToSurfaceDistance " << theSourceToSurfaceDistance<< G4endl;
238 fout << ":P MetersetWeight " << theMetersetWeight<< G4endl;
239 fout << ":P GantryPitchAngle " << theGantryPitchAngle << G4endl;
240 fout << ":P SurfaceEntryPoint " << theSurfaceEntryPoint << G4endl;
241 fout << ":P TableTopEccentricAxisDistance " << theTableTopEccentricAxisDistance << G4endl;
242 fout << ":P TableTopLateralPosition " << theTableTopLateralPosition << G4endl;
243 fout << ":P TableTopLongitudinalPosition " << theTableTopLongitudinalPosition<< G4endl;
244 fout << ":P TableTopPitchAngle " << theTableTopPitchAngle << G4endl;
245 fout << ":P TableTopRollAngle " << theTableTopRollAngle << G4endl;
246 fout << ":P TableTopVerticalPosition " << theTableTopVerticalPosition << G4endl;
247
248 for( size_t ii = 0; ii < theDevices.size(); ii++ ){
249 theDevices[ii]->DumpToFile(fout);
250 }
251
252}

◆ Print()

void DicomBeamControlPoint::Print ( std::ostream &  out)

Definition at line 217 of file DicomBeamControlPoint.cc.

218{
219
220}

Member Data Documentation

◆ theIndex

Sint32 DicomBeamControlPoint::theIndex
private

Definition at line 194 of file DicomBeamControlPoint.hh.

◆ theNominalBeamEnergy

Float64 DicomBeamControlPoint::theNominalBeamEnergy
private

Definition at line 195 of file DicomBeamControlPoint.hh.

◆ theGantryAngle

Float64 DicomBeamControlPoint::theGantryAngle
private

Definition at line 196 of file DicomBeamControlPoint.hh.

◆ theGantryRotationDirection

OFString DicomBeamControlPoint::theGantryRotationDirection
private

Definition at line 197 of file DicomBeamControlPoint.hh.

◆ theBeamLimitingDeviceAngle

Float64 DicomBeamControlPoint::theBeamLimitingDeviceAngle
private

Definition at line 198 of file DicomBeamControlPoint.hh.

◆ theBeamLimitingDeviceRotationDirection

OFString DicomBeamControlPoint::theBeamLimitingDeviceRotationDirection
private

Definition at line 199 of file DicomBeamControlPoint.hh.

◆ thePatientSupportAngle

Float64 DicomBeamControlPoint::thePatientSupportAngle
private

Definition at line 200 of file DicomBeamControlPoint.hh.

◆ thePatientSupportRotationDirection

OFString DicomBeamControlPoint::thePatientSupportRotationDirection
private

Definition at line 201 of file DicomBeamControlPoint.hh.

◆ theTableTopEccentricAngle

Float64 DicomBeamControlPoint::theTableTopEccentricAngle
private

Definition at line 202 of file DicomBeamControlPoint.hh.

◆ theTableTopEccentricRotationDirection

OFString DicomBeamControlPoint::theTableTopEccentricRotationDirection
private

Definition at line 203 of file DicomBeamControlPoint.hh.

◆ theIsocenterPosition

G4ThreeVector DicomBeamControlPoint::theIsocenterPosition
private

Definition at line 204 of file DicomBeamControlPoint.hh.

◆ theSourceToSurfaceDistance

Float64 DicomBeamControlPoint::theSourceToSurfaceDistance
private

Definition at line 205 of file DicomBeamControlPoint.hh.

◆ theCumulativeMetersetWeight

Float64 DicomBeamControlPoint::theCumulativeMetersetWeight
private

Definition at line 206 of file DicomBeamControlPoint.hh.

◆ theMetersetWeight

Float64 DicomBeamControlPoint::theMetersetWeight
private

Definition at line 207 of file DicomBeamControlPoint.hh.

◆ theGantryPitchAngle

Float32 DicomBeamControlPoint::theGantryPitchAngle
private

Definition at line 208 of file DicomBeamControlPoint.hh.

◆ theSurfaceEntryPoint

Float64 DicomBeamControlPoint::theSurfaceEntryPoint
private

Definition at line 209 of file DicomBeamControlPoint.hh.

◆ theTableTopEccentricAxisDistance

Float64 DicomBeamControlPoint::theTableTopEccentricAxisDistance
private

Definition at line 210 of file DicomBeamControlPoint.hh.

◆ theTableTopLateralPosition

Float64 DicomBeamControlPoint::theTableTopLateralPosition
private

Definition at line 211 of file DicomBeamControlPoint.hh.

◆ theTableTopLongitudinalPosition

Float64 DicomBeamControlPoint::theTableTopLongitudinalPosition
private

Definition at line 212 of file DicomBeamControlPoint.hh.

◆ theTableTopPitchAngle

Float32 DicomBeamControlPoint::theTableTopPitchAngle
private

Definition at line 213 of file DicomBeamControlPoint.hh.

◆ theTableTopPitchRotationDirection

OFString DicomBeamControlPoint::theTableTopPitchRotationDirection
private

Definition at line 214 of file DicomBeamControlPoint.hh.

◆ theTableTopRollAngle

Float32 DicomBeamControlPoint::theTableTopRollAngle
private

Definition at line 215 of file DicomBeamControlPoint.hh.

◆ theTableTopRollRotationDirection

OFString DicomBeamControlPoint::theTableTopRollRotationDirection
private

Definition at line 216 of file DicomBeamControlPoint.hh.

◆ theTableTopVerticalPosition

Float64 DicomBeamControlPoint::theTableTopVerticalPosition
private

Definition at line 217 of file DicomBeamControlPoint.hh.

◆ theDevices

std::vector<DicomBeamDevicePos *> DicomBeamControlPoint::theDevices
private

Definition at line 219 of file DicomBeamControlPoint.hh.


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

Applications | User Support | Publications | Collaboration