Import Geant4 1.0.0 source tree
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
// This code implementation is the intellectual property of
|
||||
// the RD44 GEANT4 collaboration.
|
||||
// the 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: G4OpenInventorSceneHandler.hh,v 1.3 1999/05/12 14:00:44 barrand Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// $Id: G4OpenInventorSceneHandler.hh,v 1.6.4.1 1999/12/07 20:53:34 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
//
|
||||
// J Kallenbach 27th Aug 1996
|
||||
@@ -18,8 +18,7 @@
|
||||
|
||||
#ifdef G4VIS_BUILD_OI_DRIVER
|
||||
|
||||
#include <rw/tvhdict.h>
|
||||
#include <rw/tphdict.h>
|
||||
#include "g4std/map"
|
||||
|
||||
#include "G4VSceneHandler.hh"
|
||||
|
||||
@@ -32,9 +31,7 @@ class G4OpenInventorSceneHandler: public G4VSceneHandler {
|
||||
friend class G4OpenInventorViewer;
|
||||
|
||||
public:
|
||||
typedef unsigned long G4VSolidPointer;
|
||||
typedef const G4VPhysicalVolume* G4VPhysicalVolumePointer;
|
||||
typedef SoSeparator* SoSeparatorPointer;
|
||||
|
||||
G4OpenInventorSceneHandler (G4OpenInventor& system, const G4String& name = "");
|
||||
virtual ~G4OpenInventorSceneHandler ();
|
||||
void AddPrimitive (const G4Polyline& line);
|
||||
@@ -79,8 +76,8 @@ private:
|
||||
// Stop-gap solution of structure re-use.
|
||||
// A proper implementation would use geometry hierarchy.
|
||||
//
|
||||
RWTValHashDictionary<G4VSolidPointer, G4int> fSolidDictionary;
|
||||
RWTValHashDictionary<G4VPhysicalVolumePointer, SoSeparatorPointer> SeparatorSet;
|
||||
G4std::map <const G4VPhysicalVolume*, SoSeparator*,
|
||||
less <const G4VPhysicalVolume*> > SeparatorMap;
|
||||
SoSeparator *root;
|
||||
SoSeparator *staticRoot;
|
||||
SoSeparator *transientRoot;
|
||||
|
||||
Reference in New Issue
Block a user