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

#include <DicomPhantomZSliceHeader.hh>

Public Member Functions

 DicomPhantomZSliceHeader (const G4String &)
 
 DicomPhantomZSliceHeader (const DicomPhantomZSliceHeader &rhs)
 
 DicomPhantomZSliceHeader (std::ifstream &fin)
 
 ~DicomPhantomZSliceHeader ()
 
G4int GetNoVoxelX () const
 
G4int GetNoVoxelY () const
 
G4int GetNoVoxelZ () const
 
G4int GetNoVoxels () const
 
G4double GetMinX () const
 
G4double GetMinY () const
 
G4double GetMinZ () const
 
G4double GetMaxX () const
 
G4double GetMaxY () const
 
G4double GetMaxZ () const
 
G4double GetVoxelHalfX () const
 
G4double GetVoxelHalfY () const
 
G4double GetVoxelHalfZ () const
 
const std::vector< G4String > & GetMaterialNames () const
 
void SetNoVoxelX (const G4int &val)
 
void SetNoVoxelY (const G4int &val)
 
void SetNoVoxelZ (const G4int &val)
 
void SetMinX (const G4double &val)
 
void SetMaxX (const G4double &val)
 
void SetMinY (const G4double &val)
 
void SetMaxY (const G4double &val)
 
void SetMinZ (const G4double &val)
 
void SetMaxZ (const G4double &val)
 
void SetMaterialNames (std::vector< G4String > &mn)
 
void operator+= (const DicomPhantomZSliceHeader &rhs)
 
DicomPhantomZSliceHeader operator+ (const DicomPhantomZSliceHeader &rhs)
 
void SetFilename (const G4String &val)
 
void SetSliceLocation (const G4double &val)
 
void AddMaterial (const G4String &val)
 
const G4doubleGetSliceLocation () const
 
void AddRow ()
 
void AddValue (G4double val)
 
void AddValue (const std::vector< G4double > &val)
 
void AddValue (const std::vector< std::vector< G4double > > &val)
 
void AddMateID (G4int val)
 
void AddMateID (const std::vector< G4int > &val)
 
void AddMateID (const std::vector< std::vector< G4int > > &val)
 
const std::vector< std::vector
< G4double > > & 
GetValues () const
 
const std::vector< std::vector
< G4int > > & 
GetMateIDs () const
 
void DumpToFile ()
 
void ReadDataFromFile ()
 
void DumpExcessMemory ()
 
void FlipData ()
 

Detailed Description

DicomPhantomZSliceHeader class

Contains the meta data information corresponding to one or several Z slices (number of voxels, dimension)

History: 30.11.07 First version

Author
P. Arce

Definition at line 50 of file DicomPhantomZSliceHeader.hh.

Constructor & Destructor Documentation

DicomPhantomZSliceHeader::DicomPhantomZSliceHeader ( const G4String fname)

Definition at line 42 of file DicomPhantomZSliceHeader.cc.

43 : fNoVoxelX(0),fNoVoxelY(0),fNoVoxelZ(0),
44  fMinX(0),fMinY(0),fMinZ(0),
45  fMaxX(0),fMaxY(0),fMaxZ(0),
46  fFilename(fname),fSliceLocation(0)
47 {
48 
49 }
DicomPhantomZSliceHeader::DicomPhantomZSliceHeader ( const DicomPhantomZSliceHeader rhs)

Definition at line 58 of file DicomPhantomZSliceHeader.cc.

60 {
61  fNoVoxelX = rhs.GetNoVoxelX();
62  fNoVoxelY = rhs.GetNoVoxelY();
63  fNoVoxelZ = rhs.GetNoVoxelZ();
64  fMinX = rhs.GetMinX();
65  fMaxX = rhs.GetMaxX();
66  fMinY = rhs.GetMinY();
67  fMaxY = rhs.GetMaxY();
68  fMinZ = rhs.GetMinZ();
69  fMaxZ = rhs.GetMaxZ();
70  fMaterialNames = rhs.GetMaterialNames();
71  fFilename = rhs.fFilename;
72  fValues = rhs.fValues;
73  fMateIDs = rhs.fMateIDs;
74  fSliceLocation = rhs.fSliceLocation;
75 }
const std::vector< G4String > & GetMaterialNames() const

