ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DicomFileCT_NOdcmrt Class Reference

#include <geant4/tree/geant4-10.6-release/examples/extended/medical/DICOM/dicomReader/include/DicomFileCT_NOdcmrt.hh>

+ Inheritance diagram for DicomFileCT_NOdcmrt:
+ Collaboration diagram for DicomFileCT_NOdcmrt:

Public Member Functions

 DicomFileCT_NOdcmrt ()
 
 DicomFileCT_NOdcmrt (DcmDataset *dset)
 
 ~DicomFileCT_NOdcmrt ()
 
virtual void ReadData ()
 
void operator+= (const DicomFileCT_NOdcmrt &rhs)
 
DicomFileCT_NOdcmrt operator+ (const DicomFileCT_NOdcmrt &rhs)
 
void BuildMaterials ()
 
void DumpHeaderToTextFile (std::ofstream &fout)
 
void DumpMateIDsToTextFile (std::ofstream &fout)
 
void DumpDensitiesToTextFile (std::ofstream &fout)
 
void BuildStructureIDs ()
 
void DumpStructureIDsToTextFile (std::ofstream &fout)
 
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
 
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)
 
const G4doubleGetLocation () const
 
void SetLocation (const G4double &val)
 
G4ThreeVector GetOrientationRows () const
 
G4ThreeVector GetOrientationColumns () const
 
void DumpToTextFile ()
 
void DumpToBinaryFile ()
 
void ReadDataFromFile ()
 
- Public Member Functions inherited from DicomVFile
 DicomVFile ()
 
 DicomVFile (DcmDataset *dset)
 
 ~DicomVFile ()
 
void SetFileName (G4String fName)
 

Private Member Functions

template<typename T >
bool CheckConsistency (const T &, const T &, G4String)
 
void ReadPixelData ()
 
void Print (std::ostream &out)
 

Private Attributes

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< intfHounsfieldV
 
std::vector< size_t > fMateIDs
 
std::vector< G4doublefDensities
 
std::vector< G4intfStructure
 
DicomFileMgrtheFileMgr
 

Additional Inherited Members

- Protected Member Functions inherited from DicomVFile
virtual std::vector< G4doubleRead1Data (DcmDataset *dset, DcmTagKey tagKey, G4int nData)
 
virtual OFString Read1DataStr (DcmDataset *dset, DcmTagKey tagKey)
 
- Protected Attributes inherited from DicomVFile
DcmDataset * theDataset
 
G4String fFileName
 

Detailed Description

Definition at line 33 of file DicomFileCT_NOdcmrt.hh.

View newest version in sPHENIX GitHub at line 33 of file DicomFileCT_NOdcmrt.hh

Constructor & Destructor Documentation

DicomFileCT_NOdcmrt::DicomFileCT_NOdcmrt ( )
DicomFileCT_NOdcmrt::DicomFileCT_NOdcmrt ( DcmDataset *  dset)
DicomFileCT_NOdcmrt::~DicomFileCT_NOdcmrt ( )
inline

Definition at line 38 of file DicomFileCT_NOdcmrt.hh.

View newest version in sPHENIX GitHub at line 38 of file DicomFileCT_NOdcmrt.hh

Member Function Documentation

void DicomFileCT_NOdcmrt::BuildMaterials ( )
void DicomFileCT_NOdcmrt::BuildStructureIDs ( )
template<typename T >
bool DicomFileCT_NOdcmrt::CheckConsistency ( const T val1,
const T val2,
G4String  category 
)
inlineprivate

Definition at line 121 of file DicomFileCT_NOdcmrt.hh.

View newest version in sPHENIX GitHub at line 121 of file DicomFileCT_NOdcmrt.hh

References G4Exception(), and JustWarning.

+ Here is the call graph for this function:

void DicomFileCT_NOdcmrt::DumpDensitiesToTextFile ( std::ofstream &  fout)
void DicomFileCT_NOdcmrt::DumpHeaderToTextFile ( std::ofstream &  fout)
void DicomFileCT_NOdcmrt::DumpMateIDsToTextFile ( std::ofstream &  fout)
void DicomFileCT_NOdcmrt::DumpStructureIDsToTextFile ( std::ofstream &  fout)
void DicomFileCT_NOdcmrt::DumpToBinaryFile ( )
void DicomFileCT_NOdcmrt::DumpToTextFile ( )
const G4double& DicomFileCT_NOdcmrt::GetLocation ( ) const
inline

Definition at line 78 of file DicomFileCT_NOdcmrt.hh.

View newest version in sPHENIX GitHub at line 78 of file DicomFileCT_NOdcmrt.hh

