10 #ifndef __vtkFSSurfaceWFileReader_h 11 #define __vtkFSSurfaceWFileReader_h 13 #include "FreeSurferConfigure.h" 14 #include "vtkFreeSurferExport.h" 17 #include <vtkDataReader.h> 33 void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
35 vtkFloatArray *GetOutput();
36 void SetOutput(vtkFloatArray *output);
40 vtkGetMacro(NumberOfVertices,
int);
41 vtkSetMacro(NumberOfVertices,
int);
47 FS_ERROR_W_OUTPUT_NULL = 1,
48 FS_ERROR_W_NO_FILENAME = 2,
50 FS_ERROR_W_NUM_VALUES = 4,
54 FS_NEW_SCALAR_MAGIC_NUMBER = 16777215,
68 int ReadInt3 (FILE* iFile,
int& oInt);
69 int ReadInt2 (FILE* iFile,
int& oInt);
int VTK_FreeSurfer_EXPORT ReadInt3(FILE *iFile, int &oInt)
int VTK_FreeSurfer_EXPORT ReadInt2(FILE *iFile, int &oInt)
Read a surface w file (*.w) file from Freesurfer tools.
int VTK_FreeSurfer_EXPORT ReadFloat(FILE *iFile, float &oFloat)