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