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);
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;
159 void operator=(const Self &) ITK_DELETE_FUNCTION;
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
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
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.