protected:
virtual void MakeTableOfCoSin()
virtual void PaintGLPoints(Float_t* vertex)
public:
TPCON TPCON()
TPCON TPCON(Text_t* name, Text_t* title, Text_t* material, Float_t phi1, Float_t dphi1, Int_t nz)
TPCON TPCON(TPCON&)
virtual void ~TPCON()
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()
virtual Int_t GetNz()
virtual Float_t GetPhi1()
virtual Float_t* GetRmax()
virtual Float_t* GetRmin()
virtual TClass* IsA()
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()
virtual void Streamer(TBuffer& b)
Data Members
private:
Double_t* fSiTab Table of sin(fPhi1) .... sin(fPhil+fDphi1)
Double_t* fCoTab Table of cos(fPhi1) .... cos(fPhil+fDphi1)
protected:
Float_t fPhi1 lower phi limit
Float_t fDphi1 range in phi
Int_t fNz number of z segments
Float_t* fRmin pointer to array of inside radiuses
Float_t* fRmax pointer to array of outside radiuses
Float_t* fDz pointer to array of half lengths in z
Int_t fNdiv number of divisions
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. *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
*-*-*-*-*-*-*-*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()
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()
void ShowMembers(TMemberInspector& insp, char* parent)
TPCON TPCON(TPCON&)