Changeset 1136 for trunk/source/visualization/RayTracer
- Timestamp:
- Nov 2, 2009, 3:49:55 PM (16 years ago)
- Location:
- trunk/source/visualization/RayTracer
- Files:
-
- 4 edited
-
History (modified) (2 diffs)
-
include/G4RayTracerXViewer.hh (modified) (2 diffs)
-
src/G4RTXScanner.cc (modified) (3 diffs)
-
src/G4RayTracerXViewer.cc (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/visualization/RayTracer/History
r1096 r1136 1 $Id: History,v 1.5 6 2009/08/19 08:39:19 lgarnierExp $1 $Id: History,v 1.58 2009/09/16 16:58:26 allison Exp $ 2 2 ------------------------------------------------------------------- 3 3 … … 25 25 --------------------------------------- 26 26 27 16 September 2009 John Allison (raytracer-V09-02-00) 28 - Cosmetic adjustments and tagging. 29 27 30 19 August 2009 Laurent Garnier 28 - G4RayTracerViewer.cc, G4RayTracerXViewer.cc : Fix an bad use of fVP29 parameters31 - G4RayTracerViewer.cc, G4RayTracerXViewer.cc : Fix an bad use of fVP 32 parameters 30 33 31 34 18 August 2009 Laurent Garnier 32 - G4RayTracerXViewer, G4RTXScanner : Fix a crash introduce by the33 new way of handling window size hints (January 2009)35 - G4RayTracerXViewer, G4RTXScanner : Fix a crash introduce by the 36 new way of handling window size hints (January 2009) 34 37 35 38 4th April 2008 John Allison (raytracer-V09-01-00) 36 - Fixed gcc-4.3.0 compiler warnings.39 - Fixed gcc-4.3.0 compiler warnings. 37 40 38 41 14th June 2007 John Allison (raytracer-V08-03-01) -
trunk/source/visualization/RayTracer/include/G4RayTracerXViewer.hh
r1096 r1136 25 25 // 26 26 // 27 // $Id: G4RayTracerXViewer.hh,v 1. 4 2009/08/18 14:13:57 lgarnierExp $27 // $Id: G4RayTracerXViewer.hh,v 1.5 2009/09/16 16:56:52 allison Exp $ 28 28 // GEANT4 tag $Name: $ 29 29 … … 41 41 G4RayTracerXViewer(G4VSceneHandler&,const G4String& name); 42 42 virtual ~G4RayTracerXViewer(); 43 void Initialise ();43 void Initialise(); 44 44 }; 45 45 -
trunk/source/visualization/RayTracer/src/G4RTXScanner.cc
r1096 r1136 25 25 // 26 26 // 27 // $Id: G4RTXScanner.cc,v 1. 6 2009/08/18 10:47:15 lgarnierExp $27 // $Id: G4RTXScanner.cc,v 1.7 2009/09/16 16:56:52 allison Exp $ 28 28 // GEANT4 tag $Name: $ 29 29 // … … 120 120 // Window size and position... 121 121 int xOffset = 0, yOffset = 0; 122 XSizeHints* size_hints = XAllocSizeHints(); 122 123 unsigned int width, height; 123 XSizeHints* size_hints = XAllocSizeHints();124 124 const G4String& XGeometryString = vp.GetXGeometryString(); 125 125 if (!XGeometryString.empty()) { … … 152 152 } else { 153 153 G4cout << "ERROR: Geometry string \"" 154 << XGeometryString 155 << "\" is empty. Using \"600x600\"."154 << XGeometryString 155 << "\" is empty. Using \"600x600\"." 156 156 << G4endl; 157 157 width = 600; 158 height = 600; 158 height = 600; 159 159 } 160 160 size_hints->width = width; -
trunk/source/visualization/RayTracer/src/G4RayTracerXViewer.cc
r1096 r1136 25 25 // 26 26 // 27 // $Id: G4RayTracerXViewer.cc,v 1. 7 2009/08/19 08:39:19 lgarnierExp $27 // $Id: G4RayTracerXViewer.cc,v 1.8 2009/09/16 16:56:52 allison Exp $ 28 28 // GEANT4 tag $Name: $ 29 29 … … 46 46 name, 47 47 new G4TheRayTracer(new G4RTJpegMaker, new G4RTXScanner)) 48 { 49 } 48 {} 49 50 G4RayTracerXViewer::~G4RayTracerXViewer() {} 50 51 51 52 void G4RayTracerXViewer::Initialise() { … … 64 65 } 65 66 66 G4RayTracerXViewer::~G4RayTracerXViewer() {}67 68 67 #endif
Note:
See TracChangeset
for help on using the changeset viewer.
