34 #ifndef G4UTESSELLATEDSOLID_HH
35 #define G4UTESSELLATEDSOLID_HH
39 #if ( defined(G4GEOM_USE_USOLIDS) || defined(G4GEOM_USE_PARTIAL_USOLIDS) )
41 #include <volumes/UnplacedTessellated.h>
46 class G4UTessellatedSolid :
public G4UAdapter<vecgeom::UnplacedTessellated>
48 using Shape_t = vecgeom::UnplacedTessellated;
49 using Base_t = G4UAdapter<vecgeom::UnplacedTessellated>;
53 G4UTessellatedSolid();
54 G4UTessellatedSolid(
const G4String& pName);
55 ~G4UTessellatedSolid();
60 G4int GetNumberOfFacets()
const;
64 void SetSolidClosed(
const G4bool t);
65 G4bool GetSolidClosed()
const;
67 void SetMaxVoxels(
G4int);
75 G4int AllocatedMemoryWithoutVoxels();
76 G4int AllocatedMemory();
77 void DisplayAllocatedMemory();
81 G4UTessellatedSolid(__void__&);
86 G4UTessellatedSolid(
const G4UTessellatedSolid& source );
87 G4UTessellatedSolid& operator=(
const G4UTessellatedSolid& source);
100 std::vector<G4VFacet*> fFacets;
101 std::vector<G4ThreeVector> fVertexList;
110 return "G4TessellatedSolid";
113 #endif // G4GEOM_USE_USOLIDS