COVISE Core
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
Macros | Functions
covFiles.c File Reference
#include <string.h>
#include <stdio.h>
#include <stdarg.h>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <errno.h>
#include <ctype.h>
#include <unistd.h>
#include "covFiles.h"
#include "covWriteFiles.h"
#include "covReadFiles.h"
Include dependency graph for covFiles.c:

Macros

#define COV_READ(fd, data, size)
 
#define COV_READ_INT(fd, data, size)
 
#define COV_READ_FLOAT(fd, data, size)
 
#define COV_READ_BYTE(fd, data, size)
 
#define COV_SKIP_INT(fd, data, size)
 
#define COV_SKIP_FLOAT(fd, data, size)
 
#define COV_SKIP_BYTE(fd, data, size)
 
#define COV_WRITE(fd, data, size)
 
#define CHECK_FOR_ERRORS   1
 
#define SWAP_INT(fd, data, size)
 
#define SWAP_FLOAT(fd, data, size)
 
#define WRITE_COVISE   0
 
#define READ_COVISE   1
 
#define READ_COVISE_OLD   3
 
#define READ_SIZE   2
 
#define READ_SIZE_IMAGE   4
 
#define READ_DIM   54
 
#define SKIP_COVISE   55
 

Functions

static void swap_int (int *d, int num)
 
static void swap_float (float *d, int num)
 
int covOpenOutFile (const char *filename)
 
int covOpenInFile (const char *filename)
 
int covCloseOutFile (int fd)
 
int covCloseInFile (int fd)
 
int covIoAttrib (int fd, int mode, int *num, int *size, char **atNam, char **atVal)
 
int covWriteAttrib (int fd, int num, char **atNam, char **atVal)
 
int covReadAttributes (int fd, char **atNam, char **atVal, int num, int size)
 
int covReadNumAttributes (int fd, int *num, int *size)
 
int covReadDescription (int fd, char *name)
 
int covIoGeometryBegin (int fd, int mode, int *has_geometry, int *has_colors, int *has_normals, int *has_texture)
 
int covWriteGeometryBegin (int fd, int has_colors, int has_normals, int has_texture)
 
int covReadGeometryBegin (int fd, int *has_geometry, int *has_colors, int *has_normals, int *has_texture)
 
int covReadOldGeometryBegin (int fd, int *has_geometry, int *has_colors, int *has_normals)
 
int covWriteGeometryEnd (int fd, char **atNam, char **atVal, int numAttr)
 
int covIoSetBegin (int fd, int mode, int *numElem)
 
int covWriteSetBegin (int fd, int numElem)
 
int covReadSetBegin (int fd, int *numElem)
 
int covWriteSetEnd (int fd, char **atNam, char **atVal, int numAttr)
 
int covIoUNSGRD (int fd, int mode, int *numElem, int *numConn, int *numVert, int *el, int *cl, int *tl, float *x, float *y, float *z, char **atNam, char **atVal, int *numAttr)
 
int covWriteUNSGRD (int fd, int numElem, int numConn, int numVert, int *el, int *cl, int *tl, float *x, float *y, float *z, char **atNam, char **atVal, int numAttr)
 
int covReadSizeUNSGRD (int fd, int *numElem, int *numConn, int *numVert)
 
int covReadUNSGRD (int fd, int numElem, int numConn, int numVert, int *el, int *cl, int *tl, float *x, float *y, float *z)
 
int covSkipUNSGRD (int fd, int numElem, int numConn, int numVert)
 
int covIoSPHERES (int fd, int mode, int *numSphere, float *x, float *y, float *z, float *radius, char **atNam, char **atVal, int *numAttr)
 
int covWriteSPHERES (int fd, int numSphere, float *x, float *y, float *z, float *radius, char **atNam, char **atVal, int numAttr)
 
int covReadSPHERES (int fd, int numSphere, float *x, float *y, float *z, float *radius)
 
int covSkipSPHERES (int fd, int numSphere)
 
int covReadSizeSPHERES (int fd, int *numElem)
 
int covIoPOINTS (int fd, int mode, int *numElem, float *x, float *y, float *z, char **atNam, char **atVal, int *numAttr)
 
int covWritePOINTS (int fd, int numElem, float *x, float *y, float *z, char **atNam, char **atVal, int numAttr)
 
int covReadSizePOINTS (int fd, int *numElem)
 
int covReadPOINTS (int fd, int numElem, float *x, float *y, float *z)
 
int covSkipPOINTS (int fd, int numElem)
 
int covIoDOTEXT (int fd, int mode, int *numElem, char *data, char **atNam, char **atVal, int *numAttr)
 
int covWriteDOTEXT (int fd, int numElem, char *data, char **atNam, char **atVal, int numAttr)
 
int covReadSizeDOTEXT (int fd, int *numElem)
 
int covReadDOTEXT (int fd, int numElem, char *data)
 
int covIoMetaLines (int fd, int mode, char *type, int *numObjects, int *objectList, int *numCorners, int *cornerList, int *numPoints, float *x, float *y, float *z, char **atNam, char **atVal, int *numAttr)
 
int covIoMetaTri (int fd, int mode, char *type, int *numCorners, int *cornerList, int *numPoints, float *x, float *y, float *z, char **atNam, char **atVal, int *numAttr)
 
