Slicer  4.8
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
Functions
vtkFSIO Namespace Reference

Some IO functions for irregular FreeSurface files. More...

Functions

int VTK_FreeSurfer_EXPORT ReadFloat (FILE *iFile, float &oFloat)
 
int VTK_FreeSurfer_EXPORT ReadFloatZ (gzFile iFile, float &oFloat)
 
int VTK_FreeSurfer_EXPORT ReadInt (FILE *iFile, int &oInt)
 
int VTK_FreeSurfer_EXPORT ReadInt2 (FILE *iFile, int &oInt)
 
int VTK_FreeSurfer_EXPORT ReadInt2Z (gzFile iFile, int &oInt)
 
int VTK_FreeSurfer_EXPORT ReadInt3 (FILE *iFile, int &oInt)
 
int VTK_FreeSurfer_EXPORT ReadInt3Z (gzFile iFile, int &oInt)
 
int VTK_FreeSurfer_EXPORT ReadIntZ (gzFile iFile, int &oInt)
 
int VTK_FreeSurfer_EXPORT ReadShort (FILE *iFile, short &oShort)
 
int VTK_FreeSurfer_EXPORT ReadShortZ (gzFile iFile, short &oShort)
 
int VTK_FreeSurfer_EXPORT WriteInt (FILE *iFile, int iInt)
 For testing purposes. More...
 
int VTK_FreeSurfer_EXPORT WriteInt2 (FILE *iFile, int iInt)
 
int VTK_FreeSurfer_EXPORT WriteInt3 (FILE *iFile, int iInt)
 

Detailed Description

Some IO functions for irregular FreeSurface files.

Some simple functions for doing silly things like reading three byte ints, common in FreeSurfer file types.

Function Documentation

◆ ReadFloat()

int VTK_FreeSurfer_EXPORT vtkFSIO::ReadFloat ( FILE *  iFile,
float &  oFloat 
)

◆ ReadFloatZ()

int VTK_FreeSurfer_EXPORT vtkFSIO::ReadFloatZ ( gzFile  iFile,
float &  oFloat 
)

◆ ReadInt()

int VTK_FreeSurfer_EXPORT vtkFSIO::ReadInt ( FILE *  iFile,
int &  oInt 
)

◆ ReadInt2()

int VTK_FreeSurfer_EXPORT vtkFSIO::ReadInt2 ( FILE *  iFile,
int &  oInt 
)

◆ ReadInt2Z()

int VTK_FreeSurfer_EXPORT vtkFSIO::ReadInt2Z ( gzFile  iFile,
int &  oInt 
)

◆ ReadInt3()

int VTK_FreeSurfer_EXPORT vtkFSIO::ReadInt3 ( FILE *  iFile,
int &  oInt 
)

◆ ReadInt3Z()

int VTK_FreeSurfer_EXPORT vtkFSIO::ReadInt3Z ( gzFile  iFile,
int &  oInt 
)

◆ ReadIntZ()

int VTK_FreeSurfer_EXPORT vtkFSIO::ReadIntZ ( gzFile  iFile,
int &  oInt 
)

◆ ReadShort()

int VTK_FreeSurfer_EXPORT vtkFSIO::ReadShort ( FILE *  iFile,
short &  oShort 
)

These use FILE types instead of file streams for no good reason, simply because the old code from which this is adapted is C-based.

◆ ReadShortZ()

int VTK_FreeSurfer_EXPORT vtkFSIO::ReadShortZ ( gzFile  iFile,
short &  oShort 
)

◆ WriteInt()

int VTK_FreeSurfer_EXPORT vtkFSIO::WriteInt ( FILE *  iFile,
int  iInt 
)

For testing purposes.

◆ WriteInt2()

int VTK_FreeSurfer_EXPORT vtkFSIO::WriteInt2 ( FILE *  iFile,
int  iInt 
)

◆ WriteInt3()

int VTK_FreeSurfer_EXPORT vtkFSIO::WriteInt3 ( FILE *  iFile,
int  iInt 
)