26 #ifndef DicomFileCT_NOdcmrt__HH
27 #define DicomFileCT_NOdcmrt__HH
91 template <
typename T>
inline bool CheckConsistency(
const T&,
const T&,
G4String);
94 void Print( std::ostream& out );
102 G4int fNoVoxelX, fNoVoxelY, fNoVoxelZ;
105 G4double fVoxelDimX,fVoxelDimY,fVoxelDimZ;
110 std::vector<int> fHounsfieldV;
111 std::vector<size_t> fMateIDs;
112 std::vector<G4double> fDensities;
113 std::vector<G4int> fStructure;
120 template <
typename T>
121 inline bool DicomFileCT_NOdcmrt::CheckConsistency(
const T& val1,
const T& val2,
124 G4Exception(
"DicomFileCT_NOdcmrtr::CheckConsistency",
125 "Consistency Mismatch : Keeping previous value if nonzero",
void DumpStructureIDsToTextFile(std::ofstream &fout)
G4ThreeVector GetOrientationColumns() const
const G4double & GetLocation() const
G4int GetNoVoxels() const
void DumpMateIDsToTextFile(std::ofstream &fout)
void SetLocation(const G4double &val)
void SetMinX(const G4double &val)
void SetMaxX(const G4double &val)
G4int GetNoVoxelZ() const
void SetMaxZ(const G4double &val)
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
G4int GetNoVoxelX() const
void SetNoVoxelX(const G4int &val)
void SetMinY(const G4double &val)
void DumpDensitiesToTextFile(std::ofstream &fout)
G4ThreeVector GetOrientationRows() const
void operator+=(const DicomFileCT_NOdcmrt &rhs)
void SetNoVoxelY(const G4int &val)
DicomFileCT_NOdcmrt operator+(const DicomFileCT_NOdcmrt &rhs)
void SetNoVoxelZ(const G4int &val)
void SetMinZ(const G4double &val)
G4int GetNoVoxelY() const
void DumpHeaderToTextFile(std::ofstream &fout)
void SetMaxY(const G4double &val)