Geant4 Cross Reference |
1 # Example DICOM History 2 3 See `CONTRIBUTING.rst` for details of **required** info/format for each entry, 4 which **must** added in reverse chronological order (newest at the top). 5 It must **not** be used as a substitute for writing good git commit messages! 6 7 ------------------------------------------------------------------------------- 8 9 ## 2024-06-05 L. T. Anh (DICOM-V11-02-00) 10 - Correct symbols for Chlorine and Potassium elements in function 11 InitialisationOfMaterials(). 12 13 ## 2023-12-03 A. Howard (DICOM-V11-01-02) 14 - Modified DicomDetectorConstruction: added correct replica depths for x,y,z 15 of G4PSDoseDeposit3D for nested parameterisation and corrected voxel ordering 16 according to the fixed formula within G4PSDoseDeposit3D; added environment 17 variable to switch to standard G4PSDoseDeposit in the case of regular 18 navigation (default). 19 - Updated README and .README to be more correct and include description of 20 G4PSDoseDeposit3D and its usage for nested parameterisation. 21 22 ## 2023-11-25 C. Mancini (DICOM-V11-01-01) 23 - Modified DicomNestedPhantomParameterisation: removed the "static" descriptor 24 from the "G4Material* mate" instantiation. 25 26 ## 2023-09-02 Gabriele Cosmo (DICOM-V11-01-00) 27 - Removed forward declaration for G4VTouchable. 28 29 ## 2022-10-04 John Allison (DICOM-V11-00-04) 30 - Introduce special mesh rendering of DICOM image. 31 32 ## 2022-10-24 I. Hrivnacova (DICOM-V11-00-03) 33 - Coding guidelines: start data member with 'f'; use G4int, G4double 34 (skipped dicomReader classes). 35 36 ## 2022-10-04 Ben Morgan (DICOM-V11-00-02) 37 - Replace sprintf with direct G4String use to remove deprecation warnings on 38 macOS-13. 39 40 ## 2022-10-04 Gabriele Cosmo (DICOM-V11-00-01) 41 - Fixed compilation warning on Intel-icx compiler for set but unused variable 42 in DicomHandler::ReadData(). 43 44 ## 2021-12-10 Ben Morgan (DICOM-V11-00-00) 45 - Change to new Markdown History format. 46 47 --- 48 49 # History entries prior to 11.0 50 51 27.09.2021 Pedro Arce (DICOM-V10-07-01) 52 - Use updated interface from geomnav to use G4PhantomParameterisation::GetNoVoxels instead of GetNoVoxel 53 54 31.12.2020 - John Allison (DICOM-V10-07-00) 55 vis.mac: "Change /vis/ogl/set/eventsDrawInterval" to 56 "/vis/ogl/flushAt NthPrimitive". 57 58 10.11.2020 - Ben Morgan (DICOM-V10-06-01) 59 Migration to G4RunManagerFactory. 60 61 21.10.2020 - Ben Morgan (DICOM-V10-06-00) 62 Distinguish output names of archive lib from DLL and application to 63 fix Windows LNK1149 errors for static libs. 64 Modernize cmake version detection and policy setting to follow main 65 Geant4 usage. 66 67 19.11.2019 - Gabriele Cosmo (DICOM-V10-05-03) 68 Fixed more cases of implicit type conversions. 69 Some minor code cleanup. 70 71 15.11.2019 - Gabriele Cosmo (DICOM-V10-05-02) 72 Fixed cases of implicit type conversions from size_t to G4int. 73 74 12.11.2019 - Gunter Folger (DICOM-V10-05-01) 75 Correct DicomHandler singleton for use on Windows. 76 DICOM2 was crashing 77 78 08.06.2019 - Gabriele Cosmo (DICOM-V10-05-00) 79 Defaulted copy-ctr in DicomPhantomZSliceHeader, to fix deprecation 80 compilation warnings on gcc-9.1. 81 82 13.11.2018 - Jonathan Madsen (DICOM-V10-04-11) 83 Bugfix (2102) to DicomHandler reading fPixelSpacingY 84 85 13.11.2018 - Jonathan Madsen (DICOM-V10-04-10) 86 Bugfix (2101) to DicomHandler skipping 2 bytes in implicit VR 87 88 12.11.2018 - Jonathan Madsen (DICOM-V10-04-09) 89 Updated DICOMUtilities.cmake to handle Windows builds 90 Using modern CMake DICOM::target library alias 91 92 12.11.2018 - Gabriele Cosmo (DICOM-V10-04-08) 93 DicomDetectorConstruction: removed useless static Instance() 94 method. 95 96 12.11.2018 - Gabriele Cosmo (DICOM-V10-04-07) 97 DicomPartialDetectorConstruction: fixed shadowing of base class 98 data for 'fMateIDs'. Fixed type conversion unsigned_int -> int. 99 100 12.11.2018 - Gabriele Cosmo (DICOM-V10-04-06) 101 DicomNestedPhantomParameterisation: removed useless statement 102 causing compilation error on Linux. 103 104 10.11.2018 - Jonathan Madsen (DICOM-V10-04-05) 105 DICOMConfig.cmake.in handles DICOM_USE_HEAD being set 106 DownloadDICOMData.cmake does installation 107 CMakeLists.txt creates build-tree export 108 DicomDetectorConstruction is globally accessible 109 DicomHandler implements GetDicomData{Path,File} 110 which provides a fallback path to data libraries 111 directory for DICOM2 and handles DICOM_USE_HEAD situation 112 Phantom parameterization classes take an argument 113 specifying color file 114 fDcmrun is protected instead of private (for DICOM2) 115 DicomEventAction doesn't print every event 116 Removed DicomRun::RecordEvent incrementing numberOfEvent 117 (done by G4Run::RecordEvent) 118 Cleaned up output (when provided along with DICOM2 output 119 it was too excessive) now just a summary is provided 120 and per-voxel is output to file only 121 Moved Data.dat to Data.dat.old and CMake copies correct 122 Data.dat.{old,new} to Data.dat in binary directory based 123 on DICOM_USE_DCMTK setting 124 Updated README 125 126 09.11.2018 - Gabriele Cosmo (DICOM-V10-04-04) 127 Use canonical definition for DICOMRunAction; removed wrong 128 singleton specification (in any case not necessary). 129 130 22.06.2018 - Jonathan Madsen (DICOM-V10-04-03) 131 Added dicomReader/cmake/DICOMUtilities.cmake that defines 132 a DICOM_BUILD_LIBRARY macro which handles how to build 133 DICOM-library (and dicomReader library if USE_DICOM_DCMTK=ON) 134 based on the Geant4 installation (e.g. build shared, static, or 135 both) + updates to DICOMConfig.cmake.in and 136 dicomReaderConfig.cmake.in to handle which library type to 137 use link to 138 139 20.05.2018 - John Allison (DICOM-V10-04-02) 140 Remove G4UI_USE and G4VIS_USE. 141 Move instantiation of G4UIExecutive to start of main. 142 143 09.05.2018 - Ben Morgan (DICOM-V10-04-01) 144 Include G4Types before use of G4MULTITHREADED. For forward 145 compatibility with move to #defines over -D for G4 preprocessor 146 symbols. 147 148 20.03.2018 - Jonathan Madsen (DICOM-V10-04-00) 149 Enabled CMake package configuration 150 Added DICOM_USE_DCMTK and DICOM_USE_HEAD CMake 151 options back-compat with environment variables 152 Updated README and .README.txt 153 154 11.11.2017 - Marc Verderi (DICOM-V10-03-12) 155 Retag as DICOM-V10-03-11 too quickly rejected 156 157 09.11.2017 - Ivana Hrivnacova (DICOM-V10-03-11) 158 Updated DICOM data version to 1.1 159 160 09.11.2017 - S. Guatelli (DICOM-V10-03-10) 161 Updated README and .README.txt 162 163 09.11.2017 - S. Guatelli (DICOM-V10-03-09) 164 .g4dmc created in the user directory and not in the DICOM library, 165 together with the .g4dcmb files. 166 167 09.11.2017 - S. Guatelli (DICOM-V10-03-08) 168 DICOM_PATH changed 169 no writing .g4dcmb in the library DICOM 170 171 08.11.2017 - Ivana Hrivnacova (DICOM-V10-03-07) 172 Added downloading DICOM data in CMake build 173 (used only with DICOM_USE_HEAD option) 174 175 07.11.2017 - S. Guatelli (DICOM-V10-03-06). 176 Warning deleted, updated README and .README.txt 177 178 01.11.2017 - S. Guatelli (DICOM-V10-03-05). 179 DICOM_HEAD library can be used as input to the DICOM 180 DICOM_v1 does not need to be copied in the directory where the simulation is executed 181 182 01.11.2017 - S. Guatelli (DICOM-V10-03-04). DICOM_HEAD library can be used as input to the DICOM 183 184 28.09.2017 - S. Guatelli (DICOM-V10-03-03). DICOM_HEAD Directory deleted 185 186 16.09.2017 - S. Guatelli (DICOM-V10-03-02) 187 - New DICOM Digital Head included by S. Guatelli 188 - Updated README, .README.txt 189 190 19.11.2016 - Andrea Dotti (DICOM-V10-02-04) 191 - explicit set of SD to manager 192 193 11.11.2016 - Ivana Hrivnacova (DICOM-V10-02-03) 194 - Removed extra compiler flags in GNUmakefile, CMakeLists.txt 195 (not needed) 196 - Renamed G4_USE_DCMTK in DICOM_USE_DCMTK 197 - Updated README, .README.txt 198 199 11.11.2016 - Pedro Arce (DICOM-V10-02-02) 200 - Complying with Geant4 guidelines in data variables 201 202 04.11.2016 - Pedro Arce (DICOM-V10-02-01) 203 - New DICOM reader based on DCMTK 204 205 20.07.2016 - Ivana Hrivnacova (DICOM-V10-02-00) 206 - Fixed coding guidelines 207 (redundant empty lines, class data member names) 208 209 17.09.2015 - Pedro Arce (DICOM-V10-01-01) 210 - Fixed coding guidelines (long lines) 211 212 21.10.2014 - Pedro Arce (DICOM-V10-00-04) 213 - Fixed coding guidelines (long lines) 214 215 16.10.2014 - Ivana Hrivnacova (DICOM-V10-00-03) 216 - Fixed coding guidelines (long lines) in 217 DicomPartialDetectorConstruction.hh, DicomPhantomZSliceHeader.hh 218 219 29.07.2014 - Pedro Arce (DICOM-V10-00-02) 220 - Remove DicomPhysicsList 221 222 25.07.2014 - Pedro Arce (DICOM-V10-00-01) 223 - Using G4GenericPhysicsList 224 - no std::cout 225 - no exit() 226 227 03.12.2013 - Gabriele Cosmo (DICOM-V10-00-00) 228 - Attempt to fix Valgrind run-time error from printout in 229 DicomHandler::CheckFileFormat(). 230 231 03.12.2013 - Ivana Hrivnacova (DICOM-V09-06-09) 232 - Updated README and .README to match (Pedro Arce) 233 234 18.11.2014 - Ivana Hrivnacova (DICOM-V09-06-08) 235 - Fixed DicomPhantomZSliceMerged.hh file description 236 (for Doxygen) 237 238 13.11.2014 - Jonathan Mdsen (DICOM-V09-06-07) 239 - Updated README and .README 240 - Fixed some comments 241 242 04.11.2013 - Dennis Wright (DICOM-V09-06-06) 243 - replaced LEP model for alphas by extending Binary cascade to 244 zero energy 245 - updated sample output files to reflect this 246 247 23.10.2013 - Gabriele Cosmo (DICOM-V09-06-05) 248 - Fixed compilation warnings. 249 250 15.10.2013 - Jonathan Madsen (DICOM-V09-06-04) 251 - Modified DICOM to enable multithreading 252 - Adapted scorers 253 - Added ActionInitialization class 254 - Modified RunAction to handle master and daughter threads 255 256 09.10.2013 - Ivana Hrivnacova (DICOM-V09-06-03) 257 Fixed file description (DicomPhantomZSliceMerged.hh) 258 259 28.08.2013 - Gabriele Cosmo (DICOM-V09-06-02) 260 Added G4Ellipsoid to solids enabled for parameterisation in 261 DicomNestedPhantomParameterisation. 262 263 29.07.2013 - Peter Gumplinger (DICOM-V09-06-01) 264 Fixed MAC/clang32 compilation warnings in DicomRunAction and 265 DiconIntersectVolume classes 266 267 18.07.2013 - Jonathan Madsen 268 Missing documentation update from 18.12.2012: 269 Improvements and bug-fixes -> 270 DicomHandler had some bugs when using DCM files 271 other than examples provided 272 Added DicomPhantomZSliceMerged class to handle 273 inconsistencies in DCM file meta-data 274 DicomPhantomZSliceHeader class is extended to hold density 275 and material ID data and the printing of data 276 to files instead of DicomHandler 277 Removed additions on 16.07.2013 pending further discussion 278 Reverted DICOM example to 18.12.2012 update with some very 279 minor tweaks 280 Kept share folder with additional anonymous DCM files 281 and additional data files (SixSlice.dat, AltData.dat). Rename 282 these files with Data.dat to use 283 Kept CMakeLists.txt to copy over extra data file and anonymous 284 DCM files 285 286 16.07.2013 - Jonathan Madsen 287 Many modifications to the DICOM example. 288 Added more anonymous DICOM files. 289 Added more script configurations. 290 Added DicomCommandLineOptions, DicomHelpers, DicomTypeConversion, 291 DicomOption as part of a command line processing package. 292 Modified CMakeLists.txt to configure extra files. 293 Added capability to use different data files for DICOM set, 294 CT2Density file, ColourMap file. 295 Added Statistical Analysis and Statistical Manager classes 296 Miscellaneous improvements. 297 DICOM.cc now has a large list of runtime configuration options 298 via command line. 299 Options set at command line are set to override environment 300 variables. 301 302 15.02.2013 - Ivana Hrivnacova (DICOM-V09-06-00) 303 Applied coding guidelines (virtual keyword, data members 304 names and initialization) 305 306 07.11.2012 - Gabriele Cosmo (DICOM-V09-05-10) 307 Fixed compilation warnings for shadowing of variables and unused 308 return flag from system calls. 309 310 18.10.2012 - Ivana Hrivnacova (DICOM-V09-05-09) 311 Updated CMakeLists.txt: added copying data files to the build 312 area as they are needed to run the tests. 313 314 13.10.2012 - Andrea Dotti (DICOM-V09-05-08) 315 Removing previous tag modification (not needed) 316 317 13.10.2012 - Andrea Dotti (DICOM-V09-05-07) 318 Adding explicit use of system of units 319 320 05.09.2012 - Ivana Hrivnacova (DICOM-V09-05-06) 321 Fixed compiler warning 322 323 04.09.2012 - Pedro Arce (DICOM-V09-05-05) 324 Remove old renamed files 325 Updated CMakeLists.txt (By I.Hrivnacova) 326 Adding visualization, copying macros, install target and 327 comment lines 328 329 17.07.2012 - Ivana Hrivnacova (DICOM-V09-05-04) 330 Improved README files 331 332 06.07.2012 - Pedro Arce (DICOM-V09-05-03) 333 Reviewed examples according to coding guidelines 334 335 13.06.2012 - Gabriele Cosmo (DICOM-V09-05-02) 336 Assign return value for fread() and fscanf() calls in 337 DicomHandler. Fixes compilation warnings on Ubuntu. 338 339 28.03.2012 - Pedro Arce (DICOM-V09-05-01) 340 Corrections in materials Z/A. Addressing problem report #1287. 341 342 13.11.2011 - Pedro Arce (DICOM-V09-04-03) 343 Migration to new G4Exception scheme. 344 345 03.10.2011 - G.Folger (DICOM-V09-04-02) 346 Fix gcc46 compilation warning in DicomHandler.cc 347 and DicomPhantomParameterisationColour.cc 348 349 05.06.2011 - Pedro Arce (DICOM-V09-04-01) 350 Corrected name for sensitive detector to be consistently 351 named as "phantomSD" in DicomRunAction. Addressing problem 352 report #1210. 353 Corrected axis slicing hint in nested-parameterisation. 354 355 23.12.2010 - Stephane Chauvie 356 Corrected 2 bugs in DicomHandler 357 358 30.11.2010 - John Allison 359 dicom.cc: Removed redundant headers: 360 "G4UIterminal.hh" and "G4UItcsh.hh". 361 362 30.11.2010 - Ivana Hrivnacova (DICOM-V09-03-09) 363 Moved inclusion of vis headers as last in main(). 364 365 26.11.2010 - Pedro Arce (DICOM-V09-03-08) 366 Correction of warnings 367 368 24.11.2010 - Pedro Arce (DICOM-V09-03-07) 369 Introduced partial phantom example 370 Delete G4PSDoseDeposit_RegNav and use G4ScoreSplittingProcess instead 371 372 11.11.2010 - Gabriele Cosmo (DICOM-V09-03-06) 373 Corrected vis.mac macro and set OGL as default viewer. 374 Corrected some printouts in code... 375 376 09.11.2010 - Gabriele Cosmo (DICOM-V09-03-05) 377 Fixed compilation warning on virtual methods hiding 378 Fixed compilation warnings in DicomPhantomParameterisationColour 379 and DicomHandler. 380 381 02.11.2010 - John Allison (DICOM-V09-03-04) 382 Introduced G4UIExecutive. 383 384 06.06.2010 - Joseph Perl (DICOM-V09-03-03) 385 Remove unused variable in EventAction 386 387 03.06.2010 - Joseph Perl (DICOM-V09-03-02) 388 Updated vis usage 389 390 19.11.2009 - StÈphane Chauvie (DICOM-V09-03-00) 391 01.06.2010 - Stephane Chauvie - Andrea Armando 392 Added function to read nested items (defined and undefined) 393 Removed dependencies on CONQUEST 394 DICOM handler could now read whichever DICOM file 395 (PT,CT,DR,CR,US,MR... ) 396 397 19.11.2009 - Stephanee Chauvie (DICOM-V09-02-03) 398 Changed DICOM Handler to read CT files coming from CONQUEST 399 DICOM server 400 401 05.02.2009 - Pedro Arce (DICOM-V09-02-01) 402 Added report on dose per voxel. 403 Added warning for erroneous inclusion of development code in 404 release 9.2 (to be removed when fix will be included in patch). 405 406 27.01.2009 - Gabriele Cosmo (DICOM-V09-02-00) 407 Use new class G4RegularNavigationHistory for counting of step 408 lengths in voxels of the regular structure. 409 410 27.11.2008 - Pedro Arce (DICOM-V09-01-02) 411 Included G4PSDoseDeposit_RegNav to distribute dose along voxels, 412 including msc and energy loss corrections, for the case of 413 skipping voxel with equal materials when using regular 414 navigation 415 416 21.07.2008 - Pedro Arce (DICOM-V09-01-01) 417 Bug fix in DicomNestedPhantomParameterisation in calculating the 418 'copyNo', so that material assignment was wrong 419 Set default cut to 1 mm (with previous 1.E-3 mm too much time is 420 spent on physics and no improvement is seen with different 421 navigation options). 422 Corrected direction and position of primary particles so that 423 they traverse the DICOM voxels. 424 425 22.01.2008 - Pedro Arce (DICOM-V09-01-00) 426 Do not use 'rindex' in DicomHandler class to avoid problems 427 on Windows. 428 429 06.12.2007 - Pedro Arce 430 Added voxel colouring by material. Added possibility to use nested parameterisation 431 432 05.12.2007 - Pedro Arce 433 Deep review on the input files and the way how the geometry is built. 434 Use of G4PhantomParameterisation and G4RegularNavigation. 435 436 06.12.2005 - Gabriele Cosmo 437 Trivial changes for support of CLHEP-2.0.X series. 438 439 29.11.2005 - Susanna Guatelli (DICOM-V07-01-00) 440 Documentation update 441 442 12.06.2005 - Stephane Chauvie (DICOM-V07-00-01) 443 Added improvement by Akinori Kimura. 444 445 03.05.2005 - John Allison 446 Replaced vis manager with G4VisExecutive. 447 448 10.12.2004 - Maria Grazia Pia (DICOM-V06-02-02) 449 Update README to announce further improvements and fixes 450 by Akinori Kimura. 451 452 3.12.2004 - Gabriele Cosmo (DICOM-V06-02-01) 453 Implemented migration to <cmath>. 454 455 13.5.2004 - Susanna Guatelli 456 updated compiler: gcc3.2.3 457 458 11.3.2003 - Susanna Guatelli 459 README changed 460 461 6.2003 - Susanna Guatelli 462 First public release of the example