18 #ifndef itkImageFileReader_h
19 #define itkImageFileReader_h
22 #include "ITKIOImageBaseExport.h"
73 template<
typename TOutputImage,
74 typename ConvertPixelTraits = DefaultConvertPixelTraits<
75 typename TOutputImage::IOPixelType > >
103 itkSetGetDecoratedInputMacro(FileName, std::string);
116 itkSetMacro(UseStreaming,
bool);
117 itkGetConstReferenceMacro(UseStreaming,
bool);
118 itkBooleanMacro(UseStreaming);
124 void PrintSelf(std::ostream & os,
Indent indent) const ITK_OVERRIDE;
127 void DoConvertBuffer(
void *buffer,
size_t numberOfPixels);
134 void TestFileExistanceAndReadability();
138 virtual
void GenerateOutputInformation(
void) ITK_OVERRIDE;
145 virtual
void EnlargeOutputRequestedRegion(
DataObject *output) ITK_OVERRIDE;
148 virtual
void GenerateData() ITK_OVERRIDE;
152 bool m_UserSpecifiedImageIO;
160 std::
string m_ExceptionMessage;
168 #ifndef ITK_MANUAL_INSTANTIATION
169 #include "itkImageFileReader.hxx"
172 #ifdef ITK_IO_FACTORY_REGISTER_MANAGER
173 #include "itkImageIOFactoryRegisterManager.h"
176 #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.
ImageBaseType::SizeType SizeType
Base class for all data objects in ITK.
ImageBaseType::IndexType IndexType