10 #ifndef __vtkFSSurfaceReader_h 11 #define __vtkFSSurfaceReader_h 13 #include "FreeSurferConfigure.h" 14 #include "vtkFreeSurferExport.h" 17 #include <vtkAbstractPolyDataReader.h> 24 #define FS_CALC_NORMALS 0 27 class vtkInformationVector;
39 void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
44 FS_QUAD_FILE_MAGIC_NUMBER = (-1 & 0x00ffffff),
45 FS_NEW_QUAD_FILE_MAGIC_NUMBER = (-3 & 0x00ffffff),
46 FS_TRIANGLE_FILE_MAGIC_NUMBER = (-2 & 0x00ffffff),
47 FS_NUM_VERTS_IN_QUAD_FACE = 4,
48 FS_NUM_VERTS_IN_TRI_FACE = 3,
49 FS_MAX_NUM_FACES_PER_VERTEX = 10,
58 vtkInformationVector **,
59 vtkInformationVector *outputVector) VTK_OVERRIDE;
73 int faces[FS_MAX_NUM_FACES_PER_VERTEX];
74 int indicesInFace[FS_MAX_NUM_FACES_PER_VERTEX];
80 int vertices[FS_NUM_SIDES_IN_FACE];
Read a surface file from Freesurfer tools.