18 #ifndef __itkImageFileReader_h
19 #define __itkImageFileReader_h
43 const char *message =
"Error in IO",
44 const char *loc =
"Unknown"):
50 const char *message =
"Error in IO",
51 const char *loc =
"Unknown"):
100 template<
class TOutputImage,
101 class ConvertPixelTraits = DefaultConvertPixelTraits<
102 typename TOutputImage::IOPixelType > >
118 typedef typename TOutputImage::SizeType
SizeType;
130 itkSetGetDecoratedInputMacro(FileName, std::string);
144 virtual void GenerateOutputInformation(
void);
151 virtual void EnlargeOutputRequestedRegion(
DataObject *output);
154 itkSetMacro(UseStreaming,
bool);
155 itkGetConstReferenceMacro(UseStreaming,
bool);
156 itkBooleanMacro(UseStreaming);
160 void PrintSelf(std::ostream & os,
Indent indent)
const;
164 void DoConvertBuffer(
void *buffer,
size_t numberOfPixels);
171 void TestFileExistanceAndReadability();
174 virtual void GenerateData();
184 void operator=(
const Self &);
194 #ifndef ITK_MANUAL_INSTANTIATION
195 #include "itkImageFileReader.hxx"
198 #ifdef ITK_IO_FACTORY_REGISTER_MANAGER
199 #include "itkImageIOFactoryRegisterManager.h"
202 #endif // __itkImageFileReader_h