VTK-m  2.0
ImageReaderPNG.h
Go to the documentation of this file.
1 //============================================================================
2 // Copyright (c) Kitware, Inc.
3 // All rights reserved.
4 // See LICENSE.txt for details.
5 //
6 // This software is distributed WITHOUT ANY WARRANTY; without even
7 // the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
8 // PURPOSE. See the above copyright notice for more information.
9 //============================================================================
10 #ifndef vtk_m_io_ImageReaderPNG_h
11 #define vtk_m_io_ImageReaderPNG_h
12 
14 
15 namespace vtkm
16 {
17 namespace io
18 {
19 
30 class VTKM_IO_EXPORT ImageReaderPNG : public ImageReaderBase
31 {
33 
34 public:
35  using Superclass::Superclass;
36  VTKM_CONT ~ImageReaderPNG() noexcept override;
37  ImageReaderPNG(const ImageReaderPNG&) = delete;
38  ImageReaderPNG& operator=(const ImageReaderPNG&) = delete;
39 
40 protected:
41  VTKM_CONT void Read() override;
42 };
43 }
44 } // namespace vtkm::io
45 
46 #endif //vtk_m_io_ImageReaderPNG_h
vtkm
Groups connected points that have the same field value.
Definition: Atomic.h:19
vtkm::io::ImageReaderBase
Manages reading, and loading data from images.
Definition: ImageReaderBase.h:32
VTKM_CONT
#define VTKM_CONT
Definition: ExportMacros.h:57
vtkm::io::ImageReaderPNG
Manages reading images using the PNG format via lodepng.
Definition: ImageReaderPNG.h:30
ImageReaderBase.h