Geant4
10.02.p03
|
#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 G4double & | GetSliceLocation () 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 () |
Private Member Functions | |
G4bool | IsInteger (const G4String &) |
template<typename T > | |
void | Print (std::ostream &, const std::vector< T > &, const G4String &, G4int breakLine=-1) |
template<typename T > | |
T | G4s2n (const G4String &) |
template<typename T > | |
bool | CheckConsistency (const T &, const T &, G4String) |
G4bool | CheckMaterialExists (const G4String &mateName) |
Private Attributes | |
G4int | fNoVoxelX |
G4int | fNoVoxelY |
G4int | fNoVoxelZ |
G4double | fMinX |
G4double | fMinY |
G4double | fMinZ |
G4double | fMaxX |
G4double | fMaxY |
G4double | fMaxZ |
std::vector< G4String > | fMaterialNames |
G4String | fFilename |
std::vector< std::vector< G4double > > | fValues |
std::vector< std::vector< G4int > > | fMateIDs |
G4double | fSliceLocation |
DicomPhantomZSliceHeader class
Contains the meta data information corresponding to one or several Z slices (number of voxels, dimension)
History: 30.11.07 First version
Definition at line 50 of file DicomPhantomZSliceHeader.hh.
DicomPhantomZSliceHeader::DicomPhantomZSliceHeader | ( | const G4String & | fname | ) |
Definition at line 41 of file DicomPhantomZSliceHeader.cc.
DicomPhantomZSliceHeader::DicomPhantomZSliceHeader | ( | const DicomPhantomZSliceHeader & | rhs | ) |
Definition at line 57 of file DicomPhantomZSliceHeader.cc.
DicomPhantomZSliceHeader::DicomPhantomZSliceHeader | ( | std::ifstream & | fin | ) |
Definition at line 77 of file DicomPhantomZSliceHeader.cc.
DicomPhantomZSliceHeader::~DicomPhantomZSliceHeader | ( | ) |
Definition at line 51 of file DicomPhantomZSliceHeader.cc.
|
inline |
Definition at line 130 of file DicomPhantomZSliceHeader.hh.
|
inline |
Definition at line 133 of file DicomPhantomZSliceHeader.hh.
|
inline |
Definition at line 134 of file DicomPhantomZSliceHeader.hh.
|
inline |
Definition at line 115 of file DicomPhantomZSliceHeader.hh.
|
inline |
Definition at line 119 of file DicomPhantomZSliceHeader.hh.
|
inline |
Definition at line 122 of file DicomPhantomZSliceHeader.hh.
|
inline |
Definition at line 125 of file DicomPhantomZSliceHeader.hh.
|
inline |
Definition at line 126 of file DicomPhantomZSliceHeader.hh.
|
inlineprivate |
Definition at line 203 of file DicomPhantomZSliceHeader.hh.
Definition at line 126 of file DicomPhantomZSliceHeader.cc.
|
inline |
Definition at line 144 of file DicomPhantomZSliceHeader.hh.
void DicomPhantomZSliceHeader::DumpToFile | ( | ) |
Definition at line 220 of file DicomPhantomZSliceHeader.cc.
|
inline |
Definition at line 181 of file DicomPhantomZSliceHeader.hh.
|
inlineprivate |
Definition at line 193 of file DicomPhantomZSliceHeader.hh.
|
inline |
Definition at line 139 of file DicomPhantomZSliceHeader.hh.
|
inline |
Definition at line 80 of file DicomPhantomZSliceHeader.hh.
|
inline |
Definition at line 72 of file DicomPhantomZSliceHeader.hh.
|
inline |
Definition at line 73 of file DicomPhantomZSliceHeader.hh.
|
inline |
Definition at line 74 of file DicomPhantomZSliceHeader.hh.
|
inline |
Definition at line 69 of file DicomPhantomZSliceHeader.hh.
|
inline |
Definition at line 70 of file DicomPhantomZSliceHeader.hh.
|
inline |
Definition at line 71 of file DicomPhantomZSliceHeader.hh.
|
inline |
Definition at line 67 of file DicomPhantomZSliceHeader.hh.
|
inline |
Definition at line 64 of file DicomPhantomZSliceHeader.hh.
|
inline |
Definition at line 65 of file DicomPhantomZSliceHeader.hh.
|
inline |
Definition at line 66 of file DicomPhantomZSliceHeader.hh.
|
inline |
Definition at line 117 of file DicomPhantomZSliceHeader.hh.
|
inline |
Definition at line 138 of file DicomPhantomZSliceHeader.hh.
|
inline |
Definition at line 76 of file DicomPhantomZSliceHeader.hh.
|
inline |
Definition at line 77 of file DicomPhantomZSliceHeader.hh.
|
inline |
Definition at line 78 of file DicomPhantomZSliceHeader.hh.
Definition at line 187 of file DicomPhantomZSliceHeader.hh.
DicomPhantomZSliceHeader DicomPhantomZSliceHeader::operator+ | ( | const DicomPhantomZSliceHeader & | rhs | ) |
Definition at line 145 of file DicomPhantomZSliceHeader.cc.
void DicomPhantomZSliceHeader::operator+= | ( | const DicomPhantomZSliceHeader & | rhs | ) |
Definition at line 139 of file DicomPhantomZSliceHeader.cc.
|
inlineprivate |
Definition at line 215 of file DicomPhantomZSliceHeader.hh.
void DicomPhantomZSliceHeader::ReadDataFromFile | ( | ) |
Definition at line 259 of file DicomPhantomZSliceHeader.cc.
|
inline |
Definition at line 113 of file DicomPhantomZSliceHeader.hh.
|
inline |
Definition at line 93 of file DicomPhantomZSliceHeader.hh.
|
inline |
Definition at line 87 of file DicomPhantomZSliceHeader.hh.
|
inline |
Definition at line 89 of file DicomPhantomZSliceHeader.hh.
|
inline |
Definition at line 91 of file DicomPhantomZSliceHeader.hh.
|
inline |
Definition at line 86 of file DicomPhantomZSliceHeader.hh.
|
inline |
Definition at line 88 of file DicomPhantomZSliceHeader.hh.
|
inline |
Definition at line 90 of file DicomPhantomZSliceHeader.hh.
|
inline |
Definition at line 82 of file DicomPhantomZSliceHeader.hh.
|
inline |
Definition at line 83 of file DicomPhantomZSliceHeader.hh.
|
inline |
Definition at line 84 of file DicomPhantomZSliceHeader.hh.
|
inline |
Definition at line 114 of file DicomPhantomZSliceHeader.hh.
|
private |
Definition at line 171 of file DicomPhantomZSliceHeader.hh.
|
private |
Definition at line 173 of file DicomPhantomZSliceHeader.hh.
|
private |
Definition at line 169 of file DicomPhantomZSliceHeader.hh.
|
private |
Definition at line 167 of file DicomPhantomZSliceHeader.hh.
|
private |
Definition at line 167 of file DicomPhantomZSliceHeader.hh.
|
private |
Definition at line 167 of file DicomPhantomZSliceHeader.hh.
|
private |
Definition at line 166 of file DicomPhantomZSliceHeader.hh.
|
private |
Definition at line 166 of file DicomPhantomZSliceHeader.hh.
|
private |
Definition at line 166 of file DicomPhantomZSliceHeader.hh.
|
private |
Definition at line 165 of file DicomPhantomZSliceHeader.hh.
|
private |
Definition at line 165 of file DicomPhantomZSliceHeader.hh.
|
private |
Definition at line 165 of file DicomPhantomZSliceHeader.hh.
|
private |
Definition at line 174 of file DicomPhantomZSliceHeader.hh.
|
private |
Definition at line 172 of file DicomPhantomZSliceHeader.hh.