Skip to content
Snippets Groups Projects

Image reader and writer structure

Merged Kenneth Moreland requested to merge kmorel/vtk-m:image-reader-structure into master
  1. Jun 01, 2020
    • Kenneth Moreland's avatar
    • Kenneth Moreland's avatar
      Remove pixel type selection from PNG reader · e8c5ee5e
      Kenneth Moreland authored
      Selecting the pixel type just means that lodepng casts it to that type
      for it then to be cast to the type VTK-m uses. Since VTK-m always uses
      the same type, there is little value for changing the intermediate cast.
      e8c5ee5e
    • Kenneth Moreland's avatar
      Update image writes to style and library · 6c97054b
      Kenneth Moreland authored
      Updated the image writer classes to better follow VTK-m naming
      convention (i.e. use `ImageWriterPNG` instead of `PNGWriter`). The
      structure of the image writer class now also better matches the
      interface for the VTK writer.
      
      Also put the implementation of the image writers into the `vtkm_io`
      library so that it only has to be compiled once.
      6c97054b
    • Kenneth Moreland's avatar
      Update image readers to style and library · 1e91b32a
      Kenneth Moreland authored
      Updated the image reader classes to better follow VTK-m naming
      convention (i.e. use `ImageReaderPNG` instead of `PNGReader`).
      The structure of the image reader class now also better matches
      the interface for the VTK reader.
      
      Also put the implementation of the image readers into the `vtkm_io`
      library so that it only has to be compiled once.
      1e91b32a
Loading