7 #include "TEveManager.h"
8 #include "TGeoManager.h"
9 #include "TEveGeoNode.h"
36 TEveManager::Create();
51 TIter next( gGeoManager->GetListOfVolumes() );
55 while ((volume=(TGeoVolume*)next())) {
58 if (TString(volume->GetName()).BeginsWith(
"cave")) volume->SetVisibility(kFALSE);
61 if (TString(volume->GetName()).Contains(
"ContainerVolume")) volume->SetVisibility(kFALSE);
64 volume->SetLineColor(volume->GetFillColor());
65 volume->SetFillColor(volume->GetFillColor());
72 if (volume->IsTransparent()) volume->SetTransparency(volume->GetFillStyle()-4000);
86 TGeoNode*
N= gGeoManager->GetTopNode();
87 TEveGeoTopNode* TNod=
new TEveGeoTopNode(gGeoManager, N, visopt, vislvl, maxvisnds);
88 gEve->AddGlobalElement(TNod);
89 gEve->FullRedraw3D(kTRUE);
94 fEvent= gEve->AddEvent(
this);
109 TIter next( gGeoManager->GetListOfVolumes() );
111 while ((
volume=(TGeoVolume*)next())) {
114 if (name.BeginsWith(
"Whatever")) {
115 volume->SetLineColor(kMagenta);
116 volume->SetFillColor(kMagenta);