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 &) ITK_DELETE_FUNCTION;
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 PrintSelf(std::ostream &os, Indent indent) const override
Abstract superclass defines image IO interface.
SmartPointer< Self > Pointer
bool CheckExtension(const char *, bool &isCompressed)
virtual void ReadImageInformation() override
virtual bool CanWriteFile(const char *) override
GenericCUBFileAdaptor * CreateWriter(const char *filename)
OrientationMap m_OrientationMap
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
GenericCUBFileAdaptor * m_Reader
virtual void Write(const void *buffer) override
static const char * m_VB_ORIENTATION
std::map< OrientationFlags, std::string > InverseOrientationMap
Read VoxBoCUBImage file format.
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.
virtual bool CanReadFile(const char *) override
ValidCoordinateOrientationFlags
Base class for most ITK classes.
virtual void Read(void *buffer) override
virtual void WriteImageInformation() override