Changeset 1136 for trunk/source/visualization/RayTracer/src
- Timestamp:
- Nov 2, 2009, 3:49:55 PM (15 years ago)
- Location:
- trunk/source/visualization/RayTracer/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
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 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.