void geom_atlas()
{
TEveManager::Create();
gGeoManager = gEve->GetGeometry("http://root.cern.ch/files/atlas.root");
TGeoNode* node1 = gGeoManager->GetTopVolume()->FindNode("INNE_1");
TEveGeoTopNode* inn = new TEveGeoTopNode(gGeoManager, node1);
gEve->AddGlobalElement(inn);
TGeoNode* node2 = gGeoManager->GetTopVolume()->FindNode("CENT_1");
TEveGeoTopNode* cnt = new TEveGeoTopNode(gGeoManager, node2);
gEve->AddGlobalElement(cnt);
TGeoNode* node3 = gGeoManager->GetTopVolume()->FindNode("OUTE_1");
TEveGeoTopNode* out = new TEveGeoTopNode(gGeoManager, node3);
gEve->AddGlobalElement(out);
gEve->FullRedraw3D(kTRUE);
TGLViewer *v = gEve->GetDefaultGLViewer();
v->GetClipSet()->SetClipType(1);
v->RefreshPadEditor(v);
}
|
|