10 #ifndef __vtkFSSurfaceLabelReader_h 11 #define __vtkFSSurfaceLabelReader_h 13 #include "FreeSurferConfigure.h" 14 #include "vtkFreeSurferExport.h" 17 #include <vtkDataReader.h> 34 void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
37 {
return this->Scalars; };
39 {this->Scalars = output; };
45 vtkGetMacro(NumberOfVertices,
int);
46 vtkSetMacro(NumberOfVertices,
int);
51 vtkGetMacro(NumberOfValues,
int);
56 vtkGetMacro(LabelOn,
float);
57 vtkSetMacro(LabelOn,
float);
62 vtkGetMacro(LabelOff,
float);
63 vtkSetMacro(LabelOff,
float);
69 FS_ERROR_W_OUTPUT_NULL = 1,
70 FS_ERROR_W_NO_FILENAME = 2,
72 FS_ERROR_W_NUM_VALUES = 4,
76 FS_NEW_SCALAR_MAGIC_NUMBER = 16777215,
vtkFloatArray * GetOutput()
int NumberOfValues
number of values read from file
void SetOutput(vtkFloatArray *output)
Read a label surface overlay file (*.label) from Freesurfer tools.