Here is the call graph for this function:

DicomPhantomZSliceHeader::DicomPhantomZSliceHeader ( std::ifstream &  fin)

Definition at line 78 of file DicomPhantomZSliceHeader.cc.

79 {
80  //----- Read material indices and names
81  G4int nmate;
82  G4String mateindex;
83  G4String matename;
84  fin >> nmate;
85 #ifdef G4VERBOSE
86  G4cout << " DicomPhantomZSliceHeader reading number of materials "
87  << nmate << G4endl;
88 #endif
89 
90  for( G4int im = 0; im < nmate; im++ ){
91  fin >> mateindex >> matename;
92 #ifdef G4VERBOSE
93  //G4cout << " DicomPhantomZSliceHeader reading material " << im << " : "
94  // << mateindex << " " << matename << G4endl;
95 #endif
96 
97  if( ! CheckMaterialExists( matename ) ) {
98  G4Exception("DicomPhantomZSliceHeader::DicomPhantomZSliceHeader",
99  "A material is found in file that is not built in the C++ code",
100  FatalErrorInArgument, matename.c_str());
101  }
102 
103  fMaterialNames.push_back(matename);
104  }
105 
106  //----- Read number of voxels
107  fin >> fNoVoxelX >> fNoVoxelY >> fNoVoxelZ;
108 #ifdef G4VERBOSE
109  G4cout << " Number of voxels " << fNoVoxelX << " " << fNoVoxelY
110  << " " << fNoVoxelZ << G4endl;
111 #endif
112 
113  //----- Read minimal and maximal extensions (= walls of phantom)
114  fin >> fMinX >> fMaxX;
115  fin >> fMinY >> fMaxY;
116  fin >> fMinZ >> fMaxZ;
117 #ifdef G4VERBOSE
118  G4cout << " Extension in X " << fMinX << " " << fMaxX << G4endl
119  << " Extension in Y " << fMinY << " " << fMaxY << G4endl
120  << " Extension in Z " << fMinZ << " " << fMaxZ << G4endl;
121 #endif
122 
123  fSliceLocation = 0.5*(fMinZ + fMaxZ);
124 }
int G4int
Definition: G4Types.hh:78
G4GLOB_DLL std::ostream G4cout
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
Definition: G4Exception.cc:41
#define G4endl
Definition: G4ios.hh:61

Here is the call graph for this function:

DicomPhantomZSliceHeader::~DicomPhantomZSliceHeader ( )

Definition at line 52 of file DicomPhantomZSliceHeader.cc.

53 {
54 
55 }

Member Function Documentation

void DicomPhantomZSliceHeader::AddMateID ( G4int  val)
inline

Definition at line 130 of file DicomPhantomZSliceHeader.hh.

130  { (fMateIDs.size() > 0) ?
131  fMateIDs.back().push_back(val) :
132  fMateIDs.push_back(std::vector<G4int>(1,val)); }
void DicomPhantomZSliceHeader::AddMateID ( const std::vector< G4int > &  val)
inline

Definition at line 133 of file DicomPhantomZSliceHeader.hh.

133 { fMateIDs.push_back(val); }
void DicomPhantomZSliceHeader::AddMateID ( const std::vector< std::vector< G4int > > &  val)
inline

Definition at line 134 of file DicomPhantomZSliceHeader.hh.

134  {
135  for(unsigned int i = 0; i < val.size(); ++i) { fMateIDs.push_back(val.at(i)); }
136  }
void DicomPhantomZSliceHeader::AddMaterial ( const G4String val)
inline

