Geant4  10.01
DicomNestedPhantomParameterisation Class Reference

Implements a G4VNestedParameterisation. More...

#include <DicomNestedPhantomParameterisation.hh>

+ Inheritance diagram for DicomNestedPhantomParameterisation:
+ Collaboration diagram for DicomNestedPhantomParameterisation:

Public Member Functions

 DicomNestedPhantomParameterisation (const G4ThreeVector &voxelSize, std::vector< G4Material * > &mat, G4int fnZ_=0, G4int fnY_=0, G4int fnX_=0)
 
 ~DicomNestedPhantomParameterisation ()
 
G4Material * ComputeMaterial (G4VPhysicalVolume *currentVol, const G4int repNo, const G4VTouchable *parentTouch)
 
G4int GetNumberOfMaterials () const
 
G4Material * GetMaterial (G4int idx) const
 
unsigned int GetMaterialIndex (unsigned int nx, unsigned int ny, unsigned int nz) const
 
unsigned int GetMaterialIndex (unsigned int copyNo) const
 
void SetMaterialIndices (size_t *matInd)
 
void SetNoVoxel (unsigned int nx, unsigned int ny, unsigned int nz)
 
void ComputeTransformation (const G4int no, G4VPhysicalVolume *currentPV) const
 
void ComputeDimensions (G4Box &, const G4int, const G4VPhysicalVolume *) const
 
- Public Member Functions inherited from G4VNestedParameterisation
 G4VNestedParameterisation ()
 
virtual ~G4VNestedParameterisation ()
 
virtual G4VSolid * ComputeSolid (const G4int no, G4VPhysicalVolume *thisVol)
 
G4Material * ComputeMaterial (const G4int repNo, G4VPhysicalVolume *currentVol, const G4VTouchable *parentTouch=0)
 
virtual G4bool IsNested () const
 
virtual G4VVolumeMaterialScanner * GetMaterialScanner ()
 
- Public Member Functions inherited from G4VPVParameterisation
 G4VPVParameterisation ()
 
virtual ~G4VPVParameterisation ()
 
- Public Member Functions inherited from G4VVolumeMaterialScanner
 G4VVolumeMaterialScanner ()
 
virtual ~G4VVolumeMaterialScanner ()
 

Private Member Functions

void ComputeDimensions (G4Trd &, const G4int, const G4VPhysicalVolume *) const
 
void ComputeDimensions (G4Trap &, const G4int, const G4VPhysicalVolume *) const
 
void ComputeDimensions (G4Cons &, const G4int, const G4VPhysicalVolume *) const
 
void ComputeDimensions (G4Sphere &, const G4int, const G4VPhysicalVolume *) const
 
void ComputeDimensions (G4Ellipsoid &, const G4int, const G4VPhysicalVolume *) const
 
void ComputeDimensions (G4Orb &, const G4int, const G4VPhysicalVolume *) const
 
void ComputeDimensions (G4Torus &, const G4int, const G4VPhysicalVolume *) const
 
void ComputeDimensions (G4Para &, const G4int, const G4VPhysicalVolume *) const
 
void ComputeDimensions (G4Hype &, const G4int, const G4VPhysicalVolume *) const
 
void ComputeDimensions (G4Tubs &, const G4int, const G4VPhysicalVolume *) const
 
void ComputeDimensions (G4Polycone &, const G4int, const G4VPhysicalVolume *) const
 
void ComputeDimensions (G4Polyhedra &, const G4int, const G4VPhysicalVolume *) const
 
void ReadColourData ()
 

Private Attributes

G4double fdX
 
G4double fdY
 
G4double fdZ
 
G4int fnX
 
G4int fnY
 
G4int fnZ
 
std::vector< G4Material * > fMaterials
 
size_t * fMaterialIndices
 
std::map< G4String,
G4VisAttributes * > 
fColours
 
std::vector< G4double > fpZ
 

Detailed Description

Implements a G4VNestedParameterisation.

Definition at line 66 of file DicomNestedPhantomParameterisation.hh.

Constructor & Destructor Documentation

DicomNestedPhantomParameterisation::DicomNestedPhantomParameterisation ( const G4ThreeVector &  voxelSize,
std::vector< G4Material * > &  mat,
G4int  fnZ_ = 0,
G4int  fnY_ = 0,
G4int  fnX_ = 0 
)

Definition at line 46 of file DicomNestedPhantomParameterisation.cc.

References ReadColourData().

+ Here is the call graph for this function:

DicomNestedPhantomParameterisation::~DicomNestedPhantomParameterisation ( )

