Slicer
4.10
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
|
Read a surface w file (*.w) file from Freesurfer tools. More...
#include <Libs/FreeSurfer/vtkFSSurfaceWFileReader.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 int | GetNumberOfVertices () |
vtkFloatArray * | GetOutput () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) VTK_OVERRIDE |
int | ReadWFile () |
virtual void | SetNumberOfVertices (int) |
void | SetOutput (vtkFloatArray *output) |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkFSSurfaceWFileReader * | New () |
static vtkFSSurfaceWFileReader * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
int | ReadFloat (FILE *iFile, float &oInt) |
int | ReadInt2 (FILE *iFile, int &oInt) |
int | ReadInt3 (FILE *iFile, int &oInt) |
vtkFSSurfaceWFileReader () | |
~vtkFSSurfaceWFileReader () | |
Protected Attributes | |
int | NumberOfVertices |
vtkFloatArray * | Scalars |
Read a surface w file (*.w) file from Freesurfer tools.
Reads a surface w 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.
Definition at line 28 of file vtkFSSurfaceWFileReader.h.
typedef vtkDataReader vtkFSSurfaceWFileReader::Superclass |
Definition at line 32 of file vtkFSSurfaceWFileReader.h.
anonymous enum |
Definition at line 43 of file vtkFSSurfaceWFileReader.h.
|
protected |
|
protected |
|
virtual |
|
virtual |
vtkFloatArray* vtkFSSurfaceWFileReader::GetOutput | ( | ) |
|
virtual |
|
static |
|
static |
void vtkFSSurfaceWFileReader::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
|
protected |
|
protected |
|
protected |
int vtkFSSurfaceWFileReader::ReadWFile | ( | ) |
|
static |
|
virtual |
void vtkFSSurfaceWFileReader::SetOutput | ( | vtkFloatArray * | output | ) |
|
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 66 of file vtkFSSurfaceWFileReader.h.
|
protected |
Definition at line 61 of file vtkFSSurfaceWFileReader.h.