43 #ifndef G4UTESSELLATEDSOLID_hh
44 #define G4UTESSELLATEDSOLID_hh
48 #if ( defined(G4GEOM_USE_USOLIDS) || defined(G4GEOM_USE_PARTIAL_USOLIDS) )
50 #include <volumes/UnplacedTessellated.h>
56 class G4UTessellatedSolid :
public G4UAdapter<vecgeom::UnplacedTessellated>
58 using Shape_t = vecgeom::UnplacedTessellated;
59 using Base_t = G4UAdapter<vecgeom::UnplacedTessellated>;
63 G4UTessellatedSolid();
64 G4UTessellatedSolid(
const G4String& pName);
65 ~G4UTessellatedSolid();
70 G4int GetNumberOfFacets()
const;
74 void SetSolidClosed(
const G4bool t);
75 G4bool GetSolidClosed()
const;
77 void SetMaxVoxels(
G4int);
85 G4int AllocatedMemoryWithoutVoxels();
86 G4int AllocatedMemory();
87 void DisplayAllocatedMemory();
91 G4UTessellatedSolid(__void__&);
96 G4UTessellatedSolid(
const G4UTessellatedSolid& source );
97 G4UTessellatedSolid &operator=(
const G4UTessellatedSolid& source);
110 std::vector<G4VFacet *> fFacets;
111 std::vector<G4ThreeVector> fVertexList;
120 return "G4TessellatedSolid";
123 #endif // G4GEOM_USE_USOLIDS