Geant4 Cross Reference |
1 # Category raytracer History 1 # Category raytracer History 2 2 3 See `CONTRIBUTING.rst` for details of **requir 3 See `CONTRIBUTING.rst` for details of **required** info/format for each entry, 4 which **must** added in reverse chronological 4 which **must** added in reverse chronological order (newest at the top). 5 It must **not** be used as a substitute for wr 5 It must **not** be used as a substitute for writing good git commit messages! 6 6 7 ---------------------------------------------- 7 ------------------------------------------------------------------------------- 8 8 9 ## 2023-03-22 Ben Morgan (raytracer-V11-01-01) 9 ## 2023-03-22 Ben Morgan (raytracer-V11-01-01) 10 - Export public compile definitions to indicat 10 - Export public compile definitions to indicate availablity of specific drivers. Moves to 11 "use on link" model. 11 "use on link" model. 12 12 13 ## 2023-02-06 Ben Morgan (raytracer-V11-01-00) 13 ## 2023-02-06 Ben Morgan (raytracer-V11-01-00) 14 - Isolate private headers and update dependenc 14 - Isolate private headers and update dependencies 15 15 16 ## 2022-11-25 Gabriele Cosmo (raytracer-V11-00 16 ## 2022-11-25 Gabriele Cosmo (raytracer-V11-00-06) 17 - Fixed compilation warnings for implicit type 17 - Fixed compilation warnings for implicit type conversions on macOS/XCode 14.1. 18 18 19 ## 2022-11-06 John Allison (raytracer-V11-00-0 19 ## 2022-11-06 John Allison (raytracer-V11-00-05) 20 - Eliminate G4cerr and introduce G4warn. 20 - Eliminate G4cerr and introduce G4warn. 21 - `#define G4warn G4cout` 21 - `#define G4warn G4cout` 22 - The above is temporary until a genuine G 22 - The above is temporary until a genuine G4warn output stream is 23 implemented. 23 implemented. 24 - Change G4cerr to G4warn in all cases. 24 - Change G4cerr to G4warn in all cases. 25 - Change G4cout to G4warn in those cases whe 25 - Change G4cout to G4warn in those cases where it is clearly 26 an error report or a warning. 26 an error report or a warning. 27 27 28 ## 2022-09-03 Ben Morgan (raytracer-V11-00-04) 28 ## 2022-09-03 Ben Morgan (raytracer-V11-00-04) 29 - Resolve inconsistencies in dependencies 29 - Resolve inconsistencies in dependencies 30 - Remove inclusion of headers for unused int 30 - Remove inclusion of headers for unused interfaces 31 - Remove unused dependencies 31 - Remove unused dependencies 32 - Add needed G4geometrymg dependency 32 - Add needed G4geometrymg dependency 33 33 34 ## 2022-04-07 Gabriele Cosmo (raytracer-V11-00 34 ## 2022-04-07 Gabriele Cosmo (raytracer-V11-00-03) 35 - Fixed GNUmakefile and source.cmake to add re 35 - Fixed GNUmakefile and source.cmake to add required granular dependencies on 36 "geometry/solids/CSG" and "geometry/solids/s 36 "geometry/solids/CSG" and "geometry/solids/specific" modules, introduced 37 in recent development. 37 in recent development. 38 38 39 ## 2022-03-22 Ben Morgan (raytracer-V11-00-02) 39 ## 2022-03-22 Ben Morgan (raytracer-V11-00-02) 40 - Use geant4_module_sources to add optional so 40 - Use geant4_module_sources to add optional sources 41 41 42 ## 2022-01-28 Ben Morgan (raytracer-V11-00-01) 42 ## 2022-01-28 Ben Morgan (raytracer-V11-00-01) 43 - Replace `geant4_global_library_target` with 43 - Replace `geant4_global_library_target` with direct file inclusion and 44 call to `geant4_add_category` to define libr 44 call to `geant4_add_category` to define library build from source modules. 45 - Rename DLL export symbol for locality to thi 45 - Rename DLL export symbol for locality to this module 46 - Make DLL export symbol a CMake module-level 46 - Make DLL export symbol a CMake module-level compile definition to aid 47 future modularization 47 future modularization 48 48 49 ## 2021-12-10 Ben Morgan (raytracer-V11-00-00) 49 ## 2021-12-10 Ben Morgan (raytracer-V11-00-00) 50 - Change to new Markdown History format 50 - Change to new Markdown History format 51 51 52 --- 52 --- 53 53 54 # History entries prior to 11.0 54 # History entries prior to 11.0 55 55 56 18 November 2021 John Allison (raytracer-V10 56 18 November 2021 John Allison (raytracer-V10-07-06) 57 - G4RayTracer.cc: Coverity fix: un-initialised 57 - G4RayTracer.cc: Coverity fix: un-initialised data member. 58 58 59 12 November 2021 - Ben Morgan (raytracer-V10-0 59 12 November 2021 - Ben Morgan (raytracer-V10-07-05) 60 - Retire G4VIS_... preprocessor symbols in too 60 - Retire G4VIS_... preprocessor symbols in toolkit build, only required 61 by obsolete GNUmake system 61 by obsolete GNUmake system 62 62 63 25 October 2021 Guy Barrand (raytracer-V10-07 63 25 October 2021 Guy Barrand (raytracer-V10-07-04) 64 - G4RayTracerSceneHandler.hh: to quiet g++ abo 64 - G4RayTracerSceneHandler.hh: to quiet g++ about "AddPrimitive(G4Plotter&)", have: 65 using G4VSceneHandler::AddPrimitive; 65 using G4VSceneHandler::AddPrimitive; 66 66 67 30 September 2021 John Allison (raytracer-V1 67 30 September 2021 John Allison (raytracer-V10-07-03) 68 - Remove instantiation of G4The(MT)RayTracer f 68 - Remove instantiation of G4The(MT)RayTracer from G4RayTracer. 69 - G4RayTracer is/should be a "pure factory". 69 - G4RayTracer is/should be a "pure factory". Its job is to instantiate 70 a scene handler or viewer on request. G4Th 70 a scene handler or viewer on request. G4The(MT)RayTracer should/need 71 only be instantiated when the viewer is in 71 only be instantiated when the viewer is instantiated. 72 - It is somewhat complicated by the need(?) 72 - It is somewhat complicated by the need(?) for G4TheMTRayTracer to be 73 a singleton - is that really required? Can 73 a singleton - is that really required? Cannot G4RTRun simply get the 74 current ray tracer? Anyway, singleton natu 74 current ray tracer? Anyway, singleton nature is preserved. 75 75 76 24 September 2021 John Allison (raytracer-V1 76 24 September 2021 John Allison (raytracer-V10-07-02) 77 - Make RayTracerX viewers "auto refresh". 77 - Make RayTracerX viewers "auto refresh". 78 - This means the ray tracer will start traci 78 - This means the ray tracer will start tracing immediately on opening 79 (`/vis/open RayTracerX`) and on any change 79 (`/vis/open RayTracerX`) and on any change of view parameters. 80 - In the past it was thought better to refre 80 - In the past it was thought better to refresh manually, to give opportunity 81 of adjusting the view first, but with the 81 of adjusting the view first, but with the introduction of using the 82 view parameters of the previously existing 82 view parameters of the previously existing viewer (visman-V10-07-20), 83 it is easy to choose a view with an OpenGL 83 it is easy to choose a view with an OpenGL viewer, say, then simply open 84 the ray tracer viewer. 84 the ray tracer viewer. 85 - Also, with the advent of multithreading, r 85 - Also, with the advent of multithreading, ray tracing is faster, so 86 adjusting and re-viewing is less tedious. 86 adjusting and re-viewing is less tedious. 87 - This only affects RayTracerX - plain RayTr 87 - This only affects RayTracerX - plain RayTracer is not affected. 88 - You may switch this feature off with `/vis 88 - You may switch this feature off with `/vis/viewer/set/auto-refresh false`. 89 89 90 30 June 2021 John Allison (raytracer-V10-07- 90 30 June 2021 John Allison (raytracer-V10-07-01) 91 - Requires greps-V10-07-09, modeling-V10-07-11 91 - Requires greps-V10-07-09, modeling-V10-07-11 and visman-V10-07-11. 92 - Revise vis models. See visualization/modelin 92 - Revise vis models. See visualization/modeling/History for more details. 93 - Consequent changes: 93 - Consequent changes: 94 o AddPrimitive(const G4Scale&) has been remo 94 o AddPrimitive(const G4Scale&) has been removed from all scene handlers. 95 95 96 15th April 2021 Ben Morgan (raytracer-V10-07-0 96 15th April 2021 Ben Morgan (raytracer-V10-07-00) 97 - Migrate to modular CMake build 97 - Migrate to modular CMake build 98 98 99 20th October 2020 Jonathan Madsen (raytracer- 99 20th October 2020 Jonathan Madsen (raytracer-V10-06-03) 100 - Implemented G4RunManagerFactory::GetMasterRu 100 - Implemented G4RunManagerFactory::GetMasterRunManager() 101 101 102 10th August 2020 John Allison (raytracer-V10- 102 10th August 2020 John Allison (raytracer-V10-06-02) 103 - G4TheMTRayTracer.cc: 103 - G4TheMTRayTracer.cc: 104 o Suppress printing during RayTracer run. Ke 104 o Suppress printing during RayTracer run. Keep current verbosity and 105 printProgress, then 105 printProgress, then 106 G4UImanager::GetUIpointer()->ApplyComman 106 G4UImanager::GetUIpointer()->ApplyCommand("/run/verbose 0"); 107 G4UImanager::GetUIpointer()->ApplyComman 107 G4UImanager::GetUIpointer()->ApplyCommand("/run/printProgress 0"); 108 then restore after. 108 then restore after. 109 109 110 31 May 2020 Ben Morgan (raytracer-V10-06-01) 110 31 May 2020 Ben Morgan (raytracer-V10-06-01) 111 - Use add_definitions to set PRIVATE-level com 111 - Use add_definitions to set PRIVATE-level compile add_definitions 112 for compatibility between old and new CMake 112 for compatibility between old and new CMake systems 113 113 114 12 December 2019 Ben Morgan (raytracer-V10-06- 114 12 December 2019 Ben Morgan (raytracer-V10-06-00) 115 - Cleanup CMake build, removing obsolete granu 115 - Cleanup CMake build, removing obsolete granular library option and 116 explicit include_directories. 116 explicit include_directories. 117 117 118 15th November 2019, Gabriele Cosmo (raytracer- 118 15th November 2019, Gabriele Cosmo (raytracer-V10-05-01) 119 - Fixed cases of implicit type conversions fro 119 - Fixed cases of implicit type conversions from size_t to G4int. 120 120 121 25th October 2019 Ben Morgan (raytracer-V10-05 121 25th October 2019 Ben Morgan (raytracer-V10-05-00) 122 - Link to X11 imported targets when building X 122 - Link to X11 imported targets when building X11 driver 123 123 124 9th November 2018 Gabriele Cosmo (raytracer-V 124 9th November 2018 Gabriele Cosmo (raytracer-V10-04-04) 125 - G4RTMessenger: fixed printout typos. 125 - G4RTMessenger: fixed printout typos. 126 126 127 24th October 2018 John Allison (raytracer-V10 127 24th October 2018 John Allison (raytracer-V10-04-03) 128 - G4RayTracerSceneHandler::BuildVisAttsMap: 128 - G4RayTracerSceneHandler::BuildVisAttsMap: 129 o Use name,copyNo constructor of G4ModelingP 129 o Use name,copyNo constructor of G4ModelingParameters::PVPointerCopyNo. 130 (The nodeID constructor was removed in mod 130 (The nodeID constructor was removed in modeling-V10-04-15). 131 131 132 17th May 2018 Jonathan Madsen (raytracer-V10- 132 17th May 2018 Jonathan Madsen (raytracer-V10-04-01) 133 - updated "thread-local-static-var" model to 133 - updated "thread-local-static-var" model to 134 "function-returning-thread-local-static-refe 134 "function-returning-thread-local-static-reference" model 135 which fixes Windows DLL + MT 135 which fixes Windows DLL + MT 136 136 137 20th March 2018 Makoto Asai (raytracer-V10-04 137 20th March 2018 Makoto Asai (raytracer-V10-04-00) 138 - G4RayTrajectory.cc 138 - G4RayTrajectory.cc 139 o Use HyperStep of G4ParallelWorldProcess to 139 o Use HyperStep of G4ParallelWorldProcess to draw volumes 140 defined in a parallel world. 140 defined in a parallel world. 141 o sources.cmake and GNUmakefile are modified 141 o sources.cmake and GNUmakefile are modified accordingly. 142 142 143 7th May 2017 John Allison (raytracer-V10-03-0 143 7th May 2017 John Allison (raytracer-V10-03-04) 144 - G4RayTracerViewer.cc: 144 - G4RayTracerViewer.cc: 145 o Expanded filename numbering to 4 digits, z 145 o Expanded filename numbering to 4 digits, zero filled, e.g., 146 g4RayTracer.viewer-1_0000.jpeg 146 g4RayTracer.viewer-1_0000.jpeg 147 g4RayTracer.viewer-1_0001.jpeg 147 g4RayTracer.viewer-1_0001.jpeg 148 etc. 148 etc. 149 o Useful for producing many files for a movi 149 o Useful for producing many files for a movie. 150 150 151 5th May 2017 John Allison (raytracer-V10-03-0 151 5th May 2017 John Allison (raytracer-V10-03-03) 152 - Pick up vis attributes of the geometry from 152 - Pick up vis attributes of the geometry from the vis scene (G4Scene). 153 Make a map of the vis attributes by touchabl 153 Make a map of the vis attributes by touchable path from the G4Scene in 154 G4RayTracerSceneHandler. When a touchable is 154 G4RayTracerSceneHandler. When a touchable is encountered in the Ray 155 Tracer, pick up the vis attributes from the 155 Tracer, pick up the vis attributes from the map instead of from the 156 geometry tree. For simple use, for example 156 geometry tree. For simple use, for example 157 /vis/open RayTracer # or RayTracerX 157 /vis/open RayTracer # or RayTracerX 158 /vis/drawVolume 158 /vis/drawVolume 159 /vis/viewer/flush 159 /vis/viewer/flush 160 the result will be the same as before. But w 160 the result will be the same as before. But when a user selects a 161 sub-component, for example 161 sub-component, for example 162 /vs/drawVolume Shape1 162 /vs/drawVolume Shape1 163 the Ray Tracer will now draw only Shape1. Th 163 the Ray Tracer will now draw only Shape1. The Ray Tracer will also 164 follow changes made in other viewers by copy 164 follow changes made in other viewers by copying the view. For example 165 the user can chose a viewing angle and zoom, 165 the user can chose a viewing angle and zoom, and change the visibility 166 and colour of volumes, using, say, a Qt view 166 and colour of volumes, using, say, a Qt viewer (say viewer-0), and see 167 the effect in the Ray Tracer: 167 the effect in the Ray Tracer: 168 /vis/open RayTracer # Gets the same scene 168 /vis/open RayTracer # Gets the same scene as the Qt viewer 169 /vis/viewer/copyViewFrom viewer-0 # Copie 169 /vis/viewer/copyViewFrom viewer-0 # Copies camera parameters, or... 170 /vis/viewer/set/all viewer-0 # ...co 170 /vis/viewer/set/all viewer-0 # ...copies all parameters 171 /vis/viewerflush 171 /vis/viewerflush 172 172 173 19th February 2017 John Allison (raytracer-V1 173 19th February 2017 John Allison (raytracer-V10-03-02) 174 - G4RTXScanner.cc: 174 - G4RTXScanner.cc: 175 o Changed back to XA_RGB_BEST_MAP. (I don't 175 o Changed back to XA_RGB_BEST_MAP. (I don't know what was going on 176 but it seems OK now.) 176 but it seems OK now.) 177 - G4RayTracer.cc and G4RayTracerViewer.cc: 177 - G4RayTracer.cc and G4RayTracerViewer.cc: 178 o The ray tracer pointer is now passed from 178 o The ray tracer pointer is now passed from G4RayTracer to 179 G4RayTracerViewer so that there is no need 179 G4RayTracerViewer so that there is no need to instantiate it there. 180 This works for both sequential and MT mode 180 This works for both sequential and MT modes. (G4RayTracerViewer.cc 181 no longer has any need for special action 181 no longer has any need for special action for G4MULTITHREADED - it 182 is all done in G4RayTracer.cc.) 182 is all done in G4RayTracer.cc.) 183 o Introduced G4RayTracerViewer::Initialise. 183 o Introduced G4RayTracerViewer::Initialise. Fixes a bug whereby the 184 jpeg for RayTracer was always 600x600. 184 jpeg for RayTracer was always 600x600. 185 185 186 22nd February 2017 John Allison (raytracer-V1 186 22nd February 2017 John Allison (raytracer-V10-03-00) 187 - G4RTXScanner.cc: Changed XA_RGB_BEST_MAP to 187 - G4RTXScanner.cc: Changed XA_RGB_BEST_MAP to XA_RGB_DEFAULT_MAP. 188 (It seems XA_RGB_BEST_MAP no longer availabl 188 (It seems XA_RGB_BEST_MAP no longer available on Mac XQuartz 2.7.11.) 189 189 190 31st August 2016 John Allison (raytracer-V10- 190 31st August 2016 John Allison (raytracer-V10-02-01) 191 - Fix G4Orb and G4Ellipsoid hiding warnings. 191 - Fix G4Orb and G4Ellipsoid hiding warnings. 192 192 193 2nd May 2016 John Allison (raytracer-V10-02-0 193 2nd May 2016 John Allison (raytracer-V10-02-00) 194 - G4RTJpegCoder.cc: Fixed gcc-6.1 warning. 194 - G4RTJpegCoder.cc: Fixed gcc-6.1 warning. 195 195 196 2nd February 2015 Gabriele Cosmo (raytracer-V 196 2nd February 2015 Gabriele Cosmo (raytracer-V10-01-00) 197 - Fix to sources.cmake script to include missi 197 - Fix to sources.cmake script to include missing dependency on external library. 198 198 199 20th November 2014 Makoto Asai (raytracer-V10 199 20th November 2014 Makoto Asai (raytracer-V10-00-00) 200 - Fixes for Coverity. 200 - Fixes for Coverity. 201 201 202 15th November 2013 John Allison (raytracer-V0 202 15th November 2013 John Allison (raytracer-V09-06-07) 203 - Some changes as suggested by PVS. 203 - Some changes as suggested by PVS. 204 - Fixes for Coverity. 204 - Fixes for Coverity. 205 205 206 20th September 2013 Gabriele Cosmo (raytracer- 206 20th September 2013 Gabriele Cosmo (raytracer-V09-06-06) 207 - Fixed GNUmakefile. Added dependency on "run" 207 - Fixed GNUmakefile. Added dependency on "run" category... 208 208 209 19th September 2013 Makoto Asai (raytracer-V09 209 19th September 2013 Makoto Asai (raytracer-V09-06-05) 210 - Removed unused variable in G4RTPrimaryGenera 210 - Removed unused variable in G4RTPrimaryGeneratorAction.hh. 211 211 212 19th September 2013 Makoto Asai (raytracer-V09 212 19th September 2013 Makoto Asai (raytracer-V09-06-04) 213 - Both G4TheRayTracer and G4TheMTRayTracer inv 213 - Both G4TheRayTracer and G4TheMTRayTracer invoke G4VVisManager::IgnoreStateChanges() 214 method to avoid unnecessary state-change han 214 method to avoid unnecessary state-change handling. 215 - Co-working with greps-V09-06-10. 215 - Co-working with greps-V09-06-10. 216 216 217 17th September 2013 Makoto Asai (raytracer-V09 217 17th September 2013 Makoto Asai (raytracer-V09-06-03) 218 - Introducing G4TheMTRayTracer that is multi-t 218 - Introducing G4TheMTRayTracer that is multi-threaded. 219 - Co-working with run-V09-06-100 and greps-V09 219 - Co-working with run-V09-06-100 and greps-V09-06-09. 220 220 221 15th September 2013 Makoto Asai (raytracer-V09 221 15th September 2013 Makoto Asai (raytracer-V09-06-02) 222 - Move data member of G4RTSteppingAction stati 222 - Move data member of G4RTSteppingAction static. Preparation toward 223 making G4TheRayTracer class multi-threaded. 223 making G4TheRayTracer class multi-threaded. 224 224 225 16th June 2013 Makoto Asai (raytracer-V09-06- 225 16th June 2013 Makoto Asai (raytracer-V09-06-01) 226 - Make G4RayTrajectory and G4RayTrajectoryPoin 226 - Make G4RayTrajectory and G4RayTrajectoryPoint classes thread safe. 227 227 228 2nd December 2012 John Allison (raytracer-V0 228 2nd December 2012 John Allison (raytracer-V09-06-00) 229 - Removed NURBS and references to i_mode. 229 - Removed NURBS and references to i_mode. 230 230 231 5th July 2012 Gabriele Cosmo (raytracer-V09- 231 5th July 2012 Gabriele Cosmo (raytracer-V09-05-05) 232 - Explicitly use inclusion of headers for syst 232 - Explicitly use inclusion of headers for system of units and physical 233 constants, in plan to remove implicit inclus 233 constants, in plan to remove implicit inclusion from globals.hh. 234 234 235 3rd July 2012 John Allison (raytracer-V09-05 235 3rd July 2012 John Allison (raytracer-V09-05-04) 236 - Fixed some Coverity warnings. 236 - Fixed some Coverity warnings. 237 237 238 3rd July 2012 John Allison (raytracer-V09-05 238 3rd July 2012 John Allison (raytracer-V09-05-03) 239 - Tagged a fix: uses std::sqrt. 239 - Tagged a fix: uses std::sqrt. 240 240 241 8th June 2012 John Allison (raytracer-V09-05 241 8th June 2012 John Allison (raytracer-V09-05-02) 242 - Shadow clean. 242 - Shadow clean. 243 243 244 8th February 2012 John Allison (raytracer-V0 244 8th February 2012 John Allison (raytracer-V09-05-01) 245 - G4RayTracerViewer.cc, G4TheRayTracer.hh/cc: 245 - G4RayTracerViewer.cc, G4TheRayTracer.hh/cc: 246 Adopt fix proposed by jasondet@gmail.com to 246 Adopt fix proposed by jasondet@gmail.com to fix Bug #1274. 247 - G4RayTracerViewer.cc: 247 - G4RayTracerViewer.cc: 248 o Move window size hints to constructor from 248 o Move window size hints to constructor from SetView, so that 249 NColumn/Row are never changed, even if win 249 NColumn/Row are never changed, even if window size hints change 250 (e.g., as a result of /vis/viewer/set/all) 250 (e.g., as a result of /vis/viewer/set/all). It is not possible to 251 change NColumn/Row after instantiation. 251 change NColumn/Row after instantiation. 252 - G4TheRayTracer.cc: 252 - G4TheRayTracer.cc: 253 o Ensure unit vector for the ray shooter. ( 253 o Ensure unit vector for the ray shooter. (Otherwise it can cause a 254 G4Exception in G4ParticleChange::CheckIt.) 254 G4Exception in G4ParticleChange::CheckIt.) 255 255 256 7th February 2012 John Allison (raytracer-V0 256 7th February 2012 John Allison (raytracer-V09-05-00) 257 - G4RayTracerViewer.cc: 257 - G4RayTracerViewer.cc: 258 o G4RayTracerViewer::SetView: Fix up-vector 258 o G4RayTracerViewer::SetView: Fix up-vector bug #1274. 259 o Move window size hints to constructor from 259 o Move window size hints to constructor from SetView, so that 260 NColumn/Row are never changed, even if win 260 NColumn/Row are never changed, even if window size hints change 261 (e.g., as a result of /vis/viewer/set/all) 261 (e.g., as a result of /vis/viewer/set/all). It is not possible to 262 change NColumn/Row after instantiation. 262 change NColumn/Row after instantiation. 263 - G4TheRayTracer.cc: 263 - G4TheRayTracer.cc: 264 o Ensure unit vector for the ray shooter. ( 264 o Ensure unit vector for the ray shooter. (Otherwise it can cause a 265 G4Exception in G4ParticleChange::CheckIt.) 265 G4Exception in G4ParticleChange::CheckIt.) 266 266 267 17th June 2011 Ben Morgan (raytracer-V09-04-04 267 17th June 2011 Ben Morgan (raytracer-V09-04-04) 268 - sources.cmake : Changed to use GEANT4_USE_RA 268 - sources.cmake : Changed to use GEANT4_USE_RAYTRACER_X11 variable. 269 269 270 24th May 2011 Ben Morgan (raytracer-V09-04-03) 270 24th May 2011 Ben Morgan (raytracer-V09-04-03) 271 - sources.cmake : Added additional includes, d 271 - sources.cmake : Added additional includes, definitions and link libraries 272 to build X11 component of RayTracer, if it's 272 to build X11 component of RayTracer, if it's enabled by the user. 273 CMake functionality added to trunk at revisi 273 CMake functionality added to trunk at revision 49996. 274 274 275 20th May 2011 Ben Morgan (raytracer-V09-04-02 275 20th May 2011 Ben Morgan (raytracer-V09-04-02) 276 - CMakeLists.txt : Added G4VIS_ALLOC_EXPORT co 276 - CMakeLists.txt : Added G4VIS_ALLOC_EXPORT compiler definition via 277 add_definitions so it's applied to all sourc 277 add_definitions so it's applied to all sources in this module. We 278 don't add this definition at the visualizati 278 don't add this definition at the visualization category level because 279 only raytracer uses it. It can be moved high 279 only raytracer uses it. It can be moved higher later. 280 280 281 2nd March 2011 John Allison (raytracer-V09-04 281 2nd March 2011 John Allison (raytracer-V09-04-01) 282 - Fix bug introduced by fix to Coverity warnin 282 - Fix bug introduced by fix to Coverity warnings. 283 283 284 1st March 2011 John Allison (raytracer-V09-04 284 1st March 2011 John Allison (raytracer-V09-04-00) 285 - G4RayTracerViewer::DrawView: Trap recursive 285 - G4RayTracerViewer::DrawView: Trap recursive calls, thus avoiding 286 warning messages for each pixel when endOfEv 286 warning messages for each pixel when endOfEventAction is "refresh". 287 EndOfEventAction is not relevant for Ray Tra 287 EndOfEventAction is not relevant for Ray Tracer. At the present 288 time, Ray Tracer takes no notice of the scen 288 time, Ray Tracer takes no notice of the scene. Perhaps in future, 289 it will, but G4RayTracerViewer should still 289 it will, but G4RayTracerViewer should still ignore those recursive 290 calls. 290 calls. 291 - Fix Coverity warnings. 291 - Fix Coverity warnings. 292 292 293 23, December L. Garnier 293 23, December L. Garnier 294 - GNUmakefile : Remove OpenGL/Qt stuff from Ma 294 - GNUmakefile : Remove OpenGL/Qt stuff from Makefile 295 295 296 27th October 2010 Gabriele Cosmo (raytracer-V 296 27th October 2010 Gabriele Cosmo (raytracer-V09-03-04) 297 - Restored DLL setup as originally. Withdrawn 297 - Restored DLL setup as originally. Withdrawn changes in last tag. 298 298 299 19th October 2010 Gabriele Cosmo (raytracer-V 299 19th October 2010 Gabriele Cosmo (raytracer-V09-03-03) 300 - Replaced G4VIS_ALLOC_EXPORT flag with G4ALLO 300 - Replaced G4VIS_ALLOC_EXPORT flag with G4ALLOC_EXPORT for DLL exported 301 symbols. 301 symbols. 302 302 303 14th June 2010 Gabriele Cosmo (raytracer-V09 303 14th June 2010 Gabriele Cosmo (raytracer-V09-03-02) 304 - Added missing virtual destructor to G4VRTSca 304 - Added missing virtual destructor to G4VRTScanner, G4RTXScanner and 305 G4RTSimpleScanner. 305 G4RTSimpleScanner. 306 306 307 30th May 2010 John Allison (raytracer-V09-03 307 30th May 2010 John Allison (raytracer-V09-03-01) 308 - G4RayTracerSceneHandler: Added AddCompound(c 308 - G4RayTracerSceneHandler: Added AddCompound(const G4VDigi&). 309 309 310 29th May 2010 John Allison (raytracer-V09-03 310 29th May 2010 John Allison (raytracer-V09-03-00) 311 - G4RayTrajectory.hh: Added DrawTrajectory() r 311 - G4RayTrajectory.hh: Added DrawTrajectory() ready for i_mode migration. 312 312 313 15th November 2009 John Allison (raytracer-V 313 15th November 2009 John Allison (raytracer-V09-02-02) 314 - Formal tag to record fixing of bugzilla Prob 314 - Formal tag to record fixing of bugzilla Problem 1072. 315 o There is no change of source code. 315 o There is no change of source code. 316 o This was actullay fixed in raytracer-V09-0 316 o This was actullay fixed in raytracer-V09-02-00, which is already accepted. 317 317 318 21st October 2009 John Allison (raytracer-V0 318 21st October 2009 John Allison (raytracer-V09-02-01 coworks greps-V09-02-02) 319 - Added AddCompound (const G4THitsMap<G4double 319 - Added AddCompound (const G4THitsMap<G4double>&) methods. 320 o Prevents warnings about hiding - calls G4V 320 o Prevents warnings about hiding - calls G4VSceneHandler base class. 321 321 322 16 September 2009 John Allison (raytracer-V0 322 16 September 2009 John Allison (raytracer-V09-02-00) 323 - Cosmetic adjustments and tagging. 323 - Cosmetic adjustments and tagging. 324 324 325 19 August 2009 Laurent Garnier 325 19 August 2009 Laurent Garnier 326 - G4RayTracerViewer.cc, G4RayTracerXViewer.cc 326 - G4RayTracerViewer.cc, G4RayTracerXViewer.cc : Fix an bad use of fVP 327 parameters [bugzilla Problem 1072] 327 parameters [bugzilla Problem 1072] 328 328 329 18 August 2009 Laurent Garnier 329 18 August 2009 Laurent Garnier 330 - G4RayTracerXViewer, G4RTXScanner : Fix a cra 330 - G4RayTracerXViewer, G4RTXScanner : Fix a crash introduce by the 331 new way of handling window size hints (Janua 331 new way of handling window size hints (January 2009) 332 332 333 4th April 2008 John Allison (raytracer-V09-0 333 4th April 2008 John Allison (raytracer-V09-01-00) 334 - Fixed gcc-4.3.0 compiler warnings. 334 - Fixed gcc-4.3.0 compiler warnings. 335 335 336 14th June 2007 John Allison (raytracer-V08-0 336 14th June 2007 John Allison (raytracer-V08-03-01) 337 - Fixed memory leak in G4RayTracer (wrapper cl 337 - Fixed memory leak in G4RayTracer (wrapper class). 338 338 339 22nd May 2007 John Allison (raytracer-V08-03 339 22nd May 2007 John Allison (raytracer-V08-03-00) 340 - Fixed for dubious ValGrind diagnostic showin 340 - Fixed for dubious ValGrind diagnostic showing apparent memory leak in 341 G4RTSimpleScanner and G4RTXScanner. 341 G4RTSimpleScanner and G4RTXScanner. 342 342 343 5th January 2007 John Allison (raytracer-V08 343 5th January 2007 John Allison (raytracer-V08-02-00) 344 - Bug fix: use of window size hints. 344 - Bug fix: use of window size hints. 345 345 346 17th November 2006 Joseph Perl (raytracer-V0 346 17th November 2006 Joseph Perl (raytracer-V08-01-02) 347 - Deprecate /vis/rayTracer/backgroundColour. 347 - Deprecate /vis/rayTracer/backgroundColour. 348 - Hasn't worked for some time anyway. 348 - Hasn't worked for some time anyway. 349 - Users are instead referred to /vis/viewer/se 349 - Users are instead referred to /vis/viewer/set/background. 350 350 351 14th November 2006 John Allison (raytracer-V 351 14th November 2006 John Allison (raytracer-V08-01-01) 352 - Merged raytracer-V08-01-00-branch onto main 352 - Merged raytracer-V08-01-00-branch onto main branch. 353 353 354 11th November 2006 John Allison (raytracer-V 354 11th November 2006 John Allison (raytracer-V08-01-00-00) 355 - Followed change to G4Scene. 355 - Followed change to G4Scene. 356 356 357 14th August 2006 John Allison (raytracer-V08 357 14th August 2006 John Allison (raytracer-V08-01-00) 358 - G4RayTracerSceneHandler.cc: Added world to d 358 - G4RayTracerSceneHandler.cc: Added world to dummy scene to improve 359 robustness when under control of vis manager 359 robustness when under control of vis manager. 360 360 361 12th May 2006 John Allison (raytracer-V08-00 361 12th May 2006 John Allison (raytracer-V08-00-04) 362 - SetRecomputeTransients(false). 362 - SetRecomputeTransients(false). 363 363 364 10th May 2006 Makoto Asai (raytracer-V08-00-0 364 10th May 2006 Makoto Asai (raytracer-V08-00-03) 365 - Remove G4RayShooter class to Event category. 365 - Remove G4RayShooter class to Event category. 366 366 367 21st April 2006 John Allison (raytracer-V08- 367 21st April 2006 John Allison (raytracer-V08-00-02) 368 - Relies on improved protection for null model 368 - Relies on improved protection for null models and parameters. 369 369 370 26th January 2006 John Allison (raytracer-V0 370 26th January 2006 John Allison (raytracer-V08-00-01) 371 - G4RayTracerSceneHandler: Improved handling o 371 - G4RayTracerSceneHandler: Improved handling of dummy scene. 372 - G4TheRayTracer: Advance work for possible in 372 - G4TheRayTracer: Advance work for possible inclusion of 373 anti-aliasing. Currently no change of funct 373 anti-aliasing. Currently no change of functionality. 374 374 375 11th January 2006 John Allison (raytracer-V0 375 11th January 2006 John Allison (raytracer-V08-00-00) 376 - Reorganisation (needs visman-V08-00-02): 376 - Reorganisation (needs visman-V08-00-02): 377 o Allowed multiple ray tracers. 377 o Allowed multiple ray tracers. 378 o Separated out the original ray tracer into 378 o Separated out the original ray tracer into G4TheRayTracer, to be 379 used by viewers. 379 used by viewers. 380 o Made G4RTMessenger a smart singleton that 380 o Made G4RTMessenger a smart singleton that queries the vis manager 381 for tracers. 381 for tracers. 382 o Caused G4RayTracer to instantiate a defaul 382 o Caused G4RayTracer to instantiate a default ray tracer if the user 383 wants to use /vis/rayTracer commands witho 383 wants to use /vis/rayTracer commands without the benefit of the 384 vis system (scene handlers and viewers). 384 vis system (scene handlers and viewers). 385 385 386 4th December 2005 Makoto Asai (raytracer-V07- 386 4th December 2005 Makoto Asai (raytracer-V07-01-08) 387 - Correct initialization of G4RTTrackingAction 387 - Correct initialization of G4RTTrackingAction and G4RTSteppingAction 388 388 389 28th November 2005 Jane Tinslay (raytracer-V0 389 28th November 2005 Jane Tinslay (raytracer-V07-01-07) 390 - Remove names of unused parameters to stop co 390 - Remove names of unused parameters to stop compiler warnings 391 391 392 18th November 2005 John Allison (raytracer-V 392 18th November 2005 John Allison (raytracer-V07-01-06) 393 - Merged in raytracer-V07-01-04 - see below. 393 - Merged in raytracer-V07-01-04 - see below. 394 - Implemented window positioning. 394 - Implemented window positioning. 395 395 396 28th October 2005 Makoto Asai (raytracer-V07- 396 28th October 2005 Makoto Asai (raytracer-V07-01-05) 397 - Working tag for merging "envelope" into G4Re 397 - Working tag for merging "envelope" into G4Region. 398 - This tag does not contain raytracer-V07-01-0 398 - This tag does not contain raytracer-V07-01-04 tag that might be 399 already done by J. Allison but does not yet 399 already done by J. Allison but does not yet appear on this file. 400 400 401 13th October September 2005 John Allison (ray 401 13th October September 2005 John Allison (raytracer-V07-01-04) 402 (On branch raytracer-V07-01-01-branch; changes 402 (On branch raytracer-V07-01-01-branch; changes *not* merged into head - 403 need to cvs update -j raytracer-V07-01-02 -j r 403 need to cvs update -j raytracer-V07-01-02 -j raytracer-V07-01-01-branch.) 404 - Migrated to <sstream>. 404 - Migrated to <sstream>. 405 - Default background black - can be changed by 405 - Default background black - can be changed by /vis/viewer/set/background. 406 - GNUmakefile: Removed temporary CPPFLAGS += - 406 - GNUmakefile: Removed temporary CPPFLAGS += -DG4VIS_BUILD_RAYTRACERX_DRIVER. 407 407 408 30th September 2005 Joseph Perl (raytracer-V0 408 30th September 2005 Joseph Perl (raytracer-V07-01-03) 409 New tag to include change Makoto made an hour 409 New tag to include change Makoto made an hour after V07-01-02 was tagged. 410 Change seems to just involve passing pWorld to 410 Change seems to just involve passing pWorld to material list where no argument was passed in previous version. 411 411 412 16th September 2005 John Allison (raytracer-V 412 16th September 2005 John Allison (raytracer-V07-01-02) 413 (On branch raytracer-V07-01-01-branch; changes 413 (On branch raytracer-V07-01-01-branch; changes merged into head.) 414 - Bug fix (black holes): Made small epsilon pu 414 - Bug fix (black holes): Made small epsilon push into world to ensure inside. 415 415 416 20th July 2005 John Allison (raytracer-V07-01 416 20th July 2005 John Allison (raytracer-V07-01-01) 417 - Protected RayTracerX by G4VIS macro. 417 - Protected RayTracerX by G4VIS macro. 418 418 419 17th July 2005 John Allison (raytracer-V07-01 419 17th July 2005 John Allison (raytracer-V07-01-00) 420 - Introduced RayTracerX. RayTracerX opens an 420 - Introduced RayTracerX. RayTracerX opens an X window and builds up 421 the picture, refining it gradually. Already 421 the picture, refining it gradually. Already calculated pixels are 422 not recalculated, so it is as efficient as a 422 not recalculated, so it is as efficient as a top-to-bottom raster 423 scan. It produces a jpeg file as well, just 423 scan. It produces a jpeg file as well, just like RayTracer. 424 424 425 11th June 2004 Gabriele Cosmo (raytracer-V06 425 11th June 2004 Gabriele Cosmo (raytracer-V06-01-00) 426 - Use global flag G4VIS_ALLOC_EXPORT to export 426 - Use global flag G4VIS_ALLOC_EXPORT to export extern symbols for DLLs. 427 Modified GNUmakefile and rearranged usage of 427 Modified GNUmakefile and rearranged usage of extern symbols in classes. 428 428 429 12th November 2003 Mark Donszelmann 429 12th November 2003 Mark Donszelmann 430 - GNUmakefile: added Modeling/include director 430 - GNUmakefile: added Modeling/include directory to compile on Windows. 431 431 432 6th November 2003 John Allison (raytracer-V0 432 6th November 2003 John Allison (raytracer-V05-02-04, vis-V05-02-03) 433 - GNUmakefile: rationalised. 433 - GNUmakefile: rationalised. 434 434 435 4th October 2003 Gabriele Cosmo (raytracer-V 435 4th October 2003 Gabriele Cosmo (raytracer-V05-02-03) 436 - GNUmakefile: 436 - GNUmakefile: 437 o added dependency to new module "geometry/n 437 o added dependency to new module "geometry/navigation". 438 o replaced "digits+hits" with "digits_hits". 438 o replaced "digits+hits" with "digits_hits". 439 - Coworks with "geometry-V05-02-00" and "digit 439 - Coworks with "geometry-V05-02-00" and "digits_hits-V05-02-00". 440 440 441 25th September 2003 Hisaya Kurashige (raytra 441 25th September 2003 Hisaya Kurashige (raytracer-V05-02-02) 442 - Modify GNUmakefile to use processes/cuts cat 442 - Modify GNUmakefile to use processes/cuts category 443 443 444 18th September 2003 John Allison (raytracer- 444 18th September 2003 John Allison (raytracer-V05-02-01, greps-V05-02-00) 445 - Introduced G4VRTScanner and its default conc 445 - Introduced G4VRTScanner and its default concrete implementation, 446 G4RTSimpleScanner. It controls the shooting 446 G4RTSimpleScanner. It controls the shooting order of rays. 447 - Added new command /vis/rayTracer/backgroundC 447 - Added new command /vis/rayTracer/backgroundColour. 448 448 449 4th August 2003 Makoto Asai (raytracer-V05-0 449 4th August 2003 Makoto Asai (raytracer-V05-02-00) 450 - Migrate to the changes with "Cuts per region 450 - Migrate to the changes with "Cuts per region" 451 451 452 18th June 2003 Gabriele Cosmo (raytracer-V05 452 18th June 2003 Gabriele Cosmo (raytracer-V05-01-01) 453 - Removed usage of G4USE_STD_NAMESPACE in G4RT 453 - Removed usage of G4USE_STD_NAMESPACE in G4RTJpegMaker.cc, after 454 migration from G4std. 454 migration from G4std. 455 455 456 30th May 2003 Makoto Asai (raytracer-V05-01- 456 30th May 2003 Makoto Asai (raytracer-V05-01-00) 457 - Fix pedantic warning message. 457 - Fix pedantic warning message. 458 458 459 11th December 2002 John Allison (vis-V04-01- 459 11th December 2002 John Allison (vis-V04-01-10) 460 - Fix for SUN-CC warnings: AddThis hides the v 460 - Fix for SUN-CC warnings: AddThis hides the virtual function... 461 - Fix memory leak in RayTracer. 461 - Fix memory leak in RayTracer. 462 462 463 11th November 2002 Hajime Yoshida and Minamim 463 11th November 2002 Hajime Yoshida and Minamimoto (raytracer-V04-00-01) 464 - Corrected G4RayTracer.cc devide-by-zero. 464 - Corrected G4RayTracer.cc devide-by-zero. 465 465 466 16th October 2002 John Allison (raytracer-V0 466 16th October 2002 John Allison (raytracer-V04-00-00) 467 - Tag for changes in G4VTrajectory, etc. 467 - Tag for changes in G4VTrajectory, etc. 468 468 469 22nd April 2002 John Allison 469 22nd April 2002 John Allison 470 - Workaround for pseudo-parallel/orthogonal pr 470 - Workaround for pseudo-parallel/orthogonal projection in Ray Tracer. It is 471 perspective projection with *very* small fie 471 perspective projection with *very* small field angle (perMillion). 472 472 473 22nd Nov 2001 Gabriele Cosmo (raytracer-V03 473 22nd Nov 2001 Gabriele Cosmo (raytracer-V03-02-02) 474 - G4RTJpegMaker.cc: added check on ISO complia 474 - G4RTJpegMaker.cc: added check on ISO compliance for binary mode on 475 file streamsi, to allow compilation on non-I 475 file streamsi, to allow compilation on non-ISO compilers. 476 476 477 13th Nov 2001 Hajime Yoshida and Minamimoto 477 13th Nov 2001 Hajime Yoshida and Minamimoto (raytracer-V03-02-01) 478 - Updation of G4RTJpegMaker.cc for Windows pla 478 - Updation of G4RTJpegMaker.cc for Windows platform. 479 479 480 14th July 2001 John Allison (raytracer-V03-0 480 14th July 2001 John Allison (raytracer-V03-02-00) 481 - Changed some arguments in G4RayTracer.hh fro 481 - Changed some arguments in G4RayTracer.hh from G4ThreeVector to const 482 G4ThreeVector& to keep Sun compiler happy. 482 G4ThreeVector& to keep Sun compiler happy. 483 483 484 18th May 2001 John Allison (raytracer-V03-01 484 18th May 2001 John Allison (raytracer-V03-01-00) 485 - Removed unnecessary virtual inheritance of G 485 - Removed unnecessary virtual inheritance of G4VViewer in G4RayTracerViewer. 486 486 487 2nd May 2000 John Allison 487 2nd May 2000 John Allison 488 - G4RayTracer: set out-of-world ray to black. 488 - G4RayTracer: set out-of-world ray to black. 489 - G4RayTracerViewer: corrected trapping of ort 489 - G4RayTracerViewer: corrected trapping of orthogonal projection. 490 490 491 10th March 2000 Makoto Asai 491 10th March 2000 Makoto Asai 492 - Added some comments for copyright notice and 492 - Added some comments for copyright notice and for the software reference manual. 493 493 494 24th February 2000 John Allison 494 24th February 2000 John Allison 495 - Added protection for null viewer in G4RTStep 495 - Added protection for null viewer in G4RTSteppingAction.cc and 496 G4RayTrajectory.cc. 496 G4RayTrajectory.cc. 497 - Corrected for zoom, etc., in G4RayTracerView 497 - Corrected for zoom, etc., in G4RayTracerViewer.cc. 498 498 499 23rd February 2000 John Allison 499 23rd February 2000 John Allison 500 - Added G4RayTracerSceneHandler and Viewer. 500 - Added G4RayTracerSceneHandler and Viewer. 501 - Some modifications to other RayTracer routin 501 - Some modifications to other RayTracer routines for vis compliance. 502 - (Note: headAngle still not right - ray trace 502 - (Note: headAngle still not right - ray traced views are sometimes tipped.) 503 503 504 22nd February 2000 John Allison (raytracer-V0 504 22nd February 2000 John Allison (raytracer-V01-00-01a) 505 - Added G4std:: in a few places to obtain ISO 505 - Added G4std:: in a few places to obtain ISO compliance. 506 - Change "char*" to "const char*" in G4OutBitS 506 - Change "char*" to "const char*" in G4OutBitStream::CopyByte(...). 507 507 508 22nd February 2000 Makoto Asai (raytracer-V01 508 22nd February 2000 Makoto Asai (raytracer-V01-00-01) 509 - Change "char*" to "const char*" 509 - Change "char*" to "const char*" 510 - use g4std/fstream 510 - use g4std/fstream 511 511 512 17th February 2000 Makoto Asai (raytracer-V01 512 17th February 2000 Makoto Asai (raytracer-V01-00-00) 513 - Primary tag of sub-category 513 - Primary tag of sub-category 514 514 515 29th January 2000 Makoto Asai 515 29th January 2000 Makoto Asai 516 - Introduction of G4RayTracer (visualization/R 516 - Introduction of G4RayTracer (visualization/RayTracer/...) 517 - Migration of G4RayTracer 517 - Migration of G4RayTracer 518 affected files : 518 affected files : 519 visualization/GNUmakefile 519 visualization/GNUmakefile 520 visualization/management/include/MyVisMana 520 visualization/management/include/MyVisManager.cc 521 visualization/management/src/G4VisManager. 521 visualization/management/src/G4VisManager.cc 522 affected files in other directory : 522 affected files in other directory : 523 config/G4VIS_BUILD.gmk 523 config/G4VIS_BUILD.gmk 524 config/G4VIS_USE.gmk 524 config/G4VIS_USE.gmk 525 525