Viskores  1.0
ImageReaderPNG.h
Go to the documentation of this file.
1 //============================================================================
2 // The contents of this file are covered by the Viskores license. See
3 // LICENSE.txt for details.
4 //
5 // By contributing to this file, all contributors agree to the Developer
6 // Certificate of Origin Version 1.1 (DCO 1.1) as stated in DCO.txt.
7 //============================================================================
8 
9 //============================================================================
10 // Copyright (c) Kitware, Inc.
11 // All rights reserved.
12 // See LICENSE.txt for details.
13 //
14 // This software is distributed WITHOUT ANY WARRANTY; without even
15 // the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
16 // PURPOSE. See the above copyright notice for more information.
17 //============================================================================
18 #ifndef viskores_io_ImageReaderPNG_h
19 #define viskores_io_ImageReaderPNG_h
20 
22 
23 namespace viskores
24 {
25 namespace io
26 {
27 
39 class VISKORES_IO_EXPORT ImageReaderPNG : public ImageReaderBase
40 {
42 
43 public:
44  using Superclass::Superclass;
45  VISKORES_CONT ~ImageReaderPNG() noexcept override;
46  ImageReaderPNG(const ImageReaderPNG&) = delete;
47  ImageReaderPNG& operator=(const ImageReaderPNG&) = delete;
48 
49 protected:
50  VISKORES_CONT void Read() override;
51 };
52 
53 }
54 } // namespace viskores::io
55 
56 #endif //viskores_io_ImageReaderPNG_h
viskores::io::ImageReaderPNG
Reads images using the PNG format.
Definition: ImageReaderPNG.h:39
VISKORES_CONT
#define VISKORES_CONT
Definition: ExportMacros.h:65
viskores
Groups connected points that have the same field value.
Definition: Atomic.h:27
ImageReaderBase.h
viskores::io::ImageReaderBase
Manages reading, and loading data from images.
Definition: ImageReaderBase.h:40