Definition at line 115 of file DicomPhantomZSliceHeader.hh.

115 { fMaterialNames.push_back(val); }

Here is the caller graph for this function:

void DicomPhantomZSliceHeader::AddRow ( )
inline

Definition at line 119 of file DicomPhantomZSliceHeader.hh.

119  { fValues.push_back(std::vector<G4double>(0));
120  fMateIDs.push_back(std::vector<G4int>(0)); }
void DicomPhantomZSliceHeader::AddValue ( G4double  val)
inline

Definition at line 122 of file DicomPhantomZSliceHeader.hh.

122  { (fValues.size() > 0) ?
123  fValues.back().push_back(val) :
124  fValues.push_back(std::vector<G4double>(1,val)); }
void DicomPhantomZSliceHeader::AddValue ( const std::vector< G4double > &  val)
inline

Definition at line 125 of file DicomPhantomZSliceHeader.hh.

125 { fValues.push_back(val); }
void DicomPhantomZSliceHeader::AddValue ( const std::vector< std::vector< G4double > > &  val)
inline

Definition at line 126 of file DicomPhantomZSliceHeader.hh.

126  {
127  for(unsigned int i = 0; i < val.size(); ++i) { fValues.push_back(val.at(i)); }
128  }
void DicomPhantomZSliceHeader::DumpExcessMemory ( )
inline

Definition at line 144 of file DicomPhantomZSliceHeader.hh.

144  {
145  if(fFilename.length() != 0) { fValues.clear(); fMateIDs.clear(); } }
void DicomPhantomZSliceHeader::DumpToFile ( )

Definition at line 226 of file DicomPhantomZSliceHeader.cc.

227 {
228 
229  G4cout << "DicomPhantomZSliceHeader::Dumping Z Slice data to "
230  << fFilename << "..." << G4endl;
231  //sleep(5);
232 
233  // May seen counter-intuitive (dumping to file you are reading from), but
234  // the reason for this is modification slice spacing
235  if(fMateIDs.size() == 0 || fValues.size() == 0) { ReadDataFromFile(); }
236 
237 
238  std::ofstream out;
239  out.open(fFilename.c_str());
240 
241  if(!out) {
242  G4String descript = "DicomPhantomZSliceHeader::DumpToFile: could not open "
243  +fFilename;
244  G4Exception(descript.c_str(),"", FatalException, "");
245  }
246 
247  out << fMaterialNames.size() << std::endl;
248  for(unsigned int i = 0; i < fMaterialNames.size(); ++i) {
249  out << i << " " << fMaterialNames.at(i) << std::endl;
250  }
251 
252  out << fNoVoxelX << " " << fNoVoxelY << " " << fNoVoxelZ << std::endl;
253  out << fMinX << " " << fMaxX << std::endl;
254  out << fMinY << " " << fMaxY << std::endl;
255  out << fMinZ << " " << fMaxZ << std::endl;
256 
257  for(unsigned int i = 0; i < fMateIDs.size(); ++i) { Print(out,fMateIDs.at(i)," "); }
258  for(unsigned int i = 0; i < fValues.size(); ++i) { Print(out,fValues.at(i)," ",6); }
259 
260  out.close();
261 
262 }
G4GLOB_DLL std::ostream G4cout
void Print(const std::vector< T > &data)
Definition: DicomRun.hh:109
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
Definition: G4Exception.cc:41
#define G4endl
Definition: G4ios.hh:61

Here is the call graph for this function:

void DicomPhantomZSliceHeader::FlipData ( )
inline

Definition at line 181 of file DicomPhantomZSliceHeader.hh.

182 {
183  std::reverse(fValues.begin(), fValues.end());
184  std::reverse(fMateIDs.begin(), fMateIDs.end());
185 }
const std::vector<std::vector<G4int> >& DicomPhantomZSliceHeader::GetMateIDs ( ) const
inline

