vtkFSIO Class Reference

#include <vtkFSIO.h>

List of all members.

Static Public Member Functions

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

Detailed Description

.NAME vtkFSIO - Some IO functions for irregular FreeSurface files. .SECTION Description Some simple functions for doing silly things like reading three byte ints, common in FreeSurfer file types.


Member Function Documentation

static vtkFSIO* vtkFSIO::New (  )  [inline, static]
int vtkFSIO::ReadFloat ( FILE *  iFile,
float &  oFloat 
) [static]

References fread, and result.

Referenced by vtkFSSurfaceReader::RequestData().

int vtkFSIO::ReadFloatZ ( gzFile  iFile,
float &  oFloat 
) [static]

References result.

int vtkFSIO::ReadInt ( FILE *  iFile,
int oInt 
) [static]
int vtkFSIO::ReadInt2 ( FILE *  iFile,
int oInt 
) [static]

References fread, and result.

Referenced by vtkFSSurfaceReader::RequestData().

int vtkFSIO::ReadInt2Z ( gzFile  iFile,
int oInt 
) [static]

References result.

int vtkFSIO::ReadInt3 ( FILE *  iFile,
int oInt 
) [static]

References fread, and result.

Referenced by vtkFSSurfaceReader::RequestData().

int vtkFSIO::ReadInt3Z ( gzFile  iFile,
int oInt 
) [static]

References result.

int vtkFSIO::ReadIntZ ( gzFile  iFile,
int oInt 
) [static]

References result.

int vtkFSIO::ReadShort ( FILE *  iFile,
short &  oShort 
) [static]

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.

References fread, result, and ipTk::s.

int vtkFSIO::ReadShortZ ( gzFile  iFile,
short &  oShort 
) [static]

References result, and ipTk::s.

int vtkFSIO::WriteInt ( FILE *  iFile,
int  iInt 
) [static]

for testing purposes

References fwrite, and result.

Referenced by vtkFSSurfaceAnnotationReader::WriteFSAnnotation().

int vtkFSIO::WriteInt2 ( FILE *  iFile,
int  iInt 
) [static]

References fread, and result.

int vtkFSIO::WriteInt3 ( FILE *  iFile,
int  iInt 
) [static]

References fwrite, and result.


The documentation for this class was generated from the following files:

Generated on 6 Apr 2011 for Slicer3 by  doxygen 1.6.1