19 #ifndef itkNiftiImageIO_h
20 #define itkNiftiImageIO_h
21 #include "ITKIONIFTIExport.h"
64 virtual bool CanReadFile(
const char *FileNameToRead) ITK_OVERRIDE;
67 virtual void ReadImageInformation() ITK_OVERRIDE;
70 virtual
void Read(
void *buffer) ITK_OVERRIDE;
80 virtual
bool CanWriteFile(const
char *FileNameToWrite) ITK_OVERRIDE;
87 virtual
void WriteImageInformation() ITK_OVERRIDE;
91 virtual
void Write(const
void *buffer) ITK_OVERRIDE;
96 GenerateStreamableReadRegionFromRequestedRegion(const
ImageIORegion & requestedRegion) const ITK_OVERRIDE;
103 itkSetMacro(LegacyAnalyze75Mode,
bool);
104 itkGetConstMacro(LegacyAnalyze75Mode,
bool);
109 ~NiftiImageIO() ITK_OVERRIDE;
110 virtual
void PrintSelf(std::ostream & os,
Indent indent) const ITK_OVERRIDE;
112 virtual
bool GetUseLegacyModeForTwoFileWriting(
void)
const {
return false; }
119 unsigned int getSFormCodeFromDictionary()
const;
120 unsigned int getQFormCodeFromDictionary()
const;
124 void DefineHeaderObjectDataType();
126 void SetNIfTIOrientationFromImageIO(
unsigned short int origdims,
unsigned short int dims);
128 void SetImageIOOrientationFromNIfTI(
unsigned short int dims);
130 void SetImageIOMetadataFromNIfTI();
134 class NiftiImageProxy;
153 #endif // itkNiftiImageIO_h
bool m_LegacyAnalyze75Mode
Light weight base class for most itk classes.
An ImageIORegion represents a structured region of data.
Abstract superclass defines image IO interface.
Class that defines how to read Nifti file format. Nifti IMAGE FILE FORMAT - As much information as I ...
IOComponentType m_OnDiskComponentType
NiftiImageProxy & m_NiftiImage
const AutoPointer< NiftiImageProxy > m_NiftiImageHolder
double m_RescaleIntercept
Control indentation during Print() invocation.
Base class for most ITK classes.
SmartPointer< Self > Pointer