ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <geant4/tree/geant4-10.6-release/examples/extended/medical/DICOM/dicomReader/include/DicomFileCT.hh>
Private Attributes | |
std::vector< size_t > | fMateIDs |
std::vector< G4double > | fDensities |
std::vector< G4int > | fStructure |
Additional Inherited Members | |
Protected Member Functions inherited from DicomVFile | |
virtual std::vector< G4double > | Read1Data (DcmDataset *dset, DcmTagKey tagKey, G4int nData) |
virtual OFString | Read1DataStr (DcmDataset *dset, DcmTagKey tagKey) |
Protected Attributes inherited from DicomVFileImage | |
G4double | fLocation |
G4double | fBitAllocated |
G4double | fRescaleSlope |
G4double | fRescaleIntercept |
G4int | fNoVoxelX |
G4int | fNoVoxelY |
G4int | fNoVoxelZ |
G4double | fMinX |
G4double | fMinY |
G4double | fMinZ |
G4double | fMaxX |
G4double | fMaxY |
G4double | fMaxZ |
G4double | fVoxelDimX |
G4double | fVoxelDimY |
G4double | fVoxelDimZ |
G4ThreeVector | fOrientationRows |
G4ThreeVector | fOrientationColumns |
std::vector< int > | fHounsfieldV |
DicomFileMgr * | theFileMgr |
Definition at line 31 of file DicomFileCT.hh.
View newest version in sPHENIX GitHub at line 31 of file DicomFileCT.hh
DicomFileCT::DicomFileCT | ( | ) |
Definition at line 42 of file DicomFileCT.cc.
View newest version in sPHENIX GitHub at line 42 of file DicomFileCT.cc
DicomFileCT::DicomFileCT | ( | DcmDataset * | dset | ) |
Definition at line 47 of file DicomFileCT.cc.
View newest version in sPHENIX GitHub at line 47 of file DicomFileCT.cc
|
inline |
Definition at line 36 of file DicomFileCT.hh.
View newest version in sPHENIX GitHub at line 36 of file DicomFileCT.hh
void DicomFileCT::BuildMaterials | ( | ) |
Definition at line 52 of file DicomFileCT.cc.
View newest version in sPHENIX GitHub at line 52 of file DicomFileCT.cc
References FatalException, fDensities, DicomVFileImage::fHounsfieldV, fMateIDs, DicomVFileImage::fNoVoxelX, DicomVFileImage::fNoVoxelY, G4Exception(), DicomFileMgr::GetCompression(), DicomFileMgr::GetMaterialIndex(), DicomFileMgr::GetMaterialIndexByDensity(), DicomFileMgr::Hounsfield2density(), DicomFileMgr::IsMaterialsDensity(), min, DicomVFileImage::theFileMgr, and nlohmann::to_string().
void DicomFileCT::BuildStructureIDs | ( | ) |
Definition at line 130 of file DicomFileCT.cc.
View newest version in sPHENIX GitHub at line 130 of file DicomFileCT.cc
References DBL_MAX, debugVerb, FatalException, DicomVFileImage::fLocation, DicomVFileImage::fMaxX, DicomVFileImage::fMaxY, DicomVFileImage::fMaxZ, DicomVFileImage::fMinX, DicomVFileImage::fMinY, DicomVFileImage::fMinZ, DicomVFileImage::fNoVoxelX, DicomVFileImage::fNoVoxelY, fStructure, DicomVFileImage::fVoxelDimX, DicomVFileImage::fVoxelDimY, G4cerr, G4cout, G4endl, G4Exception(), DicomFileMgr::GetCompression(), DicomROIContour::GetDirections(), DicomROIContour::GetGeomType(), DicomFileMgr::GetInstance(), DicomROIContour::GetPoints(), DicomFileMgr::GetStructFiles(), DicomFileMgr::GetStructureNCheck(), DicomFileMgr::GetStructureNMaxROI(), DicomROIContour::GetZ(), INT_MAX, JustWarning, max, min, testVerb, DicomVFileImage::theFileMgr, nlohmann::to_string(), DicomFileMgr::verbose, x, and y.
void DicomFileCT::DumpDensitiesToTextFile | ( | std::ofstream & | fout | ) |
Definition at line 110 of file DicomFileCT.cc.
View newest version in sPHENIX GitHub at line 110 of file DicomFileCT.cc
References fDensities, DicomVFile::fFileName, DicomVFileImage::fLocation, DicomVFileImage::fNoVoxelX, DicomVFileImage::fNoVoxelY, G4cout, G4endl, DicomFileMgr::GetCompression(), DicomVFileImage::theFileMgr, DicomFileMgr::verbose, and warningVerb.
void DicomFileCT::DumpMateIDsToTextFile | ( | std::ofstream & | fout | ) |
Definition at line 95 of file DicomFileCT.cc.
View newest version in sPHENIX GitHub at line 95 of file DicomFileCT.cc
References DicomVFile::fFileName, DicomVFileImage::fLocation, fMateIDs, DicomVFileImage::fNoVoxelX, DicomVFileImage::fNoVoxelY, G4cout, G4endl, DicomFileMgr::GetCompression(), DicomVFileImage::theFileMgr, DicomFileMgr::verbose, and warningVerb.
void DicomFileCT::DumpStructureIDsToTextFile | ( | std::ofstream & | fout | ) |
Definition at line 377 of file DicomFileCT.cc.
View newest version in sPHENIX GitHub at line 377 of file DicomFileCT.cc
References DicomVFile::fFileName, DicomVFileImage::fLocation, DicomVFileImage::fNoVoxelX, DicomVFileImage::fNoVoxelY, fStructure, G4cout, G4endl, DicomFileMgr::GetCompression(), DicomFileMgr::GetStructFiles(), DicomVFileImage::theFileMgr, and DicomFileMgr::verbose.
|
private |
Definition at line 47 of file DicomFileCT.hh.
View newest version in sPHENIX GitHub at line 47 of file DicomFileCT.hh
Referenced by BuildMaterials(), and DumpDensitiesToTextFile().
|
private |
Definition at line 46 of file DicomFileCT.hh.
View newest version in sPHENIX GitHub at line 46 of file DicomFileCT.hh
Referenced by BuildMaterials(), and DumpMateIDsToTextFile().
|
private |
Definition at line 48 of file DicomFileCT.hh.
View newest version in sPHENIX GitHub at line 48 of file DicomFileCT.hh
Referenced by BuildStructureIDs(), and DumpStructureIDsToTextFile().