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;
46 if( cpItem.getNominalBeamEnergy(ffloat) != EC_Normal ) {
48 }
49 G4cout << " " << " NominalBeamEnergy " << ffloat << G4endl;
51 cpItem.getDoseRateSet(ffloat);
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();
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" ) {
73 } else if( fstr == "CW" || fstr == "NONE" || fstr == "") {
75 }
76 if( cpItem.getBeamLimitingDeviceAngle(ffloat) != EC_Normal ) {
78 }
79 G4cout << " " << " BeamLimitingDeviceAngle " << ffloat << G4endl;
80
81 if( cpItem.getBeamLimitingDeviceRotationDirection(fstr) != EC_Normal ) {
83 }
84 if( fstr == "CC" ) {
86 } else if( fstr == "CW" || fstr == "NONE" || fstr == "") {
88 }
89 G4cout << " " << " BeamLimitingDeviceRotationDirection " << fstr << G4endl;
91
92 if( cpItem.getPatientSupportAngle(ffloat) != EC_Normal ) {
94 }
95 G4cout << " " << " PatientSupportAngle " << ffloat << G4endl;
96
97 if( cpItem.getPatientSupportRotationDirection(fstr) != EC_Normal ) {
99 }
100 G4cout << " " << " PatientSupportRotationDirection " << fstr << G4endl;
102 if( fstr == "CC" ) {
104 } else if( fstr == "CW" || fstr == "NONE" || fstr == "") {
106 }
107
108 if( cpItem.getTableTopEccentricAngle(ffloat) != EC_Normal ) {
110 }
111 G4cout << " " << " TableTopEccentricAngle " << ffloat << G4endl;
112
113 if( cpItem.getTableTopEccentricRotationDirection(fstr) != EC_Normal ) {
115 }
116 if( fstr == "CC" ) {
118 } else if( fstr == "CW" || fstr == "NONE" || fstr == "") {
120 }
121 G4cout << " " << " TableTopEccentricRotationDirection " << fstr << G4endl;
123
124 G4ThreeVector isoCenter;
125 if( cpItem.getIsocenterPosition(fvfloat) != EC_Normal ) {
127 } else {
128 isoCenter = G4ThreeVector(fvfloat[0],fvfloat[1],fvfloat[2]);
129 }
130 G4cout << " " << " IsocenterPosition " << isoCenter << G4endl;
132
133 if( cpItem.getSourceToSurfaceDistance(ffloat) != EC_Normal ) {
135 }
136 G4cout << " " << " SourceToSurfaceDistance " << ffloat << G4endl;
138
139 cpItem.getCumulativeMetersetWeight(ffloat);
140 G4cout << " " << " CumulativeMetersetWeight " << ffloat << G4endl;
142
143 if( cpItem.getGantryPitchAngle(ffloat32) != EC_Normal ) {
145 }
146 G4cout << " " << " GantryPitchAngle " << ffloat32 << G4endl;
148
149 if( cpItem.getSurfaceEntryPoint(ffloat) != EC_Normal ) {
151 }
152 G4cout << " " << " SurfaceEntryPoint " << ffloat << G4endl;
154
155 if( cpItem.getTableTopEccentricAxisDistance(ffloat) != EC_Normal ) {
157 }
158 G4cout << " " << " TableTopEccentricAxisDistance " << ffloat << G4endl;
160
161 if( cpItem.getTableTopLateralPosition(ffloat) != EC_Normal ) {
163 }
164 G4cout << " " << " TableTopLateralPosition " << ffloat << G4endl;
166
167 if( cpItem.getTableTopLongitudinalPosition(ffloat) != EC_Normal ) {
169 }
170 G4cout << " " << " TableTopLongitudinalPosition " << ffloat << G4endl;
172
173 if( cpItem.getTableTopPitchAngle(ffloat32) != EC_Normal ) {
175 }
176 G4cout << " " << " TableTopPitchAngle " << ffloat32 << G4endl;
177
178 if( cpItem.getTableTopPitchRotationDirection(fstr) != EC_Normal ) {
180 }
181 if( fstr == "CC" ) {
183 } else if( fstr == "CW" || fstr == "NONE" || fstr == "") {
185 }
186 G4cout << " " << " TableTopPitchRotationDirection " << fstr << G4endl;
188
189 if( cpItem.getTableTopRollAngle(ffloat32) != EC_Normal ) {
191 }
192 G4cout << " " << " TableTopRollAngle " << ffloat32 << G4endl;
193
194 if( cpItem.getTableTopRollRotationDirection(fstr) != EC_Normal ) {
196 }
197 if( fstr == "CC" ) {
199 } else if( fstr == "CW" || fstr == "NONE" || fstr == "") {
201 }
202 G4cout << " " << " TableTopRollRotationDirection " << fstr << G4endl;
204
205 if( cpItem.getTableTopVerticalPosition(ffloat) != EC_Normal ) {
207 }
208 G4cout << " " << " TableTopVerticalPosition " << ffloat << G4endl;
210
211
212
213
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
Float64 GetSurfaceEntryPoint() 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 SetIndex(Sint32 dat)
void SetNominalBeamEnergy(Float64 dat)
void SetGantryAngle(Float64 dat)
void SetTableTopEccentricRotationDirection(OFString dat)
Float32 GetTableTopRollAngle() const
void SetTableTopLateralPosition(Float64 dat)
Float32 GetGantryPitchAngle() const
void SetBeamLimitingDeviceAngle(Float64 dat)
Float64 GetTableTopVerticalPosition() const
Float64 GetTableTopLongitudinalPosition() const
OFString GetTableTopRollRotationDirection() const