Definition at line 60 of file DicomNestedPhantomParameterisation.cc.

Member Function Documentation

void DicomNestedPhantomParameterisation::ComputeDimensions ( G4Box &  box,
const G4int  ,
const G4VPhysicalVolume *   
) const
virtual

Reimplemented from G4VNestedParameterisation.

Definition at line 208 of file DicomNestedPhantomParameterisation.cc.

References fdX, fdY, fdZ, G4Box::SetXHalfLength(), G4Box::SetYHalfLength(), and G4Box::SetZHalfLength().

+ Here is the call graph for this function:

void DicomNestedPhantomParameterisation::ComputeDimensions ( G4Trd &  ,
const G4int  ,
const G4VPhysicalVolume *   
) const
inlineprivatevirtual

Reimplemented from G4VNestedParameterisation.

Definition at line 103 of file DicomNestedPhantomParameterisation.hh.

void DicomNestedPhantomParameterisation::ComputeDimensions ( G4Trap &  ,
const G4int  ,
const G4VPhysicalVolume *   
) const
inlineprivatevirtual

Reimplemented from G4VNestedParameterisation.

Definition at line 105 of file DicomNestedPhantomParameterisation.hh.

void DicomNestedPhantomParameterisation::ComputeDimensions ( G4Cons &  ,
const G4int  ,
const G4VPhysicalVolume *   
) const
inlineprivatevirtual

Reimplemented from G4VNestedParameterisation.

Definition at line 107 of file DicomNestedPhantomParameterisation.hh.

void DicomNestedPhantomParameterisation::ComputeDimensions ( G4Sphere &  ,
const G4int  ,
const G4VPhysicalVolume *   
) const
inlineprivatevirtual

Reimplemented from G4VNestedParameterisation.

Definition at line 109 of file DicomNestedPhantomParameterisation.hh.

void DicomNestedPhantomParameterisation::ComputeDimensions ( G4Ellipsoid &  ,
const G4int  ,
const G4VPhysicalVolume *   
) const
inlineprivatevirtual

Reimplemented from G4VNestedParameterisation.

Definition at line 111 of file DicomNestedPhantomParameterisation.hh.

void DicomNestedPhantomParameterisation::ComputeDimensions ( G4Orb &  ,
const G4int  ,
const G4VPhysicalVolume *   
) const
inlineprivatevirtual

Reimplemented from G4VNestedParameterisation.

Definition at line 113 of file DicomNestedPhantomParameterisation.hh.

void DicomNestedPhantomParameterisation::ComputeDimensions ( G4Torus &  ,
const G4int  ,
const G4VPhysicalVolume *   
) const
inlineprivatevirtual

Reimplemented from G4VNestedParameterisation.

Definition at line 115 of file DicomNestedPhantomParameterisation.hh.

void DicomNestedPhantomParameterisation::ComputeDimensions ( G4Para &  ,
const G4int  ,
const G4VPhysicalVolume *   
) const
inlineprivatevirtual

Reimplemented from G4VNestedParameterisation.

Definition at line 117 of file DicomNestedPhantomParameterisation.hh.

void DicomNestedPhantomParameterisation::ComputeDimensions ( G4Hype &  ,
const G4int  ,
const G4VPhysicalVolume *   
) const
inlineprivatevirtual

Reimplemented from G4VNestedParameterisation.

Definition at line 119 of file DicomNestedPhantomParameterisation.hh.

void DicomNestedPhantomParameterisation::ComputeDimensions ( G4Tubs &  ,
const G4int  ,
const G4VPhysicalVolume *   
) const
inlineprivatevirtual

Reimplemented from G4VNestedParameterisation.

Definition at line 121 of file DicomNestedPhantomParameterisation.hh.

void DicomNestedPhantomParameterisation::ComputeDimensions ( G4Polycone &  ,
const G4int  ,
const G4VPhysicalVolume *   
) const
inlineprivatevirtual

Reimplemented from G4VNestedParameterisation.

Definition at line 123 of file DicomNestedPhantomParameterisation.hh.

void DicomNestedPhantomParameterisation::ComputeDimensions ( G4Polyhedra &  ,
const G4int  ,
const G4VPhysicalVolume *   
) const
inlineprivatevirtual

Reimplemented from G4VNestedParameterisation.

Definition at line 125 of file DicomNestedPhantomParameterisation.hh.

G4Material * DicomNestedPhantomParameterisation::ComputeMaterial ( G4VPhysicalVolume *  currentVol,
const G4int  repNo,
const G4VTouchable *  parentTouch 
)
virtual

