ROOT
6.30.04
Reference Guide
All
Namespaces
Files
Pages
TH2GL.h
Go to the documentation of this file.
1
// @(#)root/gl:$Id$
2
// Author: Matevz Tadel, Jun 2007
3
4
/*************************************************************************
5
* Copyright (C) 1995-2004, 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_TH2GL
13
#define ROOT_TH2GL
14
15
#include <
TGLPlot3D.h
>
16
#include <
TGLUtil.h
>
17
#include <
TGLAxisPainter.h
>
18
19
class
TGLRnrCtx;
20
class
TH2;
21
class
TAxis;
22
23
class
TH2GL :
public
TGLPlot3D
24
{
25
private
:
26
TH2GL(
const
TH2GL&);
// Not implemented
27
TH2GL& operator=(
const
TH2GL&);
// Not implemented
28
29
protected
:
30
TH2 *fM;
// Model object dynamic-casted to TH2.
31
32
public
:
33
TH2GL();
34
virtual
~TH2GL();
35
36
virtual
Bool_t SetModel(TObject* obj,
const
Option_t* opt=0);
37
virtual
void
SetBBox();
38
virtual
void
DirectDraw(TGLRnrCtx & rnrCtx)
const
;
39
40
// To support two-level selection
41
// virtual Bool_t SupportsSecondarySelect() const { return kTRUE; }
42
// virtual void ProcessSelection(UInt_t* ptr, TGLViewer*, TGLScene*);
43
44
ClassDef(TH2GL, 0);
// GL renderer for TH2.
45
};
// endclass TH2GL
46
47
#endif
TGLPlot3D.h
TGLAxisPainter.h
TGLUtil.h
graf3d
gl
inc
TH2GL.h
Generated on Tue May 5 2020 14:02:41 for ROOT by
1.8.5