28 #ifndef __itkVTKImageIO_h
29 #define __itkVTKImageIO_h
67 virtual bool CanStreamWrite(
void);
72 virtual bool CanStreamRead(
void);
79 virtual bool CanReadFile(
const char *);
82 virtual void ReadImageInformation();
85 virtual void Read(
void *buffer);
91 virtual bool CanWriteFile(
const char *);
99 virtual void Write(
const void *buffer);
108 void PrintSelf(std::ostream & os,
Indent indent)
const;
110 void InternalReadImageInformation(std::ifstream & file);
112 void WriteImageInformation(
const void *buffer);
114 void ReadHeaderSize(std::ifstream & file);
117 virtual void ReadBufferAsASCII(std::istream & os,
void *buffer,
118 IOComponentType ctype,
119 SizeType numberOfBytesToBeRead);
122 virtual void WriteBufferAsASCII(std::ostream & os,
const void *buffer,
123 IOComponentType ctype,
124 SizeType numberOfBytesToWrite);
128 virtual void ReadSymmetricTensorBufferAsBinary(std::istream& os,
134 virtual void WriteSymmetricTensorBufferAsBinary(std::ostream& os,
140 void operator=(
const Self &);
141 void SetPixelTypeFromString(
const std::string & pixelType);
147 #endif // __itkVTKImageIO_h