File indexing completed on 2025-01-18 09:58:40
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029
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