Import Geant4 3.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-08 15:55:53 +02:00
parent e7d7193284
commit cfcb558cfe
3050 changed files with 91703 additions and 48310 deletions
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4GraphicsSystemList.hh,v 1.4 1999/12/15 14:54:17 gunter Exp $
// GEANT4 tag $Name: geant4-02-00 $
// GEANT4 tag $Name: geant4-03-00 $
//
//
// John Allison 2nd April 1996
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4Scene.hh,v 1.7 1999/12/15 14:54:17 gunter Exp $
// GEANT4 tag $Name: geant4-02-00 $
// GEANT4 tag $Name: geant4-03-00 $
//
//
// Scene John Allison 19th July 1996.
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4Scene.icc,v 1.6 2000/05/22 08:25:34 johna Exp $
// GEANT4 tag $Name: geant4-02-00 $
// GEANT4 tag $Name: geant4-03-00 $
//
//
// Scene data John Allison 19th July 1996.
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4SceneHandlerList.hh,v 1.3 1999/12/15 14:54:17 gunter Exp $
// GEANT4 tag $Name: geant4-02-00 $
// GEANT4 tag $Name: geant4-03-00 $
//
//
// John Allison May 1996
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4SceneList.hh,v 1.5 1999/12/15 14:54:18 gunter Exp $
// GEANT4 tag $Name: geant4-02-00 $
// GEANT4 tag $Name: geant4-03-00 $
//
//
// John Allison 9th August 1998
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4VGraphicsSystem.hh,v 1.6 1999/12/15 14:54:18 gunter Exp $
// GEANT4 tag $Name: geant4-02-00 $
// GEANT4 tag $Name: geant4-03-00 $
//
//
// John Allison 27th March 1996
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4VGraphicsSystem.icc,v 1.4 1999/12/15 14:54:18 gunter Exp $
// GEANT4 tag $Name: geant4-02-00 $
// GEANT4 tag $Name: geant4-03-00 $
//
//
// John Allison 27th March 1996
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4VSceneHandler.hh,v 1.11 2000/05/02 09:49:27 johna Exp $
// GEANT4 tag $Name: geant4-02-00 $
// GEANT4 tag $Name: geant4-03-00 $
//
//
// John Allison 19th July 1996.
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4VSceneHandler.icc,v 1.8 2000/05/02 09:49:28 johna Exp $
// GEANT4 tag $Name: geant4-02-00 $
// GEANT4 tag $Name: geant4-03-00 $
//
//
// John Allison 19th July 1996.
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4VViewer.hh,v 1.7 2000/05/02 09:51:22 johna Exp $
// GEANT4 tag $Name: geant4-02-00 $
// GEANT4 tag $Name: geant4-03-00 $
//
//
// John Allison 27th March 1996
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4VViewer.icc,v 1.4 2000/05/02 09:51:22 johna Exp $
// GEANT4 tag $Name: geant4-02-00 $
// GEANT4 tag $Name: geant4-03-00 $
//
//
// John Allison 30th December 1996
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4VVisCommand.hh,v 1.6 1999/12/16 17:19:15 johna Exp $
// GEANT4 tag $Name: geant4-02-00 $
// GEANT4 tag $Name: geant4-03-00 $
// Base class for visualization commands - John Allison 9th August 1998
// It is really a messenger - we have one command per messenger.
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4VVisCommand.icc,v 1.3 1999/12/15 14:54:20 gunter Exp $
// GEANT4 tag $Name: geant4-02-00 $
// GEANT4 tag $Name: geant4-03-00 $
// Base class for visualization commands - John Allison 9th August 1998
// It is really a messenger - we have one command per messenger.
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4ViewParameters.hh,v 1.8 2000/05/13 10:51:31 johna Exp $
// GEANT4 tag $Name: geant4-02-00 $
// GEANT4 tag $Name: geant4-03-00 $
//
//
// John Allison 19th July 1996
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4ViewParameters.icc,v 1.3 1999/12/15 14:54:20 gunter Exp $
// GEANT4 tag $Name: geant4-02-00 $
// GEANT4 tag $Name: geant4-03-00 $
//
//
// John Allison 20th October 1996
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4ViewerList.hh,v 1.3 1999/12/15 14:54:20 gunter Exp $
// GEANT4 tag $Name: geant4-02-00 $
// GEANT4 tag $Name: geant4-03-00 $
//
//
// John Allison May 1996
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4VisCommandTemplates.hh,v 1.3 1999/12/15 14:54:20 gunter Exp $
// GEANT4 tag $Name: geant4-02-00 $
// GEANT4 tag $Name: geant4-03-00 $
//
//
// Visualization Command Messenger Templates.
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4VisCommandTemplates.icc,v 1.3 1999/12/15 14:54:20 gunter Exp $
// GEANT4 tag $Name: geant4-02-00 $
// GEANT4 tag $Name: geant4-03-00 $
//
//
// Command Messenger Templates.
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4VisCommandsCamera.hh,v 1.3 1999/12/15 14:54:20 gunter Exp $
// GEANT4 tag $Name: geant4-02-00 $
// GEANT4 tag $Name: geant4-03-00 $
//
//
// /vis~/camera/ commands
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4VisCommandsCameraMessengers.hh,v 1.3 1999/12/15 14:54:21 gunter Exp $
// GEANT4 tag $Name: geant4-02-00 $
// GEANT4 tag $Name: geant4-03-00 $
//
//
// Messengers for /vis~/camera commands - John Allison 6th April 1998.
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4VisCommandsClear.hh,v 1.4 1999/12/15 14:54:21 gunter Exp $
// GEANT4 tag $Name: geant4-02-00 $
// GEANT4 tag $Name: geant4-03-00 $
//
//
// /vis~/clear/ commands
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4VisCommandsCompound.hh,v 1.2 2000/05/15 11:49:02 johna Exp $
// GEANT4 tag $Name: geant4-02-00 $
// GEANT4 tag $Name: geant4-03-00 $
// Compound /vis/ commands - John Allison 15th May 2000
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4VisCommandsCopy.hh,v 1.4 1999/12/15 14:54:21 gunter Exp $
// GEANT4 tag $Name: geant4-02-00 $
// GEANT4 tag $Name: geant4-03-00 $
//
//
// /vis~/copy/ commands
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4VisCommandsCreateScene.hh,v 1.3 1999/12/15 14:54:21 gunter Exp $
// GEANT4 tag $Name: geant4-02-00 $
// GEANT4 tag $Name: geant4-03-00 $
//
//
// /vis~/create_scene/ commands
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4VisCommandsCreateView.hh,v 1.4 1999/12/15 14:54:21 gunter Exp $
// GEANT4 tag $Name: geant4-02-00 $
// GEANT4 tag $Name: geant4-03-00 $
//
//
// /vis~/create_view/ commands
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4VisCommandsDelete.hh,v 1.4 1999/12/15 14:54:21 gunter Exp $
// GEANT4 tag $Name: geant4-02-00 $
// GEANT4 tag $Name: geant4-03-00 $
//
//
// /vis~/delete/ commands
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4VisCommandsDraw.hh,v 1.3 1999/12/15 14:54:21 gunter Exp $
// GEANT4 tag $Name: geant4-02-00 $
// GEANT4 tag $Name: geant4-03-00 $
//
//
// /vis~/draw/ commands
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4VisCommandsLights.hh,v 1.4 1999/12/15 14:54:21 gunter Exp $
// GEANT4 tag $Name: geant4-02-00 $
// GEANT4 tag $Name: geant4-03-00 $
//
//
// /vis~/lights/ commands
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4VisCommandsPrint.hh,v 1.3 1999/12/15 14:54:21 gunter Exp $
// GEANT4 tag $Name: geant4-02-00 $
// GEANT4 tag $Name: geant4-03-00 $
//
//
// /vis~/print/ commands
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4VisCommandsRefresh.hh,v 1.3 1999/12/15 14:54:21 gunter Exp $
// GEANT4 tag $Name: geant4-02-00 $
// GEANT4 tag $Name: geant4-03-00 $
//
//
// /vis~/refresh/ commands
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4VisCommandsScene.hh,v 1.8 1999/12/15 14:54:21 gunter Exp $
// GEANT4 tag $Name: geant4-02-00 $
// GEANT4 tag $Name: geant4-03-00 $
// /vis/scene commands - John Allison 9th August 1998
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4VisCommandsSceneAdd.hh,v 1.5 2000/05/19 09:17:42 johna Exp $
// GEANT4 tag $Name: geant4-02-00 $
// GEANT4 tag $Name: geant4-03-00 $
// /vis/scene commands - John Allison 9th August 1998
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4VisCommandsSceneHandler.hh,v 1.5 1999/12/16 17:19:16 johna Exp $
// GEANT4 tag $Name: geant4-02-00 $
// GEANT4 tag $Name: geant4-03-00 $
// /vis/sceneHandler commands - John Allison 10th October 1998
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4VisCommandsSceneInclude.hh,v 1.3 1999/12/15 14:54:22 gunter Exp $
// GEANT4 tag $Name: geant4-02-00 $
// GEANT4 tag $Name: geant4-03-00 $
// /vis/scene commands - John Allison 9th August 1998
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4VisCommandsSet.hh,v 1.4 1999/12/15 14:54:22 gunter Exp $
// GEANT4 tag $Name: geant4-02-00 $
// GEANT4 tag $Name: geant4-03-00 $
//
//
// /vis~/set/ commands
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4VisCommandsShow.hh,v 1.3 1999/12/15 14:54:22 gunter Exp $
// GEANT4 tag $Name: geant4-02-00 $
// GEANT4 tag $Name: geant4-03-00 $
//
//
// /vis~/show/ commands
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4VisCommandsViewer.hh,v 1.9 2000/06/07 08:43:28 johna Exp $
// GEANT4 tag $Name: geant4-02-00 $
// GEANT4 tag $Name: geant4-03-00 $
// /vis/viewer commands - John Allison 25th October 1998
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4VisCommandsViewerSet.hh,v 1.3 2000/05/19 09:17:47 johna Exp $
// GEANT4 tag $Name: geant4-02-00 $
// GEANT4 tag $Name: geant4-03-00 $
// /vis/viewer/set commands - John Allison 16th May 2000
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4VisFeaturesOfDAWNFILE.hh,v 1.3 1999/12/15 14:54:22 gunter Exp $
// GEANT4 tag $Name: geant4-02-00 $
// GEANT4 tag $Name: geant4-03-00 $
//
#ifndef G4VISFEATURESOFDAWNFILE_HH
#define G4VISFEATURESOFDAWNFILE_HH
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4VisFeaturesOfFukuiRenderer.hh,v 1.3 1999/12/15 14:54:22 gunter Exp $
// GEANT4 tag $Name: geant4-02-00 $
// GEANT4 tag $Name: geant4-03-00 $
//
//
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4VisFeaturesOfOpenGL.hh,v 1.3 1999/12/15 14:54:22 gunter Exp $
// GEANT4 tag $Name: geant4-02-00 $
// GEANT4 tag $Name: geant4-03-00 $
//
//
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4VisFeaturesOfOpenInventor.hh,v 1.3 1999/12/15 14:54:22 gunter Exp $
// GEANT4 tag $Name: geant4-02-00 $
// GEANT4 tag $Name: geant4-03-00 $
//
//
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4VisManMessenger.hh,v 1.4 1999/12/15 14:54:22 gunter Exp $
// GEANT4 tag $Name: geant4-02-00 $
// GEANT4 tag $Name: geant4-03-00 $
//
//
// GEANT4 Visualization Manager Messenger - John Allison 22nd July 1996.
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4VisManager.hh,v 1.13 2000/05/02 09:57:15 johna Exp $
// GEANT4 tag $Name: geant4-02-00 $
// GEANT4 tag $Name: geant4-03-00 $
//
//
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4VisManager.icc,v 1.5 1999/12/15 14:54:22 gunter Exp $
// GEANT4 tag $Name: geant4-02-00 $
// GEANT4 tag $Name: geant4-03-00 $
//
//
// GEANT4 Visualization Manager - John Allison 02/Jan/1996.
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4VisStateDependent.hh,v 1.3 1999/12/15 14:54:23 gunter Exp $
// GEANT4 tag $Name: geant4-02-00 $
// GEANT4 tag $Name: geant4-03-00 $
//
// A "state dependent" service class for G4VisManager.
// John Allison 29th November 1999
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4VisToOldVisCommands.hh,v 1.4 1999/12/15 14:54:23 gunter Exp $
// GEANT4 tag $Name: geant4-02-00 $
// GEANT4 tag $Name: geant4-03-00 $
//
//
// Implements some /vis/ commands as /vis~/ temporarily.
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: MyVisManager.cc,v 1.5 2000/01/29 00:43:10 asaim Exp $
// GEANT4 tag $Name: geant4-02-00 $
// GEANT4 tag $Name: geant4-03-00 $
//
//
// John Allison 24th January 1998.
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: MyVisManager.hh,v 1.4 1999/12/15 14:54:23 gunter Exp $
// GEANT4 tag $Name: geant4-02-00 $
// GEANT4 tag $Name: geant4-03-00 $
//
//
// John Allison 24th January 1998.
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4Scene.cc,v 1.5 1999/12/15 14:54:24 gunter Exp $
// GEANT4 tag $Name: geant4-02-00 $
// GEANT4 tag $Name: geant4-03-00 $
//
//
// Scene data John Allison 19th July 1996.
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4VGraphicsSystem.cc,v 1.5 1999/12/15 14:54:25 gunter Exp $
// GEANT4 tag $Name: geant4-02-00 $
// GEANT4 tag $Name: geant4-03-00 $
//
//
// John Allison 27th March 1996
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4VSceneHandler.cc,v 1.11 2000/05/22 08:27:29 johna Exp $
// GEANT4 tag $Name: geant4-02-00 $
// GEANT4 tag $Name: geant4-03-00 $
//
//
// John Allison 19th July 1996
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4VViewer.cc,v 1.9 2000/05/13 10:52:51 johna Exp $
// GEANT4 tag $Name: geant4-02-00 $
// GEANT4 tag $Name: geant4-03-00 $
//
//
// John Allison 27th March 1996
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4VVisCommand.cc,v 1.6 1999/12/16 17:19:31 johna Exp $
// GEANT4 tag $Name: geant4-02-00 $
// GEANT4 tag $Name: geant4-03-00 $
// Base class for visualization commands - John Allison 9th August 1998
// It is really a messenger - we have one command per messenger.
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4ViewParameters.cc,v 1.6 2000/05/18 13:45:12 johna Exp $
// GEANT4 tag $Name: geant4-02-00 $
// $Id: G4ViewParameters.cc,v 1.7 2000/07/03 10:36:33 johna Exp $
// GEANT4 tag $Name: geant4-03-00 $
//
//
// John Allison 19th July 1996
@@ -27,7 +27,9 @@ G4ViewParameters::G4ViewParameters ():
fVisibleDensity (0.01 * g / cm3),
fCullCovered (false),
fSection (false),
fSectionPlane (),
fCutaway (false),
fCutawayPlanes (),
fExplode (false),
fExplodeFactor (1.),
fNoOfSides (24),
@@ -35,19 +37,21 @@ G4ViewParameters::G4ViewParameters ():
fUpVector (G4Vector3D (0., 1., 0.)), // y-axis up.
fFieldHalfAngle (0.), // Orthogonal projection.
fZoomFactor (1.),
fCurrentTargetPoint (),
fDolly (0.),
fLightsMoveWithCamera (false),
fRelativeLightpointDirection (G4Vector3D (1., 1., 1.)),
fActualLightpointDirection (G4Vector3D (1., 1., 1.)),
fLightsMoveWithCamera (false),
fViewGeom (true),
fViewHits (true),
fViewDigis (true),
fDefaultVisAttributes (),
fDefaultTextVisAttributes (G4Colour (0., 0., 1.)),
fDefaultMarker (),
fGlobalMarkerScale (1.),
fMarkerNotHidden (true),
fWindowSizeHintX (600),
fWindowSizeHintY (600)
// Note: all other parameters use default constructors.
{
fDefaultMarker.SetScreenSize (5.);
// Markers are 5 pixels radius, 10 pixels diameter.
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4VisCommandTemplates.cc,v 1.4 1999/12/15 14:54:25 gunter Exp $
// GEANT4 tag $Name: geant4-02-00 $
// GEANT4 tag $Name: geant4-03-00 $
//
//
// Visualization Command Messenger Template private functions.
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4VisCommandsCamera.cc,v 1.7 2000/05/13 10:52:14 johna Exp $
// GEANT4 tag $Name: geant4-02-00 $
// GEANT4 tag $Name: geant4-03-00 $
//
//
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4VisCommandsCameraMessengers.cc,v 1.3 1999/12/15 14:54:26 gunter Exp $
// GEANT4 tag $Name: geant4-02-00 $
// GEANT4 tag $Name: geant4-03-00 $
//
//
// Messengers for /vis~/camera commands - John Allison 6th April 1998.
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4VisCommandsCompound.cc,v 1.4 2000/06/07 08:43:28 johna Exp $
// GEANT4 tag $Name: geant4-02-00 $
// $Id: G4VisCommandsCompound.cc,v 1.6 2000/10/18 14:02:35 allison Exp $
// GEANT4 tag $Name: geant4-03-00 $
// Compound /vis/ commands - John Allison 15th May 2000
@@ -45,7 +45,6 @@ void G4VisCommandDrawVolume::SetNewValue
UImanager->ApplyCommand("/vis/scene/add/volume " + newValue);
UImanager->ApplyCommand("/vis/sceneHandler/attach");
UImanager->ApplyCommand("/vis/viewer/refresh");
UImanager->ApplyCommand("/vis/viewer/update");
UImanager->SetVerboseLevel(keepVerbose);
}
@@ -84,8 +83,11 @@ G4VisCommandOpen::~G4VisCommandOpen() {
void G4VisCommandOpen::SetNewValue (G4UIcommand* command, G4String newValue) {
G4UImanager* UImanager = G4UImanager::GetUIpointer();
G4int keepVerbose = UImanager->GetVerboseLevel();
UImanager->SetVerboseLevel(2);
UImanager->ApplyCommand("/vis/sceneHandler/create " + newValue);
UImanager->ApplyCommand("/vis/viewer/create");
UImanager->SetVerboseLevel(keepVerbose);
}
////////////// /vis/specify ///////////////////////////////////////
@@ -112,11 +114,10 @@ void G4VisCommandSpecify::SetNewValue
G4UImanager* UImanager = G4UImanager::GetUIpointer();
G4int keepVerbose = UImanager->GetVerboseLevel();
UImanager->SetVerboseLevel(2);
UImanager->ApplyCommand("/geometry/print " + newValue);
UImanager->ApplyCommand("/vis/scene/create");
UImanager->ApplyCommand("/vis/scene/add/logicalVolume " + newValue);
UImanager->ApplyCommand("/vis/sceneHandler/attach");
UImanager->ApplyCommand("/vis/viewer/refresh");
UImanager->ApplyCommand("/vis/viewer/update");
UImanager->ApplyCommand("/geometry/print " + newValue);
UImanager->SetVerboseLevel(keepVerbose);
}
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4VisCommandsScene.cc,v 1.15 2000/05/29 09:21:40 johna Exp $
// GEANT4 tag $Name: geant4-02-00 $
// GEANT4 tag $Name: geant4-03-00 $
// /vis/scene commands - John Allison 9th August 1998
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4VisCommandsSceneAdd.cc,v 1.11 2000/05/19 09:17:56 johna Exp $
// GEANT4 tag $Name: geant4-02-00 $
// GEANT4 tag $Name: geant4-03-00 $
// /vis/scene commands - John Allison 9th August 1998
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4VisCommandsSceneHandler.cc,v 1.13 2000/05/18 13:45:45 johna Exp $
// GEANT4 tag $Name: geant4-02-00 $
// GEANT4 tag $Name: geant4-03-00 $
// /vis/sceneHandler commands - John Allison 10th October 1998
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4VisCommandsSceneInclude.cc,v 1.5 2000/05/19 09:18:01 johna Exp $
// GEANT4 tag $Name: geant4-02-00 $
// GEANT4 tag $Name: geant4-03-00 $
// /vis/scene commands - John Allison 9th August 1998
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4VisCommandsViewer.cc,v 1.19 2000/06/07 08:43:28 johna Exp $
// GEANT4 tag $Name: geant4-02-00 $
// GEANT4 tag $Name: geant4-03-00 $
// /vis/viewer commands - John Allison 25th October 1998
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4VisCommandsViewerSet.cc,v 1.3 2000/05/19 09:18:09 johna Exp $
// GEANT4 tag $Name: geant4-02-00 $
// GEANT4 tag $Name: geant4-03-00 $
// /vis/viewer/set commands - John Allison 16th May 2000
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4VisFeaturesOfDAWNFILE.cc,v 1.3 1999/12/15 14:54:26 gunter Exp $
// GEANT4 tag $Name: geant4-02-00 $
// GEANT4 tag $Name: geant4-03-00 $
//
#include "G4VisFeaturesOfDAWNFILE.hh"
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4VisFeaturesOfFukuiRenderer.cc,v 1.3 1999/12/15 14:54:26 gunter Exp $
// GEANT4 tag $Name: geant4-02-00 $
// GEANT4 tag $Name: geant4-03-00 $
//
//
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4VisFeaturesOfOpenGL.cc,v 1.3 1999/12/15 14:54:26 gunter Exp $
// GEANT4 tag $Name: geant4-02-00 $
// GEANT4 tag $Name: geant4-03-00 $
//
//
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4VisFeaturesOfOpenInventor.cc,v 1.3 1999/12/15 14:54:26 gunter Exp $
// GEANT4 tag $Name: geant4-02-00 $
// GEANT4 tag $Name: geant4-03-00 $
//
//
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4VisManMessCamera.cc,v 1.4 1999/12/15 14:54:26 gunter Exp $
// GEANT4 tag $Name: geant4-02-00 $
// GEANT4 tag $Name: geant4-03-00 $
//
//
// GEANT4 Visualization Manager Messenger - John Allison 22nd July 1996.
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4VisManMessCreateView.cc,v 1.5 1999/12/15 14:54:27 gunter Exp $
// GEANT4 tag $Name: geant4-02-00 $
// GEANT4 tag $Name: geant4-03-00 $
//
//
// GEANT4 Visualization Manager Messenger - John Allison 22nd July 1996.
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4VisManMessDraw.cc,v 1.5 1999/12/15 14:54:27 gunter Exp $
// GEANT4 tag $Name: geant4-02-00 $
// GEANT4 tag $Name: geant4-03-00 $
//
//
// GEANT4 Visualization Manager Messenger - John Allison 22nd July 1996.
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4VisManMessExpert.cc,v 1.4 1999/12/15 14:54:27 gunter Exp $
// GEANT4 tag $Name: geant4-02-00 $
// GEANT4 tag $Name: geant4-03-00 $
//
//
// GEANT4 Visualization Manager Messenger - John Allison 22nd July 1996.
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4VisManMessLights.cc,v 1.4 1999/12/15 14:54:27 gunter Exp $
// GEANT4 tag $Name: geant4-02-00 $
// $Id: G4VisManMessLights.cc,v 1.5 2000/08/19 18:23:37 johna Exp $
// GEANT4 tag $Name: geant4-03-00 $
//
//
// GEANT4 Visualization Manager Messenger - John Allison 22nd July 1996.
@@ -69,10 +69,6 @@ void G4VisManMessenger::DoCommandLights (const G4String& commandPath,
fpVMan -> PrintCurrentView ();
}
}
if (ViewValid ()) {
fpVMan -> GetCurrentViewer () -> ClearView (); // Clears buffer only.
fpVMan -> Draw ();
fpVMan -> Show ();
}
G4cout << "Issue Draw or refresh to see effect." << G4endl;
}
}
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4VisManMessSet.cc,v 1.7 2000/05/02 09:58:11 johna Exp $
// GEANT4 tag $Name: geant4-02-00 $
// GEANT4 tag $Name: geant4-03-00 $
//
//
// GEANT4 Visualization Manager Messenger - John Allison 22nd July 1996.
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4VisManMessenger.cc,v 1.3 1999/12/15 14:54:27 gunter Exp $
// GEANT4 tag $Name: geant4-02-00 $
// GEANT4 tag $Name: geant4-03-00 $
//
//
// GEANT4 Visualization Manager Messenger - John Allison 22nd July 1996.
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4VisManager.cc,v 1.17 2000/05/04 08:52:10 johna Exp $
// GEANT4 tag $Name: geant4-02-00 $
// GEANT4 tag $Name: geant4-03-00 $
//
//
// GEANT4 Visualization Manager - John Allison 02/Jan/1996.
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4VisManagerRegisterMessengers.cc,v 1.20 2000/06/07 08:43:29 johna Exp $
// GEANT4 tag $Name: geant4-02-00 $
// $Id: G4VisManagerRegisterMessengers.cc,v 1.21 2000/10/18 14:03:08 allison Exp $
// GEANT4 tag $Name: geant4-03-00 $
//
//
// G4VisManager::RegisterMessengers - John Allison 30/July/1998.
@@ -205,7 +205,7 @@ contain spaces but must be unique up to the first space.
Affects current viewer.
* /vis/viewer/clone
Clone becomes current viewer.
Creates a clone. Clone becomes current viewer.
/vis/viewer/create [<scene-handler>] [<viewer-name>] [<pixels>]
default: current scene handler name auto-generated name 600
@@ -222,7 +222,9 @@ contain spaces but must be unique up to the first space.
/vis/viewer/refresh [<viewer-name>]
default: current viewer name
This viewer becomes current.
Re-traverses graphical data, which is enough in some cases to refresh the
view. In some cases post-processing is required to complete the view -
see /vis/viewer/update. This viewer becomes current.
/vis/viewer/remove <viewer-name>
default: no default
@@ -245,7 +247,7 @@ to know the type of the parameter, so we need separate commands.)
Copies view parameters from from-viewer to current viewer.
Affects current viewer.
/vis/viewer/set/style wireframe|surface
/vis/viewer/set/style w[ireframe]|s[urface]
Affects current viewer.
/vis/viewer/set/edge [true|false]
@@ -256,10 +258,10 @@ to know the type of the parameter, so we need separate commands.)
default: true
Affects current viewer.
/vis/viewer/set/culling global|coveredDaughters|invisible|density [true|false]
[density] [unit]
default: true
0.01 g/cm3
/vis/viewer/set/culling
g[lobal]|c[overedDaughters]|i[nvisible]|d[ensity] [true|false]
[density] [unit]
default: none true 0.01 g/cm3
Affects current viewer.
* /vis/viewer/set/hiddenMarker [true|false]
@@ -295,7 +297,7 @@ to know the type of the parameter, so we need separate commands.)
Moves the camera in this distance relative to standard target point.
Affects current viewer.
*special* /vis/viewer/set/orbit
*special* /vis/viewer/set/orbit (parameters)
Orbits the scene about the up-vector, lights fixed to the scene. Draws N
frames, the camera rotated Delta-beta about the up-vector each frame.
Affects current viewer.
@@ -313,14 +315,16 @@ to know the type of the parameter, so we need separate commands.)
point.
Affects current viewer.
* /vis/viewer/set/projection_style orthogonal|perspective [<field-angle>] [deg|rad]
default: 30 deg
* /vis/viewer/set/projection_style
o[rthogonal]|p[erspective] [<field-angle>] [deg|rad]
default: none 30 deg
*or* /vis/viewer/set/orthgonal
*or* /vis/viewer/set/perspective [<field-angle>] [deg|rad]
default: 30 deg
Affects current viewer.
*special* /vis/viewer/set/spin
*special* /vis/viewer/set/spin (parameters)
*or* /vis/viewer/advanced?
Spins the scene about the up-vector, lights fixed to the camera. Draws N
frames, the scene rotated Delta-beta about the up-vector each frame.
Affects current viewer.
@@ -360,7 +364,7 @@ to know the type of the parameter, so we need separate commands.)
/vis/viewer/update [<viewer-name>]
default: current viewer name
This viewer becomes current.
Initiates post-processing if required. This viewer becomes current.
Attributes (nothing implemented yet)
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4VisStateDependent.cc,v 1.2 1999/12/15 14:54:27 gunter Exp $
// GEANT4 tag $Name: geant4-02-00 $
// GEANT4 tag $Name: geant4-03-00 $
#include "G4VisStateDependent.hh"
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4VisToOldVisCommands.cc,v 1.4 1999/12/15 14:54:27 gunter Exp $
// GEANT4 tag $Name: geant4-02-00 $
// GEANT4 tag $Name: geant4-03-00 $
//
//
// Implements some /vis/ commands as /vis~/ temporarily.