|
Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
|
G4VVolumeMaterialScanner is an interface class for repeated volumes or parameterisations that are able to tabulate their materials. More...
#include <G4VVolumeMaterialScanner.hh>
Public Member Functions | |
| G4VVolumeMaterialScanner ()=default | |
| virtual | ~G4VVolumeMaterialScanner ()=default |
| virtual G4int | GetNumberOfMaterials () const =0 |
| virtual G4Material * | GetMaterial (G4int idx) const =0 |
G4VVolumeMaterialScanner is an interface class for repeated volumes or parameterisations that are able to tabulate their materials.
Definition at line 47 of file G4VVolumeMaterialScanner.hh.
|
default |
Default Constructor and Destructor.
Referenced by G4VNestedParameterisation::ComputeTransformation(), and G4VNestedParameterisation::GetMaterialScanner().
|
virtualdefault |
|
pure virtual |
Method to return a pointer to the material, given an index.
Implemented in G4VNestedParameterisation.
Referenced by G4Region::ScanVolumeTree().
|
pure virtual |
Method to return the total number of materials.
Implemented in G4VNestedParameterisation.
Referenced by G4Region::ScanVolumeTree().