Changeset 1293 for trunk/source/graphics_reps
- Timestamp:
- Jun 2, 2010, 10:23:13 AM (15 years ago)
- Location:
- trunk/source/graphics_reps
- Files:
-
- 4 edited
-
History (modified) (2 diffs)
-
include/G4VGraphicsScene.hh (modified) (3 diffs)
-
include/G4VVisManager.hh (modified) (6 diffs)
-
src/G4VVisManager.cc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/graphics_reps/History
r1257 r1293 1 cvs log $Id: History,v 1.1 39 2010/05/07 16:06:18allison Exp $1 cvs log $Id: History,v 1.141 2010/05/30 11:15:52 allison Exp $ 2 2 ------------------------------------------------------------------- 3 3 … … 17 17 * Reverse chronological order (last date on top), please * 18 18 ---------------------------------------------------------- 19 20 30th May 2010 John Allison (greps-V09-03-02) 21 - G4VVisManager: Added Draw(const G4VDigi&) and FilterDigi(const G4VDigi&). 22 - G4VGraphicsScene: Added AddCompound (const G4VDigi&). 23 24 29th May 2010 John Allison (greps-V09-03-01) 25 - G4VVisManager: 26 o Removed IsDefaultDrawTrajectory. A better way is... 27 o Added DispatchToModel(const G4VTrajectory&), i.e., without i_mode, to 28 distinguish usage and in preparation for i_mode migration. 19 29 20 30 7th May 2010 John Allison (greps-V09-03-00) -
trunk/source/graphics_reps/include/G4VGraphicsScene.hh
r1228 r1293 25 25 // 26 26 // 27 // $Id: G4VGraphicsScene.hh,v 1.1 2 2009/10/21 15:36:22allison Exp $28 // GEANT4 tag $Name: geant4-09-03$27 // $Id: G4VGraphicsScene.hh,v 1.13 2010/05/30 11:15:36 allison Exp $ 28 // GEANT4 tag $Name: $ 29 29 // John Allison 19th July 1996 30 30 // … … 57 57 class G4VTrajectory; 58 58 class G4VHit; 59 class G4VDigi; 59 60 template <typename T> class G4THitsMap; 60 61 class G4Polyline; … … 116 117 virtual void AddCompound (const G4VTrajectory&) = 0; 117 118 virtual void AddCompound (const G4VHit&) = 0; 119 virtual void AddCompound (const G4VDigi&) = 0; 118 120 virtual void AddCompound (const G4THitsMap<G4double>&) = 0; 119 121 -
trunk/source/graphics_reps/include/G4VVisManager.hh
r1257 r1293 25 25 // 26 26 // 27 // $Id: G4VVisManager.hh,v 1.1 6 2010/05/07 16:05:56 allison Exp $27 // $Id: G4VVisManager.hh,v 1.18 2010/05/30 11:15:36 allison Exp $ 28 28 // GEANT4 tag $Name: $ 29 29 // John Allison 19/Oct/1996. … … 87 87 class G4VSolid; 88 88 class G4VHit; 89 class G4VDigi; 89 90 class G4VTrajectory; 90 91 class G4LogicalVolume; … … 168 169 virtual void Draw (const G4VHit&) = 0; 169 170 171 virtual void Draw (const G4VDigi&) = 0; 172 170 173 virtual void Draw (const G4VTrajectory&, G4int i_mode = 0) = 0; 171 174 // i_mode is a parameter that can be used to control the drawing of … … 194 197 // any, and redraw all views. 195 198 196 virtual void DispatchToModel(const G4VTrajectory&, G4int i_mode = 0) = 0; 199 virtual void DispatchToModel(const G4VTrajectory&) = 0; 200 virtual void DispatchToModel(const G4VTrajectory&, G4int i_mode) = 0; 197 201 // Draw the trajectory. 198 202 … … 203 207 // Hit filter 204 208 209 virtual G4bool FilterDigi(const G4VDigi&) = 0; 210 // Digi filter 211 205 212 protected: 206 213 … … 208 215 209 216 static G4VVisManager* fpConcreteInstance; // Pointer to real G4VisManager. 210 211 public:212 213 static G4bool IsDefaultDrawTrajectory;214 215 217 }; 216 218 -
trunk/source/graphics_reps/src/G4VVisManager.cc
r1257 r1293 25 25 // 26 26 // 27 // $Id: G4VVisManager.cc,v 1. 5 2010/05/07 16:05:56 allison Exp $27 // $Id: G4VVisManager.cc,v 1.6 2010/05/29 21:35:16 allison Exp $ 28 28 // GEANT4 tag $Name: $ 29 29 // … … 47 47 fpConcreteInstance = m; 48 48 } 49 50 G4bool G4VVisManager::IsDefaultDrawTrajectory = true;
Note:
See TracChangeset
for help on using the changeset viewer.
