Changeset 944 for trunk/source/visualization/management
- Timestamp:
- Mar 16, 2009, 11:39:13 AM (16 years ago)
- Location:
- trunk/source/visualization/management
- Files:
-
- 57 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/visualization/management/History
r933 r944 1 $Id: History,v 1.1 16 2009/02/25 18:28:00 lgarnierExp $1 $Id: History,v 1.120 2009/03/14 11:44:46 allison Exp $ 2 2 3 3 ------------------------------------------------------------------- … … 27 27 ------------------------------------------------------ 28 28 29 25th February 2009 Laurent Garnier 29 14th March 2009 John Allison (visman-V09-02-01) 30 - G4VisCommands.hh/.cc: Introduced /vis/initialize. 31 - G4VisManager.cc: /vis/verbose and /vis/initialize instantiated in 32 constructor. 33 - G4VisExecutive.icc: made methods inline. 34 35 25th February 2009 Laurent Garnier (visman-V09-02-00) 30 36 - Notify handler send by G4VVisManager is implemented in G4VisManager 31 37 -
trunk/source/visualization/management/include/G4GraphicsSystemList.hh
r850 r944 26 26 // 27 27 // $Id: G4GraphicsSystemList.hh,v 1.9 2006/06/29 21:27:54 gunter Exp $ 28 // GEANT4 tag $Name: HEAD$28 // GEANT4 tag $Name: $ 29 29 // 30 30 // -
trunk/source/visualization/management/include/G4Scene.hh
r850 r944 26 26 // 27 27 // $Id: G4Scene.hh,v 1.18 2006/11/14 14:59:54 allison Exp $ 28 // GEANT4 tag $Name: HEAD$28 // GEANT4 tag $Name: $ 29 29 // 30 30 // -
trunk/source/visualization/management/include/G4Scene.icc
r850 r944 26 26 // 27 27 // $Id: G4Scene.icc,v 1.14 2006/11/14 14:59:54 allison Exp $ 28 // GEANT4 tag $Name: HEAD$28 // GEANT4 tag $Name: $ 29 29 // 30 30 // -
trunk/source/visualization/management/include/G4SceneHandlerList.hh
r850 r944 26 26 // 27 27 // $Id: G4SceneHandlerList.hh,v 1.8 2006/06/29 21:28:00 gunter Exp $ 28 // GEANT4 tag $Name: HEAD$28 // GEANT4 tag $Name: $ 29 29 // 30 30 // -
trunk/source/visualization/management/include/G4SceneList.hh
r850 r944 26 26 // 27 27 // $Id: G4SceneList.hh,v 1.10 2006/06/29 21:28:02 gunter Exp $ 28 // GEANT4 tag $Name: HEAD$28 // GEANT4 tag $Name: $ 29 29 // 30 30 // -
trunk/source/visualization/management/include/G4VGraphicsSystem.hh
r850 r944 26 26 // 27 27 // $Id: G4VGraphicsSystem.hh,v 1.11 2006/06/29 21:28:04 gunter Exp $ 28 // GEANT4 tag $Name: HEAD$28 // GEANT4 tag $Name: $ 29 29 // 30 30 // -
trunk/source/visualization/management/include/G4VGraphicsSystem.icc
r850 r944 26 26 // 27 27 // $Id: G4VGraphicsSystem.icc,v 1.7 2006/06/29 21:28:06 gunter Exp $ 28 // GEANT4 tag $Name: HEAD$28 // GEANT4 tag $Name: $ 29 29 // 30 30 // -
trunk/source/visualization/management/include/G4VSceneHandler.hh
r850 r944 26 26 // 27 27 // $Id: G4VSceneHandler.hh,v 1.40 2008/01/04 22:03:45 allison Exp $ 28 // GEANT4 tag $Name: HEAD$28 // GEANT4 tag $Name: $ 29 29 // 30 30 // -
trunk/source/visualization/management/include/G4VSceneHandler.icc
r850 r944 26 26 // 27 27 // $Id: G4VSceneHandler.icc,v 1.20 2007/01/11 16:38:14 allison Exp $ 28 // GEANT4 tag $Name: HEAD$28 // GEANT4 tag $Name: $ 29 29 // 30 30 // -
trunk/source/visualization/management/include/G4VUserVisAction.hh
r850 r944 26 26 // 27 27 // $Id: G4VUserVisAction.hh,v 1.8 2006/06/29 21:28:12 gunter Exp $ 28 // GEANT4 tag $Name: HEAD$28 // GEANT4 tag $Name: $ 29 29 // 30 30 // -
trunk/source/visualization/management/include/G4VViewer.hh
r850 r944 26 26 // 27 27 // $Id: G4VViewer.hh,v 1.18 2006/06/29 21:28:14 gunter Exp $ 28 // GEANT4 tag $Name: HEAD$28 // GEANT4 tag $Name: $ 29 29 // 30 30 // -
trunk/source/visualization/management/include/G4VViewer.icc
r850 r944 26 26 // 27 27 // $Id: G4VViewer.icc,v 1.11 2006/06/29 21:28:16 gunter Exp $ 28 // GEANT4 tag $Name: HEAD$28 // GEANT4 tag $Name: $ 29 29 // 30 30 // -
trunk/source/visualization/management/include/G4VVisCommand.hh
r850 r944 26 26 // 27 27 // $Id: G4VVisCommand.hh,v 1.18 2006/06/29 21:28:18 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/include/G4VVisCommand.icc
r850 r944 26 26 // 27 27 // $Id: G4VVisCommand.icc,v 1.5 2006/06/29 21:28:20 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/include/G4ViewerList.hh
r850 r944 26 26 // 27 27 // $Id: G4ViewerList.hh,v 1.8 2006/06/29 21:28:26 gunter Exp $ 28 // GEANT4 tag $Name: HEAD$28 // GEANT4 tag $Name: $ 29 29 // 30 30 // -
trunk/source/visualization/management/include/G4VisCommandModelCreate.hh
r850 r944 25 25 // 26 26 // $Id: G4VisCommandModelCreate.hh,v 1.3 2006/06/29 21:28:28 gunter Exp $ 27 // GEANT4 tag $Name: HEAD$27 // GEANT4 tag $Name: $ 28 28 // 29 29 // Jane Tinslay, John Allison, Joseph Perl October 2005 -
trunk/source/visualization/management/include/G4VisCommands.hh
r850 r944 25 25 // 26 26 // 27 // $Id: G4VisCommands.hh,v 1. 7 2007/01/11 16:39:33allison Exp $28 // GEANT4 tag $Name: HEAD$27 // $Id: G4VisCommands.hh,v 1.8 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 … … 62 62 G4UIcmdWithABool* fpCommand; 63 63 G4UIcmdWithoutParameter* fpCommand1; 64 }; 65 66 class G4VisCommandInitialize: public G4VVisCommand { 67 public: 68 G4VisCommandInitialize (); 69 virtual ~G4VisCommandInitialize (); 70 void SetNewValue (G4UIcommand* command, G4String newValue); 71 private: 72 G4VisCommandInitialize (const G4VisCommandInitialize&); 73 G4VisCommandInitialize& operator = (const G4VisCommandInitialize&); 74 G4UIcmdWithoutParameter* fpCommand; 64 75 }; 65 76 -
trunk/source/visualization/management/include/G4VisCommandsCompound.hh
r850 r944 26 26 // 27 27 // $Id: G4VisCommandsCompound.hh,v 1.9 2006/06/29 21:28:32 gunter 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/include/G4VisCommandsGeometry.hh
r850 r944 26 26 // 27 27 // $Id: G4VisCommandsGeometry.hh,v 1.3 2006/06/29 21:28:34 gunter 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/include/G4VisCommandsGeometrySet.hh
r850 r944 26 26 // 27 27 // $Id: G4VisCommandsGeometrySet.hh,v 1.3 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/include/G4VisCommandsListManager.hh
r850 r944 25 25 // 26 26 // $Id: G4VisCommandsListManager.hh,v 1.3 2006/06/29 21:28:38 gunter Exp $ 27 // GEANT4 tag $Name: HEAD$27 // GEANT4 tag $Name: $ 28 28 // 29 29 // Jane Tinslay, John Allison, Joseph Perl October 2005 -
trunk/source/visualization/management/include/G4VisCommandsScene.hh
r850 r944 26 26 // 27 27 // $Id: G4VisCommandsScene.hh,v 1.19 2006/11/14 14:59:54 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/include/G4VisCommandsSceneAdd.hh
r850 r944 26 26 // 27 27 // $Id: G4VisCommandsSceneAdd.hh,v 1.17 2006/11/01 10:50:28 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/include/G4VisCommandsSceneHandler.hh
r850 r944 26 26 // 27 27 // $Id: G4VisCommandsSceneHandler.hh,v 1.8 2006/06/29 21:28:44 gunter Exp $ 28 // GEANT4 tag $Name: HEAD$28 // GEANT4 tag $Name: $ 29 29 30 30 // /vis/sceneHandler commands - John Allison 10th October 1998 -
trunk/source/visualization/management/include/G4VisCommandsViewer.hh
r896 r944 26 26 // 27 27 // $Id: G4VisCommandsViewer.hh,v 1.23 2006/09/13 13:17:29 allison Exp $ 28 // GEANT4 tag $Name: HEAD$28 // GEANT4 tag $Name: $ 29 29 30 30 // /vis/viewer commands - John Allison 25th October 1998 -
trunk/source/visualization/management/include/G4VisCommandsViewerSet.hh
r850 r944 26 26 // 27 27 // $Id: G4VisCommandsViewerSet.hh,v 1.22 2007/04/03 13:33:16 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/include/G4VisExecutive.hh
r850 r944 25 25 // 26 26 // 27 // $Id: G4VisExecutive.hh,v 1. 6 2006/06/29 21:28:50 gunterExp $28 // GEANT4 tag $Name: HEAD$27 // $Id: G4VisExecutive.hh,v 1.8 2009/03/14 11:43:42 allison Exp $ 28 // GEANT4 tag $Name: $ 29 29 // 30 30 // … … 41 41 // 42 42 // Include this file and write code to instantiate G4VisExecutive just 43 // once as beginning of operations. Before you compile, set 44 // appropriate environment variables. If you change your environment 45 // you must force recompilation (the make files will not detect the 46 // need to do this). Typically, your main program file will contain: 43 // once at beginning of operations. Before you compile, set 44 // appropriate environment variables (usually using "./Configure"). 45 // If you change your environment you must force recompilation (the 46 // make files will not detect the need to do this). 47 // 48 // Typically, your main program file will contain: 47 49 // 48 50 // #ifdef G4VIS_USE … … 54 56 // #ifdef G4VIS_USE 55 57 // // Instantiate and initialise Visualization Manager. 56 // G4VisManager* visManager = new G4VisExecutive; 57 // // visManager -> SetVerboseLevel (verbosityString);58 // // visManager -> RegisterGraphicsSystem (new G4XXX);59 // visManager -> Initialize (); 58 // G4VisManager* visManager = new G4VisExecutive; // See Nore (a). 59 // visManager -> SetVerboseLevel (verbosityString); // See Note (b). 60 // visManager -> RegisterGraphicsSystem (new myGS); // See Note (c). 61 // visManager -> Initialize (); // See Note (d). 60 62 // #endif 61 63 // ... … … 66 68 // #endif 67 69 // 70 // Notes: 71 72 // (a) After instantiation, all references to this object should be as 73 // a G4VisManager. The functions RegisterGraphicsSystems and 74 // RegisterModelFactories defined in G4VisExecutive.icc are 75 // virtual functions of G4VisManager. They are invoked by 76 // G4VisManager::Initialise. If you need to initialise in a 77 // separate file, see advice below. 78 // (b) The verbosityString ("quiet", "errors", "warnings", 79 // "confirmations", etc. - "help /vis/verbose" to see options) can be 80 // set here or with /vis/verbose. 81 // (c) You can register your own graphics system like this. 82 // (d) Your can intialise like this with C++ code or use /vis/initialize. 83 // 84 // If you need to perform the instantiation and the initialisation in 85 // separate files, e.g., to establish the verbosity before 86 // initialisation, then the code that initialises must have access, of 87 // course, to the G4VisExecutive object, but this should be as a 88 // G4VisManager object, i.e., #include "G4VisManager.hh". 89 // RegisterGraphicsSystems and RegisterModelFactories are (pure) 90 // virtual methods of G4VisManager called from G4VisManager::Initialize. 91 // First file: 92 // #include "G4VisExecutive.hh" 93 // ... 94 // fpVisManager = new G4VisExecutive; 95 // where fpVisManager is a G4VisManager*. 96 // Second file: 97 // #include "G4VisManager.hh" 98 // ... 99 // fpVisManager -> Initialize (); 100 // where there is some mechanism for getting access to the pointer 101 // fpVisManager. 102 // 68 103 // The implementation is included as an .icc file because - for those 69 // graphics systems that need external libraries - only those 70 // systems that have been selected by the flags may be instantiated 71 // without causing unresolved references (only the user knows which 72 // libraries are available on his/her computer). It also ensures 73 // that libraries can be linked in the right order, without circular 74 // dependencies. (Note that some graphics systems, notable those 75 // that write files for off-line viewing, do not suffer these 76 // restrictions and are always registered.) Additional graphics 77 // systems, XXX say, can be individually registered before 78 // invocation of Initialise() with RegisterGraphicsSystem(new XXX). 79 // 80 // Alternatively, you can implement an empty function here and just 81 // register the systems you want in your main(), e.g.: 82 // G4VisManager* visManager = new G4VisExecutive; 83 // visManager -> RegisterGraphicsSystem (new MyGraphicsSystem); 104 // graphics systems that need external libraries - only those systems 105 // that have been selected by the flags may be instantiated without 106 // causing unresolved references (only the user knows which libraries 107 // are available on his/her computer). It also ensures that libraries 108 // can be linked in the right order, without circular dependencies. 109 // (Note that some graphics systems, notable those that write files 110 // for off-line viewing, do not suffer these restrictions and are 111 // always registered.) 84 112 // 85 113 // See class description of G4VisManager for more details. … … 94 122 public: // With description 95 123 96 G4VisExecutive () ;124 G4VisExecutive () {} 97 125 98 126 private: -
trunk/source/visualization/management/include/G4VisExecutive.icc
r862 r944 25 25 // 26 26 // 27 // $Id: G4VisExecutive.icc,v 1. 19 2008/01/29 22:35:29allison Exp $28 // GEANT4 tag $Name: HEAD$27 // $Id: G4VisExecutive.icc,v 1.21 2009/03/14 11:43:42 allison Exp $ 28 // GEANT4 tag $Name: $ 29 29 // 30 30 // … … 78 78 #endif 79 79 80 #ifdef G4VIS_USE_OIQT81 #include "G4OpenInventorQT.hh"82 #endif83 84 80 #ifdef G4VIS_USE_OIWIN32 85 81 #include "G4OpenInventorWin32.hh" … … 95 91 #endif 96 92 97 G4VisExecutive::G4VisExecutive () {} 98 99 void G4VisExecutive::RegisterGraphicsSystems () { 93 // The inline keyword prevents the compiler making an external 94 // reference even though they cannot actually be inlined since they 95 // are virtual functions. This prevents a "multiple definition" error 96 // if it is included in more than one file. However, as explained in 97 // the class description in G4VisExecutive.hh, it should never be 98 // necessary to #include "G4VisExecutive.hh" in more than one file 99 // since after instantiation the object can be treated as a 100 // G4VisManager. 101 inline void 102 G4VisExecutive::RegisterGraphicsSystems () { 100 103 101 104 // Graphics Systems not needing external packages or libraries... … … 152 155 } 153 156 154 void 157 // See comments about inlining above. 158 inline void 155 159 G4VisExecutive::RegisterModelFactories() 156 160 { -
trunk/source/visualization/management/include/G4VisFeaturesOfDAWNFILE.hh
r850 r944 26 26 // 27 27 // $Id: G4VisFeaturesOfDAWNFILE.hh,v 1.5 2006/06/29 21:28:54 gunter Exp $ 28 // GEANT4 tag $Name: HEAD$28 // GEANT4 tag $Name: $ 29 29 // 30 30 #ifndef G4VISFEATURESOFDAWNFILE_HH -
trunk/source/visualization/management/include/G4VisFeaturesOfFukuiRenderer.hh
r850 r944 26 26 // 27 27 // $Id: G4VisFeaturesOfFukuiRenderer.hh,v 1.5 2006/06/29 21:28:56 gunter Exp $ 28 // GEANT4 tag $Name: HEAD$28 // GEANT4 tag $Name: $ 29 29 // 30 30 // -
trunk/source/visualization/management/include/G4VisFeaturesOfOpenGL.hh
r850 r944 26 26 // 27 27 // $Id: G4VisFeaturesOfOpenGL.hh,v 1.6 2007/10/03 14:20:23 lgarnier Exp $ 28 // GEANT4 tag $Name: HEAD$28 // GEANT4 tag $Name: $ 29 29 // 30 30 // -
trunk/source/visualization/management/include/G4VisFeaturesOfOpenInventor.hh
r850 r944 26 26 // 27 27 // $Id: G4VisFeaturesOfOpenInventor.hh,v 1.5 2006/06/29 21:29:00 gunter Exp $ 28 // GEANT4 tag $Name: HEAD$28 // GEANT4 tag $Name: $ 29 29 // 30 30 // -
trunk/source/visualization/management/include/G4VisFilterManager.hh
r850 r944 25 25 // 26 26 // $Id: G4VisFilterManager.hh,v 1.4 2006/06/29 21:29:02 gunter Exp $ 27 // GEANT4 tag $Name: HEAD$27 // GEANT4 tag $Name: $ 28 28 // 29 29 // Filter manager. Manages filter models, factories, messengers, -
trunk/source/visualization/management/include/G4VisListManager.hh
r850 r944 25 25 // 26 26 // $Id: G4VisListManager.hh,v 1.8 2006/06/29 21:29:04 gunter Exp $ 27 // GEANT4 tag $Name: HEAD$27 // GEANT4 tag $Name: $ 28 28 // 29 29 // Jane Tinslay, John Allison, Joseph Perl October 2005 -
trunk/source/visualization/management/include/G4VisModelManager.hh
r850 r944 25 25 // 26 26 // $Id: G4VisModelManager.hh,v 1.4 2006/06/29 21:29:10 gunter Exp $ 27 // GEANT4 tag $Name: HEAD$27 // GEANT4 tag $Name: $ 28 28 // 29 29 // Generic model manager. Manages models, associated -
trunk/source/visualization/management/include/G4VisStateDependent.hh
r850 r944 26 26 // 27 27 // $Id: G4VisStateDependent.hh,v 1.5 2006/06/29 21:29:12 gunter Exp $ 28 // GEANT4 tag $Name: HEAD$28 // GEANT4 tag $Name: $ 29 29 // 30 30 // A "state dependent" service class for G4VisManager. -
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.