References fLocation.

G4double DicomFileCT_NOdcmrt::GetMaxX ( ) const
inline

Definition at line 63 of file DicomFileCT_NOdcmrt.hh.

View newest version in sPHENIX GitHub at line 63 of file DicomFileCT_NOdcmrt.hh

References fMaxX.

G4double DicomFileCT_NOdcmrt::GetMaxY ( ) const
inline

Definition at line 64 of file DicomFileCT_NOdcmrt.hh.

View newest version in sPHENIX GitHub at line 64 of file DicomFileCT_NOdcmrt.hh

References fMaxY.

G4double DicomFileCT_NOdcmrt::GetMaxZ ( ) const
inline

Definition at line 65 of file DicomFileCT_NOdcmrt.hh.

View newest version in sPHENIX GitHub at line 65 of file DicomFileCT_NOdcmrt.hh

References fMaxZ.

G4double DicomFileCT_NOdcmrt::GetMinX ( ) const
inline

Definition at line 60 of file DicomFileCT_NOdcmrt.hh.

View newest version in sPHENIX GitHub at line 60 of file DicomFileCT_NOdcmrt.hh

References fMinX.

G4double DicomFileCT_NOdcmrt::GetMinY ( ) const
inline

Definition at line 61 of file DicomFileCT_NOdcmrt.hh.

View newest version in sPHENIX GitHub at line 61 of file DicomFileCT_NOdcmrt.hh

References fMinY.

G4double DicomFileCT_NOdcmrt::GetMinZ ( ) const
inline

Definition at line 62 of file DicomFileCT_NOdcmrt.hh.

View newest version in sPHENIX GitHub at line 62 of file DicomFileCT_NOdcmrt.hh

References fMinZ.

G4int DicomFileCT_NOdcmrt::GetNoVoxels ( ) const
inline

Definition at line 58 of file DicomFileCT_NOdcmrt.hh.

View newest version in sPHENIX GitHub at line 58 of file DicomFileCT_NOdcmrt.hh

References fNoVoxelX, fNoVoxelY, and fNoVoxelZ.

G4int DicomFileCT_NOdcmrt::GetNoVoxelX ( ) const
inline

Definition at line 55 of file DicomFileCT_NOdcmrt.hh.

View newest version in sPHENIX GitHub at line 55 of file DicomFileCT_NOdcmrt.hh

References fNoVoxelX.

G4int DicomFileCT_NOdcmrt::GetNoVoxelY ( ) const
inline

Definition at line 56 of file DicomFileCT_NOdcmrt.hh.

View newest version in sPHENIX GitHub at line 56 of file DicomFileCT_NOdcmrt.hh

References fNoVoxelY.

G4int DicomFileCT_NOdcmrt::GetNoVoxelZ ( ) const
inline

Definition at line 57 of file DicomFileCT_NOdcmrt.hh.

View newest version in sPHENIX GitHub at line 57 of file DicomFileCT_NOdcmrt.hh

References fNoVoxelZ.

G4ThreeVector DicomFileCT_NOdcmrt::GetOrientationColumns ( ) const
inline

Definition at line 83 of file DicomFileCT_NOdcmrt.hh.

View newest version in sPHENIX GitHub at line 83 of file DicomFileCT_NOdcmrt.hh

References fOrientationColumns.

G4ThreeVector DicomFileCT_NOdcmrt::GetOrientationRows ( ) const
inline

Definition at line 82 of file DicomFileCT_NOdcmrt.hh.

View newest version in sPHENIX GitHub at line 82 of file DicomFileCT_NOdcmrt.hh

References fOrientationRows.

DicomFileCT_NOdcmrt DicomFileCT_NOdcmrt::operator+ ( const DicomFileCT_NOdcmrt rhs)
void DicomFileCT_NOdcmrt::operator+= ( const DicomFileCT_NOdcmrt rhs)
void DicomFileCT_NOdcmrt::Print ( std::ostream &  out)
private
virtual void DicomFileCT_NOdcmrt::ReadData ( )
virtual

Implements DicomVFile.

void DicomFileCT_NOdcmrt::ReadDataFromFile ( )
void DicomFileCT_NOdcmrt::ReadPixelData ( )
private
void DicomFileCT_NOdcmrt::SetLocation ( const G4double val)
inline

Definition at line 80 of file DicomFileCT_NOdcmrt.hh.

View newest version in sPHENIX GitHub at line 80 of file DicomFileCT_NOdcmrt.hh

References fLocation.

void DicomFileCT_NOdcmrt::SetMaxX ( const G4double val)
inline

