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