protected:
virtual void MakeTableOfCoSin() virtual void PaintGLPoints(Float_t* vertex) public:
TTUBE TTUBE(Text_t* name, Text_t* title, Text_t* material, Float_t rmin, Float_t rmax, Float_t dz, Float_t aspect = 1) TTUBE TTUBE() TTUBE TTUBE(Text_t* name, Text_t* title, Text_t* material, Float_t rmax, Float_t dz) TTUBE TTUBE(TTUBE&) virtual void ~TTUBE() TClass* Class() virtual Int_t DistancetoPrimitive(Int_t px, Int_t py) virtual Float_t GetAspectRatio() virtual Float_t GetDz() virtual Int_t GetNdiv() virtual Int_t GetNumberOfDivisions() const virtual Float_t GetRmax() virtual Float_t GetRmin() virtual TClass* IsA() const virtual void Paint(Option_t* option) virtual void SetAspectRatio(Float_t factor = 1) virtual void SetNumberOfDivisions(Int_t ndiv) virtual void SetPoints(Float_t* buff) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Sizeof3D() const virtual void Streamer(TBuffer& b)Data Members
protected:
Float_t fRmin ellipse semi-axis in X inside Float_t fRmax ellipse semi-axis in X outside Float_t fDz half length in z Int_t fNdiv number of segments (precision) Float_t fAspectRatio defines (the ellipse semi-axis in Y)/(the ellipse semi-axis in X) Double_t* fSiTab Table of sin(fPhi1) .... sin(fPhil+fDphi1) Double_t* fCoTab Table of cos(fPhi1) .... cos(fPhil+fDphi1)
TUBE is a tube. It has 6 parameters: - name name of the shape - title shape's title - material (see TMaterial) - rmin inside radius - rmax outside radius - dz half length in z
*-*-*-*-*-*-*-*-*-*-*-*TUBE shape default constructor*-*-*-*-*-*-*-*-*-*-*-*-* *-* ==============================
*-*-*-*-*-*-*-*-*-*-*-*-*TUBE shape normal constructor*-*-*-*-*-*-*-*-*-*-*-*-* *-* =============================
*-*-*-*-*-*-*-*-*-*-*-*-*TUBE shape "simplified" constructor*-*-*-*-*-*-*-*-*-*-*-*-* *-* ===================================
*-*-*-*-*-*-*-*-*-*-*-*-*TUBE shape default destructor*-*-*-*-*-*-*-*-*-*-*-*-* *-* =============================
*-*-*-*-*-*-*-*Compute distance from point px,py to a TUBE*-*-*-*-*-*-* *-* =========================================== *-* *-* Compute the closest distance of approach from point px,py to each *-* computed outline point of the TUBE. *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
*-*-*-*-*-*-*-*Paint this 3-D shape with its current attributes*-*-*-*-*-*-*-* *-* ================================================
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*Paint BRIK via OpenGL *-*-*-*-*-*-*-*-*-*-*-*-* *-* =====================
*-*-*-*-*Set number of divisions used to draw this tube*-*-*-*-*-*-*-*-*-*-* *-* ==============================================
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*Create TUBE points*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* *-* ==================
*-*-*-*-*-*Return total X3D size of this shape with its attributes*-*-*-*-*-*-* *-* =======================================================
Stream an object of class TTUBE.
Float_t GetRmin() Float_t GetRmax() Float_t GetDz() Int_t GetNdiv() Float_t GetAspectRatio() Int_t GetNumberOfDivisions() const void SetAspectRatio(Float_t factor = 1) TClass* Class() TClass* IsA() const void ShowMembers(TMemberInspector& insp, char* parent) TTUBE TTUBE(TTUBE&)