OMSim
Geant4 for IceCube optical module studies
Loading...
Searching...
No Matches
CADMesh::TessellatedMesh Class Reference
Inheritance diagram for CADMesh::TessellatedMesh:
[legend]
Collaboration diagram for CADMesh::TessellatedMesh:
[legend]

Public Member Functions

G4VSolid * GetSolid ()
 
G4VSolid * GetSolid (G4int index)
 
G4VSolid * GetSolid (G4String name, G4bool exact=true)
 
std::vector< G4VSolid * > GetSolids ()
 
G4TessellatedSolid * GetTessellatedSolid ()
 
G4TessellatedSolid * GetTessellatedSolid (G4int index)
 
G4TessellatedSolid * GetTessellatedSolid (G4String name, G4bool exact=true)
 
G4TessellatedSolid * GetTessellatedSolid (std::shared_ptr< Mesh > mesh)
 
G4AssemblyVolume * GetAssembly ()
 
void SetReverse (G4bool reverse)
 
G4bool GetReverse ()
 
- Public Member Functions inherited from CADMesh::CADMeshTemplate< TessellatedMesh >
 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)
 
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 ()
 

Private Member Functions

 CADMeshTemplate ()
 
 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)
 

Private Attributes

G4bool reverse_
 

Additional Inherited Members

- Static Public Member Functions inherited from CADMesh::CADMeshTemplate< TessellatedMesh >
static std::shared_ptr< TessellatedMeshFrom (G4String file_name)
 
static std::shared_ptr< TessellatedMeshFrom (G4String file_name, std::shared_ptr< File::Reader > reader)
 
static std::shared_ptr< TessellatedMeshFromPLY (G4String file_name)
 
static std::shared_ptr< TessellatedMeshFromPLY (G4String file_name, std::shared_ptr< File::Reader > reader)
 
static std::shared_ptr< TessellatedMeshFromSTL (G4String file_name)
 
static std::shared_ptr< TessellatedMeshFromSTL (G4String file_name, std::shared_ptr< File::Reader > reader)
 
static std::shared_ptr< TessellatedMeshFromOBJ (G4String file_name)
 
static std::shared_ptr< TessellatedMeshFromOBJ (G4String file_name, std::shared_ptr< File::Reader > reader)
 
- Protected Attributes inherited from CADMesh::CADMeshTemplate< TessellatedMesh >
G4String file_name_
 
File::Type file_type_
 
G4int verbose_
 
G4double scale_
 
G4ThreeVector offset_
 
G4AssemblyVolume * assembly_
 
std::shared_ptr< File::Readerreader_
 

Member Function Documentation

◆ GetAssembly()

G4AssemblyVolume * CADMesh::TessellatedMesh::GetAssembly ( )
inlinevirtual

◆ GetSolid() [1/3]

G4VSolid * CADMesh::TessellatedMesh::GetSolid ( )
inlinevirtual

◆ GetSolid() [2/3]

G4VSolid * CADMesh::TessellatedMesh::GetSolid ( G4int  index)
inlinevirtual

◆ GetSolid() [3/3]

G4VSolid * CADMesh::TessellatedMesh::GetSolid ( G4String  name,
G4bool  exact = true 
)
inlinevirtual

◆ GetSolids()

std::vector< G4VSolid * > CADMesh::TessellatedMesh::GetSolids ( )
inlinevirtual

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