Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TubeSegMesh Class Reference

Definition at line 55 of file TGLCylinder.cxx.

Public Member Functions

 TubeSegMesh (UInt_t LOD, Double_t r1, Double_t r2, Double_t r3, Double_t r4, Double_t dz, Double_t phi1, Double_t phi2, const TGLVector3 &l=gLowNormalDefault, const TGLVector3 &h=gHighNormalDefault)
 
void Draw () const override
 Tube segment is drawn as three quad strips.
 
- Public Member Functions inherited from 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)
 
virtual ~TGLMesh ()
 

Private Attributes

TGLVertex3 fMesh [(TGLRnrCtx::kLODHigh+1) *8+8]
 
TGLVector3 fNorm [(TGLRnrCtx::kLODHigh+1) *8+8]
 

Additional Inherited Members

- Protected Member Functions inherited from TGLMesh
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 inherited from TGLMesh
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 TubeSegMesh:
[legend]

Constructor & Destructor Documentation

◆ TubeSegMesh()

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

Definition at line 172 of file TGLCylinder.cxx.

Member Function Documentation

◆ Draw()

void TubeSegMesh::Draw ( ) const
overridevirtual

Tube segment is drawn as three quad strips.

  1. enabling vertex arrays

Implements TGLMesh.

Definition at line 250 of file TGLCylinder.cxx.

Member Data Documentation

◆ fMesh

TGLVertex3 TubeSegMesh::fMesh[(TGLRnrCtx::kLODHigh+1) *8+8]
private

Definition at line 58 of file TGLCylinder.cxx.

◆ fNorm

TGLVector3 TubeSegMesh::fNorm[(TGLRnrCtx::kLODHigh+1) *8+8]
private

Definition at line 59 of file TGLCylinder.cxx.

  • graf3d/gl/src/TGLCylinder.cxx