Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:58:40

0001 //
0002 // ********************************************************************
0003 // * License and Disclaimer                                           *
0004 // *                                                                  *
0005 // * The  Geant4 software  is  copyright of the Copyright Holders  of *
0006 // * the Geant4 Collaboration.  It is provided  under  the terms  and *
0007 // * conditions of the Geant4 Software License,  included in the file *
0008 // * LICENSE and available at  http://cern.ch/geant4/license .  These *
0009 // * include a list of copyright holders.                             *
0010 // *                                                                  *
0011 // * Neither the authors of this software system, nor their employing *
0012 // * institutes,nor the agencies providing financial support for this *
0013 // * work  make  any representation or  warranty, express or implied, *
0014 // * regarding  this  software system or assume any liability for its *
0015 // * use.  Please see the license in the file  LICENSE  and URL above *
0016 // * for the full disclaimer and the limitation of liability.         *
0017 // *                                                                  *
0018 // * This  code  implementation is the result of  the  scientific and *
0019 // * technical work of the GEANT4 collaboration.                      *
0020 // * By using,  copying,  modifying or  distributing the software (or *
0021 // * any work based  on the software)  you  agree  to acknowledge its *
0022 // * use  in  resulting  scientific  publications,  and indicate your *
0023 // * acceptance of all terms of the Geant4 Software license.          *
0024 // ********************************************************************
0025 //
0026 //
0027 // Jane Tinslay September 2006
0028 //
0029 // Command utilities
0030 //
0031 #ifndef G4MODELCOMMANDUTILS_HH
0032 #define G4MODELCOMMANDUTILS_HH
0033 
0034 #include "G4String.hh"
0035 #include "G4ModelCommandsT.hh"
0036 #include "G4UImessenger.hh"
0037 #include "G4VisTrajContext.hh"
0038 
0039 namespace G4ModelCommandUtils {
0040 
0041   void AddContextMsgrs(G4VisTrajContext* context, std::vector<G4UImessenger*>& messengers,
0042                const G4String& placement)
0043   {
0044     messengers.push_back(new G4ModelCmdCreateContextDir<G4VisTrajContext>(context, placement));
0045     messengers.push_back(new G4ModelCmdSetDrawLine<G4VisTrajContext>(context, placement));
0046     messengers.push_back(new G4ModelCmdSetLineVisible<G4VisTrajContext>(context, placement));
0047     messengers.push_back(new G4ModelCmdSetLineColour<G4VisTrajContext>(context, placement));
0048     messengers.push_back(new G4ModelCmdSetLineWidth<G4VisTrajContext>(context, placement));
0049 
0050     messengers.push_back(new G4ModelCmdSetDrawStepPts<G4VisTrajContext>(context, placement));
0051     messengers.push_back(new G4ModelCmdSetStepPtsVisible<G4VisTrajContext>(context, placement));
0052     messengers.push_back(new G4ModelCmdSetStepPtsColour<G4VisTrajContext>(context, placement));
0053     messengers.push_back(new G4ModelCmdSetStepPtsSize<G4VisTrajContext>(context, placement));
0054     messengers.push_back(new G4ModelCmdSetStepPtsSizeType<G4VisTrajContext>(context, placement));
0055     messengers.push_back(new G4ModelCmdSetStepPtsType<G4VisTrajContext>(context, placement));
0056     messengers.push_back(new G4ModelCmdSetStepPtsFillStyle<G4VisTrajContext>(context, placement));
0057     
0058     messengers.push_back(new G4ModelCmdSetDrawAuxPts<G4VisTrajContext>(context, placement));
0059     messengers.push_back(new G4ModelCmdSetAuxPtsVisible<G4VisTrajContext>(context, placement));
0060     messengers.push_back(new G4ModelCmdSetAuxPtsColour<G4VisTrajContext>(context, placement));
0061     messengers.push_back(new G4ModelCmdSetAuxPtsSize<G4VisTrajContext>(context, placement));
0062     messengers.push_back(new G4ModelCmdSetAuxPtsSizeType<G4VisTrajContext>(context, placement));
0063     messengers.push_back(new G4ModelCmdSetAuxPtsType<G4VisTrajContext>(context, placement));
0064     messengers.push_back(new G4ModelCmdSetAuxPtsFillStyle<G4VisTrajContext>(context, placement));
0065 
0066     messengers.push_back(new G4ModelCmdSetTimeSliceInterval<G4VisTrajContext>(context, placement));
0067   }  
0068 }
0069 
0070 #endif