Changeset 944 for trunk/source/visualization/management/include
- Timestamp:
- Mar 16, 2009, 11:39:13 AM (17 years ago)
- Location:
- trunk/source/visualization/management/include
- Files:
-
- 36 edited
-
G4GraphicsSystemList.hh (modified) (1 diff)
-
G4Scene.hh (modified) (1 diff)
-
G4Scene.icc (modified) (1 diff)
-
G4SceneHandlerList.hh (modified) (1 diff)
-
G4SceneList.hh (modified) (1 diff)
-
G4VGraphicsSystem.hh (modified) (1 diff)
-
G4VGraphicsSystem.icc (modified) (1 diff)
-
G4VSceneHandler.hh (modified) (1 diff)
-
G4VSceneHandler.icc (modified) (1 diff)
-
G4VUserVisAction.hh (modified) (1 diff)
-
G4VViewer.hh (modified) (1 diff)
-
G4VViewer.icc (modified) (1 diff)
-
G4VVisCommand.hh (modified) (1 diff)
-
G4VVisCommand.icc (modified) (1 diff)
-
G4ViewerList.hh (modified) (1 diff)
-
G4VisCommandModelCreate.hh (modified) (1 diff)
-
G4VisCommands.hh (modified) (2 diffs)
-
G4VisCommandsCompound.hh (modified) (1 diff)
-
G4VisCommandsGeometry.hh (modified) (1 diff)
-
G4VisCommandsGeometrySet.hh (modified) (1 diff)
-
G4VisCommandsListManager.hh (modified) (1 diff)
-
G4VisCommandsScene.hh (modified) (1 diff)
-
G4VisCommandsSceneAdd.hh (modified) (1 diff)
-
G4VisCommandsSceneHandler.hh (modified) (1 diff)
-
G4VisCommandsViewer.hh (modified) (1 diff)
-
G4VisCommandsViewerSet.hh (modified) (1 diff)
-
G4VisExecutive.hh (modified) (5 diffs)
-
G4VisExecutive.icc (modified) (4 diffs)
-
G4VisFeaturesOfDAWNFILE.hh (modified) (1 diff)
-
G4VisFeaturesOfFukuiRenderer.hh (modified) (1 diff)
-
G4VisFeaturesOfOpenGL.hh (modified) (1 diff)
-
G4VisFeaturesOfOpenInventor.hh (modified) (1 diff)
-
G4VisFilterManager.hh (modified) (1 diff)
-
G4VisListManager.hh (modified) (1 diff)
-
G4VisModelManager.hh (modified) (1 diff)
-
G4VisStateDependent.hh (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
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.
Note:
See TracChangeset
for help on using the changeset viewer.
