7 #ifndef __INR2ITK_ITKINRIMAGEIO_HPP__ 8 #define __INR2ITK_ITKINRIMAGEIO_HPP__ 10 #include "fwItkIO/config.hpp" 12 #include <itkImageIOBase.h> 29 typedef ImageIOBase SuperClass;
30 typedef SmartPointer<Self> Pointer;
45 virtual
bool CanReadFile(const
char* FileNameToRead) override;
48 virtual
void ReadImageInformation() override;
51 virtual
void Read(
void* buffer) override;
60 virtual
bool CanWriteFile(const
char* FileNameToWrite) override;
63 virtual
void WriteImageInformation() override;
67 virtual
void Write(const
void* buffer) override;
70 FWITKIO_API InrImageIO();
71 FWITKIO_API ~InrImageIO();
72 void PrintSelf(
std::ostream& os, Indent indent) const override;
74 InrImageIO(const Self&);
75 void operator=(const Self&);
77 std::streampos m_headerSize;
83 #endif // __INR2ITK_ITKINRIMAGEIO_HPP__
Class that defines how to read/write in the InrImage file format.