Import Geant4 0.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-01 15:25:35 +02:00
parent 54d6b71f95
commit b97f8d0df7
3237 changed files with 807095 additions and 0 deletions
@@ -0,0 +1,78 @@
// This code implementation is the intellectual property of
// the RD44 GEANT4 collaboration.
//
// By copying, distributing or modifying the Program (or any work
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4VisCommandsCreateView.hh,v 2.3 1998/10/14 14:15:07 allison Exp $
// GEANT4 tag $Name: geant4-00 $
//
//
// /vis~/create_view/ commands
// John Allison 7th September 1997
#ifndef G4VISCOMMANDSCREATEVIEW_HH
#define G4VISCOMMANDSCREATEVIEW_HH
#include "globals.hh"
#include "G4VisManager.hh"
///////////////////////////////////////////// /vis~/create_view/... ////
//vis \hline
//vis /vis~/create\_view/ &&
//vis ...menu of view creation commands. \\%
class G4VisCommandCreateView {
public:
G4String GetCommandName () const {return "/vis~/create_view/";}
G4String GetGuidance () const {
return "...menu of view creation commands.";
}
};
// //////////////////////////////// /vis~/create_view/new_scene ////
// //cr_vw \hline
// //cr_vw /vis~/create\_view/new\_scene &&
// //cr_vw Creates a new scene and a new view; both become current. \\%
class G4VisCommandCreateViewNewScene {
public:
G4String GetCommandName () const {return "/vis~/create_view/new_scene";}
G4String GetGuidance () const {
return "Creates a new scene and a new view; both become current.";
}
void SetValue () {
G4VisManager* pVMan = G4VisManager::GetInstance ();
if (pVMan -> IsValidView ()) {
pVMan -> CreateScene ();
pVMan -> CreateView ();
if (pVMan -> GetVerboseLevel () > 1) {
pVMan -> PrintCurrentScene ();
}
}
}
};
//////////////////////////////// /vis~/create_view/new_view ////
//cr_vw \hline
//cr_vw /vis~/create\_view/new\_view &&
//cr_vw Creates a new view of current scene; new view becomes
//cr_vw current view. \\%
class G4VisCommandCreateViewNewView {
public:
G4String GetCommandName () const {return "/vis~/create_view/new_view";}
G4String GetGuidance () const {
return "Creates a new view of current scene; new view becomes "
"current view.";
}
void SetValue () {
G4VisManager* pVMan = G4VisManager::GetInstance ();
if (pVMan -> IsValidView ()) {
pVMan -> CreateView ();
if (pVMan -> GetVerboseLevel () > 1) {
pVMan -> PrintCurrentView ();
}
}
}
};
#endif