Import Geant4 9.4.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 16:25:56 +02:00
parent 74cad5e589
commit 89a9605df1
4440 changed files with 379508 additions and 189225 deletions
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4OpenInventorViewer.cc,v 1.60 2009/02/16 15:31:05 lgarnier Exp $
// GEANT4 tag $Name: geant4-09-03 $
// $Id: G4OpenInventorViewer.cc,v 1.61 2010/10/06 10:09:57 allison Exp $
// GEANT4 tag $Name: geant4-09-04 $
#ifdef G4VIS_BUILD_OI_DRIVER
@@ -176,6 +176,10 @@ G4bool G4OpenInventorViewer::CompareForKernelVisit(G4ViewParameters& vp) {
(vp.IsExplode () != fVP.IsExplode ()) ||
(vp.GetNoOfSides () != fVP.GetNoOfSides ()) ||
(vp.IsMarkerNotHidden () != fVP.IsMarkerNotHidden ()) ||
(vp.GetDefaultVisAttributes()->GetColour() !=
fVP.GetDefaultVisAttributes()->GetColour()) ||
(vp.GetDefaultTextVisAttributes()->GetColour() !=
fVP.GetDefaultTextVisAttributes()->GetColour()) ||
(vp.GetBackgroundColour ()!= fVP.GetBackgroundColour ())||
(vp.IsPicking () != fVP.IsPicking ()) ||
// Scaling for Open Inventor is done by the scene handler so it
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4OpenInventorWin.cc,v 1.7 2009/09/18 12:48:43 lgarnier Exp $
// GEANT4 tag $Name: geant4-09-03 $
// $Id: G4OpenInventorWin.cc,v 1.8 2010/05/26 14:30:46 allison Exp $
// GEANT4 tag $Name: geant4-09-04-beta-01 $
//
// OpenInventor graphics system factory.
@@ -57,7 +57,7 @@ void G4OpenInventorWin::Initialize ()
HWND toplevel = (HWND)GetInteractorManager()->GetMainInteractor();
SoWin::init(toplevel);
if(!SoWin::getTopLevelWidget()) SoWin::init(toplevel);
InitNodes();
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4OpenInventorWinViewer.cc,v 1.26 2009/09/18 12:48:43 lgarnier Exp $
// GEANT4 tag $Name: geant4-09-03 $
// $Id: G4OpenInventorWinViewer.cc,v 1.27 2010/11/10 17:53:22 allison Exp $
// GEANT4 tag $Name: geant4-09-04 $
//
/*
* jck : 05 Feb 1997 : Initial Implementation
@@ -51,6 +51,7 @@
#include "G4OpenInventor.hh"
#include "G4OpenInventorSceneHandler.hh"
#include "G4VInteractorManager.hh"
#include "G4VisManager.hh"
#include <windowsx.h>
@@ -94,8 +95,8 @@ G4OpenInventorWinViewer::G4OpenInventorWinViewer(
,fShell(0)
,fViewer(0)
{
G4cout << "Window name: " << fName << G4endl;
if (G4VisManager::GetVerbosity() >= G4VisManager::confirmations)
G4cout << "Window name: " << fName << G4endl;
}
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4OpenInventorXt.cc,v 1.4 2006/06/29 21:22:24 gunter Exp $
// GEANT4 tag $Name: geant4-09-02 $
// $Id: G4OpenInventorXt.cc,v 1.5 2010/05/26 14:30:46 allison Exp $
// GEANT4 tag $Name: geant4-09-04-beta-01 $
//
//
// Jeff Kallenbach 01 Aug 1996
@@ -80,7 +80,7 @@ void G4OpenInventorXt::Initialize()
}
}
SoXt::init(top);
if(!SoXt::getTopLevelWidget()) SoXt::init(top);
InitNodes();
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4OpenInventorXtViewer.cc,v 1.25 2009/09/18 12:48:43 lgarnier Exp $
// GEANT4 tag $Name: geant4-09-03 $
// $Id: G4OpenInventorXtViewer.cc,v 1.26 2010/11/10 17:53:22 allison Exp $
// GEANT4 tag $Name: geant4-09-04 $
//
/*
* jck 05 Feb 1997 - Initial Implementation
@@ -64,6 +64,7 @@
#include "G4OpenInventor.hh"
#include "G4OpenInventorSceneHandler.hh"
#include "G4VInteractorManager.hh"
#include "G4VisManager.hh"
G4OpenInventorXtViewer::G4OpenInventorXtViewer(
G4OpenInventorSceneHandler& sceneHandler
@@ -74,7 +75,8 @@ G4OpenInventorXtViewer::G4OpenInventorXtViewer(
,fHelpForm(0)
,fHelpText(0)
{
G4cout << "Window name: " << fName << G4endl;
if (G4VisManager::GetVerbosity() >= G4VisManager::confirmations)
G4cout << "Window name: " << fName << G4endl;
}