Changeset 944 for trunk/source/visualization/management/src
- Timestamp:
- Mar 16, 2009, 11:39:13 AM (17 years ago)
- Location:
- trunk/source/visualization/management/src
- Files:
-
- 20 edited
-
G4GraphicsSystemList.cc (modified) (1 diff)
-
G4Scene.cc (modified) (1 diff)
-
G4SceneHandlerList.cc (modified) (1 diff)
-
G4SceneList.cc (modified) (1 diff)
-
G4VGraphicsSystem.cc (modified) (1 diff)
-
G4VVisCommand.cc (modified) (1 diff)
-
G4ViewParameters.cc (modified) (1 diff)
-
G4ViewerList.cc (modified) (1 diff)
-
G4VisCommands.cc (modified) (2 diffs)
-
G4VisCommandsCompound.cc (modified) (1 diff)
-
G4VisCommandsGeometry.cc (modified) (1 diff)
-
G4VisCommandsGeometrySet.cc (modified) (1 diff)
-
G4VisCommandsScene.cc (modified) (1 diff)
-
G4VisCommandsSceneAdd.cc (modified) (1 diff)
-
G4VisCommandsViewerSet.cc (modified) (1 diff)
-
G4VisFeaturesOfDAWNFILE.cc (modified) (1 diff)
-
G4VisFeaturesOfFukuiRenderer.cc (modified) (1 diff)
-
G4VisFeaturesOfOpenGL.cc (modified) (1 diff)
-
G4VisFeaturesOfOpenInventor.cc (modified) (1 diff)
-
G4VisManager.cc (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/visualization/management/src/G4GraphicsSystemList.cc
r850 r944 26 26 // 27 27 // $Id: G4GraphicsSystemList.cc,v 1.4 2006/06/29 21:29:14 gunter Exp $ 28 // GEANT4 tag $Name: HEAD$28 // GEANT4 tag $Name: $ 29 29 30 30 #include "G4GraphicsSystemList.hh" -
trunk/source/visualization/management/src/G4Scene.cc
r850 r944 26 26 // 27 27 // $Id: G4Scene.cc,v 1.23 2006/11/26 15:51:12 allison Exp $ 28 // GEANT4 tag $Name: HEAD$28 // GEANT4 tag $Name: $ 29 29 // 30 30 // -
trunk/source/visualization/management/src/G4SceneHandlerList.cc
r850 r944 26 26 // 27 27 // $Id: G4SceneHandlerList.cc,v 1.4 2006/06/29 21:29:18 gunter Exp $ 28 // GEANT4 tag $Name: HEAD$28 // GEANT4 tag $Name: $ 29 29 30 30 #include "G4SceneHandlerList.hh" -
trunk/source/visualization/management/src/G4SceneList.cc
r850 r944 26 26 // 27 27 // $Id: G4SceneList.cc,v 1.6 2006/06/29 21:29:20 gunter Exp $ 28 // GEANT4 tag $Name: HEAD$28 // GEANT4 tag $Name: $ 29 29 30 30 #include "G4SceneList.hh" -
trunk/source/visualization/management/src/G4VGraphicsSystem.cc
r850 r944 26 26 // 27 27 // $Id: G4VGraphicsSystem.cc,v 1.11 2006/06/29 21:29:22 gunter Exp $ 28 // GEANT4 tag $Name: HEAD$28 // GEANT4 tag $Name: $ 29 29 // 30 30 // -
trunk/source/visualization/management/src/G4VVisCommand.cc
r850 r944 26 26 // 27 27 // $Id: G4VVisCommand.cc,v 1.18 2006/06/29 21:29:28 gunter Exp $ 28 // GEANT4 tag $Name: HEAD$28 // GEANT4 tag $Name: $ 29 29 30 30 // Base class for visualization commands - John Allison 9th August 1998 -
trunk/source/visualization/management/src/G4ViewParameters.cc
r931 r944 88 88 { 89 89 fDefaultMarker.SetScreenSize (5.); 90 printf("G4ViewParameters -------------------------------------------------------------\n");91 90 // Markers are 5 pixels "overall" size, i.e., diameter. 92 91 } -
trunk/source/visualization/management/src/G4ViewerList.cc
r850 r944 26 26 // 27 27 // $Id: G4ViewerList.cc,v 1.4 2006/06/29 21:29:32 gunter Exp $ 28 // GEANT4 tag $Name: HEAD$28 // GEANT4 tag $Name: $ 29 29 30 30 #include "G4ViewerList.hh" -
trunk/source/visualization/management/src/G4VisCommands.cc
r850 r944 25 25 // 26 26 // 27 // $Id: G4VisCommands.cc,v 1.2 3 2008/07/27 10:46:23allison Exp $28 // GEANT4 tag $Name: HEAD$27 // $Id: G4VisCommands.cc,v 1.24 2009/03/09 12:42:00 allison Exp $ 28 // GEANT4 tag $Name: $ 29 29 30 30 // /vis/ top level commands - John Allison 5th February 2001 … … 97 97 } else fpVisManager->Disable(); // Printing is in vis manager. 98 98 // Note: Printing is in vis manager. 99 } 100 101 ////////////// /vis/initialize /////////////////////////////////////// 102 103 G4VisCommandInitialize::G4VisCommandInitialize () 104 { 105 fpCommand = new G4UIcmdWithoutParameter("/vis/initialize", this); 106 fpCommand -> SetGuidance("Initialise visualisation manager."); 107 } 108 109 G4VisCommandInitialize::~G4VisCommandInitialize () { 110 delete fpCommand; 111 } 112 113 void G4VisCommandInitialize::SetNewValue (G4UIcommand*, 114 G4String) { 115 fpVisManager->Initialize(); 99 116 } 100 117 -
trunk/source/visualization/management/src/G4VisCommandsCompound.cc
r850 r944 26 26 // 27 27 // $Id: G4VisCommandsCompound.cc,v 1.39 2007/11/16 20:29:04 perl Exp $ 28 // GEANT4 tag $Name: HEAD$28 // GEANT4 tag $Name: $ 29 29 30 30 // Compound /vis/ commands - John Allison 15th May 2000 -
trunk/source/visualization/management/src/G4VisCommandsGeometry.cc
r850 r944 26 26 // 27 27 // $Id: G4VisCommandsGeometry.cc,v 1.4 2007/01/05 16:29:38 allison Exp $ 28 // GEANT4 tag $Name: HEAD$28 // GEANT4 tag $Name: $ 29 29 30 30 // /vis/geometry commands - John Allison 31st January 2006 -
trunk/source/visualization/management/src/G4VisCommandsGeometrySet.cc
r850 r944 26 26 // 27 27 // $Id: G4VisCommandsGeometrySet.cc,v 1.7 2007/01/05 16:24:19 allison Exp $ 28 // GEANT4 tag $Name: HEAD$28 // GEANT4 tag $Name: $ 29 29 30 30 // /vis/geometry commands - John Allison 31st January 2006 -
trunk/source/visualization/management/src/G4VisCommandsScene.cc
r850 r944 26 26 // 27 27 // $Id: G4VisCommandsScene.cc,v 1.68 2008/04/28 16:12:38 allison Exp $ 28 // GEANT4 tag $Name: HEAD$28 // GEANT4 tag $Name: $ 29 29 30 30 // /vis/scene commands - John Allison 9th August 1998 -
trunk/source/visualization/management/src/G4VisCommandsSceneAdd.cc
r850 r944 26 26 // 27 27 // $Id: G4VisCommandsSceneAdd.cc,v 1.73 2007/11/16 20:29:04 perl Exp $ 28 // GEANT4 tag $Name: HEAD$28 // GEANT4 tag $Name: $ 29 29 // /vis/scene commands - John Allison 9th August 1998 30 30 -
trunk/source/visualization/management/src/G4VisCommandsViewerSet.cc
r850 r944 26 26 // 27 27 // $Id: G4VisCommandsViewerSet.cc,v 1.49 2007/07/10 17:51:54 allison Exp $ 28 // GEANT4 tag $Name: HEAD$28 // GEANT4 tag $Name: $ 29 29 30 30 // /vis/viewer/set commands - John Allison 16th May 2000 -
trunk/source/visualization/management/src/G4VisFeaturesOfDAWNFILE.cc
r850 r944 26 26 // 27 27 // $Id: G4VisFeaturesOfDAWNFILE.cc,v 1.6 2006/06/29 21:29:52 gunter Exp $ 28 // GEANT4 tag $Name: HEAD$28 // GEANT4 tag $Name: $ 29 29 // 30 30 #include "G4VisFeaturesOfDAWNFILE.hh" -
trunk/source/visualization/management/src/G4VisFeaturesOfFukuiRenderer.cc
r850 r944 26 26 // 27 27 // $Id: G4VisFeaturesOfFukuiRenderer.cc,v 1.5 2006/06/29 21:29:54 gunter Exp $ 28 // GEANT4 tag $Name: HEAD$28 // GEANT4 tag $Name: $ 29 29 // 30 30 // -
trunk/source/visualization/management/src/G4VisFeaturesOfOpenGL.cc
r850 r944 26 26 // 27 27 // $Id: G4VisFeaturesOfOpenGL.cc,v 1.6 2007/10/03 14:21:55 lgarnier Exp $ 28 // GEANT4 tag $Name: HEAD$28 // GEANT4 tag $Name: $ 29 29 // 30 30 // -
trunk/source/visualization/management/src/G4VisFeaturesOfOpenInventor.cc
r850 r944 26 26 // 27 27 // $Id: G4VisFeaturesOfOpenInventor.cc,v 1.5 2006/06/29 21:29:58 gunter Exp $ 28 // GEANT4 tag $Name: HEAD$28 // GEANT4 tag $Name: $ 29 29 // 30 30 // -
trunk/source/visualization/management/src/G4VisManager.cc
r933 r944 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4VisManager.cc,v 1.11 7 2009/02/25 18:28:00 lgarnierExp $26 // $Id: G4VisManager.cc,v 1.118 2009/03/09 12:42:00 allison Exp $ 27 27 // GEANT4 tag $Name: $ 28 28 // … … 159 159 // // (Don't forget to delete visManager;) 160 160 // ... 161 162 // Make top level command directory... 163 G4UIcommand* directory; 164 directory = new G4UIdirectory ("/vis/"); 165 directory -> SetGuidance ("Visualization commands."); 166 fDirectoryList.push_back (directory); 167 168 // Instantiate top level basic commands 169 G4VVisCommand::SetVisManager (this); // Sets shared pointer 170 RegisterMessenger(new G4VisCommandVerbose); 171 RegisterMessenger(new G4VisCommandInitialize); 161 172 } 162 173 } … … 199 210 200 211 void G4VisManager::Initialise () { 212 213 if (fInitialised && fVerbosity >= warnings) { 214 G4cout << "WARNING: G4VisManager::Initialise: already initialised." 215 << G4endl; 216 return; 217 } 201 218 202 219 if (fVerbosity >= startup) { … … 238 255 } 239 256 240 // Make top level directory... 257 // Make command directories for commands instantiated in the 258 // modeling subcategory... 241 259 G4UIcommand* directory; 242 directory = new G4UIdirectory ("/vis/");243 directory -> SetGuidance ("Visualization commands.");244 fDirectoryList.push_back (directory);245 246 // ... and make command directory for commands instantiated in the247 // modeling subcategory...248 260 directory = new G4UIdirectory ("/vis/modeling/"); 249 261 directory -> SetGuidance ("Modeling commands."); … … 1002 1014 // always - one command per messenger). 1003 1015 1004 G4VVisCommand::SetVisManager (this); // Sets shared pointer to vis manager.1005 1006 1016 G4UIcommand* directory; 1007 1017 1008 // Top level basiccommands...1018 // Top level commands... 1009 1019 RegisterMessenger(new G4VisCommandAbortReviewKeptEvents); 1010 1020 RegisterMessenger(new G4VisCommandEnable); 1011 1021 RegisterMessenger(new G4VisCommandList); 1012 RegisterMessenger(new G4VisCommandVerbose);1013 1014 // Other top level commands...1015 1022 RegisterMessenger(new G4VisCommandReviewKeptEvents); 1016 1023
Note:
See TracChangeset
for help on using the changeset viewer.
