37 #include "G4VisExecutive.hh" 38 #include "G4VisExtent.hh" 39 #include "G4UImanager.hh" 40 #include "G4UIExecutive.hh" 41 #include "G4SystemOfUnits.hh" 43 #include "PerspectiveVisAction.hh" 47 int main(
int argc,
char** argv) {
49 G4VisManager* visManager =
new G4VisExecutive;
50 visManager->Initialise();
52 visManager->SetUserAction
53 (
new PerspectiveVisAction,
54 G4VisExtent(-100*m,100*m,-100*m,100*m,-100*m,100*m));
56 G4String command =
"/control/execute ";
61 G4UIExecutive* ui =
new G4UIExecutive(argc,argv);
62 G4UImanager::GetUIpointer()->ApplyCommand(command+fileName);
int main(int argc, char **argv)