int covWritePOLYGN (int fd, int numPolygons, int *polyList, int numCorners, int *cornerList, int numPoints, float *x, float *y, float *z, char **atNam, char **atVal, int numAttr)
 
int covReadSizePOLYGN (int fd, int *numPolygons, int *numCorners, int *numPoints)
 
int covReadPOLYGN (int fd, int numPolygons, int *polyList, int numCorners, int *cornerList, int numPoints, float *x, float *y, float *z)
 
int covSkipPOLYGN (int fd, int numPolygons, int numCorners, int numPoints)
 
int covWriteLINES (int fd, int numLines, int *lineList, int numCorners, int *cornerList, int numPoints, float *x, float *y, float *z, char **atNam, char **atVal, int numAttr)
 
int covReadSizeLINES (int fd, int *numLines, int *numCorners, int *numPoints)
 
int covReadLINES (int fd, int numLines, int *lineList, int numCorners, int *cornerList, int numPoints, float *x, float *y, float *z)
 
int covSkipLINES (int fd, int numLines, int numCorners, int numPoints)
 
int covWriteTRI (int fd, int numCorners, int *cornerList, int numPoints, float *x, float *y, float *z, char **atNam, char **atVal, int numAttr)
 
int covReadSizeTRI (int fd, int *numCorners, int *numPoints)
 
int covReadTRI (int fd, int numCorners, int *cornerList, int numPoints, float *x, float *y, float *z)
 
int covWriteQUADS (int fd, int numCorners, int *cornerList, int numPoints, float *x, float *y, float *z, char **atNam, char **atVal, int numAttr)
 
int covReadSizeQUADS (int fd, int *numCorners, int *numPoints)
 
int covReadQUADS (int fd, int numCorners, int *cornerList, int numPoints, float *x, float *y, float *z)
 
int covWriteTRIANG (int fd, int numStrips, int *stripList, int numCorners, int *cornerList, int numPoints, float *x, float *y, float *z, char **atNam, char **atVal, int numAttr)
 
int covReadSizeTRIANG (int fd, int *numStrips, int *numCorners, int *numPoints)
 
int covReadTRIANG (int fd, int numStrips, int *stripList, int numCorners, int *cornerList, int numPoints, float *x, float *y, float *z)
 
int covIoUNIGRD (int fd, int mode, int *xsize, int *ysize, int *zsize, float *xmin, float *xmax, float *ymin, float *ymax, float *zmin, float *zmax, char **atNam, char **atVal, int *numAttr)
 
int covWriteUNIGRD (int fd, int xsize, int ysize, int zsize, float xmin, float xmax, float ymin, float ymax, float zmin, float zmax, char **atNam, char **atVal, int numAttr)
 
int covReadUNIGRD (int fd, int *xsize, int *ysize, int *zsize, float *xmin, float *xmax, float *ymin, float *ymax, float *zmin, float *zmax)
 
int covIoRCTGRD (int fd, int mode, int *xsize, int *ysize, int *zsize, float *x, float *y, float *z, char **atNam, char **atVal, int *numAttr)
 
int covWriteRCTGRD (int fd, int xsize, int ysize, int zsize, float *x, float *y, float *z, char **atNam, char **atVal, int numAttr)
 
int covReadSizeRCTGRD (int fd, int *xsize, int *ysize, int *zsize)
 
int covReadRCTGRD (int fd, int xsize, int ysize, int zsize, float *x, float *y, float *z)
 
int covIoSTRGRD (int fd, int mode, int *xsize, int *ysize, int *zsize, float *x, float *y, float *z, char **atNam, char **atVal, int *numAttr)
 
int covWriteSTRGRD (int fd, int xsize, int ysize, int zsize, float *x, float *y, float *z, char **atNam, char **atVal, int numAttr)
 
int covReadSizeSTRGRD (int fd, int *xsize, int *ysize, int *zsize)
 
int covReadSTRGRD (int fd, int xsize, int ysize, int zsize, float *x, float *y, float *z)
 
int covIoUSTSDT (int fd, int mode, int *numElem, float *x, char **atNam, char **atVal, int *numAttr)
 
int covWriteUSTSDT (int fd, int numElem, float *x, char **atNam, char **atVal, int numAttr)
 
int covReadSizeUSTSDT (int fd, int *numElem)
 
int covReadUSTSDT (int fd, int numElem, float *x)
 
int covSkipUSTSDT (int fd, int numElem)
 
int covIoUSTTDT (int fd, int mode, int *numElem, int *type, float *x, char **atNam, char **atVal, int *numAttr)
 
int covWriteUSTTDT (int fd, int numElem, int type, float *x, char **atNam, char **atVal, int numAttr)
 
int covReadSizeUSTTDT (int fd, int *numElem, int *type)
 
int covReadUSTTDT (int fd, int numElem, int type, float *x)
 
int covIoUSTVDT (int fd, int mode, int *numElem, float *x, float *y, float *z, char **atNam, char **atVal, int *numAttr)
 
int covWriteUSTVDT (int fd, int numElem, float *x, float *y, float *z, char **atNam, char **atVal, int numAttr)
 
int covReadSizeUSTVDT (int fd, int *numElem)
 
int covReadUSTVDT (int fd, int numElem, float *x, float *y, float *z)
 
