protected:
virtual void MakeTableOfCoSin() virtual void PaintGLPoints(Float_t* vertex) public:
TSPHE TSPHE() TSPHE TSPHE(const char* name, const char* title, const char* material, Float_t rmin, Float_t rmax, Float_t themin, Float_t themax, Float_t phimin, Float_t phimax) TSPHE TSPHE(const char* name, const char* title, const char* material, Float_t rmax) TSPHE TSPHE(TSPHE&) virtual void ~TSPHE() static TClass* Class() virtual Int_t DistancetoPrimitive(Int_t px, Int_t py) virtual Float_t GetAspectRatio() virtual Int_t GetNumberOfDivisions() const virtual Float_t GetPhimax() virtual Float_t GetPhimin() virtual Float_t GetRmax() virtual Float_t GetRmin() virtual Float_t GetThemax() virtual Float_t GetThemin() virtual TClass* IsA() const virtual void Paint(Option_t* option) virtual void SetAspectRatio(Float_t factor = 1.0) virtual void SetEllipse(Float_t* factors) virtual void SetNumberOfDivisions(Int_t p) virtual void SetPoints(Float_t* buff) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Sizeof3D() const virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)Data Members
private:
Double_t* fSiTab ! Table of sin(fPhimin) .... sin(Phi) Double_t* fCoTab ! Table of cos(fPhimin) .... cos(Phi) Double_t* fCoThetaTab ! Table of sin(gThemin) .... cos(Theta) Int_t fNdiv number of divisions Int_t fNz ! number of sections Float_t fAspectRatio Relation between asumth and grid size (by default 1.0) protected:
Float_t fRmin minimum radius Float_t fRmax maximum radius Float_t fThemin minimum theta Float_t fThemax maximum theta Float_t fPhimin minimum phi Float_t fPhimax maximum phi Float_t faX Coeff along Ox Float_t faY Coeff along Oy Float_t faZ Coeff along Oz
SPHE is a Sphere. It has 9 parameters: - name name of the shape - title shape's title - material (see TMaterial) - rmin minimum radius - rmax maximum radius - themin theta min - themax theta max - phimin phi min - phimax phi max
*-*-*-*-*-*-*-*-*-*-*-*-*SPHE shape default constructor*-*-*-*-*-*-*-*-*-*-*-* *-* ==============================
*-*-*-*-*-*-*-*-*-*-*-*-*SPHE shape normal constructor*-*-*-*-*-*-*-*-*-*-*-*-* *-* =============================
*-*-*-*-*-*-*-*-*-*-*-*-*SPHE shape "simplified" constructor*-*-*-*-*-*-*-*-*-*-*-*-* *-* ===================================
*-*-*-*-*-*-*-*-*-*-*-*-*SPHE shape default destructor*-*-*-*-*-*-*-*-*-*-*-*-* *-* =============================
*-*-*-*-*-*-*-*Compute distance from point px,py to a PSPHE-*-*-*-*-*-*-*-*-*-* *-* =========================================== *-* *-* Compute the closest distance of approach from point px,py to each *-* computed outline point of the PSPHE (stolen from PCON). *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
*-*-*-*-*-*-*-*Paint this 3-D shape with its current attributes*-*-*-*-*-*-*-* *-* ================================================
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*Create SPHE points*-*-*-*-*-*-*-*-*-*-*-*-*-*-* *-* ==================
*-*-*-*-*-*-*Return total X3D size of this shape with its attributes*-*-*-*-*-* *-* =======================================================
*-*-*-*-*-*-*-*-*Stream a class object*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* *-* =========================================
Float_t GetRmin() Float_t GetRmax() Float_t GetThemin() Float_t GetThemax() Float_t GetPhimin() Float_t GetPhimax() Float_t GetAspectRatio() Int_t GetNumberOfDivisions() const void SetAspectRatio(Float_t factor = 1.0) TClass* Class() TClass* IsA() const void ShowMembers(TMemberInspector& insp, char* parent) void StreamerNVirtual(TBuffer& b) TSPHE TSPHE(TSPHE&)