Import Geant4 4.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-08 16:18:25 +02:00
parent 36c080dca6
commit 921d3b1cda
3990 changed files with 185376 additions and 82884 deletions
+278 -1
View File
@@ -1,4 +1,4 @@
$Id: History,v 1.133 2001/06/19 11:24:09 stanaka Exp $
$Id: History,v 1.172 2001/12/01 21:07:26 stanaka Exp $
-------------------------------------------------------------------
=========================================================
@@ -24,6 +24,283 @@ committal in the CVS repository !
History file for visualization category
---------------------------------------
01th December 2001 vis-V03-02-21
- Code refinements in FukuiRenderer/ directory:
* Noisy warnings for Linux-g++ are suppressed.
(%lg ==> %g etc)
* G4FRSceneFunc.icc is moved from /src to /include
29th November 2001 John Allison
- Fixed some pedantic warnings and a bug thrown up by such in OpenGL.
28th November 2001 Gabriele Cosmo (visman-V03-02-00 in management only).
- Fixed pointer initialisation for porting on VC++ in G4VisCommandsSceneAdd.cc.
21st November 2001 John Allison (vis-V03-02-20)
- Fixed G4std bug in G4HepRepFileSceneHandler.hh.
- Fixed "hides the virtual function" warnings from G4HepRepFileSceneHandler.
- Change to comments in G4XXXSceneHandler.hh.
19th November 2001 John Allison (vis-V03-02-19 needs config-V03-02-09+)
- Cosmetic changes to HepRep.
16th November 2001 John Allison
- Added G4XXXDEBUG to XXX dummy system.
14th November 2001 John Allison
- Fixed bug in G4VisManager::EndOfEvent.
- Moved code from G4VisManagerRegisterMessengers.cc to G4VisManager.cc and
removed G4VisManagerRegisterMessengers.cc.
14th November 2001 Guy Barrand
- OpenInventor : move HEPVis/SoWindow under vis/OpenInventor/G4SoWindow
to prepare HEPVis/6.0. (HEPVis/SoWindow will disappear from HEPVis/6.0).
14th November 2001 John Allison
- Added README.built_in_commands.
13th November 2001 Satoshi Tanaka
- visualization/README file is updated, adding minimal description
on the HepRepFile driver.
12th November 2001 John Allison (vis-V03-02-18 needs config-V03-02-09)
- Fixed some warnings and one error from gcc-2.95.2.
- HepRep Type names now come from Physical Volume names (Joseph Perl).
- Added many HepRep Attributes for other volume properties (Joseph Perl).
13th Nov 2001 (JST) Hajime Yoshida and Minamimoto (vis-V03-02-17)
- Updation of G4RTJpegMaker.cc for Windows platform (raytracer-V03-02-01).
7th November 2001 John Allison (vis-V03-02-16 needs config-V03-02-09)
- Corrected compilation error.
6th November 2001 John Allison (vis-V03-02-15 needs config-V03-02-09)
- Added /vis/viewer/flush = refresh + update.
- Moved /vis/viewer/lights and viewpoint to /vis/viewer/set.
- Added /vis/viewer/set/upThetaPhi and upVector.
- Added refresh|flush option to /vis/scene/notifyHandlers.
- Moved HepRepFile classes to HepRep/ directory and removed HepRep classes
therein.
1st October 2001 Joseph Perl
- Added first version of pure C++ HepRep driver, HepRepFile.
See HepRep/README for details.
10th September 2001 John Allison (needs greps-V03-02-04)
- (Non-standard tag JA-RAEOE.)
10th September 2001 John Allison (not tagged but needs greps-V03-02-04)
- Added BeginOfRun, BeginOfEvent and EndOfRun to G4VisManager, invoked via
G4VisStateDependent.
- Improved handling of refresh-at-end-of-event. All scene handlers need to
implement ClearTransientStore and ensure rebuilding of permanent store if
necessary.
- Auto-refresh (notifyHandlers) after attaching scene.
- Changed default colour of scale to red and fixed a couple of small bugs in
the implementation of AddPrimitive(G4Scale).
- Improved verbosity guidance.
- Improved /vis/scene/add/scale guidance (needs greps-V03-02-04).
- Removed /vis/viewer/refresh from compound commands.
- Capitalised 'R' in /vis/viewer/set/autoRefresh.
29th August 2001 John Allison/Joseph Perl (vis-V03-02-14)
- Needs config-V03-02-06.
- First developers release of HepRep graphics driver.
24th August 2001 Joseph Perl (vis-V03-02-13-00)
- First inclusion of HepRep graphics driver.
24th August 2001 John Allison (vis-V03-02-13)
- Fixed bugs in G4VisManager::GeometryHasChanged.
- Separated out G4Scene::CalculateExtent.
- Improved robustness and timeliness of invocation of some commands.
- Improved READMEs.
- Reduced warnings from OpenGL - see OpenGL/History.
- Cosmetic changes to test.
- Added explicit invocation of base class methods to avoid warnings about
hiding of base class methods.
17th August 2001 John Allison (vis-V03-02-12)
- Coworks with greps-V03-02-02 and intercoms-V03-02-04.
- Added G4VisManager::Draw(const G4Scale&,... Needs intercoms-V03-02-04.
- Added template graphics system XXX.
- Improved verbosity guidance.
14th August 2001 John Allison (vis-V03-02-11)
- Coworks with greps-V03-02-02 and intercoms-V03-02-03.
- Moved default value G4Transform3D::Identity of argument from
G4VSceneHandler::BeginPrimitives to
G4VGraphicsScene::BeginPrimitives. Needs intercoms-V03-02-03.
- Fixed bug in G4VSceneHandler::AddPrimitive(const G4Scale&). Needs
greps-V03-02-02.
- Added sceneHandler.Begin/EndPrimitives messages to models (long
standing bug!).
- Removed "dummy" graphics systems in G4VisManager.cc.
- Improved robustness of some commands, particularly
/vis/scene/notifyHandlers.
- Improved support for multiple viewers (but see OpenGL/History).
11th August 2001 John Allison (vis-V03-02-10-01)
- Implemented /vis/scene/endOfEventAction.
9th August 2001 John Allison (vis-V03-02-10-00)
- Note: non-standard tag to indicate internal use only.
- Added /vis/scene/create at start of compound command /vis/open to avoid
warnings.
- Removed G4ModelingParameters::hierarchy. It is no longer used. The
textual or graphical representation of the geometry hierarchy is now
done in G4xxxTree classes in visua;ization/Tree.
- Removed /vis/scene/notifyHandlers from
G4VVisCommandScene::UpdateVisManagerScene - too much updating going on.
It was leading to recursive refreshing/updating.
- Implemented auto-refresh at end of event. (See also OpenGL/History.)
Introduced G4VSceneHandler::Get/SetMarkForClearingTransientStore for
postponed (lazy) clearing of transients (e.g., trajectories) from store
(graphical database) and view. The mark is set at the end of
G4VisManager::EndOfEvent and the actual clearing is done in:
void G4VisManager::ClearTransientStoreIfMarked(){
// Assumes valid view.
if (fpSceneHandler->GetMarkForClearingTransientStore()) {
fpSceneHandler->SetMarkForClearingTransientStore(false);
fpSceneHandler->ClearTransientStore();
}
}
which is called at the start of each G4VisManager::Draw and the beginning
of G4VisManager::EndOfEvent. Thus the picture stays from the end of all
drawing for the event until the first drawing of the next event.
5th August 2001 John Allison
- Small refinements to printing under new verbosity control.
4th August 2001 John Allison (vis-V03-02-10)
- Re-implemented verbosity control. Output statements wherever possible
are controlled by the verbosity in a simple graded message scheme:
enum Verbosity {
quiet, // Nothing is printed.
startup, // Startup and endup messages are printed...
errors, // ...and errors...
warnings, // ...and warnings...
confirmations, // ...and confirming messages...
parameters, // ...and parameters of scenes and views...
all // ...and everything available.
};
Note that the G4VisManager member object name and type have changed:
Verbosity fVerbosity; // New.
const G4int fVerbose;
// fVerbose is kept for backwards compatibility for some user
// examples. (It is used in the derived user vis managers to print
// available graphics systems.) It is initialised to 1 in the
// constructor and cannot be changed.
3rd August 2001 John Allison
- Added README.quick, a quick installation guide.
30th July 2001 John Allison (vis-V03-02-09)
- Eliminated view parameters from G4VisManager. Now, each view maintains its
own parameters. Can be copied from one view to another with:
/vis/viewer/set/all <from-viewer-name>
Copies view parameters from from-viewer to current viewer.
Affects current viewer.
- Removed redundant methods from G4VisManager, mostly to do with old-style
commands.
27th July 2001 John Allison (vis-V03-02-08)
- Needs config-V03-02-01.
- Introduced environment variable G4VIS_NONE that, if set, no visualization
drivers are built and no vis libraries are built, not even
libG4vis_management. (libG4modeling is still built.) The C-pre-processor
variables G4VIS_BUILD and G4VIS_USE are *not* set.
- Removed the need to specify environment variables for visualization drivers
which do not need external packages or libraries, namely :
G4VIS_BUILD_DAWNFILE_DRIVER
G4VIS_BUILD_RAYTRACER_DRIVER
G4VIS_BUILD_VRMLFILE_DRIVER
G4VIS_BUILD_ASCIITREE_DRIVER
G4VIS_BUILD_GAGTREE_DRIVER
with associated G4VIS_USE environment variables:
G4VIS_USE_DAWNFILE
G4VIS_USE_RAYTRACER
G4VIS_USE_VRMLFILE
G4VIS_USE_ASCIITREE
G4VIS_USE_GAGTREE
For backwards compatibility, unless G4VIS_NONE is set, the corresponding
C-pre-processor variables are automatically set. Also, the C-pre-processor
variables G4VIS_BUILD and G4VIS_USE are set.
- As before, environment variables for other drivers still need positive
setting of their G4VIS_BUILD and G4VIS_USE environment variables. In this
category are:
G4VIS_BUILD_DAWN_DRIVER
G4VIS_BUILD_OPACS_DRIVER
G4VIS_BUILD_OPENGLX_DRIVER
G4VIS_BUILD_OPENGLWIN32_DRIVER
G4VIS_BUILD_OPENGLXM_DRIVER
G4VIS_BUILD_OIX_DRIVER
G4VIS_BUILD_OIWIN32_DRIVER
G4VIS_BUILD_VRML_DRIVER
with associated G4VIS_USE environment variables:
G4VIS_USE_DAWN
G4VIS_USE_OPACS
G4VIS_USE_OPENGLX
G4VIS_USE_OPENGLWIN32
G4VIS_USE_OPENGLXM
G4VIS_USE_OIX
G4VIS_USE_OIWIN32
G4VIS_USE_VRML
In this case G4VIS_NONE must *not* be set.
- Fixed unchecked pointer in G4VSceneHandler::ClearStore().
25th July 2001 John Allison (vis-V03-02-07)
- Improved access to models (modeling-V03-02-03).
- Made G4VSceneHandler::fpModel non-const G4VModel* for convenience.
- Improved checks and warning messages in /vis/scene/add/scale.
24th July 2001 John Allison (vis-V03-02-06)
- Needs greps-V03-02-01 for small interface change to G4Scale.
- Includes modeling-V03-02-02.
- Force rebuild of graphics "stores" (graphical databases) and, if
auto-refresh is true, refresh of all views
(/vis/scene/notifyHandlers) after an addition to scene.
- Improvements to /vis/scene/add/scale:
o Added colour.
o Assigned a genuine extent.
23rd July 2001 John Allison (vis-V03-02-05 is non existent - sorry!!!)
- Improved /vis/scene/add/scale.
- Improved auto-refreshing.
21st July 2001 John Allison (vis-V03-02-04)
- Added /vis/scene/add/scale. Needs greps-V03-02-00 and intercoms-V03-02-02.
19th July 2001 Satoshi Tanaka (vis-V03-02-03)
- Modification of G4DAWNFILEViewer.cc
- PostScript command "showpage" is always added to g4_XX.eps
so that it is printable. (It can also be inserted into
LaTeX documents.
18th July 2001 John Allison (vis-V03-02-02)
- Ensured rotation and translation of replica is restored (modeling-V03-02-00)
(fixes crashes in replica tracking).
14th July 2001 John Allison (vis-V03-02-01)
- Included raytracer-V03-02-00 (minor cosmetics).
- Minor changes in G4OpenGLXViewer.cc to eliminate pedantic ISO C++ warnings.
- Merged vis-V03-02-patch01 (below) to head.
- Included new disclaimer.
14th July 2001 John Allison (vis-V03-02-patch01 in branch geant4-03-02-branch)
- Fixed crash in optimised mode: added Initialise() to viewers so
that windows are opened after viewers are fully constructed.
10th July 2001 John Allison (vis-V03-02-00)
- Removed old-style commands.
- Removed maintenance of G4VisManager's G4ViewParameters object (this
will be removed soon).
- Merged vis-V03-02-patch00 (below) to head.
10th July John Allison (vis-V03-02-patch00 in branch geant4-03-02-branch)
- Corrected mistake which could cause crash if user specified a non-
existent scene handler in /vis/sceneHandler/remove.
19th June 2001 Satoshi Tanaka (vis-V03-01-07)
-OS dependence is removed from the DAWN-network driver.
* gethostname() removed