18 #ifndef __itkPNGImageIO_h
19 #define __itkPNGImageIO_h
20 #include "ITKIOPNGExport.h"
51 itkSetMacro(CompressionLevel,
int);
52 itkGetConstMacro(CompressionLevel,
int);
59 virtual bool CanReadFile(
const char *) ITK_OVERRIDE;
62 virtual
void ReadImageInformation() ITK_OVERRIDE;
65 virtual
void Read(
void *buffer) ITK_OVERRIDE;
68 virtual
void ReadVolume(
void *buffer);
74 virtual
bool CanWriteFile(const
char *) ITK_OVERRIDE;
78 virtual
void WriteImageInformation() ITK_OVERRIDE;
82 virtual
void Write(const
void *buffer) ITK_OVERRIDE;
87 virtual
void PrintSelf(std::ostream & os,
Indent indent) const ITK_OVERRIDE;
89 void WriteSlice(const std::
string & fileName, const
void *buffer);
93 int m_CompressionLevel;
96 PNGImageIO(const
Self &);
97 void operator=(const Self &);
101 #endif // __itkPNGImageIO_h
Light weight base class for most itk classes.
Abstract superclass defines image IO interface.
SmartPointer< Self > Pointer
ImageIO object for reading and writing PNG images.
Control indentation during Print() invocation.