18#ifndef itkVoxBoCUBImageIO_h
19#define itkVoxBoCUBImageIO_h
32class GenericCUBFileAdaptor;
79 Read(
void * buffer)
override;
95 Write(
const void * buffer)
override;
106 GenericCUBFileAdaptor *
109 GenericCUBFileAdaptor *
Abstract superclass defines image IO interface.
itk::OffsetValueType BufferSizeType
Control indentation during Print() invocation.
Light weight base class for most itk classes.
Base class for most ITK classes.
Read VoxBoCUBImage file format.
GenericCUBFileAdaptor * CreateReader(const char *filename)
GenericCUBFileAdaptor * m_Reader
static const char * m_VB_DATATYPE
static const char * m_VB_BYTEORDER
std::map< std::string, OrientationFlags > OrientationMap
GenericCUBFileAdaptor * m_Writer
void Read(void *buffer) override
static const char * m_VB_IDENTIFIER_FILETYPE
static const char * m_VB_BYTEORDER_LSB
OrientationMap m_OrientationMap
void SwapBytesIfNecessary(void *buffer, BufferSizeType numberOfBytes)
static const char * m_VB_DIMENSIONS
std::map< OrientationFlags, std::string > InverseOrientationMap
static const char * m_VB_DATATYPE_FLOAT
static const char * m_VB_IDENTIFIER_SYSTEM
bool CanReadFile(const char *) override
static const char * m_VB_ORIGIN
void InitializeOrientationMap()
void WriteImageInformation() override
bool CanWriteFile(const char *) override
GenericCUBFileAdaptor * CreateWriter(const char *filename)
static const char * m_VB_DATATYPE_BYTE
~VoxBoCUBImageIO() override
static const char * m_VB_SPACING
static const char * m_VB_ORIENTATION
static const char * m_VB_BYTEORDER_MSB
static const char * m_VB_DATATYPE_INT
static const char * m_VB_DATATYPE_DOUBLE
void Write(const void *buffer) override
bool CheckExtension(const char *, bool &isCompressed)
void ReadImageInformation() override
InverseOrientationMap m_InverseOrientationMap
void PrintSelf(std::ostream &os, Indent indent) const override
ValidCoordinateOrientations
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....