Logo ROOT  
Reference Guide
No Matches
glplot_geom.C File Reference

Detailed Description

Demonstrates how to combine Timur's GL plots with other scene elements.

void glplot_geom()
auto h31 = new TH3F("h31", "h31", 20, -3, 3, 20, -3, 3, 20, -3, 3);
auto gxy = new TF3("gaus2","xygaus");
auto x = new TEvePlot3D("EvePlot - TH3F");
x->SetPlot(h31, "glbox");
x->RefMainTrans().Scale(800, 800, 1000);
x->RefMainTrans().RotateLF(1, 3, TMath::PiOver2());
constexpr Bool_t kTRUE
Definition RtypesCore.h:100
R__EXTERN TEveManager * gEve
void AddElement(TEveElement *element, TEveElement *parent=nullptr)
Add an element.
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)
Description of TEvePlot3D.
Definition TEvePlot3D.h:19
static void Macro(const char *mac)
Execute macro 'mac'. Do not reload the macro.
Definition TEveUtil.cxx:164
A 3-Dim function with parameters.
Definition TF3.h:28
3-D histogram with a float per channel (see TH1 documentation)}
Definition TH3.h:268
Double_t x[n]
Definition legend1.C:17
constexpr Double_t PiOver2()
Definition TMath.h:51
Matevz Tadel

Definition in file glplot_geom.C.