18 #ifndef itkGiftiMeshIO_h
19 #define itkGiftiMeshIO_h
20 #include "ITKIOMeshGiftiExport.h"
64 itkGetConstMacro(ReadPointData,
bool);
65 itkSetMacro(ReadPointData,
bool);
66 itkBooleanMacro(ReadPointData);
90 CanReadFile(
const char * fileName)
override;
94 ReadMeshInformation()
override;
98 ReadPoints(
void * buffer)
override;
101 ReadCells(
void * buffer)
override;
104 ReadPointData(
void * buffer)
override;
107 ReadCellData(
void * buffer)
override;
117 CanWriteFile(
const char * fileName)
override;
121 WriteMeshInformation()
override;
126 WritePoints(
void * buffer)
override;
129 WriteCells(
void * buffer)
override;
132 WritePointData(
void * buffer)
override;
135 WriteCellData(
void * buffer)
override;
145 PrintSelf(std::ostream & os,
Indent indent)
const override;
147 template <
typename TInput,
typename TOutput>
155 output[ii] = static_cast<TOutput>(input[ii]);
163 class GiftiImageProxy;
171 bool m_ReadPointData{};
176 GetComponentTypeFromGifti(
int datatype);
180 GetPixelTypeFromGifti(
int datatype);
183 GetNumberOfPixelComponentsFromGifti(
int datatype);