Definition at line 139 of file DicomPhantomZSliceHeader.hh.

139 { return fMateIDs; }
const std::vector<G4String>& DicomPhantomZSliceHeader::GetMaterialNames ( ) const
inline

Definition at line 80 of file DicomPhantomZSliceHeader.hh.

80 { return fMaterialNames; };

Here is the caller graph for this function:

G4double DicomPhantomZSliceHeader::GetMaxX ( ) const
inline

Definition at line 72 of file DicomPhantomZSliceHeader.hh.

72 { return fMaxX; };

Here is the caller graph for this function:

G4double DicomPhantomZSliceHeader::GetMaxY ( ) const
inline

Definition at line 73 of file DicomPhantomZSliceHeader.hh.

73 { return fMaxY; };

Here is the caller graph for this function:

G4double DicomPhantomZSliceHeader::GetMaxZ ( ) const
inline

Definition at line 74 of file DicomPhantomZSliceHeader.hh.

74 { return fMaxZ; };

Here is the caller graph for this function:

G4double DicomPhantomZSliceHeader::GetMinX ( ) const
inline

Definition at line 69 of file DicomPhantomZSliceHeader.hh.

69 { return fMinX; };

Here is the caller graph for this function:

G4double DicomPhantomZSliceHeader::GetMinY ( ) const
inline

Definition at line 70 of file DicomPhantomZSliceHeader.hh.

70 { return fMinY; };

Here is the caller graph for this function:

G4double DicomPhantomZSliceHeader::GetMinZ ( ) const
inline

Definition at line 71 of file DicomPhantomZSliceHeader.hh.

71 { return fMinZ; };

Here is the caller graph for this function:

G4int DicomPhantomZSliceHeader::GetNoVoxels ( ) const
inline

Definition at line 67 of file DicomPhantomZSliceHeader.hh.

67 { return fNoVoxelX*fNoVoxelY*fNoVoxelZ; };

Here is the caller graph for this function:

G4int DicomPhantomZSliceHeader::GetNoVoxelX ( ) const
inline

Definition at line 64 of file DicomPhantomZSliceHeader.hh.

64 { return fNoVoxelX; };

Here is the caller graph for this function:

G4int DicomPhantomZSliceHeader::GetNoVoxelY ( ) const
inline

Definition at line 65 of file DicomPhantomZSliceHeader.hh.

65 { return fNoVoxelY; };

Here is the caller graph for this function:

G4int DicomPhantomZSliceHeader::GetNoVoxelZ ( ) const
inline

Definition at line 66 of file DicomPhantomZSliceHeader.hh.

66 { return fNoVoxelZ; };

Here is the caller graph for this function:

const G4double& DicomPhantomZSliceHeader::GetSliceLocation ( ) const
inline

Definition at line 117 of file DicomPhantomZSliceHeader.hh.

117 { return fSliceLocation; }

Here is the caller graph for this function:

const std::vector<std::vector<G4double> >& DicomPhantomZSliceHeader::GetValues ( ) const
inline

Definition at line 138 of file DicomPhantomZSliceHeader.hh.

138 { return fValues; }
G4double DicomPhantomZSliceHeader::GetVoxelHalfX ( ) const
inline

Definition at line 76 of file DicomPhantomZSliceHeader.hh.

76 { return (fMaxX-fMinX)/fNoVoxelX/2.; };

Here is the caller graph for this function:

G4double DicomPhantomZSliceHeader::GetVoxelHalfY ( ) const
inline

Definition at line 77 of file DicomPhantomZSliceHeader.hh.

77 { return (fMaxY-fMinY)/fNoVoxelY/2.; };

Here is the caller graph for this function:

G4double DicomPhantomZSliceHeader::GetVoxelHalfZ ( ) const
inline

Definition at line 78 of file DicomPhantomZSliceHeader.hh.

78 { return (fMaxZ-fMinZ)/fNoVoxelZ/2.; };

