00001
00002
00003
00004 void glplot_geom()
00005 {
00006 TEveManager::Create();
00007
00008 TEveUtil::Macro("show_extract.C");
00009
00010 TH3F *h31 = new TH3F("h31", "h31", 20, -3, 3, 20, -3, 3, 20, -3, 3);
00011 h31->FillRandom("gaus", 20*20*20);
00012 h31->SetFillColor(2);
00013 x = new TEvePlot3D("EvePlot - TH3F");
00014 x->SetPlot(h31, "glbox");
00015 x->RefMainTrans().Scale(800, 800, 1000);
00016 x->RefMainTrans().RotateLF(1, 3, TMath::PiOver2());
00017 gEve->AddElement(x);
00018
00019 gEve->Redraw3D(kTRUE);
00020 }