Changeset 1170 for trunk/source/visualization/management/include
- Timestamp:
- Nov 16, 2009, 4:56:12 PM (15 years ago)
- Location:
- trunk/source/visualization/management/include
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/visualization/management/include/G4Scene.hh
r954 r1170 25 25 // 26 26 // 27 // $Id: G4Scene.hh,v 1.1 8 2006/11/14 14:59:54allison Exp $27 // $Id: G4Scene.hh,v 1.19 2009/11/04 12:49:16 allison Exp $ 28 28 // GEANT4 tag $Name: $ 29 29 // … … 80 80 // scene is current. 81 81 82 const std::vector<G4VModel*>& GetEndOfRunModelList () const; 83 // Contains models which are described at the end of event when the 84 // scene is current. 85 82 86 const G4VisExtent& GetExtent () const; 83 87 // Overall extent of all objects in the scene. … … 125 129 // Prints warnings if warn is true. 126 130 131 G4bool AddEndOfRunModel (G4VModel*, G4bool warn = false); 132 // Adds models of type which are described at the end of run when 133 // the scene is current. 134 // Returns false if model is already in the list. 135 // Prints warnings if warn is true. 136 127 137 std::vector<G4VModel*>& SetRunDurationModelList (); 128 138 // Allows you to change the model list - do with care! 129 139 130 140 std::vector<G4VModel*>& SetEndOfEventModelList (); 141 // Allows you to change the model list - do with care! 142 143 std::vector<G4VModel*>& SetEndOfRunModelList (); 131 144 // Allows you to change the model list - do with care! 132 145 … … 158 171 std::vector<G4VModel*> fRunDurationModelList; 159 172 std::vector<G4VModel*> fEndOfEventModelList; 173 std::vector<G4VModel*> fEndOfRunModelList; 160 174 G4VisExtent fExtent; 161 175 G4Point3D fStandardTargetPoint; -
trunk/source/visualization/management/include/G4Scene.icc
r954 r1170 25 25 // 26 26 // 27 // $Id: G4Scene.icc,v 1.1 4 2006/11/14 14:59:54allison Exp $27 // $Id: G4Scene.icc,v 1.15 2009/11/04 12:49:16 allison Exp $ 28 28 // GEANT4 tag $Name: $ 29 29 // … … 51 51 G4Scene::GetEndOfEventModelList () const { 52 52 return fEndOfEventModelList; 53 } 54 55 inline const std::vector<G4VModel*>& 56 G4Scene::GetEndOfRunModelList () const { 57 return fEndOfRunModelList; 53 58 } 54 59 … … 80 85 inline std::vector<G4VModel*>& G4Scene::SetEndOfEventModelList () 81 86 { 82 return fRunDurationModelList; 87 return fEndOfEventModelList; 88 } 89 90 inline std::vector<G4VModel*>& G4Scene::SetEndOfRunModelList () 91 { 92 return fEndOfRunModelList; 83 93 } 84 94 -
trunk/source/visualization/management/include/G4VSceneHandler.hh
r1140 r1170 25 25 // 26 26 // 27 // $Id: G4VSceneHandler.hh,v 1.4 1 2009/10/21 14:26:59allison Exp $27 // $Id: G4VSceneHandler.hh,v 1.42 2009/11/04 12:55:33 allison Exp $ 28 28 // GEANT4 tag $Name: $ 29 29 // … … 270 270 // hits, etc. 271 271 272 void DrawEndOfRunModels(); 273 // Draws end-of-run models. 274 272 275 ////////////////////////////////////////////////////////////// 273 276 // Administration functions. -
trunk/source/visualization/management/include/G4VisCommandsSceneAdd.hh
r1140 r1170 25 25 // 26 26 // 27 // $Id: G4VisCommandsSceneAdd.hh,v 1.1 8 2009/10/30 15:58:50allison Exp $27 // $Id: G4VisCommandsSceneAdd.hh,v 1.19 2009/11/04 13:15:02 allison Exp $ 28 28 // GEANT4 tag $Name: $ 29 29 … … 142 142 G4VisCommandSceneAddPSHits (const G4VisCommandSceneAddPSHits&); 143 143 G4VisCommandSceneAddPSHits& operator = (const G4VisCommandSceneAddPSHits&); 144 G4UIcmdWith outParameter* fpCommand;144 G4UIcmdWithAString* fpCommand; 145 145 }; 146 146 -
trunk/source/visualization/management/include/G4VisCommandsViewerSet.hh
r1042 r1170 26 26 // 27 27 // $Id: G4VisCommandsViewerSet.hh,v 1.23 2009/05/13 18:17:25 allison Exp $ 28 // GEANT4 tag $Name: HEAD$28 // GEANT4 tag $Name: $ 29 29 30 30 // /vis/viewer/set commands - John Allison 16th May 2000
Note: See TracChangeset
for help on using the changeset viewer.