Image reader and writer structure
- Jun 01, 2020
-
-
Kenneth Moreland authored
-
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.
-
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.
-
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.
-