src/nrrd/formatVTK.c File Reference

#include "nrrd.h"
#include "privateNrrd.h"

Include dependency graph for formatVTK.c:


Defines

#define MAGIC1   "# vtk DataFile Version 1.0"
#define MAGIC2   "# vtk DataFile Version 2.0"
#define MAGIC3   "# vtk DataFile Version 3.0"
#define GETLINE(what)

Functions

int _nrrdFormatVTK_available (void)
int _nrrdFormatVTK_nameLooksLike (const char *fname)
int _nrrdFormatVTK_fitsInto (const Nrrd *nrrd, const NrrdEncoding *encoding, int useBiff)
int _nrrdFormatVTK_contentStartsLike (NrrdIoState *nio)
int _nrrdFormatVTK_read (FILE *file, Nrrd *nrrd, NrrdIoState *nio)
int _nrrdFormatVTK_write (FILE *file, const Nrrd *_nrrd, NrrdIoState *nio)

Variables

const NrrdFormat _nrrdFormatVTK
const NrrdFormat *const nrrdFormatVTK = &_nrrdFormatVTK

Define Documentation

#define GETLINE ( what   ) 

Value:

do { \
    ret = _nrrdOneLine(&llen, nio, file); \
  } while (!ret && (1 == llen)); \
  if (ret || !llen) { \
    sprintf(err, "%s: couldn't get " #what " line", me); \
    biffAdd(NRRD, err); return 1; \
  }

#define MAGIC1   "# vtk DataFile Version 1.0"

#define MAGIC2   "# vtk DataFile Version 2.0"

#define MAGIC3   "# vtk DataFile Version 3.0"


Function Documentation

int _nrrdFormatVTK_available ( void   ) 

int _nrrdFormatVTK_contentStartsLike ( NrrdIoState nio  ) 

int _nrrdFormatVTK_fitsInto ( const Nrrd nrrd,
const NrrdEncoding encoding,
int  useBiff 
)

int _nrrdFormatVTK_nameLooksLike ( const char *  fname  ) 

int _nrrdFormatVTK_read ( FILE *  file,
Nrrd nrrd,
NrrdIoState nio 
)

int _nrrdFormatVTK_write ( FILE *  file,
const Nrrd _nrrd,
NrrdIoState nio 
)


Variable Documentation


Generated on Thu Jan 1 01:06:57 2009 for Teem by  doxygen 1.5.6