#include <TTUBE.h>
Inheritance diagram for TTUBE:

Public Member Functions | |
| TTUBE () | |
| TTUBE (const char *name, const char *title, const char *material, Float_t rmin, Float_t rmax, Float_t dz, Float_t aspect=1) | |
| TTUBE (const char *name, const char *title, const char *material, Float_t rmax, Float_t dz) | |
| virtual | ~TTUBE () |
| virtual Int_t | DistancetoPrimitive (Int_t px, Int_t py) |
| virtual const TBuffer3D & | GetBuffer3D (Int_t reqSections) const |
| virtual Float_t | GetRmin () const |
| virtual Float_t | GetRmax () const |
| virtual Float_t | GetDz () const |
| virtual Int_t | GetNdiv () const |
| virtual Float_t | GetAspectRatio () const |
| virtual Int_t | GetNumberOfDivisions () const |
| virtual void | SetNumberOfDivisions (Int_t ndiv) |
| virtual void | SetAspectRatio (Float_t factor=1) |
| virtual void | Sizeof3D () const |
| TTUBE () | |
| TTUBE (const char *name, const char *title, const char *material, Float_t rmin, Float_t rmax, Float_t dz, Float_t aspect=1) | |
| TTUBE (const char *name, const char *title, const char *material, Float_t rmax, Float_t dz) | |
| virtual | ~TTUBE () |
| virtual Int_t | DistancetoPrimitive (Int_t px, Int_t py) |
| virtual const TBuffer3D & | GetBuffer3D (Int_t reqSections) const |
| virtual Float_t | GetRmin () const |
| virtual Float_t | GetRmax () const |
| virtual Float_t | GetDz () const |
| virtual Int_t | GetNdiv () const |
| virtual Float_t | GetAspectRatio () const |
| virtual Int_t | GetNumberOfDivisions () const |
| virtual void | SetNumberOfDivisions (Int_t ndiv) |
| virtual void | SetAspectRatio (Float_t factor=1) |
| virtual void | Sizeof3D () const |
Protected Member Functions | |
| TTUBE (const TTUBE &) | |
| Table of cos(fPhi1) .... cos(fPhil+fDphi1). | |
| TTUBE & | operator= (const TTUBE &) |
| virtual void | MakeTableOfCoSin () const |
| virtual void | SetPoints (Double_t *points) const |
| virtual void | SetSegsAndPols (TBuffer3D &buffer) const |
| TTUBE (const TTUBE &) | |
| Table of cos(fPhi1) .... cos(fPhil+fDphi1). | |
| TTUBE & | operator= (const TTUBE &) |
| virtual void | MakeTableOfCoSin () const |
| virtual void | SetPoints (Double_t *points) const |
| virtual void | SetSegsAndPols (TBuffer3D &buffer) const |
Protected Attributes | |
| Float_t | fRmin |
| Float_t | fRmax |
| Float_t | fDz |
| Int_t | fNdiv |
| Float_t | fAspectRatio |
| Double_t * | fSiTab |
| Double_t * | fCoTab |
| Table of sin(fPhi1) .... sin(fPhil+fDphi1). | |
| Double_t * | fSiTab |
| Double_t * | fCoTab |
| Table of sin(fPhi1) .... sin(fPhil+fDphi1). | |
Definition at line 34 of file TTUBE.h.
| TTUBE::TTUBE | ( | const TTUBE & | ) | [protected] |
| TTUBE::TTUBE | ( | ) |
| TTUBE::TTUBE | ( | const char * | name, | |
| const char * | title, | |||
| const char * | material, | |||
| Float_t | rmin, | |||
| Float_t | rmax, | |||
| Float_t | dz, | |||
| Float_t | aspect = 1 | |||
| ) |
Definition at line 52 of file TTUBE.cxx.
References fAspectRatio, fCoTab, fDz, fNdiv, fRmax, fRmin, fSiTab, and MakeTableOfCoSin().
| TTUBE::TTUBE | ( | const char * | name, | |
| const char * | title, | |||
| const char * | material, | |||
| Float_t | rmax, | |||
| Float_t | dz | |||
| ) |
Definition at line 73 of file TTUBE.cxx.
References fAspectRatio, fCoTab, fDz, fNdiv, fRmax, fRmin, fSiTab, and MakeTableOfCoSin().
| TTUBE::~TTUBE | ( | ) | [virtual] |
| TTUBE::TTUBE | ( | const TTUBE & | ) | [protected] |
Table of cos(fPhi1) .... cos(fPhil+fDphi1).
| TTUBE::TTUBE | ( | ) |
| TTUBE::TTUBE | ( | const char * | name, | |
| const char * | title, | |||
| const char * | material, | |||
| Float_t | rmin, | |||
| Float_t | rmax, | |||
| Float_t | dz, | |||
| Float_t | aspect = 1 | |||
| ) |
| TTUBE::TTUBE | ( | const char * | name, | |
| const char * | title, | |||
| const char * | material, | |||
| Float_t | rmax, | |||
| Float_t | dz | |||
| ) |
| virtual TTUBE::~TTUBE | ( | ) | [virtual] |
Definition at line 107 of file TTUBE.cxx.
References fAspectRatio, fCoTab, fDz, fNdiv, fRmax, fRmin, fSiTab, and TShape::operator=().
| void TTUBE::MakeTableOfCoSin | ( | ) | const [protected, virtual] |
Definition at line 124 of file TTUBE.cxx.
References TMath::ATan(), TMath::Cos(), TObject::Error(), fCoTab, fSiTab, GetNumberOfDivisions(), j, n, pi, and TMath::Sin().
Referenced by SetNumberOfDivisions(), SetPoints(), TCONE::SetPoints(), and TTUBE().
| void TTUBE::SetPoints | ( | Double_t * | points | ) | const [protected, virtual] |
Reimplemented from TShape.
Definition at line 195 of file TTUBE.cxx.
References fAspectRatio, fCoTab, fDz, fRmax, fRmin, fSiTab, GetNumberOfDivisions(), j, MakeTableOfCoSin(), and n.
Referenced by GetBuffer3D().
| void TTUBE::SetSegsAndPols | ( | TBuffer3D & | buffer | ) | const [protected, virtual] |
Definition at line 229 of file TTUBE.cxx.
References buffer, c, TShape::GetBasicColor(), GetNumberOfDivisions(), i, j, and n.
Referenced by GetBuffer3D().
Reimplemented from TObject.
Definition at line 171 of file TTUBE.cxx.
References GetNumberOfDivisions(), n, and TShape::ShapeDistancetoPrimitive().
Reimplemented from TShape.
Definition at line 349 of file TTUBE.cxx.
References buffer, TShape::FillBuffer3D(), GetNumberOfDivisions(), TBuffer3DTypes::kGeneric, TBuffer3D::kRaw, TBuffer3D::kRawSizes, n, SetPoints(), SetSegsAndPols(), and TShape::TransformPoints().
| virtual Float_t TTUBE::GetRmin | ( | ) | const [inline, virtual] |
| virtual Float_t TTUBE::GetRmax | ( | ) | const [inline, virtual] |
| virtual Float_t TTUBE::GetDz | ( | ) | const [inline, virtual] |
| virtual Int_t TTUBE::GetNdiv | ( | ) | const [inline, virtual] |
| virtual Float_t TTUBE::GetAspectRatio | ( | ) | const [inline, virtual] |
| virtual Int_t TTUBE::GetNumberOfDivisions | ( | ) | const [inline, virtual] |
Definition at line 69 of file TTUBE.h.
References fNdiv, and kDivNum.
Referenced by DistancetoPrimitive(), TTUBS::DistancetoPrimitive(), TTUBS::GetBuffer3D(), GetBuffer3D(), TTUBS::MakeTableOfCoSin(), MakeTableOfCoSin(), SetPoints(), TCTUB::SetPoints(), TTUBS::SetPoints(), TCONE::SetPoints(), TCONS::SetPoints(), SetSegsAndPols(), Sizeof3D(), and TTUBS::Sizeof3D().
| void TTUBE::SetNumberOfDivisions | ( | Int_t | ndiv | ) | [virtual] |
| virtual void TTUBE::SetAspectRatio | ( | Float_t | factor = 1 |
) | [inline, virtual] |
| void TTUBE::Sizeof3D | ( | ) | const [virtual] |
| virtual void TTUBE::MakeTableOfCoSin | ( | ) | const [protected, virtual] |
| virtual void TTUBE::SetPoints | ( | Double_t * | points | ) | const [protected, virtual] |
Reimplemented from TShape.
| virtual void TTUBE::SetSegsAndPols | ( | TBuffer3D & | buffer | ) | const [protected, virtual] |
Reimplemented from TObject.
Reimplemented from TShape.
| virtual Float_t TTUBE::GetRmin | ( | ) | const [inline, virtual] |
| virtual Float_t TTUBE::GetRmax | ( | ) | const [inline, virtual] |
| virtual Float_t TTUBE::GetDz | ( | ) | const [inline, virtual] |
| virtual Int_t TTUBE::GetNdiv | ( | ) | const [inline, virtual] |
| virtual Float_t TTUBE::GetAspectRatio | ( | ) | const [inline, virtual] |
| virtual Int_t TTUBE::GetNumberOfDivisions | ( | ) | const [inline, virtual] |
| virtual void TTUBE::SetNumberOfDivisions | ( | Int_t | ndiv | ) | [virtual] |
| virtual void TTUBE::SetAspectRatio | ( | Float_t | factor = 1 |
) | [inline, virtual] |
| virtual void TTUBE::Sizeof3D | ( | ) | const [virtual] |
Reimplemented from TAtt3D.
Float_t TTUBE::fRmin [protected] |
Definition at line 37 of file TTUBE.h.
Referenced by GetRmin(), operator=(), SetPoints(), TCTUB::SetPoints(), TTUBS::SetPoints(), TCONE::SetPoints(), TCONS::SetPoints(), and TTUBE().
Float_t TTUBE::fRmax [protected] |
Definition at line 38 of file TTUBE.h.
Referenced by GetRmax(), operator=(), SetPoints(), TCTUB::SetPoints(), TTUBS::SetPoints(), TCONE::SetPoints(), TCONS::SetPoints(), and TTUBE().
Float_t TTUBE::fDz [protected] |
Definition at line 40 of file TTUBE.h.
Referenced by GetDz(), operator=(), SetPoints(), TTUBS::SetPoints(), TCTUB::SetPoints(), TCONE::SetPoints(), TCONS::SetPoints(), and TTUBE().
Int_t TTUBE::fNdiv [protected] |
Definition at line 41 of file TTUBE.h.
Referenced by GetNdiv(), GetNumberOfDivisions(), operator=(), SetNumberOfDivisions(), and TTUBE().
Float_t TTUBE::fAspectRatio [protected] |
Definition at line 43 of file TTUBE.h.
Referenced by GetAspectRatio(), operator=(), SetAspectRatio(), SetPoints(), TCTUB::SetPoints(), TTUBS::SetPoints(), and TTUBE().
Double_t* TTUBE::fSiTab [mutable, protected] |
Definition at line 46 of file TTUBE.h.
Referenced by TTUBS::MakeTableOfCoSin(), MakeTableOfCoSin(), operator=(), SetPoints(), TCTUB::SetPoints(), TTUBS::SetPoints(), TCONE::SetPoints(), TCONS::SetPoints(), TTUBE(), and ~TTUBE().
Double_t* TTUBE::fCoTab [mutable, protected] |
Table of sin(fPhi1) .... sin(fPhil+fDphi1).
Definition at line 47 of file TTUBE.h.
Referenced by TTUBS::MakeTableOfCoSin(), MakeTableOfCoSin(), operator=(), SetPoints(), TCTUB::SetPoints(), TTUBS::SetPoints(), TCONE::SetPoints(), TCONS::SetPoints(), TTUBE(), and ~TTUBE().
Double_t* TTUBE::fSiTab [mutable, protected] |
Double_t* TTUBE::fCoTab [mutable, protected] |
1.5.1