OMSim
Geant4 for IceCube optical module studies
Loading...
Searching...
No Matches
CADMesh::CADMeshTemplate< T > Class Template Referenceabstract

Public Member Functions

 CADMeshTemplate (G4String file_name)
 
 CADMeshTemplate (G4String file_name, File::Type file_type)
 
 CADMeshTemplate (std::shared_ptr< File::Reader > reader)
 
 CADMeshTemplate (G4String file_name, std::shared_ptr< File::Reader > reader)
 
 CADMeshTemplate (G4String file_name, File::Type file_type, std::shared_ptr< File::Reader > reader)
 
virtual G4VSolid * GetSolid ()=0
 
virtual G4VSolid * GetSolid (G4int index)=0
 
virtual G4VSolid * GetSolid (G4String name, G4bool exact=true)=0
 
virtual std::vector< G4VSolid * > GetSolids ()=0
 
virtual G4AssemblyVolume * GetAssembly ()=0
 
bool IsValidForNavigation ()
 
G4String GetFileName ()
 
File::Type GetFileType ()
 
void SetVerbose (G4int verbose)
 
G4int GetVerbose ()
 
void SetScale (G4double scale)
 
G4double GetScale ()
 
void SetOffset (G4double x, G4double y, G4double z)
 
void SetOffset (G4ThreeVector offset)
 
G4ThreeVector GetOffset ()
 

Static Public Member Functions

static std::shared_ptr< T > From (G4String file_name)
 
static std::shared_ptr< T > From (G4String file_name, std::shared_ptr< File::Reader > reader)
 
static std::shared_ptr< T > FromPLY (G4String file_name)
 
static std::shared_ptr< T > FromPLY (G4String file_name, std::shared_ptr< File::Reader > reader)
 
static std::shared_ptr< T > FromSTL (G4String file_name)
 
static std::shared_ptr< T > FromSTL (G4String file_name, std::shared_ptr< File::Reader > reader)
 
static std::shared_ptr< T > FromOBJ (G4String file_name)
 
static std::shared_ptr< T > FromOBJ (G4String file_name, std::shared_ptr< File::Reader > reader)
 

Protected Attributes

G4String file_name_
 
File::Type file_type_
 
G4int verbose_
 
G4double scale_
 
G4ThreeVector offset_
 
G4AssemblyVolume * assembly_ = nullptr
 
std::shared_ptr< File::Readerreader_ = nullptr
 

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