Import Geant4 10.7.0.beta source tree
This commit is contained in:
@@ -1,19 +1,6 @@
|
||||
#------------------------------------------------------------------------------
|
||||
# CMakeLists.txt
|
||||
# Module : G4VRML
|
||||
# Package: Geant4.src.G4visualization.G4VRML
|
||||
#
|
||||
# CMakeLists.txt for single level library that may be build global or granular
|
||||
#
|
||||
# Generated on : 24/9/2010
|
||||
#
|
||||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
include(Geant4MacroLibraryTargets)
|
||||
if(GEANT4_BUILD_GRANULAR_LIBS)
|
||||
GEANT4_GRANULAR_LIBRARY_TARGET(COMPONENT sources.cmake)
|
||||
else()
|
||||
GEANT4_GLOBAL_LIBRARY_TARGET(COMPONENTS sources.cmake)
|
||||
endif()
|
||||
|
||||
geant4_global_library_target(COMPONENTS sources.cmake)
|
||||
|
||||
@@ -18,6 +18,13 @@ committal in the CVS repository !
|
||||
|
||||
History file for visualization/VRML sub-category
|
||||
------------------------------------------------
|
||||
31 May 2020 Ben Morgan (VRML-V10-06-01)
|
||||
- Use add_definitions to set PRIVATE-level compile add_definitions
|
||||
for compatibility between old and new CMake systems
|
||||
|
||||
12 December Ben Morgan (VRML-V10-06-00)
|
||||
- Cleanup CMake build, removing obsolete granular library option and
|
||||
explicit include_directories.
|
||||
|
||||
29 August 2019 John Allison (VRML-V10-05-00)
|
||||
- Part of vis-V10-05-24.
|
||||
@@ -93,7 +100,7 @@ History file for visualization/VRML sub-category
|
||||
27th December 2010 John Allison (VRML-V09-04-00)
|
||||
- Tagged.
|
||||
|
||||
23, December L. Garnier
|
||||
23, December L. Garnier
|
||||
- GNUmakefile : Remove Qt stuff from Makefile
|
||||
|
||||
11 November 2010 Akinori Kimura (VRML-V09-03-01)
|
||||
@@ -142,7 +149,7 @@ VRML-V05-00-00 17th February 2003 Satoshi Tanaka
|
||||
VRML-V04-01-00 November 10 2002
|
||||
- Bug fixing for marker size (*.icc files)
|
||||
|
||||
VRML-V03-02-01 18th September 2001
|
||||
VRML-V03-02-01 18th September 2001
|
||||
- Updation for automatic visualization at Hebden Bridge mini-workshop.
|
||||
- Filename incrementation is made the same as the DAWNFILE driver
|
||||
|
||||
@@ -155,32 +162,32 @@ VRML-V01-00-00 27th December 1999 Satoshi Tanaka
|
||||
VRML-V00-01-01 4th November 1999 Satoshi Tanaka
|
||||
- Introduction of VRMLBeginModeling() for new vis commands
|
||||
|
||||
VRML-00-03-07 Satoshi TANAKA Dec 07, 1998
|
||||
- An environmental variable "G4VRML_VIEWER" is renames to
|
||||
VRML-00-03-07 Satoshi TANAKA Dec 07, 1998
|
||||
- An environmental variable "G4VRML_VIEWER" is renames to
|
||||
"G4VRMLFILE_VIEWER" for consistency.
|
||||
|
||||
VRML-00-03-06 Satoshi TANAKA Dec 04, 1998
|
||||
VRML-00-03-06 Satoshi TANAKA Dec 04, 1998
|
||||
- Maximun number of generated g4.wrl files in the destination
|
||||
directory is customizable as: "setenv G4VRMLFILE_MAX_FILE_NUM N"
|
||||
(N is the integer greater than or equal to 1. The default value is 1.)
|
||||
|
||||
VRML-00-03-04 Satoshi TANAKA Dec 03, 1998
|
||||
VRML-00-03-04 Satoshi TANAKA Dec 03, 1998
|
||||
- Bug fix of SetPVPickability();
|
||||
|
||||
VRML-00-03-03 Satoshi TANAKA Nov 30, 1998
|
||||
- Destination directiory of g4.wrl and g4_X.wrl is customizable
|
||||
VRML-00-03-03 Satoshi TANAKA Nov 30, 1998
|
||||
- Destination directiory of g4.wrl and g4_X.wrl is customizable
|
||||
with the environmental variable "G4VRMLFILE_DEST_DIR".
|
||||
|
||||
Unix:
|
||||
% setenv G4VRMLFILE_DEST_DIR directory_name/
|
||||
|
||||
For example,
|
||||
For example,
|
||||
|
||||
% setenv G4VRMLFILE_DEST_DIR /tmp/
|
||||
|
||||
Do not forget to add "/" at the end of the directory name.
|
||||
|
||||
NT:
|
||||
NT:
|
||||
DOS> set G4VRMLFILE_DEST_DIR directory_name\
|
||||
|
||||
Do not forget to add "\" at the end of the directory name.
|
||||
@@ -190,9 +197,9 @@ VRML-00-03-03 Satoshi TANAKA Nov 30, 1998
|
||||
OLD way: g4.wrl, g4_2.wrl, ..... , g4_100.wrl
|
||||
NEW way: g4.wrl, g4_1.wrl, g4_2.wrl, ..... , g4_100.wrl
|
||||
|
||||
Maximal number of files in one directory is restricted in order to
|
||||
Maximal number of files in one directory is restricted in order to
|
||||
avoid explosion of your hard disk. The maximal number is hard-coded.
|
||||
You can revise is by editing enum's of G4VRML1FILEScene.hh and
|
||||
You can revise is by editing enum's of G4VRML1FILEScene.hh and
|
||||
G4VRML2FILESchene.hh
|
||||
|
||||
Note that the incrementation is done as follows (pseudo codes)
|
||||
@@ -207,13 +214,13 @@ VRML-00-03-03 Satoshi TANAKA Nov 30, 1998
|
||||
It means that if you delete file "g4.wrl" in the destination directory,
|
||||
the file name in the next generation is still g4.wrl.
|
||||
|
||||
The JAVA application VRML/g4vrmlview/g4vrmlview.java
|
||||
The JAVA application VRML/g4vrmlview/g4vrmlview.java
|
||||
for network visualization is also updated.
|
||||
|
||||
|
||||
VRML-00-03-02 Satoshi TANAKA Nov 13, 1998
|
||||
VRML-00-03-02 Satoshi TANAKA Nov 13, 1998
|
||||
- Code refinement of VRML 2.0 driver
|
||||
- Pickability of Physical volume is controllable with
|
||||
- Pickability of Physical volume is controllable with
|
||||
setenv G4VRML_PV_PICKABLE 1/0
|
||||
- Nickname of VRML drivers are renames:
|
||||
(Old names were, e.g., "VRML1File")
|
||||
|
||||
@@ -1,121 +1,86 @@
|
||||
#------------------------------------------------------------------------------
|
||||
# sources.cmake
|
||||
# Module : G4VRML
|
||||
# Package: Geant4.src.G4visualization.G4VRML
|
||||
#
|
||||
# Sources description for a library.
|
||||
# Lists the sources and headers of the code explicitely.
|
||||
# Lists include paths needed.
|
||||
# Lists the internal granular and global dependencies of the library.
|
||||
# Source specific properties should be added at the end.
|
||||
#
|
||||
# Generated on : 24/9/2010
|
||||
#
|
||||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
# List external includes needed.
|
||||
include_directories(${CLHEP_INCLUDE_DIRS})
|
||||
include_directories(${USOLIDS_INCLUDE_DIRS})
|
||||
|
||||
# List internal includes needed.
|
||||
include_directories(${CMAKE_SOURCE_DIR}/source/digits_hits/hits/include)
|
||||
include_directories(${CMAKE_SOURCE_DIR}/source/geometry/management/include)
|
||||
include_directories(${CMAKE_SOURCE_DIR}/source/geometry/solids/CSG/include)
|
||||
include_directories(${CMAKE_SOURCE_DIR}/source/geometry/solids/specific/include)
|
||||
include_directories(${CMAKE_SOURCE_DIR}/source/global/HEPGeometry/include)
|
||||
include_directories(${CMAKE_SOURCE_DIR}/source/global/management/include)
|
||||
include_directories(${CMAKE_SOURCE_DIR}/source/graphics_reps/include)
|
||||
include_directories(${CMAKE_SOURCE_DIR}/source/intercoms/include)
|
||||
include_directories(${CMAKE_SOURCE_DIR}/source/visualization/management/include)
|
||||
include_directories(${CMAKE_SOURCE_DIR}/source/visualization/modeling/include)
|
||||
|
||||
|
||||
#
|
||||
# Module has optional sources
|
||||
#
|
||||
include(Geant4MacroDefineModule)
|
||||
|
||||
# List those always built
|
||||
set(G4VIS_VRML_MODULE_HEADERS
|
||||
G4VRML1File.hh
|
||||
G4VRML1FileSceneHandler.hh
|
||||
G4VRML1FileViewer.hh
|
||||
G4VRML2File.hh
|
||||
G4VRML2FileSceneHandler.hh
|
||||
G4VRML2FileViewer.hh)
|
||||
G4VRML1File.hh
|
||||
G4VRML1FileSceneHandler.hh
|
||||
G4VRML1FileViewer.hh
|
||||
G4VRML2File.hh
|
||||
G4VRML2FileSceneHandler.hh
|
||||
G4VRML2FileViewer.hh)
|
||||
|
||||
set(G4VIS_VRML_MODULE_SOURCES
|
||||
G4VRML1File.cc
|
||||
G4VRML1FileSceneHandler.cc
|
||||
G4VRML1FileViewer.cc
|
||||
G4VRML1SceneHandlerFunc.icc
|
||||
G4VRML2File.cc
|
||||
G4VRML2FileSceneHandler.cc
|
||||
G4VRML2FileViewer.cc
|
||||
G4VRML2SceneHandlerFunc.icc)
|
||||
G4VRML1File.cc
|
||||
G4VRML1FileSceneHandler.cc
|
||||
G4VRML1FileViewer.cc
|
||||
G4VRML1SceneHandlerFunc.icc
|
||||
G4VRML2File.cc
|
||||
G4VRML2FileSceneHandler.cc
|
||||
G4VRML2FileViewer.cc
|
||||
G4VRML2SceneHandlerFunc.icc)
|
||||
|
||||
#
|
||||
# VRML Network drivers only if user selected
|
||||
#
|
||||
if(GEANT4_USE_NETWORKVRML)
|
||||
list(APPEND G4VIS_VRML_MODULE_HEADERS
|
||||
FRClient.h
|
||||
G4FRClient.hh
|
||||
G4VRML1.hh
|
||||
G4VRML1SceneHandler.hh
|
||||
G4VRML1Viewer.hh
|
||||
G4VRML2.hh
|
||||
G4VRML2SceneHandler.hh
|
||||
G4VRML2Viewer.hh
|
||||
G4VRMLNetConfig.hh)
|
||||
list(APPEND G4VIS_VRML_MODULE_HEADERS
|
||||
FRClient.h
|
||||
G4FRClient.hh
|
||||
G4VRML1.hh
|
||||
G4VRML1SceneHandler.hh
|
||||
G4VRML1Viewer.hh
|
||||
G4VRML2.hh
|
||||
G4VRML2SceneHandler.hh
|
||||
G4VRML2Viewer.hh
|
||||
G4VRMLNetConfig.hh)
|
||||
|
||||
list(APPEND G4VIS_VRML_MODULE_SOURCES
|
||||
FRClient.cc
|
||||
G4FRClient.cc
|
||||
G4VRML1.cc
|
||||
G4VRML1SceneHandler.cc
|
||||
G4VRML1Viewer.cc
|
||||
G4VRML2.cc
|
||||
G4VRML2SceneHandler.cc
|
||||
G4VRML2Viewer.cc)
|
||||
list(APPEND G4VIS_VRML_MODULE_SOURCES
|
||||
FRClient.cc
|
||||
G4FRClient.cc
|
||||
G4VRML1.cc
|
||||
G4VRML1SceneHandler.cc
|
||||
G4VRML1Viewer.cc
|
||||
G4VRML2.cc
|
||||
G4VRML2SceneHandler.cc
|
||||
G4VRML2Viewer.cc)
|
||||
|
||||
#
|
||||
# Add extra needed defs here
|
||||
#
|
||||
GEANT4_ADD_COMPILE_DEFINITIONS(SOURCES ${G4VIS_VRML_MODULE_SOURCES}
|
||||
COMPILE_DEFINITIONS G4VIS_BUILD_VRML_DRIVER)
|
||||
#
|
||||
# Add extra needed defs here
|
||||
#
|
||||
add_definitions(-DG4VIS_BUILD_VRML_DRIVER)
|
||||
endif()
|
||||
|
||||
|
||||
#
|
||||
# Define the Geant4 Module.
|
||||
#
|
||||
GEANT4_DEFINE_MODULE(NAME G4VRML
|
||||
HEADERS
|
||||
${G4VIS_VRML_MODULE_HEADERS}
|
||||
SOURCES
|
||||
${G4VIS_VRML_MODULE_SOURCES}
|
||||
GRANULAR_DEPENDENCIES
|
||||
G4csg
|
||||
G4geometrymng
|
||||
G4globman
|
||||
G4graphics_reps
|
||||
G4hits
|
||||
G4intercoms
|
||||
G4modeling
|
||||
G4specsolids
|
||||
G4vis_management
|
||||
GLOBAL_DEPENDENCIES
|
||||
G4digits_hits
|
||||
G4geometry
|
||||
G4global
|
||||
G4graphics_reps
|
||||
G4intercoms
|
||||
G4modeling
|
||||
G4vis_management
|
||||
LINK_LIBRARIES
|
||||
geant4_define_module(NAME G4VRML
|
||||
HEADERS
|
||||
${G4VIS_VRML_MODULE_HEADERS}
|
||||
SOURCES
|
||||
${G4VIS_VRML_MODULE_SOURCES}
|
||||
GRANULAR_DEPENDENCIES
|
||||
G4csg
|
||||
G4geometrymng
|
||||
G4globman
|
||||
G4graphics_reps
|
||||
G4hits
|
||||
G4intercoms
|
||||
G4modeling
|
||||
G4specsolids
|
||||
G4vis_management
|
||||
GLOBAL_DEPENDENCIES
|
||||
G4digits_hits
|
||||
G4geometry
|
||||
G4global
|
||||
G4graphics_reps
|
||||
G4intercoms
|
||||
G4modeling
|
||||
G4vis_management
|
||||
)
|
||||
|
||||
# List any source specific properties here
|
||||
|
||||
|
||||
Reference in New Issue
Block a user