Page MenuHomePhabricator

Identify C methods in mitk-ToF
Closed, ResolvedPublic

Description

In mitk-TOF several C methods like fopen, close, scanf or fprintf were used. For the general MITK policy is not to use C methods, the classes and methods using C methods shall be identified to replace the C methods by C++ ones.

Event Timeline

  • mitkToFCameraMITKPlayerController.cpp (fopen, fseek, fclose, fread)
  • mitkToFImageCsvWriter.cpp (fprintf, fopen/fopen_s, fclose)
  • mitkToFImageCsvWriterTest.cpp(fscanf)
  • mitkToFImageWriter.cpp (fopen/fopen_s, fwrite, fclose, fseek)

Move to external product MITK

Resetting all bugs without active assignee flag to "CONFIRMED". Change status to IN_PROGRESS if you are working on it.

[358af4]: Merge branch 'bug-7219-ToFFileWriting'

Merged commits:

2011-10-19 13:59:05 Alexander Seitel [e2a005]
Removed some commented code.

The ToF file writing and reading has been refactored with T8958. NRRD format is now used by default. C style functions are not used there anymore. For convenience the old PIC format is still supported. The use of C style functions are thus limited to this convenicence classes.