25 #ifndef __itkNiftiImageIO_h
26 #define __itkNiftiImageIO_h
31 #include <nifti1_io.h>
66 virtual bool CanReadFile(
const char *FileNameToRead);
69 virtual void ReadImageInformation();
72 virtual void Read(
void *buffer);
82 virtual bool CanWriteFile(
const char *FileNameToWrite);
85 virtual void WriteImageInformation();
89 virtual void Write(
const void *buffer);
94 GenerateStreamableReadRegionFromRequestedRegion(
const ImageIORegion & requestedRegion)
const;
101 itkSetMacro(LegacyAnalyze75Mode,
bool);
102 itkGetConstMacro(LegacyAnalyze75Mode,
bool);
106 void PrintSelf(std::ostream & os,
Indent indent)
const;
113 void DefineHeaderObjectDataType();
115 void SetNIfTIOrientationFromImageIO(
unsigned short int origdims,
unsigned short int dims);
117 void SetImageIOOrientationFromNIfTI(
unsigned short int dims);
119 void SetImageIOMetadataFromNIfTI();
131 void operator=(
const Self &);
135 #endif // __itkNiftiImageIO_h