Import Geant4 5.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-08 16:57:27 +02:00
parent 330b82b769
commit 37fff30d2e
5733 changed files with 263867 additions and 74574 deletions
@@ -22,7 +22,7 @@
//
//
// $Id: G4GraphicsSystemList.hh,v 1.7 2001/07/11 10:09:14 gunter Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
//
// John Allison 2nd April 1996
@@ -22,7 +22,7 @@
//
//
// $Id: G4Scene.hh,v 1.12 2001/08/24 20:47:39 johna Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
//
// Scene John Allison 19th July 1996.
@@ -22,7 +22,7 @@
//
//
// $Id: G4Scene.icc,v 1.9 2001/08/11 21:39:54 johna Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
//
// Scene data John Allison 19th July 1996.
@@ -22,7 +22,7 @@
//
//
// $Id: G4SceneHandlerList.hh,v 1.6 2001/07/11 10:09:14 gunter Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
//
// John Allison May 1996
@@ -22,7 +22,7 @@
//
//
// $Id: G4SceneList.hh,v 1.8 2001/07/11 10:09:14 gunter Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
//
// John Allison 9th August 1998
@@ -22,7 +22,7 @@
//
//
// $Id: G4VGraphicsSystem.hh,v 1.9 2001/07/11 10:09:14 gunter Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
//
// John Allison 27th March 1996
@@ -22,7 +22,7 @@
//
//
// $Id: G4VGraphicsSystem.icc,v 1.6 2001/07/11 10:09:14 gunter Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
//
// John Allison 27th March 1996
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4VSceneHandler.hh,v 1.18 2001/08/14 18:36:07 johna Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4VSceneHandler.hh,v 1.19 2002/10/24 15:10:43 johna Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
//
// John Allison 19th July 1996.
@@ -86,6 +86,8 @@ public: // With description
virtual void AddThis (const G4Polycone&);
virtual void AddThis (const G4Polyhedra&);
virtual void AddThis (const G4VSolid&); // For solids not above.
virtual void AddThis (const G4VTrajectory&);
virtual void AddThis (const G4VHit&);
///////////////////////////////////////////////////////////////
// Other inherited functions.
@@ -22,7 +22,7 @@
//
//
// $Id: G4VSceneHandler.icc,v 1.12 2001/08/09 20:13:40 johna Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
//
// John Allison 19th July 1996.
@@ -22,7 +22,7 @@
//
//
// $Id: G4VViewer.hh,v 1.12 2001/08/14 18:35:19 johna Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
//
// John Allison 27th March 1996
@@ -22,7 +22,7 @@
//
//
// $Id: G4VViewer.icc,v 1.9 2001/07/14 21:48:22 johna Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
//
// John Allison 30th December 1996
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4VVisCommand.hh,v 1.13 2001/09/10 10:49:07 johna Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4VVisCommand.hh,v 1.14 2002/11/27 12:32:32 johna Exp $
// GEANT4 tag $Name: geant4-05-00 $
// Base class for visualization commands - John Allison 9th August 1998
// It is really a messenger - we have one command per messenger.
@@ -51,7 +51,6 @@ public:
static G4String ConvertToString(const G4ThreeVector& vec);
static G4bool GetNewBoolValue(const G4String& paramString);
static G4int GetNewIntValue(const G4String& paramString);
static G4double GetNewDoubleValue(const G4String& paramString);
static G4ThreeVector GetNew3VectorValue(const G4String& paramString);
static void GetNewDoublePairValue(const G4String& paramString,
G4double& xval,
@@ -22,7 +22,7 @@
//
//
// $Id: G4VVisCommand.icc,v 1.4 2001/07/11 10:09:14 gunter Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
// Base class for visualization commands - John Allison 9th August 1998
// It is really a messenger - we have one command per messenger.
@@ -22,7 +22,7 @@
//
//
// $Id: G4ViewParameters.hh,v 1.13 2001/07/11 10:09:15 gunter Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
//
// John Allison 19th July 1996
@@ -22,7 +22,7 @@
//
//
// $Id: G4ViewParameters.icc,v 1.5 2001/07/11 10:09:15 gunter Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
//
// John Allison 20th October 1996
@@ -22,7 +22,7 @@
//
//
// $Id: G4ViewerList.hh,v 1.6 2001/07/11 10:09:15 gunter Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
//
// John Allison May 1996
@@ -22,7 +22,7 @@
//
//
// $Id: G4VisCommands.hh,v 1.3 2001/08/05 02:29:02 johna Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
// /vis/ top level commands - John Allison 5th February 2001
@@ -22,7 +22,7 @@
//
//
// $Id: G4VisCommandsCompound.hh,v 1.7 2001/07/11 10:09:15 gunter Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
// Compound /vis/ commands - John Allison 15th May 2000
@@ -22,7 +22,7 @@
//
//
// $Id: G4VisCommandsScene.hh,v 1.13 2001/11/06 13:00:10 johna Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
// /vis/scene commands - John Allison 9th August 1998
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4VisCommandsSceneAdd.hh,v 1.9 2001/07/22 01:05:00 johna Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4VisCommandsSceneAdd.hh,v 1.10 2002/11/11 18:31:28 johna Exp $
// GEANT4 tag $Name: geant4-05-00 $
// /vis/scene commands - John Allison 9th August 1998
@@ -31,6 +31,8 @@
#include "G4VisCommandsScene.hh"
class G4UIcmdWithAnInteger;
class G4VisCommandSceneAddAxes: public G4VVisCommandScene {
public:
G4VisCommandSceneAddAxes ();
@@ -115,7 +117,7 @@ private:
G4VisCommandSceneAddTrajectories (const G4VisCommandSceneAddTrajectories&);
G4VisCommandSceneAddTrajectories& operator =
(const G4VisCommandSceneAddTrajectories&);
G4UIcmdWithoutParameter* fpCommand;
G4UIcmdWithAnInteger* fpCommand;
};
class G4VisCommandSceneAddVolume: public G4VVisCommandScene {
@@ -22,7 +22,7 @@
//
//
// $Id: G4VisCommandsSceneHandler.hh,v 1.6 2001/07/11 10:09:16 gunter Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
// /vis/sceneHandler commands - John Allison 10th October 1998
@@ -22,7 +22,7 @@
//
//
// $Id: G4VisCommandsViewer.hh,v 1.15 2001/11/06 12:55:28 johna Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
// /vis/viewer commands - John Allison 25th October 1998
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4VisCommandsViewerSet.hh,v 1.10 2001/11/06 13:01:31 johna Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4VisCommandsViewerSet.hh,v 1.11 2002/11/27 12:33:29 johna Exp $
// GEANT4 tag $Name: geant4-05-00 $
// /vis/viewer/set commands - John Allison 16th May 2000
@@ -37,6 +37,7 @@ class G4UIcommand;
class G4UIcmdWithAString;
class G4UIcmdWithABool;
class G4UIcmdWithAnInteger;
class G4UIcmdWithADouble;
class G4VisCommandsViewerSet: public G4VVisCommandViewer {
public:
@@ -51,6 +52,7 @@ private:
G4UIcmdWithABool* fpCommandAutoRefresh;
G4UIcommand* fpCommandCulling;
G4UIcmdWithABool* fpCommandEdge;
G4UIcmdWithADouble* fpCommandGlobalMarkerScale;
G4UIcmdWithABool* fpCommandHiddenEdge;
G4UIcmdWithABool* fpCommandHiddenMarker;
G4UIcmdWithAnInteger* fpCommandLineSegments;
@@ -22,7 +22,7 @@
//
//
// $Id: G4VisFeaturesOfDAWNFILE.hh,v 1.4 2001/07/11 10:09:16 gunter Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
#ifndef G4VISFEATURESOFDAWNFILE_HH
#define G4VISFEATURESOFDAWNFILE_HH
@@ -22,7 +22,7 @@
//
//
// $Id: G4VisFeaturesOfFukuiRenderer.hh,v 1.4 2001/07/11 10:09:16 gunter Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
//
@@ -22,7 +22,7 @@
//
//
// $Id: G4VisFeaturesOfOpenGL.hh,v 1.4 2001/07/11 10:09:16 gunter Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
//
@@ -22,7 +22,7 @@
//
//
// $Id: G4VisFeaturesOfOpenInventor.hh,v 1.4 2001/07/11 10:09:16 gunter Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
//
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4VisManager.hh,v 1.27 2001/09/10 11:00:36 johna Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4VisManager.hh,v 1.28 2002/11/11 18:33:30 johna Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
//
@@ -85,6 +85,8 @@
#include "G4SceneList.hh"
#include "G4Transform3D.hh"
#include "G4UImessenger.hh"
#include "G4NullModel.hh"
#include "G4ModelingParameters.hh"
#include "g4std/iostream"
#include "g4std/vector"
@@ -323,6 +325,8 @@ protected:
void ClearTransientStoreIfMarked();
// Clears transient store of current scene handler if it is marked
// for clearing. Assumes view is valid.
void CheckModel ();
// If a scene handler has no model, provides a null model.
static G4VisManager* fpInstance; // Pointer to single instance.
G4bool fInitialised;
@@ -343,6 +347,8 @@ protected:
G4std::vector<G4UIcommand*> fDirectoryList;
G4VisStateDependent* fpStateDependent; // Friend state dependent class.
G4int fWindowSizeHintX, fWindowSizeHintY; // For viewer construction.
G4NullModel fVisManagerNullModel; // As a default.
G4ModelingParameters fVisManagerModelingParameters; // Useful memory.
};
@@ -22,7 +22,7 @@
//
//
// $Id: G4VisManager.icc,v 1.8 2001/08/05 02:29:05 johna Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
//
// GEANT4 Visualization Manager - John Allison 02/Jan/1996.
@@ -22,7 +22,7 @@
//
//
// $Id: G4VisStateDependent.hh,v 1.4 2001/07/11 10:09:17 gunter Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
// A "state dependent" service class for G4VisManager.
// John Allison 29th November 1999
@@ -22,7 +22,7 @@
//
//
// $Id: G4VisToOldVisCommands.hh,v 1.6 2001/07/11 10:09:17 gunter Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
//
// Implements some /vis/ commands as /vis~/ temporarily.
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: MyVisManager.cc,v 1.16 2001/11/15 14:39:27 johna Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: MyVisManager.cc,v 1.17 2002/11/27 12:34:36 johna Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
//
// John Allison 24th January 1998.
@@ -35,6 +35,7 @@
#include "G4ASCIITree.hh"
#include "G4DAWNFILE.hh"
#include "G4GAGTree.hh"
#include "G4HepRep.hh"
#include "G4HepRepFile.hh"
#include "G4RayTracer.hh"
#include "G4VRML1File.hh"
@@ -88,6 +89,7 @@ void MyVisManager::RegisterGraphicsSystems () {
RegisterGraphicsSystem (new G4ASCIITree);
RegisterGraphicsSystem (new G4DAWNFILE);
RegisterGraphicsSystem (new G4GAGTree);
RegisterGraphicsSystem (new G4HepRep);
RegisterGraphicsSystem (new G4HepRepFile);
RegisterGraphicsSystem (new G4RayTracer);
RegisterGraphicsSystem (new G4VRML1File);
@@ -22,7 +22,7 @@
//
//
// $Id: MyVisManager.hh,v 1.5 2001/07/11 10:09:17 gunter Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
//
// John Allison 24th January 1998.