Import Geant4 10.3.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-12-09 12:35:28 +01:00
parent 4ec577e5c4
commit a3452e42ac
3514 changed files with 210500 additions and 89628 deletions
+156 -1
View File
@@ -1,4 +1,4 @@
$Id: History 97430 2016-06-03 07:20:11Z gcosmo $
$Id: History 101714 2016-11-22 08:53:13Z gcosmo $
-------------------------------------------------------------------
=========================================================
@@ -17,6 +17,161 @@ committal in the CVS repository !
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
21th November 2016 Laurent Garnier (opengl-V10-02-26)
- Go back on the glCheckFramebufferStatus(): comment out this command
21th November 2016 Laurent Garnier (opengl-V10-02-25)
- Fix the glCheckFramebufferStatus() :
o G4OpenGLViewer : Check only if Qt driver AND (NOT X + NOT XM + NOT WIN32)
o G4OpenGLStoredQtViewer,G4OpenGLImmediateQtViewer :
Remove unnecessary "#if GL_EXT_framebuffer_object"
- G4OpenGL.hh: Avoid the case where an XM and Qt OpenGL viewer came with both OpenGL from
XM and Qt
20th November 2016 John Allison (opengl-V10-02-24)
- G4OpenGLStoredViewer.cc: Removed check on previous colour in
DrawDisplayLists that was intended to avoid unnecessary calls
to glColor but which in some circumstances prevented necessary
calls. Now glColor is called for all display lists, which is
probably less demanding than checking in the first place. Fixes
the same problem as tag opengl-V10-02-22.
19th November 2016 Laurent Garnier (opengl-V10-02-23)
- G4OpenGLViewer.cc: add isFramebufferReady() method
- G4OpenGLStoredViewer.cc/G4OpenGLViewer.hh/G4OpenGLImmediateQtViewer.cc/G4OpenGLStoredQtViewer.cc:
o Fix the gray/white/black screen when launching a new viewer.
o Fix DEV-176 and perhaps a few others
19th November 2016 Laurent Garnier (opengl-V10-02-22)
- G4OpenGLStoredViewer.cc : Fis a color problem on transparent volumes (DEV-261)
17th November 2016 Laurent Garnier (opengl-V10-02-21)
- G4OpenGL.hh: Avoid the case where an X and Qt OpenGL viewer came with both OpenGL from
X and Qt
4th November 2016 Laurent Garnier
- G4OpenGLQtViewer:
o memory leak issue FIXED (very rare case)
- G4OpenGLViewerMessenger:
o Fix a "variable never used" issue
4th November 2016 Laurent Garnier (opengl-V10-02-20 co-works with interfaces-V10-02-09)
- G4OpenGLQtViewer/G4OpenGLImmediateQtViewer/G4OpenGLStoredQtViewer:
o Add a Qt signal/slot connection between the UI and QGLViewer. Allow us to better manage interaction between them
o Remove (multiple) scene tree from a tab to put it in a single, auto-update widget
o Remove (multiple) viewer properties from a tab to put it in a outside dialog
o Remove (multiple) pick infos from a tab to put it in a outside dialog
o Lot of remaning in order to do previous work
o Fix a bad signal/slot connection for the filter of the scene tree (perhaps a bug in some cases)
23rd September 2016 John Allison (opengl-V10-02-19)
- G4OpenGLSceneHandler::ScaledFlush: Tidied.
21st September 2016 Gabriele Cosmo (opengl-V10-02-18)
- Fixed GNUMakefile for missing include dependencies...
21st September 2016 John Allison (opengl-V10-02-17)
- Fix warnings on Windows.
21st September 2016 John Allison (opengl-V10-02-16)
- Introduced /vis/ogl/flushAt.
19th September 2016 John Allison (opengl-V10-02-15)
- Needs modeling-V10-02-13 and visman-V10-02-27
- Adapted to the move of Vis Attributes Modifiers back to G4ModelingParameters.
- G4OpenGLQtViewer:
o Added
// Flag to indicate that action was initiated by interaction (mouse
// click) on the scene tree. It is used and reset in
// G4OpenGLStoredQtViewer::CompareForKernelVisit to prevent rebuild
// in this case.
bool fMouseOnSceneTree;
- G4OpenGLStoredQtViewer::CompareForKernelVisit:
o Added this to handle scene tree interaction better:
// Don't check VisAttributesModifiers if this comparison has been
// initiated by a mouse interaction on the scene tree.
if (fMouseOnSceneTree) {
// Reset the flag.
fMouseOnSceneTree = false;
} else {
// Not initiated by a mouse so compare for kernel visit.
if (lastVP.GetVisAttributesModifiers() !=
fVP.GetVisAttributesModifiers()) {
return true;
}
}
15th September 2016 John Allison (opengl-V10-02-14)
- G4OpenGLStoredQtViewer:
o Re-instated G4OpenGLStoredQtViewer::CompareForKernelVisit:
Now ignores changes in Vis Attributes modifiers (as before).
- G4OpenGLQtViewer:
o Uses G4VViewer::TouchableSetVisibility and TouchableSetColour.
12th September 2016 John Allison (opengl-V10-02-13)
- G4OpenGLQtViewer.cc: Added calls to SetTouchable.
11th September 2016 John Allison (opengl-V10-02-12)
- GetColour/GetColor no longer takes an argument.
- Make sure applicable vis attributes are obtained.
// Get and check applicable vis attributes.
// fpVisAttribs = fpViewer->GetApplicableVisAttributes(fpVisAttribs);
// Note: the vis attributes may have been modified by the viewer. See
// code in G4VViewer::GetApplicableVisAttributes.
9th September 2016 John Allison (opengl-V10-02-11)
- Needs modeling-V10-02-11 and visman-V10-02-22.
- Moved Vis Attributes Modifiers (VAMs) from G4ModelingParameters
to G4ViewParameters.
8th September 2016 John Allison
- G4OpenGLStoredQtViewer:
o G4OpenGLStoredQtViewer::CompareForKernelVisit:
. Now simply invokes G4OpenGLStoredViewer::CompareForKernelVisit.
o Fix bug:
if (kernelVisitWasNeeded) { // was fNeedKernelVisit
displaySceneTreeComponent();
}
7th September 2016 John Allison
- Fixed visibility check. Now correctly updates VAMs (Vis Attribute
Modifiers) when user clicks on visibility buttons.
- G4OpenGLQtViewer.cc:
o G4OpenGLQtViewer::setCheckComponent sets the VAMs.
o G4OpenGLQtViewer::sceneTreeComponentSelected becomes empty.
31st August 2016 John Allison (opengl-V10-02-10)
- Fix G4Orb and G4Ellipsoid hiding warnings.
14th August 2016 John Allison (opengl-V10-02-09)
- G4OpenGLSceneHandler.cc and G4OpenGLViewer.cc:
o Improved comments.
16th June 2016 John Allison (opengl-V10-02-08)
- G4OpenGLViewer.cc: g4GluLookAt and g4GluPickMatrix:
o Changed GLfloat to GLdouble. Fixes a problem with projections
of scenes with very large, e.g., galactic, size.
14th June 2016 John Allison (opengl-V10-02-07)
- G4OpenGLXmWindowHandlingCallbacks.cc: Commented out some code in
void G4OpenGLXmViewer::expose_callback (Widget w,
XtPointer clientData,
XtPointer)
{ ...
//??????????????????????????? This might be a problem in MT mode.
// glXMakeCurrent (pView->dpy, XtWindow(pView->glxarea), pView->cxMaster);
// pView->SetView ();
// pView->ClearView ();
// pView->DrawView ();
//???????????????????????????? Commented out 14/06/16 JA
}
This was causing SetView to be called from the Xt loop from the vis
thread in MT mode. It didn't like that. It does seem to be required,
but keep it there, commented, for now.
7th June 2016 Laurent Garnier
- G4OpenGLQtViewer: Better quality movie generation (change parameters)
1st June 2016 Laurent Garnier
- G4OpenGLWin32Viewer :Fixed compilation warnings on Win32 about LONG_PTR