58 TSPHE(
const char *
name,
const char *title,
const char *material,
Float_t rmax);
virtual Int_t DistancetoPrimitive(Int_t px, Int_t py)
Compute distance from point px,py to a PSPHE.
virtual Float_t GetThemin() const
virtual Float_t GetPhimax() const
virtual void Sizeof3D() const
Return total X3D needed by TNode::ls (when called with option "x")
virtual Float_t GetRmax() const
virtual Float_t GetThemax() const
virtual Int_t GetNumberOfDivisions() const
virtual void SetAspectRatio(Float_t factor=1.0)
virtual void MakeTableOfCoSin() const
Make table of sine and cosine.
This is the base class for all geometry shapes.
virtual void SetEllipse(const Float_t *factors)
Set ellipse.
Double_t * fCoTab
Table of sin(fPhimin) .... sin(Phi)
Generic 3D primitive description class.
virtual const TBuffer3D & GetBuffer3D(Int_t reqSections) const
Get buffer 3d.
virtual ~TSPHE()
SPHE shape default destructor.
Double_t * fCoThetaTab
Table of cos(fPhimin) .... cos(Phi)
Int_t fNdiv
Table of sin(gThemin) .... cos(Theta)
virtual void SetPoints(Double_t *points) const
Create SPHE points.
virtual Float_t GetAspectRatio() const
virtual void SetNumberOfDivisions(Int_t p)
Set number of divisions.
virtual Float_t GetRmin() const
Float_t fAspectRatio
number of sections
virtual Float_t GetPhimin() const