Geant4  10.03
DicomPhantomParameterisationColour Class Reference

Class inherited from G4PhantomParameterisation to provide different. More...

#include <DicomPhantomParameterisationColour.hh>

+ Inheritance diagram for DicomPhantomParameterisationColour:
+ Collaboration diagram for DicomPhantomParameterisationColour:

Public Member Functions

 DicomPhantomParameterisationColour ()
 
 ~DicomPhantomParameterisationColour ()
 
virtual G4MaterialComputeMaterial (const G4int repNo, G4VPhysicalVolume *currentVol, const G4VTouchable *parentTouch=0)
 
- Public Member Functions inherited from G4PhantomParameterisation
 G4PhantomParameterisation ()
 
 ~G4PhantomParameterisation ()
 
virtual void ComputeTransformation (const G4int, G4VPhysicalVolume *) const
 
virtual G4VSolidComputeSolid (const G4int, G4VPhysicalVolume *)
 
void ComputeDimensions (G4Box &, const G4int, const G4VPhysicalVolume *) const
 
void ComputeDimensions (G4Tubs &, const G4int, const G4VPhysicalVolume *) const
 
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 (G4Orb &, const G4int, const G4VPhysicalVolume *) const
 
void ComputeDimensions (G4Sphere &, const G4int, const G4VPhysicalVolume *) const
 
void ComputeDimensions (G4Ellipsoid &, 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 (G4Polycone &, const G4int, const G4VPhysicalVolume *) const
 
void ComputeDimensions (G4Polyhedra &, const G4int, const G4VPhysicalVolume *) const
 
void BuildContainerSolid (G4VPhysicalVolume *pPhysicalVol)
 
void BuildContainerSolid (G4VSolid *pMotherSolid)
 
virtual G4int GetReplicaNo (const G4ThreeVector &localPoint, const G4ThreeVector &localDir)
 
void SetMaterials (std::vector< G4Material * > &mates)
 
void SetMaterialIndices (size_t *matInd)
 
void SetVoxelDimensions (G4double halfx, G4double halfy, G4double halfz)
 
void SetNoVoxel (size_t nx, size_t ny, size_t nz)
 
G4double GetVoxelHalfX () const
 
G4double GetVoxelHalfY () const
 
G4double GetVoxelHalfZ () const
 
size_t GetNoVoxelX () const
 
size_t GetNoVoxelY () const
 
size_t GetNoVoxelZ () const
 
size_t GetNoVoxel () const
 
std::vector< G4Material * > GetMaterials () const
 
size_t * GetMaterialIndices () const
 
G4VSolidGetContainerSolid () const
 
G4ThreeVector GetTranslation (const G4int copyNo) const
 
G4bool SkipEqualMaterials () const
 
void SetSkipEqualMaterials (G4bool skip)
 
size_t GetMaterialIndex (size_t nx, size_t ny, size_t nz) const
 
size_t GetMaterialIndex (size_t copyNo) const
 
G4MaterialGetMaterial (size_t nx, size_t ny, size_t nz) const
 
G4MaterialGetMaterial (size_t copyNo) const
 
void CheckVoxelsFillContainer (G4double contX, G4double contY, G4double contZ) const
 
- Public Member Functions inherited from G4VPVParameterisation
 G4VPVParameterisation ()
 
virtual ~G4VPVParameterisation ()
 
virtual G4bool IsNested () const
 
virtual G4VVolumeMaterialScannerGetMaterialScanner ()
 

Private Member Functions

void ReadColourData ()
 

Private Attributes

std::map< G4String,
G4VisAttributes * > 
fColours
 

Additional Inherited Members

- Protected Attributes inherited from G4PhantomParameterisation
G4double fVoxelHalfX
 
G4double fVoxelHalfY
 
G4double fVoxelHalfZ
 
size_t fNoVoxelX
 
size_t fNoVoxelY
 
size_t fNoVoxelZ
 
size_t fNoVoxelXY
 
size_t fNoVoxel
 
std::vector< G4Material * > fMaterials
 
size_t * fMaterialIndices
 
G4VSolidfContainerSolid
 
G4double fContainerWallX
 
G4double fContainerWallY
 
G4double fContainerWallZ
 
G4double kCarTolerance
 
G4bool bSkipEqualMaterials
 

Detailed Description

Class inherited from G4PhantomParameterisation to provide different.

History:

  • Created. 5 December 2007
    Author
    P. Arce

Definition at line 49 of file DicomPhantomParameterisationColour.hh.

Constructor & Destructor Documentation

DicomPhantomParameterisationColour::DicomPhantomParameterisationColour ( )

Definition at line 40 of file DicomPhantomParameterisationColour.cc.

References ReadColourData(), and G4PhantomParameterisation::SetSkipEqualMaterials().

+ Here is the call graph for this function:

DicomPhantomParameterisationColour::~DicomPhantomParameterisationColour ( )

Definition at line 48 of file DicomPhantomParameterisationColour.cc.

Member Function Documentation

G4Material * DicomPhantomParameterisationColour::ComputeMaterial ( const G4int  repNo,
G4VPhysicalVolume currentVol,
const G4VTouchable parentTouch = 0 
)
virtual

Reimplemented from G4PhantomParameterisation.

Definition at line 79 of file DicomPhantomParameterisationColour.cc.

References G4PhantomParameterisation::ComputeMaterial(), fColours, G4VPhysicalVolume::GetLogicalVolume(), G4Material::GetName(), and G4LogicalVolume::SetVisAttributes().

+ Here is the call graph for this function:

void DicomPhantomParameterisationColour::ReadColourData ( )
private

Definition at line 53 of file DicomPhantomParameterisationColour.cc.

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

Referenced by DicomPhantomParameterisationColour().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

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

Definition at line 64 of file DicomPhantomParameterisationColour.hh.

Referenced by ComputeMaterial(), and ReadColourData().


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