Definition at line 72 of file DicomFileCT_NOdcmrt.hh.

View newest version in sPHENIX GitHub at line 72 of file DicomFileCT_NOdcmrt.hh

References fMaxX.

void DicomFileCT_NOdcmrt::SetMaxY ( const G4double val)
inline

Definition at line 74 of file DicomFileCT_NOdcmrt.hh.

View newest version in sPHENIX GitHub at line 74 of file DicomFileCT_NOdcmrt.hh

References fMaxY.

void DicomFileCT_NOdcmrt::SetMaxZ ( const G4double val)
inline

Definition at line 76 of file DicomFileCT_NOdcmrt.hh.

View newest version in sPHENIX GitHub at line 76 of file DicomFileCT_NOdcmrt.hh

References fMaxZ.

void DicomFileCT_NOdcmrt::SetMinX ( const G4double val)
inline

Definition at line 71 of file DicomFileCT_NOdcmrt.hh.

View newest version in sPHENIX GitHub at line 71 of file DicomFileCT_NOdcmrt.hh

References fMinX.

void DicomFileCT_NOdcmrt::SetMinY ( const G4double val)
inline

Definition at line 73 of file DicomFileCT_NOdcmrt.hh.

View newest version in sPHENIX GitHub at line 73 of file DicomFileCT_NOdcmrt.hh

References fMinY.

void DicomFileCT_NOdcmrt::SetMinZ ( const G4double val)
inline

Definition at line 75 of file DicomFileCT_NOdcmrt.hh.

View newest version in sPHENIX GitHub at line 75 of file DicomFileCT_NOdcmrt.hh

References fMinZ.

void DicomFileCT_NOdcmrt::SetNoVoxelX ( const G4int val)
inline

Definition at line 67 of file DicomFileCT_NOdcmrt.hh.

View newest version in sPHENIX GitHub at line 67 of file DicomFileCT_NOdcmrt.hh

References fNoVoxelX.

void DicomFileCT_NOdcmrt::SetNoVoxelY ( const G4int val)
inline

Definition at line 68 of file DicomFileCT_NOdcmrt.hh.

View newest version in sPHENIX GitHub at line 68 of file DicomFileCT_NOdcmrt.hh

References fNoVoxelY.

void DicomFileCT_NOdcmrt::SetNoVoxelZ ( const G4int val)
inline

Definition at line 69 of file DicomFileCT_NOdcmrt.hh.

View newest version in sPHENIX GitHub at line 69 of file DicomFileCT_NOdcmrt.hh

References fNoVoxelZ.

Member Data Documentation

G4double DicomFileCT_NOdcmrt::fBitAllocated
private

Definition at line 98 of file DicomFileCT_NOdcmrt.hh.

View newest version in sPHENIX GitHub at line 98 of file DicomFileCT_NOdcmrt.hh

std::vector<G4double> DicomFileCT_NOdcmrt::fDensities
private

Definition at line 112 of file DicomFileCT_NOdcmrt.hh.

View newest version in sPHENIX GitHub at line 112 of file DicomFileCT_NOdcmrt.hh

std::vector<int> DicomFileCT_NOdcmrt::fHounsfieldV
private

Definition at line 110 of file DicomFileCT_NOdcmrt.hh.

View newest version in sPHENIX GitHub at line 110 of file DicomFileCT_NOdcmrt.hh

G4double DicomFileCT_NOdcmrt::fLocation
private

Definition at line 97 of file DicomFileCT_NOdcmrt.hh.

View newest version in sPHENIX GitHub at line 97 of file DicomFileCT_NOdcmrt.hh

Referenced by GetLocation(), and SetLocation().

std::vector<size_t> DicomFileCT_NOdcmrt::fMateIDs
private

Definition at line 111 of file DicomFileCT_NOdcmrt.hh.

View newest version in sPHENIX GitHub at line 111 of file DicomFileCT_NOdcmrt.hh

G4double DicomFileCT_NOdcmrt::fMaxX
private

Definition at line 104 of file DicomFileCT_NOdcmrt.hh.

View newest version in sPHENIX GitHub at line 104 of file DicomFileCT_NOdcmrt.hh

Referenced by GetMaxX(), and SetMaxX().

G4double DicomFileCT_NOdcmrt::fMaxY
private

Definition at line 104 of file DicomFileCT_NOdcmrt.hh.

View newest version in sPHENIX GitHub at line 104 of file DicomFileCT_NOdcmrt.hh

Referenced by GetMaxY(), and SetMaxY().

G4double DicomFileCT_NOdcmrt::fMaxZ
private

