Slicer
4.10
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
|
Read a surface scalar file from Freesurfer tools. More...
#include <Libs/FreeSurfer/vtkFSSurfaceScalarReader.h>
Public Types | |
enum | { FS_NEW_SCALAR_MAGIC_NUMBER = 16777215 } |
typedef vtkDataReader | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
vtkFloatArray * | GetOutput () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) VTK_OVERRIDE |
int | ReadFSScalars () |
Read the scalars from a file. Return 1 on success, 0 on failure. More... | |
void | SetOutput (vtkFloatArray *output) |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkFSSurfaceScalarReader * | New () |
static vtkFSSurfaceScalarReader * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
int | ReadFloat (FILE *iFile, float &oInt) |
int | ReadInt2 (FILE *iFile, int &oInt) |
int | ReadInt3 (FILE *iFile, int &oInt) |
vtkFSSurfaceScalarReader () | |
~vtkFSSurfaceScalarReader () | |
Protected Attributes | |
vtkFloatArray * | Scalars |
Read a surface scalar file from Freesurfer tools.
Reads a surface scalar 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 vtkFSSurfaceScalarReader.h.
typedef vtkDataReader vtkFSSurfaceScalarReader::Superclass |
Definition at line 32 of file vtkFSSurfaceScalarReader.h.
anonymous enum |
file type magic numbers const int FS_NEW_SCALAR_MAGIC_NUMBER = 16777215;
Enumerator | |
---|---|
FS_NEW_SCALAR_MAGIC_NUMBER |
Definition at line 43 of file vtkFSSurfaceScalarReader.h.
|
protected |
|
protected |
|
virtual |
vtkFloatArray* vtkFSSurfaceScalarReader::GetOutput | ( | ) |
|
virtual |
|
static |
|
static |
void vtkFSSurfaceScalarReader::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
|
protected |
int vtkFSSurfaceScalarReader::ReadFSScalars | ( | ) |
Read the scalars from a file. Return 1 on success, 0 on failure.
|
protected |
|
protected |
|
static |
void vtkFSSurfaceScalarReader::SetOutput | ( | vtkFloatArray * | output | ) |
|
protected |
Definition at line 51 of file vtkFSSurfaceScalarReader.h.