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);
162 void PrintSelf(std::ostream & os,
Indent indent)
const;
165 void DoConvertBuffer(
void *buffer,
size_t numberOfPixels);
172 void TestFileExistanceAndReadability();
175 virtual void GenerateData();
186 void operator=(
const Self &);
196 #ifndef ITK_MANUAL_INSTANTIATION
197 #include "itkImageFileReader.hxx"
200 #ifdef ITK_IO_FACTORY_REGISTER_MANAGER
201 #include "itkImageIOFactoryRegisterManager.h"
204 #endif // __itkImageFileReader_h