int covSkipUSTVDT (int fd, int numElem)
 
int covIoSTRSDT (int fd, int mode, int *numElem, float *data, int *xsize, int *ysize, int *zsize, char **atNam, char **atVal, int *numAttr)
 
int covWriteSTRSDT (int fd, int numElem, float *data, int xsize, int ysize, int zsize, char **atNam, char **atVal, int numAttr)
 
int covReadSizeSTRSDT (int fd, int *numElem, int *xsize, int *ysize, int *zsize)
 
int covReadSTRSDT (int fd, int numElem, float *data, int xsize, int ysize, int zsize)
 
int covIoSTRVDT (int fd, int mode, int *numElem, float *data_x, float *data_y, float *data_z, int *xsize, int *ysize, int *zsize, char **atNam, char **atVal, int *numAttr)
 
int covWriteSTRVDT (int fd, int numElem, float *data_x, float *data_y, float *data_z, int xsize, int ysize, int zsize, char **atNam, char **atVal, int numAttr)
 
int covReadSizeSTRVDT (int fd, int *numElem, int *xsize, int *ysize, int *zsize)
 
int covReadSTRVDT (int fd, int numElem, float *data_x, float *data_y, float *data_z, int xsize, int ysize, int zsize)
 
int covIoRGBADT (int fd, int mode, int *numElem, int *colors, char **atNam, char **atVal, int *numAttr)
 
int covWriteRGBADT (int fd, int numElem, int *colors, char **atNam, char **atVal, int numAttr)
 
int covReadSizeRGBADT (int fd, int *numElem)
 
int covReadRGBADT (int fd, int numElem, int *colors)
 
int covIoIMAGE (int fd, int mode, int *PixelImageWidth, int *PixelImageHeight, int *PixelImageSize, int *PixelImageFormatId, int *PixelImageBufferLength, char *PixelImageBuffer, char **ImageatNam, char **ImageatVal, int *numAttr)
 
int covWriteIMAGE (int fd, int PixelImageWidth, int PixelImageHeight, int PixelImageSize, int PixelImageFormatId, char *PixelImageBuffer, char **ImageatNam, char **ImageatVal, int numAttr)
 
int covReadSizeIMAGE (int fd, int *PixelImageWidth, int *PixelImageHeight, int *PixelImageSize, int *PixelImageFormatId, int *PixImageBufferLength)
 
int covReadIMAGE (int fd, int PixelImageWidth, int PixelImageHeight, int PixelImageSize, int PixelImageFormatId, int PixImageBufferLength, char *PixelImageBuffer)
 
int covIoTEXTUR (int fd, int mode, int *PixelImageWidth, int *PixelImageHeight, int *PixelImageSize, int *PixelImageFormatId, int *PixImageBufferLength, char *PixelImageBuffer, char **ImageatNam, char **ImageatVal, int *numImageAttr, int *NumberOfBorderPixels, int *NumberOfComponents, int *Level, int *NumberOfCoordinates, int *NumberOfVertices, int *VertexIndices, float **Coords, char **TextatNam, char **TextatVal, int *numTextAttr)
 
int covWriteTEXTUR (int fd, int PixelImageWidth, int PixelImageHeight, int PixelImageSize, int PixelImageFormatId, char *PixelImageBuffer, char **ImageatNam, char **ImageatVal, int numImageAttr, int NumberOfBorderPixels, int NumberOfComponents, int Level, int NumberOfCoordinates, int NumberOfVertices, int *VertexIndices, float **Coords, char **TextatNam, char **TextatVal, int numTextAttr)
 
int covReadSizeTEXTUR (int fd, int *NumberOfBorderPixels, int *NumberOfComponents, int *Level, int *NumberOfCoordinates, int *NumberOfVertices)
 
int covReadTEXTUR (int fd, int NumberOfBorderPixels, int NumberOfComponents, int Level, int NumberOfCoordinates, int NumberOfVertices, int *VertexIndices, float **Coords)
 
int covIoINTARR (int fd, int mode, int *numDim, int *numElem, int *dim_array, int *data, char **atNam, char **atVal, int *numAttr)
 
int covWriteINTARR (int fd, int numDim, int numElem, int *dim_array, int *data, char **atNam, char **atVal, int numAttr)
 
int covReadDimINTARR (int fd, int *numDim)
 
int covReadSizeINTARR (int fd, int numDim, int *sizes, int *numElem)
 
int covReadINTARR (int fd, int numDim, int numElem, int *dim_array, int *data)
 
int covIoINTDT (int fd, int mode, int *numElem, int *x, char **atNam, char **atVal, int *numAttr)
 
int covWriteINTDT (int fd, int numElem, int *x, char **atNam, char **atVal, int numAttr)
 
int covReadSizeINTDT (int fd, int *numElem)
 
int covReadINTDT (int fd, int numElem, int *x)
 
int covIoBYTEDT (int fd, int mode, int *numElem, unsigned char *x, char **atNam, char **atVal, int *numAttr)
 
int covWriteBYTEDT (int fd, int numElem, unsigned char *x, char **atNam, char **atVal, int numAttr)
 
int covReadSizeBYTEDT (int fd, int *numElem)
 
int covReadBYTEDT (int fd, int numElem, unsigned char *x)
 
