Slicer
4.8
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
|
Read a label surface overlay file (*.label) from Freesurfer tools. More...
#include <Libs/FreeSurfer/vtkFSSurfaceLabelReader.h>
Public Types | |
enum | { FS_ERROR_W_NONE = 0, FS_ERROR_W_OUTPUT_NULL = 1, FS_ERROR_W_NO_FILENAME = 2, FS_ERROR_W_OPEN = 3, FS_ERROR_W_NUM_VALUES = 4, FS_ERROR_W_ALLOC = 5, FS_ERROR_W_EOF = 6, FS_NEW_SCALAR_MAGIC_NUMBER = 16777215 } |
typedef vtkDataReader | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual float | GetLabelOff () |
virtual float | GetLabelOn () |
virtual int | GetNumberOfValues () |
virtual int | GetNumberOfVertices () |
Number of vertices on the surface. More... | |
vtkFloatArray * | GetOutput () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) VTK_OVERRIDE |
int | ReadLabel () |
virtual void | SetLabelOff (float) |
virtual void | SetLabelOn (float) |
virtual void | SetNumberOfVertices (int) |
void | SetOutput (vtkFloatArray *output) |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkFSSurfaceLabelReader * | New () |
static vtkFSSurfaceLabelReader * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkFSSurfaceLabelReader () | |
~vtkFSSurfaceLabelReader () | |
Protected Attributes | |
float | LabelOff |
float | LabelOn |
int | NumberOfValues |
number of values read from file More... | |
int | NumberOfVertices |
vtkFloatArray * | Scalars |
Read a label surface overlay file (*.label) from Freesurfer tools.
Reads a surface overlay file file from FreeSurfer and outputs a vtkFloatArray. Use the SetFileName function to specify the file name. The number of values in the array should be equal to the number of vertices/points in the surface, but not all elements may be found in the label file.
Definition at line 29 of file vtkFSSurfaceLabelReader.h.
typedef vtkDataReader vtkFSSurfaceLabelReader::Superclass |
Definition at line 33 of file vtkFSSurfaceLabelReader.h.
anonymous enum |
Definition at line 65 of file vtkFSSurfaceLabelReader.h.
|
protected |
|
protected |
|
virtual |
|
virtual |
Scalar value to use in the array at points that don't appear in the file. defaults to 0.0
|
virtual |
Scalar value to use in the array at points in the file Defaults to 1.0
|
virtual |
Number of values read from file, may not be the same as number of vertices
|
virtual |
Number of vertices on the surface.
|
inline |
Definition at line 36 of file vtkFSSurfaceLabelReader.h.
|
virtual |
|
static |
|
static |
void vtkFSSurfaceLabelReader::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
int vtkFSSurfaceLabelReader::ReadLabel | ( | ) |
|
static |
|
virtual |
|
virtual |
|
virtual |
|
inline |
Definition at line 38 of file vtkFSSurfaceLabelReader.h.
|
protected |
Definition at line 95 of file vtkFSSurfaceLabelReader.h.
|
protected |
Definition at line 96 of file vtkFSSurfaceLabelReader.h.
|
protected |
number of values read from file
Definition at line 93 of file vtkFSSurfaceLabelReader.h.
|
protected |
this is the number of vertices in the associated model file, there may not be as many value in this scalar file as there are vertices
Definition at line 90 of file vtkFSSurfaceLabelReader.h.
|
protected |
Definition at line 83 of file vtkFSSurfaceLabelReader.h.