Definition at line 104 of file DicomFileCT_NOdcmrt.hh.

View newest version in sPHENIX GitHub at line 104 of file DicomFileCT_NOdcmrt.hh

Referenced by GetMaxZ(), and SetMaxZ().

G4double DicomFileCT_NOdcmrt::fMinX
private

Definition at line 103 of file DicomFileCT_NOdcmrt.hh.

View newest version in sPHENIX GitHub at line 103 of file DicomFileCT_NOdcmrt.hh

Referenced by GetMinX(), and SetMinX().

G4double DicomFileCT_NOdcmrt::fMinY
private

Definition at line 103 of file DicomFileCT_NOdcmrt.hh.

View newest version in sPHENIX GitHub at line 103 of file DicomFileCT_NOdcmrt.hh

Referenced by GetMinY(), and SetMinY().

G4double DicomFileCT_NOdcmrt::fMinZ
private

Definition at line 103 of file DicomFileCT_NOdcmrt.hh.

View newest version in sPHENIX GitHub at line 103 of file DicomFileCT_NOdcmrt.hh

Referenced by GetMinZ(), and SetMinZ().

G4int DicomFileCT_NOdcmrt::fNoVoxelX
private

Definition at line 102 of file DicomFileCT_NOdcmrt.hh.

View newest version in sPHENIX GitHub at line 102 of file DicomFileCT_NOdcmrt.hh

Referenced by GetNoVoxels(), GetNoVoxelX(), and SetNoVoxelX().

G4int DicomFileCT_NOdcmrt::fNoVoxelY
private

Definition at line 102 of file DicomFileCT_NOdcmrt.hh.

View newest version in sPHENIX GitHub at line 102 of file DicomFileCT_NOdcmrt.hh

Referenced by GetNoVoxels(), GetNoVoxelY(), and SetNoVoxelY().

G4int DicomFileCT_NOdcmrt::fNoVoxelZ
private

Definition at line 102 of file DicomFileCT_NOdcmrt.hh.

View newest version in sPHENIX GitHub at line 102 of file DicomFileCT_NOdcmrt.hh

Referenced by GetNoVoxels(), GetNoVoxelZ(), and SetNoVoxelZ().

G4ThreeVector DicomFileCT_NOdcmrt::fOrientationColumns
private

Definition at line 108 of file DicomFileCT_NOdcmrt.hh.

View newest version in sPHENIX GitHub at line 108 of file DicomFileCT_NOdcmrt.hh

Referenced by GetOrientationColumns().

G4ThreeVector DicomFileCT_NOdcmrt::fOrientationRows
private

Definition at line 107 of file DicomFileCT_NOdcmrt.hh.

View newest version in sPHENIX GitHub at line 107 of file DicomFileCT_NOdcmrt.hh

Referenced by GetOrientationRows().

G4double DicomFileCT_NOdcmrt::fRescaleIntercept
private

Definition at line 100 of file DicomFileCT_NOdcmrt.hh.

View newest version in sPHENIX GitHub at line 100 of file DicomFileCT_NOdcmrt.hh

G4double DicomFileCT_NOdcmrt::fRescaleSlope
private

Definition at line 99 of file DicomFileCT_NOdcmrt.hh.

View newest version in sPHENIX GitHub at line 99 of file DicomFileCT_NOdcmrt.hh

std::vector<G4int> DicomFileCT_NOdcmrt::fStructure
private

Definition at line 113 of file DicomFileCT_NOdcmrt.hh.

View newest version in sPHENIX GitHub at line 113 of file DicomFileCT_NOdcmrt.hh

G4double DicomFileCT_NOdcmrt::fVoxelDimX
private

Definition at line 105 of file DicomFileCT_NOdcmrt.hh.

View newest version in sPHENIX GitHub at line 105 of file DicomFileCT_NOdcmrt.hh

G4double DicomFileCT_NOdcmrt::fVoxelDimY
private

Definition at line 105 of file DicomFileCT_NOdcmrt.hh.

View newest version in sPHENIX GitHub at line 105 of file DicomFileCT_NOdcmrt.hh

G4double DicomFileCT_NOdcmrt::fVoxelDimZ
private

Definition at line 105 of file DicomFileCT_NOdcmrt.hh.

View newest version in sPHENIX GitHub at line 105 of file DicomFileCT_NOdcmrt.hh

DicomFileMgr* DicomFileCT_NOdcmrt::theFileMgr
private

Definition at line 116 of file DicomFileCT_NOdcmrt.hh.

View newest version in sPHENIX GitHub at line 116 of file DicomFileCT_NOdcmrt.hh


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