ROOT
6.30.04
Reference Guide
All
Namespaces
Files
Pages
TGLQuadric.h
Go to the documentation of this file.
1
// @(#)root/gl:$Id$
2
// Author: Richard Maunder 16/09/2005
3
4
/*************************************************************************
5
* Copyright (C) 1995-2005, Rene Brun and Fons Rademakers. *
6
* All rights reserved. *
7
* *
8
* For the licensing terms see $ROOTSYS/LICENSE. *
9
* For the list of contributors see $ROOTSYS/README/CREDITS. *
10
*************************************************************************/
11
12
#ifndef ROOT_TGLQuadric
13
#define ROOT_TGLQuadric
14
15
#include "
Rtypes.h
"
16
17
//////////////////////////////////////////////////////////////////////////
18
// //
19
// TGLOutput //
20
// //
21
// Wrapper class for GLU quadric shape drawing object. Lazy creation of //
22
// internal GLU raw quadric on first call to TGLQuadric::Get() //
23
//////////////////////////////////////////////////////////////////////////
24
25
class
GLUquadric;
26
27
class
TGLQuadric
28
{
29
private
:
30
GLUquadric * fQuad;
31
32
protected
:
33
TGLQuadric(
const
TGLQuadric& glq) : fQuad(glq.fQuad) { }
34
TGLQuadric& operator=(
const
TGLQuadric& glq)
35
{
if
(
this
!=&glq) fQuad=glq.fQuad;
return
*
this
; }
36
37
public
:
38
TGLQuadric();
39
virtual
~TGLQuadric();
// ClassDef introduces virtuals
40
41
GLUquadric * Get();
42
43
ClassDef(TGLQuadric,0)
// GL quadric object
44
};
45
46
#endif
47
Rtypes.h
graf3d
gl
inc
TGLQuadric.h
Generated on Tue May 5 2020 14:02:40 for ROOT by
1.8.5