Import Geant4 3.1.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-08 16:03:00 +02:00
parent cfcb558cfe
commit 137e303ecc
2843 changed files with 37082 additions and 38426 deletions
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4OpenGLStoredSceneHandler.hh,v 1.8 2000/08/19 18:34:23 johna Exp $
// GEANT4 tag $Name: geant4-03-00 $
// $Id: G4OpenGLStoredSceneHandler.hh,v 1.10 2001/02/23 15:43:08 johna Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// Andrew Walkden 10th February 1997
@@ -24,6 +24,7 @@
#include "G4RotationMatrix.hh"
#include "G4OpenGLSceneHandler.hh"
#include "g4std/map"
#include "g4std/vector"
class G4OpenGLStored;
@@ -37,7 +38,6 @@ public:
void BeginModeling ();
void EndModeling ();
static G4int GetSceneCount ();
G4bool fMemoryForDisplayLists; // avoid memory overflow
private:
friend class G4OpenGLStoredViewer;
@@ -47,15 +47,16 @@ friend class G4OpenGLStoredViewer;
static G4int fSceneIdCount; // static counter for OpenGLStored scenes.
static G4int fSceneCount; // No. of extanct scene handlers.
G4int fDisplayListId; // Workspace.
G4bool fMemoryForDisplayLists; // avoid memory overflow
// PODL = Persistent Object Display List.
GLint fTopPODL; // List which calls the other PODLs.
G4RWTValOrderedVector<G4int> fPODLList;
G4RWTValOrderedVector<G4Transform3D> fPODLTransformList;
G4std::vector<G4int> fPODLList;
G4std::vector<G4Transform3D> fPODLTransformList;
// TODL = Transient Object Display List.
G4RWTValOrderedVector<G4int> fTODLList;
G4RWTValOrderedVector<G4Transform3D> fTODLTransformList;
G4std::vector<G4int> fTODLList;
G4std::vector<G4Transform3D> fTODLTransformList;
// Stop-gap solution of structure re-use.
// A proper implementation would use geometry hierarchy.