Here is the caller graph for this function:

DicomPhantomZSliceHeader DicomPhantomZSliceHeader::operator+ ( const DicomPhantomZSliceHeader rhs)

Definition at line 151 of file DicomPhantomZSliceHeader.cc.

153 {
154  //----- Check that both slices has the same dimensions
155  if( fNoVoxelX != rhs.GetNoVoxelX()
156  || fNoVoxelY != rhs.GetNoVoxelY() ) {
157  G4cerr << "DicomPhantomZSliceHeader error adding two slice headers:\
158  !!! Different number of voxels: "
159  << " X= " << fNoVoxelX << " =? " << rhs.GetNoVoxelX()
160  << " Y= " << fNoVoxelY << " =? " << rhs.GetNoVoxelY()
161  << " Z= " << fNoVoxelZ << " =? " << rhs.GetNoVoxelZ()
162  << G4endl;
163  G4Exception("DicomPhantomZSliceHeader::DicomPhantomZSliceHeader",
164  "",FatalErrorInArgument,"");
165  }
166  //----- Check that both slices has the same extensions
167  if( fMinX != rhs.GetMinX() || fMaxX != rhs.GetMaxX()
168  || fMinY != rhs.GetMinY() || fMaxY != rhs.GetMaxY() ) {
169  G4cerr << "DicomPhantomZSliceHeader error adding two slice headers:\
170  !!! Different extensions: "
171  << " Xmin= " << fMinX << " =? " << rhs.GetMinX()
172  << " Xmax= " << fMaxX << " =? " << rhs.GetMaxX()
173  << " Ymin= " << fMinY << " =? " << rhs.GetMinY()
174  << " Ymax= " << fMaxY << " =? " << rhs.GetMaxY()
175  << G4endl;
176  G4Exception("DicomPhantomZSliceHeader::operator+","",
178  }
179 
180  //----- Check that both slices have the same materials
181  std::vector<G4String> fMaterialNames2 = rhs.GetMaterialNames();
182  if( fMaterialNames.size() != fMaterialNames2.size() ) {
183  G4cerr << "DicomPhantomZSliceHeader error adding two slice headers:\
184  !!! Different number of materials: " << fMaterialNames.size() << " =? "
185  << fMaterialNames2.size() << G4endl;
186  G4Exception("DicomPhantomZSliceHeader::operator+","",
188  }
189  for( unsigned int ii = 0; ii < fMaterialNames.size(); ii++ ) {
190  if( fMaterialNames[ii] != fMaterialNames2[ii] ) {
191  G4cerr << "DicomPhantomZSliceHeader error adding two slice headers:\
192  !!! Different material number " << ii << " : "
193  << fMaterialNames[ii] << " =? "
194  << fMaterialNames2[ii] << G4endl;
195  G4Exception("DicomPhantomZSliceHeader::operator+","",
197  }
198  }
199 
200  //----- Check that the slices are contiguous in Z
201  if( std::fabs( fMinZ - rhs.GetMaxZ() ) >
203  std::fabs( fMaxZ - rhs.GetMinZ() ) >
205  G4cerr << "DicomPhantomZSliceHeader error adding two slice headers: !!!\
206  Slices are not contiguous in Z "
207  << " Zmin= " << fMinZ << " & " << rhs.GetMinZ()
208  << " Zmax= " << fMaxZ << " & " << rhs.GetMaxZ()
209  << G4endl;
210  G4Exception("DicomPhantomZSliceHeader::operator+","",
212  }
213 
214  //----- Build slice header copying first one
215  DicomPhantomZSliceHeader temp( *this );
216 
217  //----- Add data from second slice header
218  temp.SetMinZ( std::min( fMinZ, rhs.GetMinZ() ) );
219  temp.SetMaxZ( std::max( fMaxZ, rhs.GetMaxZ() ) );
220  temp.SetNoVoxelZ( fNoVoxelZ + rhs.GetNoVoxelZ() );
221 
222  return temp;
223 }
const std::vector< G4String > & GetMaterialNames() const
G4double GetRadialTolerance() const
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
Definition: G4Exception.cc:41
T max(const T t1, const T t2)
brief Return the largest of the two arguments
T min(const T t1, const T t2)
brief Return the smallest of the two arguments
#define G4endl
Definition: G4ios.hh:61
static G4GeometryTolerance * GetInstance()
G4GLOB_DLL std::ostream G4cerr

Here is the call graph for this function:

void DicomPhantomZSliceHeader::operator+= ( const DicomPhantomZSliceHeader rhs)

Definition at line 145 of file DicomPhantomZSliceHeader.cc.

146 {
147  *this = *this + rhs;
148 }
void DicomPhantomZSliceHeader::ReadDataFromFile ( )

Definition at line 265 of file DicomPhantomZSliceHeader.cc.

266 {
267  std::ifstream in;
268  in.open(fFilename.c_str());
269 
270  if(!in) {
271  G4String descript = "DicomPhantomZSliceHeader::DumpToFile: could not open "
272  +fFilename;
273  G4Exception(descript.c_str(),"", FatalException, "");
274  }
275 
276  G4int nMaterials;
277  in >> nMaterials;
278 
279  fMaterialNames.resize(nMaterials,"");
280  for(G4int i = 0; i < nMaterials; ++i) {
281  G4String str1, str2;
282  in >> str1 >> str2;
283  if(!IsInteger(str1)) {
284  G4String descript = "String : " + str1 + " supposed to be integer";
285  G4Exception("DicomPhantomZSliceHeader::ReadDataFromFile - error in \
286  formatting: missing material index","", FatalException,descript.c_str());
287  }
288  G4int index = G4s2n<G4int>(str1);
289  if(index > nMaterials || index < 0) {
290  G4String descript = "Index : " + str1;
291  G4Exception("DicomPhantomZSliceHeader::ReadDataFromFile - error:\
292  bad material index","", FatalException,descript.c_str());
293  }
294  fMaterialNames[index] = str2;
295  }
296 
297  in >> fNoVoxelX >> fNoVoxelY >> fNoVoxelZ;
298 
299  G4double tmpMinX, tmpMinY, tmpMinZ;
300  G4double tmpMaxX, tmpMaxY, tmpMaxZ;
301 
302  in >> tmpMinX >> tmpMaxX;
303  in >> tmpMinY >> tmpMaxY;
304  in >> tmpMinZ >> tmpMaxZ;
305 
306  fMinX = (CheckConsistency(tmpMinX,fMinX,"Min X value")) ?
307  fMinX : ((fMinX == 0) ? tmpMinX : fMinX);
308  fMaxX = (CheckConsistency(tmpMaxX,fMaxX,"Max X value")) ?
309  fMaxX : ((fMaxX == 0) ? tmpMaxX : fMaxX);
310 
311  fMinY = (CheckConsistency(tmpMinY,fMinY,"Min Y value")) ?
312  fMinY : ((fMinY == 0) ? tmpMinY : fMinY);
313  fMaxY = (CheckConsistency(tmpMaxY,fMaxY,"Max Y value")) ?
314  fMaxY : ((fMaxY == 0) ? tmpMaxY : fMaxY);
315 
316  fMinZ = (CheckConsistency(tmpMinZ,fMinZ,"Min Z value")) ?
317  fMinZ : ((fMinZ == 0) ? tmpMinZ : fMinZ);
318  fMaxZ = (CheckConsistency(tmpMaxZ,fMaxZ,"Max Z value")) ?
319  fMaxZ : ((fMaxZ == 0) ? tmpMaxZ : fMaxZ);
320 
321  fMateIDs.clear();
322  fValues.clear();
323  fMateIDs.resize(fNoVoxelY*fNoVoxelZ,std::vector<G4int>(fNoVoxelX,0));
324  fValues.resize(fNoVoxelY*fNoVoxelZ,std::vector<G4double>(fNoVoxelX,0.));
325  for(G4int k = 0; k < fNoVoxelZ; ++k) {
326  for(G4int j = 0; j < fNoVoxelY; ++j) {
327  for(G4int i = 0; i < fNoVoxelX; ++i) {
328  G4int tmpMateID;
329  in >> tmpMateID;
330  G4int row = j*(k+1);
331  fMateIDs[row][i] = tmpMateID;
332  }
333  }
334  }
335 
336  for(G4int k = 0; k < fNoVoxelZ; ++k) {
337  for(G4int j = 0; j < fNoVoxelY; ++j) {
338  for(G4int i = 0; i < fNoVoxelX; ++i) {
339  G4double tmpValue;
340  in >> tmpValue;
341  G4int row = j*(k+1);
342  fValues[row][i] = tmpValue;
343  }
344  }
345  }
346 
347  in.close();
348 }
int G4int
Definition: G4Types.hh:78
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
Definition: G4Exception.cc:41
double G4double
Definition: G4Types.hh:76

Here is the call graph for this function:

Here is the caller graph for this function:

void DicomPhantomZSliceHeader::SetFilename ( const G4String val)
inline

Definition at line 113 of file DicomPhantomZSliceHeader.hh.

113 { fFilename = val; }
void DicomPhantomZSliceHeader::SetMaterialNames ( std::vector< G4String > &  mn)
inline

Definition at line 93 of file DicomPhantomZSliceHeader.hh.

93 { fMaterialNames = mn; }
void DicomPhantomZSliceHeader::SetMaxX ( const G4double val)
inline

Definition at line 87 of file DicomPhantomZSliceHeader.hh.

87 { fMaxX = val; };

Here is the caller graph for this function:

void DicomPhantomZSliceHeader::SetMaxY ( const G4double val)
inline

Definition at line 89 of file DicomPhantomZSliceHeader.hh.

89 { fMaxY = val; };

Here is the caller graph for this function:

void DicomPhantomZSliceHeader::SetMaxZ ( const G4double val)
inline

Definition at line 91 of file DicomPhantomZSliceHeader.hh.

91 { fMaxZ = val; };

Here is the caller graph for this function:

void DicomPhantomZSliceHeader::SetMinX ( const G4double val)
inline

Definition at line 86 of file DicomPhantomZSliceHeader.hh.

86 { fMinX = val; };

Here is the caller graph for this function:

void DicomPhantomZSliceHeader::SetMinY ( const G4double val)
inline

Definition at line 88 of file DicomPhantomZSliceHeader.hh.

88 { fMinY = val; };

Here is the caller graph for this function:

void DicomPhantomZSliceHeader::SetMinZ ( const G4double val)
inline

Definition at line 90 of file DicomPhantomZSliceHeader.hh.

90 { fMinZ = val; };

Here is the caller graph for this function:

void DicomPhantomZSliceHeader::SetNoVoxelX ( const G4int val)
inline

Definition at line 82 of file DicomPhantomZSliceHeader.hh.

82 { fNoVoxelX = val; }

Here is the caller graph for this function:

void DicomPhantomZSliceHeader::SetNoVoxelY ( const G4int val)
inline

Definition at line 83 of file DicomPhantomZSliceHeader.hh.

83 { fNoVoxelY = val; }

Here is the caller graph for this function:

void DicomPhantomZSliceHeader::SetNoVoxelZ ( const G4int val)
inline

Definition at line 84 of file DicomPhantomZSliceHeader.hh.

84 { fNoVoxelZ = val; }

Here is the caller graph for this function:

void DicomPhantomZSliceHeader::SetSliceLocation ( const G4double val)
inline

Definition at line 114 of file DicomPhantomZSliceHeader.hh.

114 { fSliceLocation = val; }

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