18 #ifndef itkImageFileReader_h
19 #define itkImageFileReader_h
22 #include "ITKIOImageBaseExport.h"
73 template<
typename TOutputImage,
74 typename ConvertPixelTraits = DefaultConvertPixelTraits<
75 typename TOutputImage::IOPixelType > >
91 typedef typename TOutputImage::SizeType
SizeType;
103 itkSetGetDecoratedInputMacro(FileName, std::string);
117 virtual void GenerateOutputInformation(
void) ITK_OVERRIDE;
124 virtual
void EnlargeOutputRequestedRegion(
DataObject *output) ITK_OVERRIDE;
127 itkSetMacro(UseStreaming,
bool);
128 itkGetConstReferenceMacro(UseStreaming,
bool);
129 itkBooleanMacro(UseStreaming);
135 void PrintSelf(std::ostream & os,
Indent indent) const ITK_OVERRIDE;
138 void DoConvertBuffer(
void *buffer,
size_t numberOfPixels);
145 void TestFileExistanceAndReadability();
148 virtual
void GenerateData() ITK_OVERRIDE;
152 bool m_UserSpecifiedImageIO;
158 ImageFileReader(const
Self &);
159 void operator=(const Self &);
161 std::
string m_ExceptionMessage;
169 #ifndef ITK_MANUAL_INSTANTIATION
170 #include "itkImageFileReader.hxx"
173 #ifdef ITK_IO_FACTORY_REGISTER_MANAGER
174 #include "itkImageIOFactoryRegisterManager.h"
177 #endif // itkImageFileReader_h
TOutputImage::RegionType ImageRegionType
TOutputImage::IndexType IndexType
An ImageIORegion represents a structured region of data.
Abstract superclass defines image IO interface.
TOutputImage::SizeType SizeType
Base class for all process objects that output image data.
SmartPointer< Self > Pointer
ImageSource< TOutputImage > Superclass
TOutputImage::InternalPixelType OutputImagePixelType
Data source that reads image data from a single file.
Control indentation during Print() invocation.
Base class for all data objects in ITK.