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: G4OpenInventor.cc,v 1.8 2001/07/11 10:09:00 gunter Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
#ifdef G4VIS_BUILD_OI_DRIVER
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4OpenInventorSceneHandler.cc,v 1.12 2001/07/11 10:09:00 gunter Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4OpenInventorSceneHandler.cc,v 1.13 2002/12/11 16:08:22 johna Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
//
// Jeff Kallenbach 01 Aug 1996
@@ -789,4 +789,13 @@ G4double G4OpenInventorSceneHandler::GetMarkerSize ( const G4VMarker& mark )
return size ;
} // G4OpenInventorSceneHandler::GetMarkerSize ()
void G4OpenInventorSceneHandler::AddThis(const G4VTrajectory& traj) {
G4VSceneHandler::AddThis(traj); // For now.
}
void G4OpenInventorSceneHandler::AddThis(const G4VHit& hit) {
G4VSceneHandler::AddThis(hit); // For now.
}
#endif
@@ -22,7 +22,7 @@
//
//
// $Id: G4OpenInventorTransform3D.cc,v 1.4 2001/07/11 10:09:01 gunter Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
//
// jck 17 Dec 1996
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4OpenInventorViewer.cc,v 1.8 2001/11/14 14:56:12 barrand Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4OpenInventorViewer.cc,v 1.9 2002/11/27 12:46:07 johna Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
/*
* jck 05 Feb 1997 - Initial Implementation
@@ -105,7 +105,7 @@ void G4OpenInventorViewer::KernelVisitDecision () {
G4bool G4OpenInventorViewer::CompareForKernelVisit
(G4ViewParameters& lastVP) {
G4bool need = false;
if (
(fLastVP.GetDrawingStyle () != fVP.GetDrawingStyle ()) ||
(fLastVP.GetRepStyle () != fVP.GetRepStyle ()) ||
@@ -114,25 +114,25 @@ G4bool G4OpenInventorViewer::CompareForKernelVisit
(fLastVP.IsDensityCulling () != fVP.IsDensityCulling ()) ||
(fLastVP.IsCullingCovered () != fVP.IsCullingCovered ()) ||
(fLastVP.IsSection () != fVP.IsSection ()) ||
// No need to visit kernel if section plane changes.
(fLastVP.IsCutaway () != fVP.IsCutaway ()) ||
(fLastVP.GetCutawayPlanes ().size () !=
fVP.GetCutawayPlanes ().size ()) ||
// No need to visit kernel if cutaway planes change.
(fLastVP.IsExplode () != fVP.IsExplode ()) ||
(fLastVP.GetNoOfSides () != fVP.GetNoOfSides ())
) {
need = true;;
return true;;
}
if (!need && fLastVP.IsDensityCulling () &&
if (fLastVP.IsDensityCulling () &&
(fLastVP.GetVisibleDensity () != fVP.GetVisibleDensity ()))
need = true;
return true;
if (!need && fLastVP.IsExplode () &&
if (fLastVP.IsExplode () &&
(fLastVP.GetExplodeFactor () != fVP.GetExplodeFactor ()))
need = true;
return true;
return need;
return false;
}
G4OpenInventorViewer::G4OpenInventorViewer
@@ -22,7 +22,7 @@
//
//
// $Id: G4OpenInventorWin32.cc,v 1.5 2001/07/11 10:09:01 gunter Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
// OpenInventor graphics system factory.
@@ -22,7 +22,7 @@
//
//
// $Id: G4OpenInventorX.cc,v 1.5 2001/07/11 10:09:01 gunter Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
//
// Jeff Kallenbach 01 Aug 1996