Implements G4VNestedParameterisation.

Definition at line 122 of file DicomNestedPhantomParameterisation.cc.

References fColours, fMaterials, fnX, fnY, G4VVisManager::GetConcreteInstance(), G4VPhysicalVolume::GetLogicalVolume(), GetMaterialIndex(), G4VTouchable::GetReplicaNumber(), and iz.

+ Here is the call graph for this function:

void DicomNestedPhantomParameterisation::ComputeTransformation ( const G4int  no,
G4VPhysicalVolume *  currentPV 
) const
virtual

Implements G4VNestedParameterisation.

Definition at line 194 of file DicomNestedPhantomParameterisation.cc.

References fdZ, fnZ, and G4VPhysicalVolume::SetTranslation().

+ Here is the call graph for this function:

G4Material * DicomNestedPhantomParameterisation::GetMaterial ( G4int  idx) const
virtual

Implements G4VNestedParameterisation.

Definition at line 185 of file DicomNestedPhantomParameterisation.cc.

References fMaterials.

unsigned int DicomNestedPhantomParameterisation::GetMaterialIndex ( unsigned int  nx,
unsigned int  ny,
unsigned int  nz 
) const

Referenced by ComputeMaterial().

+ Here is the caller graph for this function:

unsigned int DicomNestedPhantomParameterisation::GetMaterialIndex ( unsigned int  copyNo) const

Definition at line 164 of file DicomNestedPhantomParameterisation.cc.

References fMaterialIndices.

G4int DicomNestedPhantomParameterisation::GetNumberOfMaterials ( ) const
virtual

Implements G4VNestedParameterisation.

Definition at line 175 of file DicomNestedPhantomParameterisation.cc.

References fMaterials.

void DicomNestedPhantomParameterisation::ReadColourData ( )
private

Definition at line 65 of file DicomNestedPhantomParameterisation.cc.

References FALSE, fColours, and G4VisAttributes::SetVisibility().

Referenced by DicomNestedPhantomParameterisation().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void DicomNestedPhantomParameterisation::SetMaterialIndices ( size_t *  matInd)
inline

Definition at line 88 of file DicomNestedPhantomParameterisation.hh.

References fMaterialIndices.

Referenced by DicomNestedParamDetectorConstruction::ConstructPhantom().

+ Here is the caller graph for this function:

void DicomNestedPhantomParameterisation::SetNoVoxel ( unsigned int  nx,
unsigned int  ny,
unsigned int  nz 
)

Definition at line 113 of file DicomNestedPhantomParameterisation.cc.

References fnX, fnY, and fnZ.

Referenced by DicomNestedParamDetectorConstruction::ConstructPhantom().

+ Here is the caller graph for this function:

Member Data Documentation

std::map<G4String,G4VisAttributes*> DicomNestedPhantomParameterisation::fColours
private

Definition at line 138 of file DicomNestedPhantomParameterisation.hh.

Referenced by ComputeMaterial(), and ReadColourData().

G4double DicomNestedPhantomParameterisation::fdX
private

Definition at line 134 of file DicomNestedPhantomParameterisation.hh.

Referenced by ComputeDimensions().

G4double DicomNestedPhantomParameterisation::fdY
private

Definition at line 134 of file DicomNestedPhantomParameterisation.hh.

Referenced by ComputeDimensions().

G4double DicomNestedPhantomParameterisation::fdZ
private
size_t* DicomNestedPhantomParameterisation::fMaterialIndices
private

Definition at line 137 of file DicomNestedPhantomParameterisation.hh.

Referenced by GetMaterialIndex(), and SetMaterialIndices().

std::vector<G4Material*> DicomNestedPhantomParameterisation::fMaterials
private
G4int DicomNestedPhantomParameterisation::fnX
private

Definition at line 135 of file DicomNestedPhantomParameterisation.hh.

Referenced by ComputeMaterial(), and SetNoVoxel().

G4int DicomNestedPhantomParameterisation::fnY
private

Definition at line 135 of file DicomNestedPhantomParameterisation.hh.

Referenced by ComputeMaterial(), and SetNoVoxel().

G4int DicomNestedPhantomParameterisation::fnZ
private

Definition at line 135 of file DicomNestedPhantomParameterisation.hh.

Referenced by ComputeTransformation(), and SetNoVoxel().

std::vector<G4double> DicomNestedPhantomParameterisation::fpZ
private

Definition at line 139 of file DicomNestedPhantomParameterisation.hh.


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