int covIoOCTREE (int fd, int mode, int *numCellLists, int *numMacroCellLists, int *numCellBBoxes, int *numGridBBoxes, int *cellLists, int *macroCellLists, float *cellBBoxes, float *gridBBoxes, int *fX, int *fY, int *fZ, int *max_no_levels)
 
int covWriteOCTREE (int fd, int numCellLists, int numMacroCellLists, int numCellBBoxes, int numGridBBoxes, int *cellLists, int *macroCellLists, float *cellBBoxes, float *gridBBoxes, int fX, int fY, int fZ, int max_no_levels)
 
int covReadOCTREE (int fd, int *numCellLists, int *numMacroCellLists, int *numCellBBoxes, int *numGridBBoxes, int *cellLists, int *macroCellLists, float *cellBBoxes, float *gridBBoxes, int *fX, int *fY, int *fZ, int *max_no_levels)
 
int covReadSizeOCTREE (int fd, int *numCellLists, int *numMacroCellLists, int *numCellBBoxes, int *numGridBBoxes)
 
int covIoOBJREF (int fd, int mode, int *objNum)
 
int covWriteOBJREF (int fd, int objNum)
 
int covReadOBJREF (int fd, int *objNum)
 

Macro Definition Documentation

#define CHECK_FOR_ERRORS   1
#define COV_READ (   fd,
  data,
  size 
)
Value:
do \
{ \
ssize_t retval; \
retval = read(abs(fd), (data), (size)); \
if (retval == -1) \
fprintf(stderr, "COV_READ failed: %s\n", strerror(errno)); \
} while (0)
__host__ __device__ int2 abs(int2 v)
Definition: cutil_math.h:1393
GLsizeiptr size
Definition: khronos-glext.h:6610
GLsizei GLsizei GLenum GLenum const GLvoid * data
Definition: khronos-glext.h:6354
#define COV_READ_BYTE (   fd,
  data,
  size 
)
Value:
do \
{ \
ssize_t retval; \
retval = read(abs(fd), (data), (size) * sizeof(char)); \
if (retval == -1) \
fprintf(stderr, "COV_READ_BYTE failed: %s\n", strerror(errno)); \
} while (0)
__host__ __device__ int2 abs(int2 v)
Definition: cutil_math.h:1393
GLsizeiptr size
Definition: khronos-glext.h:6610
GLsizei GLsizei GLenum GLenum const GLvoid * data
Definition: khronos-glext.h:6354
#define COV_READ_FLOAT (   fd,
  data,
  size 
)
Value:
do \
{ \
ssize_t retval; \
retval = read(abs(fd), (data), (size) * sizeof(float)); \
if (retval == -1) \
fprintf(stderr, "COV_READ_FLOAT failed: %s\n", strerror(errno)); \
} while (0)
__host__ __device__ int2 abs(int2 v)
Definition: cutil_math.h:1393
GLsizeiptr size
Definition: khronos-glext.h:6610
GLsizei GLsizei GLenum GLenum const GLvoid * data
Definition: khronos-glext.h:6354
#define COV_READ_INT (   fd,
  data,
  size 
)
Value:
do \
{ \
ssize_t retval; \
retval = read(abs(fd), (data), (size) * sizeof(int)); \
if (retval == -1) \
fprintf(stderr, "COV_READ_INT failed: %s\n", strerror(errno)); \
} while (0)
__host__ __device__ int2 abs(int2 v)
Definition: cutil_math.h:1393
GLsizeiptr size
Definition: khronos-glext.h:6610
GLsizei GLsizei GLenum GLenum const GLvoid * data
Definition: khronos-glext.h:6354
#define COV_SKIP_BYTE (   fd,
  data,
  size 
)
Value:
do \
{ \
ssize_t retval; \
retval = lseek(abs(fd), (size) * sizeof(char), SEEK_CUR); \
if (retval == -1) \
fprintf(stderr, "COV_SKIP_BYTE failed: %s\n", strerror(errno)); \
} while (0)
__host__ __device__ int2 abs(int2 v)
Definition: cutil_math.h:1393
GLsizeiptr size
Definition: khronos-glext.h:6610
#define COV_SKIP_FLOAT (   fd,
  data,
  size 
)
Value:
do \
{ \
ssize_t retval; \
retval = lseek(abs(fd), (size) * sizeof(float), SEEK_CUR); \
if (retval == -1) \
fprintf(stderr, "COV_SKIP_FLOAT failed: %s\n", strerror(errno)); \
} while (0)
__host__ __device__ int2 abs(int2 v)
Definition: cutil_math.h:1393
GLsizeiptr size
Definition: khronos-glext.h:6610
#define COV_SKIP_INT (   fd,
  data,
  size 
)
Value:
do \
{ \
ssize_t retval; \
retval = lseek(abs(fd), (size) * sizeof(int), SEEK_CUR); \
if (retval == -1) \
fprintf(stderr, "COV_SKIP_INT failed: %s\n", strerror(errno)); \
} while (0)
__host__ __device__ int2 abs(int2 v)
Definition: cutil_math.h:1393
GLsizeiptr size
Definition: khronos-glext.h:6610
#define COV_WRITE (   fd,
  data,
  size 
)
Value:
do \
{ \
ssize_t retval; \
retval = write(abs(fd), (data), (size)); \
if (retval == -1) \
fprintf(stderr, "COV_WRITE failed: %s\n", strerror(errno)); \
} while (0)
__host__ __device__ int2 abs(int2 v)
Definition: cutil_math.h:1393
GLsizeiptr size
Definition: khronos-glext.h:6610
GLsizei GLsizei GLenum GLenum const GLvoid * data
Definition: khronos-glext.h:6354
#define READ_COVISE   1
#define READ_COVISE_OLD   3
#define READ_DIM   54
#define READ_SIZE   2
#define READ_SIZE_IMAGE   4
#define SKIP_COVISE   55
#define SWAP_FLOAT (   fd,
  data,
  size 
)
Value:
do \
{ \
if ((fd) < 0) \
} while (0)
GLsizeiptr size
Definition: khronos-glext.h:6610
static void swap_float(float *d, int num)
Definition: covFiles.c:152
GLsizei GLsizei GLenum GLenum const GLvoid * data
Definition: khronos-glext.h:6354
#define SWAP_INT (   fd,
  data,
  size 
)
Value:
do \
{ \
if ((fd) < 0) \
} while (0)
static void swap_int(int *d, int num)
Definition: covFiles.c:135
GLsizeiptr size
Definition: khronos-glext.h:6610
GLsizei GLsizei GLenum GLenum const GLvoid * data
Definition: khronos-glext.h:6354
#define WRITE_COVISE   0

