Import Geant4 11.3.2 source tree

This commit is contained in:
Gabriele Cosmo
2025-04-28 13:52:33 +02:00
parent df176550b3
commit 20a218bbe1
266 changed files with 8007 additions and 7819 deletions
+4
View File
@@ -6,6 +6,10 @@ It must **not** be used as a substitute for writing good git commit messages!
-------------------------------------------------------------------------------
## 2025-04-07 Gabriele Cosmo (opengl-V11-02-10)
- Fixed compilation errors on Windows in G4OpenGLWin32Viewer, triggered when
enabling GL WIN32 support, as reported in problem report #2599.
## 2024-09-13 John Allison (opengl-V11-02-09)
- G4OpenGLStoredQtSceneHandler.cc:
- G4OpenGLStoredQtSceneHandler::ClearStore():
@@ -108,8 +108,8 @@ void G4OpenGLWin32Viewer::CreateMainWindow (
wc.hIcon = LoadIcon (NULL, IDI_APPLICATION);
wc.hCursor = LoadCursor(NULL,IDC_CROSS);
wc.hbrBackground = NULL;
wc.lpszMenuName = className;
wc.lpszClassName = className;
wc.lpszMenuName = (PTSTR)className;
wc.lpszClassName = (PTSTR)className;
::RegisterClass(&wc);
done = true;
}
@@ -120,7 +120,7 @@ void G4OpenGLWin32Viewer::CreateMainWindow (
G4int y_res=GetSystemMetrics(SM_CYSCREEN);
//FIXME : NOT tested !
fWindow = ::CreateWindowEx(0, className,fName.c_str(),
fWindow = ::CreateWindowEx(0, (PTSTR)className, (PTSTR)fName.c_str(),
WS_OVERLAPPEDWINDOW,
//WS_CHILD | WS_VISIBLE,
// 0,0,
+4
View File
@@ -6,6 +6,10 @@ It must **not** be used as a substitute for writing good git commit messages!
-------------------------------------------------------------------------------
## 2025-04-12 John Allison (raytracer-V11-02-00)
- G4RayTracerXViewer.cc:
- Use G4TheMTRayTracer.
## 2023-03-22 Ben Morgan (raytracer-V11-01-01)
- Export public compile definitions to indicate availablity of specific drivers. Moves to
"use on link" model.
@@ -29,7 +29,7 @@
#include "G4VSceneHandler.hh"
#include "G4Scene.hh"
#include "G4TheRayTracer.hh"
#include "G4TheMTRayTracer.hh"
#include "G4RTJpegMaker.hh"
#include "G4RTXScanner.hh"
#include "G4UImanager.hh"
@@ -40,7 +40,7 @@ G4RayTracerXViewer::G4RayTracerXViewer
(G4VSceneHandler& sceneHandler, const G4String& name):
G4RayTracerViewer(sceneHandler,
name,
new G4TheRayTracer(new G4RTJpegMaker, new G4RTXScanner))
G4TheMTRayTracer::Instance(new G4RTJpegMaker, new G4RTXScanner))
{}
G4RayTracerXViewer::~G4RayTracerXViewer() {}