18 #ifndef __itkVoxBoCUBImageIO_h
19 #define __itkVoxBoCUBImageIO_h
32 class GenericCUBFileAdaptor;
68 virtual bool CanReadFile(
const char *) ITK_OVERRIDE;
74 virtual
void Read(
void *buffer) ITK_OVERRIDE;
87 virtual
void Write(const
void *buffer) ITK_OVERRIDE;
91 virtual
void PrintSelf(std::ostream & os,
Indent indent) const ITK_OVERRIDE;
95 void operator=(const Self &);
99 GenericCUBFileAdaptor *
CreateReader(const
char *filename);
101 GenericCUBFileAdaptor *
CreateWriter(const
char *filename);
137 #endif // __itkVoxBoCUBImageIO_h
static const char * m_VB_BYTEORDER
Light weight base class for most itk classes.
static const char * m_VB_DATATYPE_BYTE
static const char * m_VB_DATATYPE
static const char * m_VB_DATATYPE_DOUBLE
virtual void Write(const void *buffer) ITK_OVERRIDE
Abstract superclass defines image IO interface.
SmartPointer< Self > Pointer
bool CheckExtension(const char *, bool &isCompressed)
virtual bool CanWriteFile(const char *) ITK_OVERRIDE
virtual void ReadImageInformation() ITK_OVERRIDE
GenericCUBFileAdaptor * CreateWriter(const char *filename)
OrientationMap m_OrientationMap
virtual bool CanReadFile(const char *) ITK_OVERRIDE
static const char * m_VB_BYTEORDER_LSB
static const char * m_VB_DIMENSIONS
static const char * m_VB_SPACING
static const char * m_VB_IDENTIFIER_FILETYPE
void SwapBytesIfNecessary(void *buffer, BufferSizeType numberOfBytes)
GenericCUBFileAdaptor * CreateReader(const char *filename)
static const char * m_VB_DATATYPE_INT
InverseOrientationMap m_InverseOrientationMap
void InitializeOrientationMap()
std::map< std::string, OrientationFlags > OrientationMap
GenericCUBFileAdaptor * m_Writer
static const char * m_VB_IDENTIFIER_SYSTEM
virtual void PrintSelf(std::ostream &os, Indent indent) const ITK_OVERRIDE
GenericCUBFileAdaptor * m_Reader
static const char * m_VB_ORIENTATION
std::map< OrientationFlags, std::string > InverseOrientationMap
Read VoxBoCUBImage file format.
virtual void WriteImageInformation() ITK_OVERRIDE
static const char * m_VB_ORIGIN
static const char * m_VB_DATATYPE_FLOAT
::itk::OffsetValueType BufferSizeType
static const char * m_VB_BYTEORDER_MSB
Control indentation during Print() invocation.
ValidCoordinateOrientationFlags
virtual void Read(void *buffer) ITK_OVERRIDE
Base class for most ITK classes.