17#ifndef ROOT_TG4RootSolid
18#define ROOT_TG4RootSolid
21#include "G4Version.hh"
43 const G4VoxelLimits& pVoxelLimit,
const G4AffineTransform& pTransform,
44 G4double& pMin, G4double& pMax)
const;
45 virtual EInside
Inside(
const G4ThreeVector& p)
const;
46 virtual G4ThreeVector
SurfaceNormal(
const G4ThreeVector& p)
const;
48 const G4ThreeVector& p,
const G4ThreeVector& v)
const;
49 virtual G4double
DistanceToIn(
const G4ThreeVector& p)
const;
50 virtual G4double
DistanceToOut(
const G4ThreeVector& p,
const G4ThreeVector& v,
51 const G4bool calcNorm =
false, G4bool* validNorm = 0,
52 G4ThreeVector* n = 0)
const;
55 G4VPVParameterisation* p,
const G4int n,
const G4VPhysicalVolume* pRep);
59 virtual std::ostream&
StreamInfo(std::ostream& os)
const;
63#if G4VERSION_NUMBER < 1000
GEANT4 solid implemented by a ROOT shape.
virtual G4GeometryType GetEntityType() const
virtual const G4VSolid * GetConstituentSolid(G4int no) const
virtual G4double DistanceToIn(const G4ThreeVector &p, const G4ThreeVector &v) const
virtual const G4DisplacedSolid * GetDisplacedSolidPtr() const
virtual G4double DistanceToOut(const G4ThreeVector &p, const G4ThreeVector &v, const G4bool calcNorm=false, G4bool *validNorm=0, G4ThreeVector *n=0) const
virtual std::ostream & StreamInfo(std::ostream &os) const
virtual G4Polyhedron * GetPolyhedron() const
TGeoShape * fShape
TGeo associated shape.
virtual G4bool CalculateExtent(const EAxis pAxis, const G4VoxelLimits &pVoxelLimit, const G4AffineTransform &pTransform, G4double &pMin, G4double &pMax) const
virtual G4double GetCubicVolume()
virtual void ComputeDimensions(G4VPVParameterisation *p, const G4int n, const G4VPhysicalVolume *pRep)
TG4RootSolid()
Default ctor.
virtual G4NURBS * CreateNURBS() const
virtual G4ThreeVector GetPointOnSurface() const
virtual G4VisExtent GetExtent() const
virtual G4Polyhedron * CreatePolyhedron() const
virtual EInside Inside(const G4ThreeVector &p) const
virtual G4ThreeVector SurfaceNormal(const G4ThreeVector &p) const
virtual void DescribeYourselfTo(G4VGraphicsScene &scene) const
virtual ~TG4RootSolid()
Destructor.