// @(#)root/eve:$Id: geom_lhcb.C 32343 2010-02-15 14:39:51Z matevz $ // Author: Matevz Tadel // Shows CMS geometry. #include "hddsroot.h" void geom_lhcb() { //TEveManager::Create(); //TFile::SetCacheFileDir("."); //gGeoManager = gEve->GetGeometry("http://root.cern.ch/files/lhcbfull.root"); gGeoManager = hddsroot(); //cout<<"HERE"<DefaultColors(); //TEveGeoTopNode* tn = new TEveGeoTopNode(gGeoManager, gGeoManager->GetTopNode()); //tn->SetVisLevel(4); //gEve->AddGlobalElement(tn); //gEve->FullRedraw3D(kTRUE); // EClipType not exported to CINT (see TGLUtil.h): // 0 - no clip, 1 - clip plane, 2 - clip box //TGLViewer *v = gEve->GetDefaultGLViewer(); //v->GetClipSet()->SetClipType(1); //v->ColorSet().Background().SetColor(kMagenta+4); //v->SetGuideState(TGLUtil::kAxesEdge, kTRUE, kFALSE, 0); //v->RefreshPadEditor(v); //v->CurrentCamera().RotateRad(-1.2, 0.5); //v->DoDraw(); }