Ignore:
Timestamp:
Mar 16, 2009, 11:39:13 AM (16 years ago)
Author:
garnier
Message:

mise a jour des tags

Location:
trunk/source/visualization/management
Files:
57 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/visualization/management/History

    r933 r944  
    1 $Id: History,v 1.116 2009/02/25 18:28:00 lgarnier Exp $
     1$Id: History,v 1.120 2009/03/14 11:44:46 allison Exp $
    22
    33-------------------------------------------------------------------
     
    2727------------------------------------------------------
    2828
    29 25th February 2009  Laurent Garnier
     2914th 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
     3525th February 2009  Laurent Garnier  (visman-V09-02-00)
    3036- Notify handler send by G4VVisManager is implemented in G4VisManager
    3137
  • trunk/source/visualization/management/include/G4GraphicsSystemList.hh

    r850 r944  
    2626//
    2727// $Id: G4GraphicsSystemList.hh,v 1.9 2006/06/29 21:27:54 gunter Exp $
    28 // GEANT4 tag $Name: HEAD $
     28// GEANT4 tag $Name: $
    2929//
    3030//
  • trunk/source/visualization/management/include/G4Scene.hh

    r850 r944  
    2626//
    2727// $Id: G4Scene.hh,v 1.18 2006/11/14 14:59:54 allison Exp $
    28 // GEANT4 tag $Name: HEAD $
     28// GEANT4 tag $Name: $
    2929//
    3030//
  • trunk/source/visualization/management/include/G4Scene.icc

    r850 r944  
    2626//
    2727// $Id: G4Scene.icc,v 1.14 2006/11/14 14:59:54 allison Exp $
    28 // GEANT4 tag $Name: HEAD $
     28// GEANT4 tag $Name: $
    2929//
    3030//
  • trunk/source/visualization/management/include/G4SceneHandlerList.hh

    r850 r944  
    2626//
    2727// $Id: G4SceneHandlerList.hh,v 1.8 2006/06/29 21:28:00 gunter Exp $
    28 // GEANT4 tag $Name: HEAD $
     28// GEANT4 tag $Name: $
    2929//
    3030//
  • trunk/source/visualization/management/include/G4SceneList.hh

    r850 r944  
    2626//
    2727// $Id: G4SceneList.hh,v 1.10 2006/06/29 21:28:02 gunter Exp $
    28 // GEANT4 tag $Name: HEAD $
     28// GEANT4 tag $Name: $
    2929//
    3030//
  • trunk/source/visualization/management/include/G4VGraphicsSystem.hh

    r850 r944  
    2626//
    2727// $Id: G4VGraphicsSystem.hh,v 1.11 2006/06/29 21:28:04 gunter Exp $
    28 // GEANT4 tag $Name: HEAD $
     28// GEANT4 tag $Name: $
    2929//
    3030//
  • trunk/source/visualization/management/include/G4VGraphicsSystem.icc

    r850 r944  
    2626//
    2727// $Id: G4VGraphicsSystem.icc,v 1.7 2006/06/29 21:28:06 gunter Exp $
    28 // GEANT4 tag $Name: HEAD $
     28// GEANT4 tag $Name: $
    2929//
    3030//
  • trunk/source/visualization/management/include/G4VSceneHandler.hh

    r850 r944  
    2626//
    2727// $Id: G4VSceneHandler.hh,v 1.40 2008/01/04 22:03:45 allison Exp $
    28 // GEANT4 tag $Name: HEAD $
     28// GEANT4 tag $Name: $
    2929//
    3030//
  • trunk/source/visualization/management/include/G4VSceneHandler.icc

    r850 r944  
    2626//
    2727// $Id: G4VSceneHandler.icc,v 1.20 2007/01/11 16:38:14 allison Exp $
    28 // GEANT4 tag $Name: HEAD $
     28// GEANT4 tag $Name: $
    2929//
    3030//
  • trunk/source/visualization/management/include/G4VUserVisAction.hh

    r850 r944  
    2626//
    2727// $Id: G4VUserVisAction.hh,v 1.8 2006/06/29 21:28:12 gunter Exp $
    28 // GEANT4 tag $Name: HEAD $
     28// GEANT4 tag $Name: $
    2929//
    3030//
  • trunk/source/visualization/management/include/G4VViewer.hh

    r850 r944  
    2626//
    2727// $Id: G4VViewer.hh,v 1.18 2006/06/29 21:28:14 gunter Exp $
    28 // GEANT4 tag $Name: HEAD $
     28// GEANT4 tag $Name: $
    2929//
    3030//
  • trunk/source/visualization/management/include/G4VViewer.icc

    r850 r944  
    2626//
    2727// $Id: G4VViewer.icc,v 1.11 2006/06/29 21:28:16 gunter Exp $
    28 // GEANT4 tag $Name: HEAD $
     28// GEANT4 tag $Name: $
    2929//
    3030//
  • trunk/source/visualization/management/include/G4VVisCommand.hh

    r850 r944  
    2626//
    2727// $Id: G4VVisCommand.hh,v 1.18 2006/06/29 21:28:18 gunter Exp $
    28 // GEANT4 tag $Name: HEAD $
     28// GEANT4 tag $Name: $
    2929
    3030// Base class for visualization commands - John Allison  9th August 1998
  • trunk/source/visualization/management/include/G4VVisCommand.icc

    r850 r944  
    2626//
    2727// $Id: G4VVisCommand.icc,v 1.5 2006/06/29 21:28:20 gunter Exp $
    28 // GEANT4 tag $Name: HEAD $
     28// GEANT4 tag $Name: $
    2929
    3030// Base class for visualization commands - John Allison  9th August 1998
  • trunk/source/visualization/management/include/G4ViewerList.hh

    r850 r944  
    2626//
    2727// $Id: G4ViewerList.hh,v 1.8 2006/06/29 21:28:26 gunter Exp $
    28 // GEANT4 tag $Name: HEAD $
     28// GEANT4 tag $Name: $
    2929//
    3030//
  • trunk/source/visualization/management/include/G4VisCommandModelCreate.hh

    r850 r944  
    2525//
    2626// $Id: G4VisCommandModelCreate.hh,v 1.3 2006/06/29 21:28:28 gunter Exp $
    27 // GEANT4 tag $Name: HEAD $
     27// GEANT4 tag $Name: $
    2828//
    2929// Jane Tinslay, John Allison, Joseph Perl October 2005
  • trunk/source/visualization/management/include/G4VisCommands.hh

    r850 r944  
    2525//
    2626//
    27 // $Id: G4VisCommands.hh,v 1.7 2007/01/11 16:39:33 allison 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: $
    2929
    3030// /vis/ top level commands - John Allison  5th February 2001
     
    6262  G4UIcmdWithABool* fpCommand;
    6363  G4UIcmdWithoutParameter* fpCommand1;
     64};
     65
     66class G4VisCommandInitialize: public G4VVisCommand {
     67public:
     68  G4VisCommandInitialize ();
     69  virtual ~G4VisCommandInitialize ();
     70  void SetNewValue (G4UIcommand* command, G4String newValue);
     71private:
     72  G4VisCommandInitialize (const G4VisCommandInitialize&);
     73  G4VisCommandInitialize& operator = (const G4VisCommandInitialize&);
     74  G4UIcmdWithoutParameter* fpCommand;
    6475};
    6576
  • trunk/source/visualization/management/include/G4VisCommandsCompound.hh

    r850 r944  
    2626//
    2727// $Id: G4VisCommandsCompound.hh,v 1.9 2006/06/29 21:28:32 gunter Exp $
    28 // GEANT4 tag $Name: HEAD $
     28// GEANT4 tag $Name: $
    2929
    3030// Compound /vis/ commands - John Allison  15th May 2000
  • trunk/source/visualization/management/include/G4VisCommandsGeometry.hh

    r850 r944  
    2626//
    2727// $Id: G4VisCommandsGeometry.hh,v 1.3 2006/06/29 21:28:34 gunter Exp $
    28 // GEANT4 tag $Name: HEAD $
     28// GEANT4 tag $Name: $
    2929
    3030// /vis/geometry commands - John Allison  31st January 2006
  • trunk/source/visualization/management/include/G4VisCommandsGeometrySet.hh

    r850 r944  
    2626//
    2727// $Id: G4VisCommandsGeometrySet.hh,v 1.3 2007/01/05 16:24:19 allison Exp $
    28 // GEANT4 tag $Name: HEAD $
     28// GEANT4 tag $Name: $
    2929
    3030// /vis/geometry commands - John Allison  31st January 2006
  • trunk/source/visualization/management/include/G4VisCommandsListManager.hh

    r850 r944  
    2525//
    2626// $Id: G4VisCommandsListManager.hh,v 1.3 2006/06/29 21:28:38 gunter Exp $
    27 // GEANT4 tag $Name: HEAD $
     27// GEANT4 tag $Name: $
    2828//
    2929// Jane Tinslay, John Allison, Joseph Perl October 2005
  • trunk/source/visualization/management/include/G4VisCommandsScene.hh

    r850 r944  
    2626//
    2727// $Id: G4VisCommandsScene.hh,v 1.19 2006/11/14 14:59:54 allison Exp $
    28 // GEANT4 tag $Name: HEAD $
     28// GEANT4 tag $Name: $
    2929
    3030// /vis/scene commands - John Allison  9th August 1998
  • trunk/source/visualization/management/include/G4VisCommandsSceneAdd.hh

    r850 r944  
    2626//
    2727// $Id: G4VisCommandsSceneAdd.hh,v 1.17 2006/11/01 10:50:28 allison Exp $
    28 // GEANT4 tag $Name: HEAD $
     28// GEANT4 tag $Name: $
    2929
    3030// /vis/scene commands - John Allison  9th August 1998
  • trunk/source/visualization/management/include/G4VisCommandsSceneHandler.hh

    r850 r944  
    2626//
    2727// $Id: G4VisCommandsSceneHandler.hh,v 1.8 2006/06/29 21:28:44 gunter Exp $
    28 // GEANT4 tag $Name: HEAD $
     28// GEANT4 tag $Name: $
    2929
    3030// /vis/sceneHandler commands - John Allison  10th October 1998
  • trunk/source/visualization/management/include/G4VisCommandsViewer.hh

    r896 r944  
    2626//
    2727// $Id: G4VisCommandsViewer.hh,v 1.23 2006/09/13 13:17:29 allison Exp $
    28 // GEANT4 tag $Name: HEAD $
     28// GEANT4 tag $Name: $
    2929
    3030// /vis/viewer commands - John Allison  25th October 1998
  • trunk/source/visualization/management/include/G4VisCommandsViewerSet.hh

    r850 r944  
    2626//
    2727// $Id: G4VisCommandsViewerSet.hh,v 1.22 2007/04/03 13:33:16 allison Exp $
    28 // GEANT4 tag $Name: HEAD $
     28// GEANT4 tag $Name: $
    2929
    3030// /vis/viewer/set commands - John Allison  16th May 2000
  • trunk/source/visualization/management/include/G4VisExecutive.hh

    r850 r944  
    2525//
    2626//
    27 // $Id: G4VisExecutive.hh,v 1.6 2006/06/29 21:28:50 gunter Exp $
    28 // GEANT4 tag $Name: HEAD $
     27// $Id: G4VisExecutive.hh,v 1.8 2009/03/14 11:43:42 allison Exp $
     28// GEANT4 tag $Name: $
    2929//
    3030//
     
    4141//
    4242// 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:
    4749//
    4850// #ifdef G4VIS_USE
     
    5456// #ifdef G4VIS_USE
    5557//   // 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).
    6062// #endif
    6163//   ...
     
    6668// #endif
    6769//
     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//
    68103// 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.)
    84112//
    85113// See class description of G4VisManager for more details.
     
    94122public: // With description
    95123
    96   G4VisExecutive ();
     124  G4VisExecutive () {}
    97125
    98126private:
  • trunk/source/visualization/management/include/G4VisExecutive.icc

    r862 r944  
    2525//
    2626//
    27 // $Id: G4VisExecutive.icc,v 1.19 2008/01/29 22:35:29 allison 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: $
    2929//
    3030//
     
    7878#endif
    7979
    80 #ifdef G4VIS_USE_OIQT
    81 #include "G4OpenInventorQT.hh"
    82 #endif
    83 
    8480#ifdef G4VIS_USE_OIWIN32
    8581#include "G4OpenInventorWin32.hh"
     
    9591#endif
    9692
    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.
     101inline void
     102G4VisExecutive::RegisterGraphicsSystems () {
    100103
    101104  // Graphics Systems not needing external packages or libraries...
     
    152155}
    153156
    154 void
     157// See comments about inlining above.
     158inline void
    155159G4VisExecutive::RegisterModelFactories()
    156160{
  • trunk/source/visualization/management/include/G4VisFeaturesOfDAWNFILE.hh

    r850 r944  
    2626//
    2727// $Id: G4VisFeaturesOfDAWNFILE.hh,v 1.5 2006/06/29 21:28:54 gunter Exp $
    28 // GEANT4 tag $Name: HEAD $
     28// GEANT4 tag $Name: $
    2929//
    3030#ifndef G4VISFEATURESOFDAWNFILE_HH
  • trunk/source/visualization/management/include/G4VisFeaturesOfFukuiRenderer.hh

    r850 r944  
    2626//
    2727// $Id: G4VisFeaturesOfFukuiRenderer.hh,v 1.5 2006/06/29 21:28:56 gunter Exp $
    28 // GEANT4 tag $Name: HEAD $
     28// GEANT4 tag $Name: $
    2929//
    3030//
  • trunk/source/visualization/management/include/G4VisFeaturesOfOpenGL.hh

    r850 r944  
    2626//
    2727// $Id: G4VisFeaturesOfOpenGL.hh,v 1.6 2007/10/03 14:20:23 lgarnier Exp $
    28 // GEANT4 tag $Name: HEAD $
     28// GEANT4 tag $Name: $
    2929//
    3030//
  • trunk/source/visualization/management/include/G4VisFeaturesOfOpenInventor.hh

    r850 r944  
    2626//
    2727// $Id: G4VisFeaturesOfOpenInventor.hh,v 1.5 2006/06/29 21:29:00 gunter Exp $
    28 // GEANT4 tag $Name: HEAD $
     28// GEANT4 tag $Name: $
    2929//
    3030//
  • trunk/source/visualization/management/include/G4VisFilterManager.hh

    r850 r944  
    2525//
    2626// $Id: G4VisFilterManager.hh,v 1.4 2006/06/29 21:29:02 gunter Exp $
    27 // GEANT4 tag $Name: HEAD $
     27// GEANT4 tag $Name: $
    2828//
    2929// Filter manager. Manages filter models, factories, messengers,
  • trunk/source/visualization/management/include/G4VisListManager.hh

    r850 r944  
    2525//
    2626// $Id: G4VisListManager.hh,v 1.8 2006/06/29 21:29:04 gunter Exp $
    27 // GEANT4 tag $Name: HEAD $
     27// GEANT4 tag $Name: $
    2828//
    2929// Jane Tinslay, John Allison, Joseph Perl October 2005
  • trunk/source/visualization/management/include/G4VisModelManager.hh

    r850 r944  
    2525//
    2626// $Id: G4VisModelManager.hh,v 1.4 2006/06/29 21:29:10 gunter Exp $
    27 // GEANT4 tag $Name: HEAD $
     27// GEANT4 tag $Name: $
    2828//
    2929// Generic model manager. Manages models, associated
  • trunk/source/visualization/management/include/G4VisStateDependent.hh

    r850 r944  
    2626//
    2727// $Id: G4VisStateDependent.hh,v 1.5 2006/06/29 21:29:12 gunter Exp $
    28 // GEANT4 tag $Name: HEAD $
     28// GEANT4 tag $Name: $
    2929//
    3030// A "state dependent" service class for G4VisManager.
  • trunk/source/visualization/management/src/G4GraphicsSystemList.cc

    r850 r944  
    2626//
    2727// $Id: G4GraphicsSystemList.cc,v 1.4 2006/06/29 21:29:14 gunter Exp $
    28 // GEANT4 tag $Name: HEAD $
     28// GEANT4 tag $Name: $
    2929
    3030#include "G4GraphicsSystemList.hh"
  • trunk/source/visualization/management/src/G4Scene.cc

    r850 r944  
    2626//
    2727// $Id: G4Scene.cc,v 1.23 2006/11/26 15:51:12 allison Exp $
    28 // GEANT4 tag $Name: HEAD $
     28// GEANT4 tag $Name: $
    2929//
    3030//
  • trunk/source/visualization/management/src/G4SceneHandlerList.cc

    r850 r944  
    2626//
    2727// $Id: G4SceneHandlerList.cc,v 1.4 2006/06/29 21:29:18 gunter Exp $
    28 // GEANT4 tag $Name: HEAD $
     28// GEANT4 tag $Name: $
    2929
    3030#include "G4SceneHandlerList.hh"
  • trunk/source/visualization/management/src/G4SceneList.cc

    r850 r944  
    2626//
    2727// $Id: G4SceneList.cc,v 1.6 2006/06/29 21:29:20 gunter Exp $
    28 // GEANT4 tag $Name: HEAD $
     28// GEANT4 tag $Name: $
    2929
    3030#include "G4SceneList.hh"
  • trunk/source/visualization/management/src/G4VGraphicsSystem.cc

    r850 r944  
    2626//
    2727// $Id: G4VGraphicsSystem.cc,v 1.11 2006/06/29 21:29:22 gunter Exp $
    28 // GEANT4 tag $Name: HEAD $
     28// GEANT4 tag $Name: $
    2929//
    3030//
  • trunk/source/visualization/management/src/G4VVisCommand.cc

    r850 r944  
    2626//
    2727// $Id: G4VVisCommand.cc,v 1.18 2006/06/29 21:29:28 gunter Exp $
    28 // GEANT4 tag $Name: HEAD $
     28// GEANT4 tag $Name: $
    2929
    3030// Base class for visualization commands - John Allison  9th August 1998
  • trunk/source/visualization/management/src/G4ViewParameters.cc

    r931 r944  
    8888{
    8989  fDefaultMarker.SetScreenSize (5.);
    90   printf("G4ViewParameters -------------------------------------------------------------\n");
    9190  // Markers are 5 pixels "overall" size, i.e., diameter.
    9291}
  • trunk/source/visualization/management/src/G4ViewerList.cc

    r850 r944  
    2626//
    2727// $Id: G4ViewerList.cc,v 1.4 2006/06/29 21:29:32 gunter Exp $
    28 // GEANT4 tag $Name: HEAD $
     28// GEANT4 tag $Name: $
    2929
    3030#include "G4ViewerList.hh"
  • trunk/source/visualization/management/src/G4VisCommands.cc

    r850 r944  
    2525//
    2626//
    27 // $Id: G4VisCommands.cc,v 1.23 2008/07/27 10:46:23 allison 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: $
    2929
    3030// /vis/ top level commands - John Allison  5th February 2001
     
    9797  } else fpVisManager->Disable();        // Printing is in vis manager.
    9898  // Note: Printing is in vis manager.
     99}
     100
     101////////////// /vis/initialize ///////////////////////////////////////
     102
     103G4VisCommandInitialize::G4VisCommandInitialize ()
     104{
     105  fpCommand = new G4UIcmdWithoutParameter("/vis/initialize", this);
     106  fpCommand -> SetGuidance("Initialise visualisation manager.");
     107}
     108
     109G4VisCommandInitialize::~G4VisCommandInitialize () {
     110  delete fpCommand;
     111}
     112
     113void G4VisCommandInitialize::SetNewValue (G4UIcommand*,
     114                                          G4String) {
     115  fpVisManager->Initialize();
    99116}
    100117
  • trunk/source/visualization/management/src/G4VisCommandsCompound.cc

    r850 r944  
    2626//
    2727// $Id: G4VisCommandsCompound.cc,v 1.39 2007/11/16 20:29:04 perl Exp $
    28 // GEANT4 tag $Name: HEAD $
     28// GEANT4 tag $Name: $
    2929
    3030// Compound /vis/ commands - John Allison  15th May 2000
  • trunk/source/visualization/management/src/G4VisCommandsGeometry.cc

    r850 r944  
    2626//
    2727// $Id: G4VisCommandsGeometry.cc,v 1.4 2007/01/05 16:29:38 allison Exp $
    28 // GEANT4 tag $Name: HEAD $
     28// GEANT4 tag $Name: $
    2929
    3030// /vis/geometry commands - John Allison  31st January 2006
  • trunk/source/visualization/management/src/G4VisCommandsGeometrySet.cc

    r850 r944  
    2626//
    2727// $Id: G4VisCommandsGeometrySet.cc,v 1.7 2007/01/05 16:24:19 allison Exp $
    28 // GEANT4 tag $Name: HEAD $
     28// GEANT4 tag $Name: $
    2929
    3030// /vis/geometry commands - John Allison  31st January 2006
  • trunk/source/visualization/management/src/G4VisCommandsScene.cc

    r850 r944  
    2626//
    2727// $Id: G4VisCommandsScene.cc,v 1.68 2008/04/28 16:12:38 allison Exp $
    28 // GEANT4 tag $Name: HEAD $
     28// GEANT4 tag $Name: $
    2929
    3030// /vis/scene commands - John Allison  9th August 1998
  • trunk/source/visualization/management/src/G4VisCommandsSceneAdd.cc

    r850 r944  
    2626//
    2727// $Id: G4VisCommandsSceneAdd.cc,v 1.73 2007/11/16 20:29:04 perl Exp $
    28 // GEANT4 tag $Name: HEAD $
     28// GEANT4 tag $Name: $
    2929// /vis/scene commands - John Allison  9th August 1998
    3030
  • trunk/source/visualization/management/src/G4VisCommandsViewerSet.cc

    r850 r944  
    2626//
    2727// $Id: G4VisCommandsViewerSet.cc,v 1.49 2007/07/10 17:51:54 allison Exp $
    28 // GEANT4 tag $Name: HEAD $
     28// GEANT4 tag $Name: $
    2929
    3030// /vis/viewer/set commands - John Allison  16th May 2000
  • trunk/source/visualization/management/src/G4VisFeaturesOfDAWNFILE.cc

    r850 r944  
    2626//
    2727// $Id: G4VisFeaturesOfDAWNFILE.cc,v 1.6 2006/06/29 21:29:52 gunter Exp $
    28 // GEANT4 tag $Name: HEAD $
     28// GEANT4 tag $Name: $
    2929//
    3030#include "G4VisFeaturesOfDAWNFILE.hh"
  • trunk/source/visualization/management/src/G4VisFeaturesOfFukuiRenderer.cc

    r850 r944  
    2626//
    2727// $Id: G4VisFeaturesOfFukuiRenderer.cc,v 1.5 2006/06/29 21:29:54 gunter Exp $
    28 // GEANT4 tag $Name: HEAD $
     28// GEANT4 tag $Name: $
    2929//
    3030//
  • trunk/source/visualization/management/src/G4VisFeaturesOfOpenGL.cc

    r850 r944  
    2626//
    2727// $Id: G4VisFeaturesOfOpenGL.cc,v 1.6 2007/10/03 14:21:55 lgarnier Exp $
    28 // GEANT4 tag $Name: HEAD $
     28// GEANT4 tag $Name: $
    2929//
    3030//
  • trunk/source/visualization/management/src/G4VisFeaturesOfOpenInventor.cc

    r850 r944  
    2626//
    2727// $Id: G4VisFeaturesOfOpenInventor.cc,v 1.5 2006/06/29 21:29:58 gunter Exp $
    28 // GEANT4 tag $Name: HEAD $
     28// GEANT4 tag $Name: $
    2929//
    3030//
  • trunk/source/visualization/management/src/G4VisManager.cc

    r933 r944  
    2424// ********************************************************************
    2525//
    26 // $Id: G4VisManager.cc,v 1.117 2009/02/25 18:28:00 lgarnier Exp $
     26// $Id: G4VisManager.cc,v 1.118 2009/03/09 12:42:00 allison Exp $
    2727// GEANT4 tag $Name:  $
    2828//
     
    159159    //   // (Don't forget to delete visManager;)
    160160    //   ...
     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);
    161172  }
    162173}
     
    199210
    200211void G4VisManager::Initialise () {
     212
     213  if (fInitialised && fVerbosity >= warnings) {
     214    G4cout << "WARNING: G4VisManager::Initialise: already initialised."
     215           << G4endl;
     216    return;
     217  }
    201218
    202219  if (fVerbosity >= startup) {
     
    238255  }
    239256
    240   // Make top level directory...
     257  // Make command directories for commands instantiated in the
     258  // modeling subcategory...
    241259  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 the
    247   // modeling subcategory...
    248260  directory = new G4UIdirectory ("/vis/modeling/");
    249261  directory -> SetGuidance ("Modeling commands.");
     
    10021014  // always - one command per messenger).
    10031015
    1004   G4VVisCommand::SetVisManager (this);  // Sets shared pointer to vis manager.
    1005 
    10061016  G4UIcommand* directory;
    10071017
    1008   // Top level basic commands...
     1018  // Top level commands...
    10091019  RegisterMessenger(new G4VisCommandAbortReviewKeptEvents);
    10101020  RegisterMessenger(new G4VisCommandEnable);
    10111021  RegisterMessenger(new G4VisCommandList);
    1012   RegisterMessenger(new G4VisCommandVerbose);
    1013 
    1014   // Other top level commands...
    10151022  RegisterMessenger(new G4VisCommandReviewKeptEvents);
    10161023
Note: See TracChangeset for help on using the changeset viewer.