Logo ROOT  
Reference Guide
glplot.C File Reference

Detailed Description

Preliminary demo for showing Timur's GL plots in EVE.

void glplot()
auto f2 = new TF2("f2","x**2 + y**2 - x**3 -8*x*y**4", -1., 1.2, -1.5, 1.5);
auto x = new TEvePlot3D("EvePlot - TF2");
x->RefMainTrans().MoveLF(2, 1);
auto h31 = new TH3F("h31", "h31", 10, -1, 1, 10, -1, 1, 10, -1, 1);
auto gxy = new TF3("gaus2","xygaus");
x = new TEvePlot3D("EvePlot - TH3F");
x->SetPlot(h31, "glbox");
x->RefMainTrans().MoveLF(2, -1);
const Bool_t kTRUE
Definition: RtypesCore.h:91
R__EXTERN TEveManager * gEve
Definition: TEveManager.h:243
void AddElement(TEveElement *element, TEveElement *parent=0)
Add an element.
TGLViewer * GetDefaultGLViewer() const
Get TGLViewer of the default TEveViewer.
static TEveManager * Create(Bool_t map_window=kTRUE, Option_t *opt="FIV")
If global TEveManager* gEve is not set initialize it.
void Redraw3D(Bool_t resetCameras=kFALSE, Bool_t dropLogicals=kFALSE)
Definition: TEveManager.h:168
Description of TEvePlot3D.
Definition: TEvePlot3D.h:19
A 2-Dim function with parameters.
Definition: TF2.h:29
A 3-Dim function with parameters.
Definition: TF3.h:28
void SetCurrentCamera(ECameraType camera)
Set current active camera - 'cameraType' one of: kCameraPerspX, kCameraPerspY, kCameraPerspZ,...
Definition: TGLViewer.cxx:1791
@ kCameraPerspXOY
Definition: TGLViewer.h:61
3-D histogram with a float per channel (see TH1 documentation)}
Definition: TH3.h:268
Double_t x[n]
Definition: legend1.C:17
Matevz Tadel

Definition in file glplot.C.