Loading...
Searching...
No Matches
DicomBeamControlPoint.hh
Go to the documentation of this file.
1//
2// ********************************************************************
3// * License and Disclaimer *
4// * *
5// * The Geant4 software is copyright of the Copyright Holders of *
6// * the Geant4 Collaboration. It is provided under the terms and *
7// * conditions of the Geant4 Software License, included in the file *
8// * LICENSE and available at http://cern.ch/geant4/license . These *
9// * include a list of copyright holders. *
10// * *
11// * Neither the authors of this software system, nor their employing *
12// * institutes,nor the agencies providing financial support for this *
13// * work make any representation or warranty, express or implied, *
14// * regarding this software system or assume any liability for its *
15// * use. Please see the license in the file LICENSE and URL above *
16// * for the full disclaimer and the limitation of liability. *
17// * *
18// * This code implementation is the result of the scientific and *
19// * technical work of the GEANT4 collaboration. *
20// * By using, copying, modifying or distributing the software (or *
21// * any work based on the software) you agree to acknowledge its *
22// * use in resulting scientific publications, and indicate your *
23// * acceptance of all terms of the Geant4 Software license. *
24// ********************************************************************
25//
26#ifndef DicomBeamControlPoint__HH
27#define DicomBeamControlPoint__HH
28
29#include <vector>
30#include <iostream>
31#include "dcmtk/dcmrt/seq/drtcps.h" // for ControlPointSequence
33
34#include "G4ThreeVector.hh"
35
37{
38public:
39 DicomBeamControlPoint(DRTControlPointSequence::Item cpItem, DicomBeamControlPoint* point0 );
41
42public:
43 void SetIndex( Sint32 dat ) {
44 theIndex = dat;
45 }
46 Sint32 GetIndex() const {
47 return theIndex;
48 }
49 void SetNominalBeamEnergy(Float64 dat){
51 }
52 Float64 GetNominalBeamEnergy() const {
54 }
55 void SetGantryAngle(Float64 dat){
56 theGantryAngle = dat;
57 }
58 void SetGantryRotationDirection(OFString dat){
60 }
61 void SetBeamLimitingDeviceAngle(Float64 dat){
63 }
67 void SetPatientSupportAngle(Float64 dat){
69 }
73 void SetTableTopEccentricAngle(Float64 dat){
75 }
79 void SetIsocenterPosition(G4ThreeVector dat){
81 }
82 void SetSourceToSurfaceDistance(Float64 dat){
84 }
88 void SetMetersetWeight(Float64 dat){
90 }
91 void SetGantryPitchAngle(Float32 dat){
93 }
94 void SetSurfaceEntryPoint(Float64 dat){
96 }
100 void SetTableTopLateralPosition(Float64 dat){
102 }
106 void SetTableTopPitchAngle(Float32 dat){
108 }
112 void SetTableTopRollAngle(Float32 dat){
114 }
120 }
121 OFString GetGantryRotationDirection() const {
123 }
124 Float64 GetBeamLimitingDeviceAngle() const {
126 }
130 Float64 GetPatientSupportAngle() const {
132 }
138 }
142 G4ThreeVector GetIsocenterPosition() const {
144 }
147 }
150 }
151 Float64 GetMetersetWeight() const {
152 return theMetersetWeight;
153 }
154 Float32 GetGantryPitchAngle() const {
155 return theGantryPitchAngle;
156 }
157 Float64 GetSurfaceEntryPoint() const {
159 }
165 }
169 Float32 GetTableTopPitchAngle() const {
171 }
175 Float32 GetTableTopRollAngle() const {
177 }
183 }
184
186 theDevices.push_back(dbd);
187 }
188
189 void DumpToFile( std::ofstream& out );
190
191 void Print( std::ostream& out );
192
193private:
194 Sint32 theIndex;
204 G4ThreeVector theIsocenterPosition;
218
219 std::vector<DicomBeamDevicePos *> theDevices;
220
221};
222
223#endif
void SetTableTopRollAngle(Float32 dat)
void SetBeamLimitingDeviceRotationDirection(OFString dat)
void SetGantryRotationDirection(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)
std::vector< DicomBeamDevicePos * > theDevices
void SetPatientSupportRotationDirection(OFString dat)
void AddDevice(DicomBeamDevicePos *dbd)
Float64 GetBeamLimitingDeviceAngle() const
OFString GetBeamLimitingDeviceRotationDirection() const
void SetMetersetWeight(Float64 dat)
Float32 GetTableTopPitchAngle() const
void SetTableTopRollRotationDirection(OFString dat)
Float64 GetCumulativeMetersetWeight() const
Float64 GetTableTopLateralPosition() const
Float64 GetSourceToSurfaceDistance() const
void SetNominalBeamEnergy(Float64 dat)
void SetGantryAngle(Float64 dat)
void SetTableTopEccentricRotationDirection(OFString dat)
OFString GetGantryRotationDirection() const
void SetTableTopLateralPosition(Float64 dat)
void DumpToFile(std::ofstream &out)
void SetBeamLimitingDeviceAngle(Float64 dat)
Float64 GetTableTopVerticalPosition() const
void Print(std::ostream &out)
Float64 GetTableTopLongitudinalPosition() const
OFString GetTableTopRollRotationDirection() const

Applications | User Support | Publications | Collaboration