18 #ifndef itkGiftiMeshIO_h
19 #define itkGiftiMeshIO_h
20 #include "ITKIOMeshGiftiExport.h"
64 itkGetConstMacro(ReadPointData,
bool);
65 itkSetMacro(ReadPointData,
bool);
66 itkBooleanMacro(ReadPointData);
84 bool CanReadFile(
const char *FileNameToRead)
override;
87 void ReadMeshInformation()
override;
90 void ReadPoints(
void *buffer)
override;
92 void ReadCells(
void *buffer)
override;
94 void ReadPointData(
void *buffer)
override;
96 void ReadCellData(
void *buffer)
override;
105 bool CanWriteFile(
const char *FileNameToWrite)
override;
108 void WriteMeshInformation()
override;
112 void WritePoints(
void *buffer)
override;
114 void WriteCells(
void *buffer)
override;
116 void WritePointData(
void *buffer)
override;
118 void WriteCellData(
void *buffer)
override;
120 void Write()
override;
126 void PrintSelf(std::ostream & os,
Indent indent)
const override;
128 template<
typename TInput,
typename TOutput >
131 if ( input && output )
135 output[ii] =
static_cast< TOutput
>( input[ii] );
143 class GiftiImageProxy;
Light weight base class for most itk classes.
IdentifierType SizeValueType
Represent Red, Green, Blue and Alpha components for color images.
unsigned long SizeValueType
A wrapper of the STL "map" container.
void ConvertBuffer(TInput *input, TOutput *output, SizeValueType numberOfElements)
This class defines how to read and write Gifti file format.
DirectionType m_Direction
Control indentation during Print() invocation.
Abstract superclass defines mesh IO interface.
Base class for most ITK classes.
const std::unique_ptr< GiftiImageProxy > m_GiftiImageHolder
GiftiImageProxy & m_GiftiImage