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

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 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" |
| 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 | |||
| ) |
| const NrrdFormat _nrrdFormatVTK |
| const NrrdFormat* const nrrdFormatVTK = &_nrrdFormatVTK |
1.5.6