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
@@ -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