Logo ROOT  
Reference Guide
TGLQuadric Class Reference

Wrapper class for GLU quadric shape drawing object.

Lazy creation of internal GLU raw quadric on first call to TGLQuadric::Get()

Definition at line 27 of file TGLQuadric.h.

Public Member Functions

 TGLQuadric ()
 Construct quadric. More...
 
virtual ~TGLQuadric ()
 Destroy quadric. More...
 
GLUquadric * Get ()
 Get the internal raw GLU quadric object. Created on first call. More...
 

Protected Member Functions

 TGLQuadric (const TGLQuadric &glq)
 
TGLQuadricoperator= (const TGLQuadric &glq)
 

Private Attributes

GLUquadric * fQuad
 

#include <TGLQuadric.h>

Constructor & Destructor Documentation

◆ TGLQuadric() [1/2]

TGLQuadric::TGLQuadric ( const TGLQuadric glq)
inlineprotected

Definition at line 33 of file TGLQuadric.h.

◆ TGLQuadric() [2/2]

TGLQuadric::TGLQuadric ( )

Construct quadric.

Definition at line 26 of file TGLQuadric.cxx.

◆ ~TGLQuadric()

TGLQuadric::~TGLQuadric ( )
virtual

Destroy quadric.

Definition at line 34 of file TGLQuadric.cxx.

Member Function Documentation

◆ Get()

GLUquadric * TGLQuadric::Get ( )

Get the internal raw GLU quadric object. Created on first call.

Definition at line 44 of file TGLQuadric.cxx.

◆ operator=()

TGLQuadric & TGLQuadric::operator= ( const TGLQuadric glq)
inlineprotected

Definition at line 34 of file TGLQuadric.h.

Member Data Documentation

◆ fQuad

GLUquadric* TGLQuadric::fQuad
private

Definition at line 30 of file TGLQuadric.h.

Libraries for TGLQuadric:
[legend]

The documentation for this class was generated from the following files: