00001 #ifndef __CINT__ 00002 #include "TROOT.h" 00003 #include "StuDraw3DEvent.h" 00004 #endif 00006 00010 void Draw3D() 00011 { 00012 gROOT->Macro("Load.C"); //< Load STAR framework shared libraries 00013 gEventDisplay->Draw3DTest(); //< Invoke the built-in rendering test 00014 gEventDisplay->SetDrawOption("{file:rotation.iv}"); 00015 gEventDisplay->SetFooter("STAR Event Display Example"); 00016 gEventDisplay->Print("Draw3DTest.wrl"); //< Save the 3D scene into the file 00017 gEventDisplay->SetDrawOption("{view:all}"); 00018 }
1.5.9