Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TGLMesh Class Referenceabstract

Definition at line 29 of file TGLCylinder.cxx.

Public Member Functions

 TGLMesh (UInt_t LOD, Double_t r1, Double_t r2, Double_t r3, Double_t r4, Double_t dz, const TGLVector3 &l=gLowNormalDefault, const TGLVector3 &h=gHighNormalDefault)
 
virtual ~TGLMesh ()
 
virtual void Draw () const =0
 

Protected Member Functions

void GetNormal (const TGLVertex3 &vertex, TGLVector3 &normal) const
 get normal
 
Double_t GetZcoord (Double_t x, Double_t y, Double_t z) const
 get Z coordinate
 
const TGLVertex3MakeVertex (Double_t x, Double_t y, Double_t z) const
 make vertex
 

Protected Attributes

Double_t fDz
 
UInt_t fLOD
 
TGLVector3 fNhigh
 
TGLVector3 fNlow
 
Double_t fRmax1
 
Double_t fRmax2
 
Double_t fRmin1
 
Double_t fRmin2
 
Inheritance diagram for TGLMesh:
[legend]

Constructor & Destructor Documentation

◆ TGLMesh()

TGLMesh::TGLMesh ( UInt_t  LOD,
Double_t  r1,
Double_t  r2,
Double_t  r3,
Double_t  r4,
Double_t  dz,
const TGLVector3 l = gLowNormalDefault,
const TGLVector3 h = gHighNormalDefault 
)

Definition at line 113 of file TGLCylinder.cxx.

◆ ~TGLMesh()

virtual TGLMesh::~TGLMesh ( )
inlinevirtual

Definition at line 49 of file TGLCylinder.cxx.

Member Function Documentation

◆ Draw()

virtual void TGLMesh::Draw ( ) const
pure virtual

◆ GetNormal()

void TGLMesh::GetNormal ( const TGLVertex3 vertex,
TGLVector3 normal 
) const
protected

get normal

Definition at line 125 of file TGLCylinder.cxx.

◆ GetZcoord()

Double_t TGLMesh::GetZcoord ( Double_t  x,
Double_t  y,
Double_t  z 
) const
protected

get Z coordinate

Definition at line 148 of file TGLCylinder.cxx.

◆ MakeVertex()

const TGLVertex3 & TGLMesh::MakeVertex ( Double_t  x,
Double_t  y,
Double_t  z 
) const
protected

make vertex

Definition at line 160 of file TGLCylinder.cxx.

Member Data Documentation

◆ fDz

Double_t TGLMesh::fDz
protected

Definition at line 36 of file TGLCylinder.cxx.

◆ fLOD

UInt_t TGLMesh::fLOD
protected

Definition at line 33 of file TGLCylinder.cxx.

◆ fNhigh

TGLVector3 TGLMesh::fNhigh
protected

Definition at line 40 of file TGLCylinder.cxx.

◆ fNlow

TGLVector3 TGLMesh::fNlow
protected

Definition at line 39 of file TGLCylinder.cxx.

◆ fRmax1

Double_t TGLMesh::fRmax1
protected

Definition at line 35 of file TGLCylinder.cxx.

◆ fRmax2

Double_t TGLMesh::fRmax2
protected

Definition at line 35 of file TGLCylinder.cxx.

◆ fRmin1

Double_t TGLMesh::fRmin1
protected

Definition at line 35 of file TGLCylinder.cxx.

◆ fRmin2

Double_t TGLMesh::fRmin2
protected

Definition at line 35 of file TGLCylinder.cxx.

  • graf3d/gl/src/TGLCylinder.cxx