Logo ROOT   6.08/07
Reference Guide
glplot_geom.C File Reference

Detailed Description

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

eve_glplot_geom.png
void glplot_geom()
{
TEveUtil::Macro("show_extract.C");
TH3F *h31 = new TH3F("h31", "h31", 20, -3, 3, 20, -3, 3, 20, -3, 3);
h31->FillRandom("gaus", 20*20*20);
h31->SetFillColor(2);
x = new TEvePlot3D("EvePlot - TH3F");
x->SetPlot(h31, "glbox");
x->RefMainTrans().Scale(800, 800, 1000);
x->RefMainTrans().RotateLF(1, 3, TMath::PiOver2());
}
Author
Matevz Tadel

Definition in file glplot_geom.C.