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 GetPhimax() const
virtual const TBuffer3D & GetBuffer3D(Int_t reqSections) const
Get buffer 3d.
virtual Float_t GetThemax() const
virtual Float_t GetRmin() const
#define ClassDef(name, id)
virtual void SetAspectRatio(Float_t factor=1.0)
virtual void Sizeof3D() const
Return total X3D needed by TNode::ls (when called with option "x")
virtual Float_t GetAspectRatio() const
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 void SetPoints(Double_t *points) const
Create SPHE points.
virtual void MakeTableOfCoSin() const
Make table of sine and cosine.
virtual Float_t GetRmax() const
virtual Float_t GetThemin() const
virtual ~TSPHE()
SPHE shape default destructor.
virtual Float_t GetPhimin() const
Double_t * fCoThetaTab
Table of cos(fPhimin) .... cos(Phi)
Int_t fNdiv
Table of sin(gThemin) .... cos(Theta)
virtual void SetNumberOfDivisions(Int_t p)
Set number of divisions.
TSPHE()
SPHE shape default constructor.
Float_t fAspectRatio
number of sections
virtual Int_t GetNumberOfDivisions() const