Function Documentation

int covCloseInFile ( int  fd)

COVISE unstructured types

int covCloseOutFile ( int  fd)
int covIoAttrib ( int  fd,
int  mode,
int *  num,
int *  size,
char **  atNam,
char **  atVal 
)
int covIoBYTEDT ( int  fd,
int  mode,
int *  numElem,
unsigned char *  x,
char **  atNam,
char **  atVal,
int *  numAttr 
)
int covIoDOTEXT ( int  fd,
int  mode,
int *  numElem,
char *  data,
char **  atNam,
char **  atVal,
int *  numAttr 
)
int covIoGeometryBegin ( int  fd,
int  mode,
int *  has_geometry,
int *  has_colors,
int *  has_normals,
int *  has_texture 
)
int covIoIMAGE ( int  fd,
int  mode,
int *  PixelImageWidth,
int *  PixelImageHeight,
int *  PixelImageSize,
int *  PixelImageFormatId,
int *  PixelImageBufferLength,
char *  PixelImageBuffer,
char **  ImageatNam,
char **  ImageatVal,
int *  numAttr 
)
int covIoINTARR ( int  fd,
int  mode,
int *  numDim,
int *  numElem,
int *  dim_array,
int *  data,
char **  atNam,
char **  atVal,
int *  numAttr 
)
int covIoINTDT ( int  fd,
int  mode,
int *  numElem,
int *  x,
char **  atNam,
char **  atVal,
int *  numAttr 
)
int covIoMetaLines ( int  fd,
int  mode,
char *  type,
int *  numObjects,
int *  objectList,
int *  numCorners,
int *  cornerList,
int *  numPoints,
float *  x,
float *  y,
float *  z,
char **  atNam,
char **  atVal,
int *  numAttr 
)
int covIoMetaTri ( int  fd,
int  mode,
char *  type,
int *  numCorners,
int *  cornerList,
int *  numPoints,
float *  x,
float *  y,
float *  z,
char **  atNam,
char **  atVal,
int *  numAttr 
)
int covIoOBJREF ( int  fd,
int  mode,
int *  objNum 
)
int covIoOCTREE ( int  fd,
int  mode,
int *  numCellLists,
int *  numMacroCellLists,
int *  numCellBBoxes,
int *  numGridBBoxes,
int *  cellLists,
int *  macroCellLists,
float *  cellBBoxes,
float *  gridBBoxes,
int *  fX,
int *  fY,
int *  fZ,
int *  max_no_levels 
)
int covIoPOINTS ( int  fd,
int  mode,
int *  numElem,
float *  x,
float *  y,
float *  z,
char **  atNam,
char **  atVal,
int *  numAttr 
)
int covIoRCTGRD ( int  fd,
int  mode,
int *  xsize,
int *  ysize,
int *  zsize,
float *  x,
float *  y,
float *  z,
char **  atNam,
char **  atVal,
int *  numAttr 
)
int covIoRGBADT ( int  fd,
int  mode,
int *  numElem,
int *  colors,
char **  atNam,
char **  atVal,
int *  numAttr 
)
int covIoSetBegin ( int  fd,
int  mode,
int *  numElem 
)
int covIoSPHERES ( int  fd,
int  mode,
int *  numSphere,
float *  x,
float *  y,
float *  z,
float *  radius,
char **  atNam,
char **  atVal,
int *  numAttr 
)
int covIoSTRGRD ( int  fd,
int  mode,
int *  xsize,
int *  ysize,
int *  zsize,
float *  x,
float *  y,
float *  z,
char **  atNam,
char **  atVal,
int *  numAttr 
)
int covIoSTRSDT ( int  fd,
int  mode,
int *  numElem,
float *  data,
int *  xsize,
int *  ysize,
int *  zsize,
char **  atNam,
char **  atVal,
int *  numAttr 
)
int covIoSTRVDT ( int  fd,
int  mode,
int *  numElem,
float *  data_x,
float *  data_y,
float *  data_z,
int *  xsize,
int *  ysize,
int *  zsize,
char **  atNam,
char **  atVal,
int *  numAttr 
)
int covIoTEXTUR ( int  fd,
int  mode,
int *  PixelImageWidth,
int *  PixelImageHeight,
int *  PixelImageSize,
int *  PixelImageFormatId,
int *  PixImageBufferLength,
char *  PixelImageBuffer,
char **  ImageatNam,
char **  ImageatVal,
int *  numImageAttr,
int *  NumberOfBorderPixels,
int *  NumberOfComponents,
int *  Level,
int *  NumberOfCoordinates,
int *  NumberOfVertices,
int *  VertexIndices,
float **  Coords,
char **  TextatNam,
char **  TextatVal,
int *  numTextAttr 
)
int covIoUNIGRD ( int  fd,
int  mode,
int *  xsize,
int *  ysize,
int *  zsize,
float *  xmin,
float *  xmax,
float *  ymin,
float *  ymax,
float *  zmin,
float *  zmax,
char **  atNam,
char **  atVal,
int *  numAttr 
)
int covIoUNSGRD ( int  fd,
int  mode,
int *  numElem,
int *  numConn,
int *  numVert,
int *  el,
int *  cl,
int *  tl,
float *  x,
float *  y,
float *  z,
char **  atNam,
char **  atVal,
int *  numAttr 
)
int covIoUSTSDT ( int  fd,
int  mode,
int *  numElem,
float *  x,
char **  atNam,
char **  atVal,
int *  numAttr 
)
int covIoUSTTDT ( int  fd,
int  mode,
int *  numElem,
int *  type,
float *  x,
char **  atNam,
char **  atVal,
int *  numAttr 
)
int covIoUSTVDT ( int  fd,
int  mode,
int *  numElem,
float *  x,
float *  y,
float *  z,
char **  atNam,
char **  atVal,
int *  numAttr 
)
int covOpenInFile ( const char *  filename)
int covOpenOutFile ( const char *  filename)
int covReadAttributes ( int  fd,
char **  atNam,
char **  atVal,
int  num,
int  size 
)
int covReadBYTEDT ( int  fd,
int  numElem,
unsigned char *  x 
)
int covReadDescription ( int  fd,
char *  name 
)
int covReadDimINTARR ( int  fd,
int *  numDim 
)
int covReadDOTEXT ( int  fd,
int  numElem,
char *  data 
)
int covReadGeometryBegin ( int  fd,
int *  has_geometry,
int *  has_colors,
int *  has_normals,
int *  has_texture 
)
int covReadIMAGE ( int  fd,
int  PixelImageWidth,
int  PixelImageHeight,
int  PixelImageSize,
int  PixelImageFormatId,
int  PixImageBufferLength,
char *  PixelImageBuffer 
)
int covReadINTARR ( int  fd,
int  numDim,
int  numElem,
int *  dim_array,
int *  data 
)
int covReadINTDT ( int  fd,
int  numElem,
int *  x 
)
int covReadLINES ( int  fd,
int  numLines,
int *  lineList,
int  numCorners,
int *  cornerList,
int  numPoints,
float *  x,
float *  y,
float *  z 
)
int covReadNumAttributes ( int  fd,
int *  num,
int *  size 
)
int covReadOBJREF ( int  fd,
int *  objNum 
)
int covReadOCTREE ( int  fd,
int *  numCellLists,
int *  numMacroCellLists,
int *  numCellBBoxes,
int *  numGridBBoxes,
int *  cellLists,
int *  macroCellLists,
float *  cellBBoxes,
float *  gridBBoxes,
int *  fX,
int *  fY,
int *  fZ,
int *  max_no_levels 
)
int covReadOldGeometryBegin ( int  fd,
int *  has_geometry,
int *  has_colors,
int *  has_normals 
)
int covReadPOINTS ( int  fd,
int  numElem,
float *  x,
float *  y,
float *  z 
)
int covReadPOLYGN ( int  fd,
int  numPolygons,
int *  polyList,
int  numCorners,
int *  cornerList,
int  numPoints,
float *  x,
float *  y,
float *  z 
)
int covReadQUADS ( int  fd,
int  numCorners,
int *  cornerList,
int  numPoints,
float *  x,
float *  y,
float *  z 
)
int covReadRCTGRD ( int  fd,
int  xsize,
int  ysize,
int  zsize,
float *  x,
float *  y,
float *  z 
)
int covReadRGBADT ( int  fd,
int  numElem,
int *  colors 
)
int covReadSetBegin ( int  fd,
int *  numElem 
)
int covReadSizeBYTEDT ( int  fd,
int *  numElem 
)
int covReadSizeDOTEXT ( int  fd,
int *  numElem 
)
int covReadSizeIMAGE ( int  fd,
int *  PixelImageWidth,
int *  PixelImageHeight,
int *  PixelImageSize,
int *  PixelImageFormatId,
int *  PixImageBufferLength 
)
int covReadSizeINTARR ( int  fd,
int  numDim,
int *  sizes,
int *  numElem 
)
int covReadSizeINTDT ( int  fd,
int *  numElem 
)
int covReadSizeLINES ( int  fd,
int *  numLines,
int *  numCorners,
int *  numPoints 
)
int covReadSizeOCTREE ( int  fd,
int *  numCellLists,
int *  numMacroCellLists,
int *  numCellBBoxes,
int *  numGridBBoxes 
)
int covReadSizePOINTS ( int  fd,
int *  numElem 
)
int covReadSizePOLYGN ( int  fd,
int *  numPolygons,
int *  numCorners,
int *  numPoints 
)
int covReadSizeQUADS ( int  fd,
int *  numCorners,
int *  numPoints 
)
int covReadSizeRCTGRD ( int  fd,
int *  xsize,
int *  ysize,
int *  zsize 
)
int covReadSizeRGBADT ( int  fd,
int *  numElem 
)
int covReadSizeSPHERES ( int  fd,
int *  numElem 
)
int covReadSizeSTRGRD ( int  fd,
int *  xsize,
int *  ysize,
int *  zsize 
)
int covReadSizeSTRSDT ( int  fd,
int *  numElem,
int *  xsize,
int *  ysize,
int *  zsize 
)
int covReadSizeSTRVDT ( int  fd,
int *  numElem,
int *  xsize,
int *  ysize,
int *  zsize 
)
int covReadSizeTEXTUR ( int  fd,
int *  NumberOfBorderPixels,
int *  NumberOfComponents,
int *  Level,
int *  NumberOfCoordinates,
int *  NumberOfVertices 
)
int covReadSizeTRI ( int  fd,
int *  numCorners,
int *  numPoints 
)
int covReadSizeTRIANG ( int  fd,
int *  numStrips,
int *  numCorners,
int *  numPoints 
)
int covReadSizeUNSGRD ( int  fd,
int *  numElem,
int *  numConn,
int *  numVert 
)
int covReadSizeUSTSDT ( int  fd,
int *  numElem 
)
int covReadSizeUSTTDT ( int  fd,
int *  numElem,
int *  type 
)
int covReadSizeUSTVDT ( int  fd,
int *  numElem 
)
int covReadSPHERES ( int  fd,
int  numSphere,
float *  x,
float *  y,
float *  z,
float *  radius 
)
int covReadSTRGRD ( int  fd,
int  xsize,
int  ysize,
int  zsize,
float *  x,
float *  y,
float *  z 
)
int covReadSTRSDT ( int  fd,
int  numElem,
float *  data,
int  xsize,
int  ysize,
int  zsize 
)
int covReadSTRVDT ( int  fd,
int  numElem,
float *  data_x,
float *  data_y,
float *  data_z,
int  xsize,
int  ysize,
int  zsize 
)
int covReadTEXTUR ( int  fd,
int  NumberOfBorderPixels,
int  NumberOfComponents,
int  Level,
int  NumberOfCoordinates,
int  NumberOfVertices,
int *  VertexIndices,
float **  Coords 
)
int covReadTRI ( int  fd,
int  numCorners,
int *  cornerList,
int  numPoints,
float *  x,
float *  y,
float *  z 
)
int covReadTRIANG ( int  fd,
int  numStrips,
int *  stripList,
int  numCorners,
int *  cornerList,
int  numPoints,
float *  x,
float *  y,
float *  z 
)
int covReadUNIGRD ( int  fd,
int *  xsize,
int *  ysize,
int *  zsize,
float *  xmin,
float *  xmax,
float *  ymin,
float *  ymax,
float *  zmin,
float *  zmax 
)
int covReadUNSGRD ( int  fd,
int  numElem,
int  numConn,
int  numVert,
int *  el,
int *  cl,
int *  tl,
float *  x,
float *  y,
float *  z 
)
int covReadUSTSDT ( int  fd,
int  numElem,
float *  x 
)
int covReadUSTTDT ( int  fd,
int  numElem,
int  type,
float *  x 
)
int covReadUSTVDT ( int  fd,
int  numElem,
float *  x,
float *  y,
float *  z 
)
int covSkipLINES ( int  fd,
int  numLines,
int  numCorners,
int  numPoints 
)
int covSkipPOINTS ( int  fd,
int  numElem 
)
int covSkipPOLYGN ( int  fd,
int  numPolygons,
int  numCorners,
int  numPoints 
)
int covSkipSPHERES ( int  fd,
int  numSphere 
)
int covSkipUNSGRD ( int  fd,
int  numElem,
int  numConn,
int  numVert 
)
int covSkipUSTSDT ( int  fd,
int  numElem 
)
int covSkipUSTVDT ( int  fd,
int  numElem 
)
int covWriteAttrib ( int  fd,
int  num,
char **  atNam,
char **  atVal 
)
int covWriteBYTEDT ( int  fd,
int  numElem,
unsigned char *  x,
char **  atNam,
char **  atVal,
int  numAttr 
)
int covWriteDOTEXT ( int  fd,
int  numElem,
char *  data,
char **  atNam,
char **  atVal,
int  numAttr 
)
int covWriteGeometryBegin ( int  fd,
int  has_colors,
int  has_normals,
int  has_texture 
)
int covWriteGeometryEnd ( int  fd,
char **  atNam,
char **  atVal,
int  numAttr 
)
int covWriteIMAGE ( int  fd,
int  PixelImageWidth,
int  PixelImageHeight,
int  PixelImageSize,
int  PixelImageFormatId,
char *  PixelImageBuffer,
char **  ImageatNam,
char **  ImageatVal,
int  numAttr 
)
int covWriteINTARR ( int  fd,
int  numDim,
int  numElem,
int *  dim_array,
int *  data,
char **  atNam,
char **  atVal,
int  numAttr 
)
int covWriteINTDT ( int  fd,
int  numElem,
int *  x,
char **  atNam,
char **  atVal,
int  numAttr 
)
int covWriteLINES ( int  fd,
int  numLines,
int *  lineList,
int  numCorners,
int *  cornerList,
int  numPoints,
float *  x,
float *  y,
float *  z,
char **  atNam,
char **  atVal,
int  numAttr 
)
int covWriteOBJREF ( int  fd,
int  objNum 
)
int covWriteOCTREE ( int  fd,
int  numCellLists,
int  numMacroCellLists,
int  numCellBBoxes,
int  numGridBBoxes,
int *  cellLists,
int *  macroCellLists,
float *  cellBBoxes,
float *  gridBBoxes,
int  fX,
int  fY,
int  fZ,
int  max_no_levels 
)
int covWritePOINTS ( int  fd,
int  numElem,
float *  x,
float *  y,
float *  z,
char **  atNam,
char **  atVal,
int  numAttr 
)
int covWritePOLYGN ( int  fd,
int  numPolygons,
int *  polyList,
int  numCorners,
int *  cornerList,
int  numPoints,
float *  x,
float *  y,
float *  z,
char **  atNam,
char **  atVal,
int  numAttr 
)
int covWriteQUADS ( int  fd,
int  numCorners,
int *  cornerList,
int  numPoints,
float *  x,
float *  y,
float *  z,
char **  atNam,
char **  atVal,
int  numAttr 
)
int covWriteRCTGRD ( int  fd,
int  xsize,
int  ysize,
int  zsize,
float *  x,
float *  y,
float *  z,
char **  atNam,
char **  atVal,
int  numAttr 
)
int covWriteRGBADT ( int  fd,
int  numElem,
int *  colors,
char **  atNam,
char **  atVal,
int  numAttr 
)
int covWriteSetBegin ( int  fd,
int  numElem 
)
int covWriteSetEnd ( int  fd,
char **  atNam,
char **  atVal,
int  numAttr 
)
int covWriteSPHERES ( int  fd,
int  numSphere,
float *  x,
float *  y,
float *  z,
float *  radius,
char **  atNam,
char **  atVal,
int  numAttr 
)
int covWriteSTRGRD ( int  fd,
int  xsize,
int  ysize,
int  zsize,
float *  x,
float *  y,
float *  z,
char **  atNam,
char **  atVal,
int  numAttr 
)
int covWriteSTRSDT ( int  fd,
int  numElem,
float *  data,
int  xsize,
int  ysize,
int  zsize,
char **  atNam,
char **  atVal,
int  numAttr 
)
int covWriteSTRVDT ( int  fd,
int  numElem,
float *  data_x,
float *  data_y,
float *  data_z,
int  xsize,
int  ysize,
int  zsize,
char **  atNam,
char **  atVal,
int  numAttr 
)
int covWriteTEXTUR ( int  fd,
int  PixelImageWidth,
int  PixelImageHeight,
int  PixelImageSize,
int  PixelImageFormatId,
char *  PixelImageBuffer,
char **  ImageatNam,
char **  ImageatVal,
int  numImageAttr,
int  NumberOfBorderPixels,
int  NumberOfComponents,
int  Level,
int  NumberOfCoordinates,
int  NumberOfVertices,
int *  VertexIndices,
float **  Coords,
char **  TextatNam,
char **  TextatVal,
int  numTextAttr 
)
int covWriteTRI ( int  fd,
int  numCorners,
int *  cornerList,
int  numPoints,
float *  x,
float *  y,
float *  z,
char **  atNam,
char **  atVal,
int  numAttr 
)
int covWriteTRIANG ( int  fd,
int  numStrips,
int *  stripList,
int  numCorners,
int *  cornerList,
int  numPoints,
float *  x,
float *  y,
float *  z,
char **  atNam,
char **  atVal,
int  numAttr 
)
int covWriteUNIGRD ( int  fd,
int  xsize,
int  ysize,
int  zsize,
float  xmin,
float  xmax,
float  ymin,
float  ymax,
float  zmin,
float  zmax,
char **  atNam,
char **  atVal,
int  numAttr 
)
int covWriteUNSGRD ( int  fd,
int  numElem,
int  numConn,
int  numVert,
int *  el,
int *  cl,
int *  tl,
float *  x,
float *  y,
float *  z,
char **  atNam,
char **  atVal,
int  numAttr 
)
int covWriteUSTSDT ( int  fd,
int  numElem,
float *  x,
char **  atNam,
char **  atVal,
int  numAttr 
)
int covWriteUSTTDT ( int  fd,
int  numElem,
int  type,
float *  x,
char **  atNam,
char **  atVal,
int  numAttr 
)
int covWriteUSTVDT ( int  fd,
int  numElem,
float *  x,
float *  y,
float *  z,
char **  atNam,
char **  atVal,
int  numAttr 
)
static void swap_float ( float *  d,
int  num 
)
static
static void swap_int ( int *  d,
int  num 
)
static