Import Geant4 11.0.0.beta source tree
This commit is contained in:
@@ -1,6 +1,3 @@
|
||||
#------------------------------------------------------------------------------
|
||||
# Module : G4visHepRep
|
||||
# Package: Geant4.src.G4visualization.G4visHepRep
|
||||
#------------------------------------------------------------------------------
|
||||
# - G4visHepRep category build
|
||||
|
||||
geant4_global_library_target(COMPONENTS sources.cmake)
|
||||
|
||||
@@ -18,6 +18,13 @@ committal in the CVS repository !
|
||||
|
||||
History file for visualization/HepRep sub-category
|
||||
--------------------------------------------------
|
||||
|
||||
07 June 2021 John Allison (vis-HepRep-V10-07-01)
|
||||
- Fix hidden function warning.
|
||||
|
||||
14 April 2021 Ben Morgan (vis-HepRep-V10-07-00)
|
||||
- Migrate to modular CMake build
|
||||
|
||||
12 December Ben Morgan (vis-HepRep-V10-06-00)
|
||||
- Cleanup CMake build, removing obsolete granular library option and
|
||||
explicit include_directories.
|
||||
@@ -69,7 +76,7 @@ History file for visualization/HepRep sub-category
|
||||
|
||||
26th March 2013 Ben Morgan (vis-HepRep-V09-06-05)
|
||||
- sources.cmake:
|
||||
o BUGFIX #1322 : Update include paths/library linking to use new
|
||||
o BUGFIX #1322 : Update include paths/library linking to use new
|
||||
ZLIB variables allowing transparent use of internal/external ZLIB
|
||||
as required.
|
||||
- G4HepRepSceneHandler:
|
||||
@@ -128,7 +135,7 @@ History file for visualization/HepRep sub-category
|
||||
- Add /vis/heprep/scale and /vis/heprep/center
|
||||
|
||||
13th October 2011 Andrea Dotti (vis-HepRep-V09-04-02)
|
||||
- Solving "variable set but not used" warning in GCC 4.6
|
||||
- Solving "variable set but not used" warning in GCC 4.6
|
||||
|
||||
26th September 2011 John Allison (vis-HepRep-V09-04-01)
|
||||
- Tagged.
|
||||
@@ -293,7 +300,7 @@ History file for visualization/HepRep sub-category
|
||||
- Improve handling of solids (in HepRepFile).
|
||||
|
||||
16 May 2005 Mark Donszelmann
|
||||
- Fixed problems with sequential heprep files, gz files,
|
||||
- Fixed problems with sequential heprep files, gz files,
|
||||
too much info in the heprep file and some compilation mistakes.
|
||||
|
||||
12 May 2005 Mark Donszelmann
|
||||
@@ -307,15 +314,15 @@ History file for visualization/HepRep sub-category
|
||||
|
||||
3 May 2005 Mark Donszelmann
|
||||
- Removed the following zlib and zipios files which are not necessary for writing
|
||||
zip or gz files: include/zipios++/basicentry.h, include/zipios++/collcoll.h,
|
||||
include/zipios++/dircoll.h, include/zipios++/filepath.h,
|
||||
include/zipios++/filterinputstreambuf.h, include/zipios++/inflateinputstreambuf.h,
|
||||
include/zipios++/zipfile.h, include/zipios++/zipinputstream.h,
|
||||
include/zipios++/zipinputstreambuf.h,
|
||||
include/zlib/inffast.h, include/zlib/inffixed.h, include/zlib/inflate.h,
|
||||
include/zlib/inftrees.h, src/basicentry.cc, src/collcoll.cc, src/filepath.cc,
|
||||
src/filterinputstreambuf.cc, src/infback.cc, src/inffast.cc, src/inflate.cc,
|
||||
src/inflateinputstreambuf.cc, src/inftrees.cc, src/uncompr.cc, src/zipfile.cc,
|
||||
zip or gz files: include/zipios++/basicentry.h, include/zipios++/collcoll.h,
|
||||
include/zipios++/dircoll.h, include/zipios++/filepath.h,
|
||||
include/zipios++/filterinputstreambuf.h, include/zipios++/inflateinputstreambuf.h,
|
||||
include/zipios++/zipfile.h, include/zipios++/zipinputstream.h,
|
||||
include/zipios++/zipinputstreambuf.h,
|
||||
include/zlib/inffast.h, include/zlib/inffixed.h, include/zlib/inflate.h,
|
||||
include/zlib/inftrees.h, src/basicentry.cc, src/collcoll.cc, src/filepath.cc,
|
||||
src/filterinputstreambuf.cc, src/infback.cc, src/inffast.cc, src/inflate.cc,
|
||||
src/inflateinputstreambuf.cc, src/inftrees.cc, src/uncompr.cc, src/zipfile.cc,
|
||||
src/zipinputstream.cc, src/zipinputstreambuf.cc
|
||||
|
||||
16 February 2005 Mark Donszelmann (vis-HepRep-V07-00-00 against geant4-07-00-ref-00)
|
||||
@@ -333,7 +340,7 @@ History file for visualization/HepRep sub-category
|
||||
- Renamed zlib prefix from z_ to heprep_z_
|
||||
- Added symbol z_errmsg to list for renaming to avoid conflicts with other
|
||||
programs who contain a copy of zlib (such as Root).
|
||||
|
||||
|
||||
4 June 2004 Mark Donszelmann (vis-HepRep-V06-01-04 against geant4-06-01-ref-02)
|
||||
- Fixed compilation problem with G4RunManagerKernel
|
||||
|
||||
@@ -346,7 +353,7 @@ History file for visualization/HepRep sub-category
|
||||
see http://bugs.freehep.org/secure/BrowseProject.jspa?id=10041
|
||||
|
||||
26 May 2004 Mark Donszelmann (vis-HepRep-V06-01-00)
|
||||
- Fixed GEANT-47: Added initial viewpoint settings and a command to set the
|
||||
- Fixed GEANT-47: Added initial viewpoint settings and a command to set the
|
||||
coordinate system.
|
||||
- Fixed GEANT-41: copied new interfaces for HepRep, which uses fewer pointers,
|
||||
see http://bugs.freehep.org/secure/BrowseProject.jspa?id=10041
|
||||
@@ -362,9 +369,9 @@ History file for visualization/HepRep sub-category
|
||||
- Removed appendzip.cc file, since it is strictly not necessary.
|
||||
|
||||
12 Febryary 2004 Mark Donszelmann
|
||||
- GEANT-42: Renamed the HepRep schema locator to
|
||||
- GEANT-42: Renamed the HepRep schema locator to
|
||||
http://java.freehep.org/schemas/heprep/2.0
|
||||
|
||||
|
||||
5 February 2004 Mark Donszelmann (vis-HepRep-V06-00-04)
|
||||
- Fixed compilation problems for the Linux-icc (7.0) compiler.
|
||||
|
||||
@@ -376,7 +383,7 @@ History file for visualization/HepRep sub-category
|
||||
|
||||
28 January 2004 Mark Donszelmann (vis-HepRep-V06-00-01)
|
||||
- Attempted to fix GEANT-40. For some unclear reason the symbols zcalloc and zcfree
|
||||
of the zlib library were being called as C++ mangled names.
|
||||
of the zlib library were being called as C++ mangled names.
|
||||
To get rid of the situation of a mix of C++ and C names, we took
|
||||
out the 'extern "C"' declarations from our zlib.h and zutil.h.
|
||||
All names are C++ mangled now.
|
||||
@@ -396,14 +403,14 @@ History file for visualization/HepRep sub-category
|
||||
|
||||
17 November 2003 Mark Donszelmann (vis-HepRep-V05-02-06)
|
||||
- Removed dependency on sstream which made compilation fail on Linux-g++2.95.2
|
||||
and on Solaris 5.2.
|
||||
and on Solaris 5.2.
|
||||
- Added flags for zipios++ to compile OutputStringStream using sstream only on
|
||||
g++ 3.x (Linux/MacOS X) and on WIN32.
|
||||
g++ 3.x (Linux/MacOS X) and on WIN32.
|
||||
- Added include to OutputStringStream.h to make it work on Solaris.
|
||||
- Removed our own sstream since it is no longer used.
|
||||
- Fixed GEANT-34
|
||||
|
||||
14 November 2003 Mark Donszelmann
|
||||
- Fixed GEANT-34
|
||||
|
||||
14 November 2003 Mark Donszelmann
|
||||
- Fixed GEANT-25, GEANT-35 and GEANT-36 (vis-HepRep-V05-02-05)
|
||||
see http://bugs.freehep.org/secure/BrowseProject.jspa?id=10041
|
||||
|
||||
@@ -443,7 +450,7 @@ History file for visualization/HepRep sub-category
|
||||
|
||||
28 October 2003 Mark Donszelmann
|
||||
- Several fixes (GEANT-11, GEANT-12, GEANT-3 and GEANT-13)
|
||||
|
||||
|
||||
24 October 2003 Mark Donszelmann
|
||||
- Several fixes (GEANT-2, GEANT-4, GEANT-8 and GEANT-9)
|
||||
|
||||
|
||||
@@ -78,19 +78,13 @@ public:
|
||||
void AddSolid(const G4Ellipsoid&);
|
||||
void AddSolid(const G4TessellatedSolid&);
|
||||
void AddSolid(const G4VSolid&);
|
||||
|
||||
using G4VSceneHandler::AddCompound;
|
||||
void AddCompound (const G4VTrajectory&);
|
||||
void InitTrajectory();
|
||||
void AddCompound (const G4VHit&);
|
||||
void InitHit();
|
||||
void AddCompound (const G4THitsMap<G4double>& hits) {
|
||||
G4VSceneHandler::AddCompound(hits);
|
||||
}
|
||||
void AddCompound (const G4THitsMap<G4StatDouble>& hits) {
|
||||
G4VSceneHandler::AddCompound(hits);
|
||||
}
|
||||
void AddCompound (const G4VDigi& digi) {
|
||||
G4VSceneHandler::AddCompound(digi);
|
||||
}
|
||||
|
||||
// void PreAddSolid(const G4Transform3D& objectTransformation,
|
||||
// const G4VisAttributes&);
|
||||
// void PostAddSolid();
|
||||
@@ -98,6 +92,7 @@ public:
|
||||
////////////////////////////////////////////////////////////////
|
||||
// Required implementation of pure virtual functions...
|
||||
|
||||
using G4VSceneHandler::AddPrimitive;
|
||||
void AddPrimitive(const G4Polyline&);
|
||||
void AddPrimitive(const G4Text&);
|
||||
void AddPrimitive(const G4Circle&);
|
||||
@@ -110,9 +105,6 @@ public:
|
||||
// class methods if not otherwise defined to avoid warnings about
|
||||
// hiding of base class methods.
|
||||
void AddPrimitive(const G4Polymarker&);
|
||||
void AddPrimitive(const G4Scale& scale) {
|
||||
G4VSceneHandler::AddPrimitive (scale);
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////
|
||||
// Further optional virtual functions...
|
||||
|
||||
@@ -80,18 +80,10 @@ class G4HepRepSceneHandler: public G4VSceneHandler {
|
||||
void AddSolid (const G4Ellipsoid& ellipsoid);
|
||||
void AddSolid (const G4TessellatedSolid& tess);
|
||||
void AddSolid (const G4VSolid& solid);
|
||||
|
||||
|
||||
using G4VSceneHandler::AddCompound;
|
||||
void AddCompound (const G4VTrajectory&);
|
||||
void AddCompound (const G4VHit& hit);
|
||||
void AddCompound (const G4VDigi& digi) {
|
||||
G4VSceneHandler::AddCompound(digi);
|
||||
}
|
||||
void AddCompound (const G4THitsMap<G4double>& hits) {
|
||||
G4VSceneHandler::AddCompound(hits);
|
||||
}
|
||||
void AddCompound (const G4THitsMap<G4StatDouble>& hits) {
|
||||
G4VSceneHandler::AddCompound(hits);
|
||||
}
|
||||
|
||||
void PreAddSolid (const G4Transform3D& objectTransformation, const G4VisAttributes& visAttribs);
|
||||
void PostAddSolid ();
|
||||
|
||||
@@ -1,13 +1,8 @@
|
||||
#-----------------------------------------------------------------------
|
||||
# Module : G4visHepRep
|
||||
# Package: Geant4.src.G4visualization.G4visHepRep
|
||||
#-----------------------------------------------------------------------
|
||||
# - G4visHepRep module build definition
|
||||
|
||||
#
|
||||
# Define the Geant4 Module.
|
||||
#
|
||||
geant4_define_module(NAME G4visHepRep
|
||||
HEADERS
|
||||
geant4_add_module(G4visHepRep
|
||||
PUBLIC_HEADERS
|
||||
G4HepRep.hh
|
||||
G4HepRepFile.hh
|
||||
G4HepRepFileSceneHandler.hh
|
||||
@@ -47,31 +42,24 @@ geant4_define_module(NAME G4visHepRep
|
||||
XMLHepRepWriter.cc
|
||||
XMLWriter.cc
|
||||
ZipOutputStream.cc
|
||||
ZipOutputStreamBuffer.cc
|
||||
GRANULAR_DEPENDENCIES
|
||||
ZipOutputStreamBuffer.cc)
|
||||
|
||||
geant4_module_link_libraries(G4visHepRep
|
||||
PUBLIC
|
||||
G4csg
|
||||
G4geometrymng
|
||||
G4globman
|
||||
G4graphics_reps
|
||||
G4hits
|
||||
G4intercoms
|
||||
G4materials
|
||||
G4modeling
|
||||
G4specsolids
|
||||
G4tracking
|
||||
G4vis_management
|
||||
GLOBAL_DEPENDENCIES
|
||||
G4digits_hits
|
||||
G4geometry
|
||||
G4global
|
||||
G4graphics_reps
|
||||
G4globman
|
||||
G4intercoms
|
||||
G4materials
|
||||
G4modeling
|
||||
G4tracking
|
||||
G4vis_management
|
||||
LINK_LIBRARIES
|
||||
${ZLIB_LIBRARIES}
|
||||
)
|
||||
G4graphics_reps
|
||||
PRIVATE
|
||||
G4hepgeometry
|
||||
G4hits
|
||||
G4UIcommon
|
||||
G4tracking
|
||||
${ZLIB_LIBRARIES})
|
||||
|
||||
# List any source specific properties here
|
||||
|
||||
Reference in New Issue
Block a user