18 #ifndef __itkGiftiMeshIO_h
19 #define __itkGiftiMeshIO_h
62 itkGetConstMacro(ReadPointData,
bool);
63 itkSetMacro(ReadPointData,
bool);
64 itkBooleanMacro(ReadPointData);
82 virtual bool CanReadFile(
const char *FileNameToRead);
85 virtual void ReadMeshInformation();
88 virtual void ReadPoints(
void *buffer);
90 virtual void ReadCells(
void *buffer);
92 virtual void ReadPointData(
void *buffer);
94 virtual void ReadCellData(
void *buffer);
103 virtual bool CanWriteFile(
const char *FileNameToWrite);
106 virtual void WriteMeshInformation();
110 virtual void WritePoints(
void *buffer);
112 virtual void WriteCells(
void *buffer);
114 virtual void WritePointData(
void *buffer);
116 virtual void WriteCellData(
void *buffer);
118 virtual void Write();
124 void PrintSelf(std::ostream & os,
Indent indent)
const;
126 template<
class TInput,
class TOutput >
127 void ConvertBuffer(TInput *input, TOutput *output,
SizeValueType numberOfElements)
129 if ( input && output )
133 output[ii] =
static_cast< TOutput
>( input[ii] );
145 void operator=(
const Self &);