26 #ifndef DicomFileMgr__HH
27 #define DicomFileMgr__HH
32 #include "dcmtk/dcmdata/dcfilefo.h"
41 typedef std::map<G4double,DicomFileCT*>
mdct;
42 typedef std::map<G4double,DicomFilePET*>
mdpet;
57 return theStructFiles;
67 void CheckNColumns(std::vector<G4String> wl,
size_t vsizeTh );
80 theStructureNCheck = nsc;
83 return theStructureNCheck;
86 theStructureNMaxROI = nsc;
89 return theStructureNMaxROI;
95 return theFileOutName;
112 std::vector<DicomFileStructure*> theStructFiles;
113 std::vector<DicomFilePlan*> thePlanFiles;
115 std::map<G4double,G4String> theMaterials;
116 std::map<G4double,G4String> theMaterialsDensity;
117 std::map<G4int,G4double> theCT2Density;
121 G4int theStructureNCheck;
122 G4int theStructureNMaxROI;
G4bool IsMaterialsDensity() const
G4double Hounsfield2density(Uint32 Hval)
void SetStructureNCheck(G4int nsc)
std::map< G4double, DicomFilePET * > mdpet
G4int GetCompression() const
std::vector< DicomFileStructure * > GetStructFiles() const
std::map< G4double, DicomFileCT * > mdct
void AddMaterialDensity(std::vector< G4String > data)
const XML_Char const XML_Char * data
void SetStructureNMaxROI(G4int nsc)
void SetCompression(G4String fComp)
size_t GetMaterialIndexByDensity(G4double density)
void AddCT2Density(std::vector< G4String > data)
G4String GetFileOutName() const
void AddFile(G4String fComp)
void BuildPETActivities()
void CheckNColumns(std::vector< G4String > wl, size_t vsizeTh)
size_t GetMaterialIndex(G4double Hval)
void SetControlPointMetersets()
void AddMaterial(std::vector< G4String > data)
G4int GetStructureNCheck() const
G4int GetStructureNMaxROI() const
void Convert(G4String fFileName)
static DicomFileMgr * GetInstance()