protected:
virtual void FillTableOfCoSin(Double_t phi, Double_t angstep, Int_t n) virtual void MakeTableOfCoSin() virtual void PaintGLPoints(Float_t* vertex) public:
TPCON TPCON() TPCON TPCON(const char* name, const char* title, const char* material, Float_t phi1, Float_t dphi1, Int_t nz) TPCON TPCON(TPCON&) virtual void ~TPCON() static TClass* Class() virtual void DefineSection(Int_t secNum, Float_t z, Float_t rmin, Float_t rmax) virtual Int_t DistancetoPrimitive(Int_t px, Int_t py) virtual Float_t GetDhi1() virtual Float_t* GetDz() virtual Int_t GetNdiv() virtual Int_t GetNumberOfDivisions() const virtual Int_t GetNz() virtual Float_t GetPhi1() virtual Float_t* GetRmax() virtual Float_t* GetRmin() virtual TClass* IsA() const virtual void Paint(Option_t* option) 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
protected:
Double_t* fSiTab ! Table of sin(fPhi1) .... sin(fPhil+fDphi1) Double_t* fCoTab ! Table of cos(fPhi1) .... cos(fPhil+fDphi1) Float_t fPhi1 lower phi limit Float_t fDphi1 range in phi Int_t fNdiv number of divisions Int_t fNz number of z segments Float_t* fRmin [fNz] pointer to array of inside radiuses Float_t* fRmax [fNz] pointer to array of outside radiuses Float_t* fDz [fNz] pointer to array of half lengths in z
PCON is a polycone. It has the following parameters: - name name of the shape - title shape's title - material (see TMaterial) - phi1 the azimuthal angle phi at which the volume begins (angles are counted counterclockwise) - dphi opening angle of the volume, which extends from phi1 to phi1+dphi - nz number of planes perpendicular to the z axis where the dimension of the section is given -- this number should be at least 2 - rmin array of dimension nz with minimum radius at a given plane - rmax array of dimension nz with maximum radius at a given plane - z array of dimension nz with z position of given plane
*-*-*-*-*-*-*-*-*-*-*-*-*PCON shape default constructor*-*-*-*-*-*-*-*-*-*-*-* *-* ==============================
*-*-*-*-*-*-*-*-*-*-*-*-*PCON shape normal constructor*-*-*-*-*-*-*-*-*-*-*-*-* *-* ============================= *-* Parameters of the nz positions must be entered via TPCON::DefineSection.
*-*-*-*-*-*-*-*-*-*-*-*-*PCON shape default destructor*-*-*-*-*-*-*-*-*-*-*-*-* *-* =============================
*-*-*-*-*-*-*-*-*-*Defines section secNum of the polycone*-*-*-*-*-*-*-*-*-*-* *-* ====================================== - rmin radius of the inner circle in the cross-section - rmax radius of the outer circle in the cross-section - z z coordinate of the section
*-*-*-*-*-*-*-*Compute distance from point px,py to a PCON*-*-*-*-*-*-* *-* =========================================== *-* *-* Compute the closest distance of approach from point px,py to each *-* computed outline point of the PCON. *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
File the table of cos and sin to prepare drawing
*-*-*-*-*-*-*-*Paint this 3-D shape with its current attributes*-*-*-*-*-*-*-* *-* ================================================
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*Paint BRIK via OpenGL *-*-*-*-*-*-*-*-*-*-*-*-* *-* =====================
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*Create PCON points*-*-*-*-*-*-*-*-*-*-*-*-*-*-* *-* ==================
*-*-*-*-*-*-*Return total X3D size of this shape with its attributes*-*-*-*-*-* *-* =======================================================
*-*-*-*-*-*-*-*-*Stream a class object*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* *-* =========================================
Int_t GetNumberOfDivisions() const Float_t GetPhi1() Float_t GetDhi1() Int_t GetNz() Float_t* GetRmin() Float_t* GetRmax() Float_t* GetDz() Int_t GetNdiv() TClass* Class() TClass* IsA() const void ShowMembers(TMemberInspector& insp, char* parent) void StreamerNVirtual(TBuffer& b) TPCON TPCON(TPCON&)