Slicer  4.8
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
vtkFSIO.h
Go to the documentation of this file.
1 /*=auto=========================================================================
2 
3  Portions (c) Copyright 2005 Brigham and Women's Hospital (BWH) All Rights Reserved.
4 
5  See COPYRIGHT.txt
6  or http://www.slicer.org/copyright/copyright.txt for details.
7 
8 =========================================================================auto=*/
9 
10 #ifndef __vtkFSIO_h
11 #define __vtkFSIO_h
12 
13 #include "vtkFreeSurferExport.h"
14 
15 // VTK includes
16 #include <vtk_zlib.h>
17 
18 // STD includes
19 #include <cstdio>
20 
25 namespace vtkFSIO {
26 
29  int VTK_FreeSurfer_EXPORT ReadShort (FILE* iFile, short& oShort);
30  int VTK_FreeSurfer_EXPORT ReadInt (FILE* iFile, int& oInt);
31  int VTK_FreeSurfer_EXPORT ReadInt3 (FILE* iFile, int& oInt);
32  int VTK_FreeSurfer_EXPORT ReadInt2 (FILE* iFile, int& oInt);
33  int VTK_FreeSurfer_EXPORT ReadFloat (FILE* iFile, float& oFloat);
34 
35  int VTK_FreeSurfer_EXPORT ReadShortZ (gzFile iFile, short& oShort);
36  int VTK_FreeSurfer_EXPORT ReadIntZ (gzFile iFile, int& oInt);
37  int VTK_FreeSurfer_EXPORT ReadInt3Z (gzFile iFile, int& oInt);
38  int VTK_FreeSurfer_EXPORT ReadInt2Z (gzFile iFile, int& oInt);
39  int VTK_FreeSurfer_EXPORT ReadFloatZ (gzFile iFile, float& oFloat);
40 
42  int VTK_FreeSurfer_EXPORT WriteInt (FILE* iFile, int iInt);
43  int VTK_FreeSurfer_EXPORT WriteInt3 (FILE* iFile, int iInt);
44  int VTK_FreeSurfer_EXPORT WriteInt2 (FILE* iFile, int iInt);
45 }
46 
47 #endif
int VTK_FreeSurfer_EXPORT ReadInt2Z(gzFile iFile, int &oInt)
int VTK_FreeSurfer_EXPORT ReadFloatZ(gzFile iFile, float &oFloat)
int VTK_FreeSurfer_EXPORT ReadInt3(FILE *iFile, int &oInt)
int VTK_FreeSurfer_EXPORT ReadInt2(FILE *iFile, int &oInt)
int VTK_FreeSurfer_EXPORT WriteInt3(FILE *iFile, int iInt)
int VTK_FreeSurfer_EXPORT ReadIntZ(gzFile iFile, int &oInt)
int VTK_FreeSurfer_EXPORT ReadShortZ(gzFile iFile, short &oShort)
int VTK_FreeSurfer_EXPORT WriteInt(FILE *iFile, int iInt)
For testing purposes.
int VTK_FreeSurfer_EXPORT WriteInt2(FILE *iFile, int iInt)
int VTK_FreeSurfer_EXPORT ReadInt3Z(gzFile iFile, int &oInt)
int VTK_FreeSurfer_EXPORT ReadFloat(FILE *iFile, float &oFloat)
Some IO functions for irregular FreeSurface files.
Definition: vtkFSIO.h:25
int VTK_FreeSurfer_EXPORT ReadShort(FILE *iFile, short &oShort)
int VTK_FreeSurfer_EXPORT ReadInt(FILE *iFile, int &oInt)