Overture
Version 25
|
#include <stdio.h>
#include <stddef.h>
Go to the source code of this file.
Classes | |
struct | PlyProperty |
struct | PlyElement |
struct | PlyOtherProp |
struct | OtherData |
struct | OtherElem |
struct | PlyOtherElems |
struct | PlyFile |
Macros | |
#define | PLY_ASCII 1 /* ascii PLY file */ |
#define | PLY_BINARY_BE 2 /* binary PLY file, big endian */ |
#define | PLY_BINARY_LE 3 /* binary PLY file, little endian */ |
#define | PLY_OKAY 0 /* ply routine worked okay */ |
#define | PLY_ERROR -1 /* error in ply routine */ |
#define | PLY_START_TYPE 0 |
#define | PLY_CHAR 1 |
#define | PLY_SHORT 2 |
#define | PLY_INT 3 |
#define | PLY_UCHAR 4 |
#define | PLY_USHORT 5 |
#define | PLY_UINT 6 |
#define | PLY_FLOAT 7 |
#define | PLY_DOUBLE 8 |
#define | PLY_END_TYPE 9 |
#define | PLY_SCALAR 0 |
#define | PLY_LIST 1 |
#define | myalloc(mem_size) my_alloc((mem_size), __LINE__, __FILE__) |
Typedefs | |
typedef struct PlyProperty | PlyProperty |
typedef struct PlyElement | PlyElement |
typedef struct PlyOtherProp | PlyOtherProp |
typedef struct OtherData | OtherData |
typedef struct OtherElem | OtherElem |
typedef struct PlyOtherElems | PlyOtherElems |
typedef struct PlyFile | PlyFile |
#define myalloc | ( | mem_size | ) | my_alloc((mem_size), __LINE__, __FILE__) |
#define PLY_ASCII 1 /* ascii PLY file */ |
#define PLY_BINARY_BE 2 /* binary PLY file, big endian */ |
#define PLY_BINARY_LE 3 /* binary PLY file, little endian */ |
#define PLY_CHAR 1 |
#define PLY_DOUBLE 8 |
#define PLY_END_TYPE 9 |
#define PLY_ERROR -1 /* error in ply routine */ |
#define PLY_FLOAT 7 |
Referenced by PlyFileInterface::readFile().
#define PLY_INT 3 |
Referenced by PlyFileInterface::readFile().
#define PLY_LIST 1 |
#define PLY_OKAY 0 /* ply routine worked okay */ |
#define PLY_SCALAR 0 |
#define PLY_SHORT 2 |
#define PLY_START_TYPE 0 |
#define PLY_UCHAR 4 |
Referenced by PlyFileInterface::readFile().
#define PLY_UINT 6 |
#define PLY_USHORT 5 |
typedef struct PlyElement PlyElement |
typedef struct PlyOtherElems PlyOtherElems |
typedef struct PlyOtherProp PlyOtherProp |
typedef struct PlyProperty PlyProperty |
int equal_strings | ( | const char * | , |
const char * | |||
) |
Referenced by PlyFileInterface::openFile(), and PlyFileInterface::readFile().
char* my_alloc | ( | ) |
void ply_close | ( | PlyFile * | ) |
Referenced by PlyFileInterface::closeFile().
void ply_describe_element | ( | PlyFile * | , |
char * | , | ||
int | , | ||
int | , | ||
PlyProperty * | |||
) |
void ply_describe_other_elements | ( | PlyFile * | , |
PlyOtherElems * | |||
) |
void ply_describe_property | ( | PlyFile * | , |
char * | , | ||
PlyProperty * | |||
) |
void ply_element_count | ( | PlyFile * | , |
char * | , | ||
int | |||
) |
void ply_free_other_elements | ( | PlyOtherElems * | ) |
char** ply_get_comments | ( | PlyFile * | , |
int * | |||
) |
Referenced by PlyFileInterface::readFile().
void ply_get_element | ( | PlyFile * | , |
void * | |||
) |
Referenced by PlyFileInterface::readFile().
PlyProperty** ply_get_element_description | ( | PlyFile * | , |
char * | , | ||
int * | , | ||
int * | |||
) |
Referenced by PlyFileInterface::openFile(), and PlyFileInterface::readFile().
void ply_get_element_setup | ( | PlyFile * | , |
char * | , | ||
int | , | ||
PlyProperty * | |||
) |
void ply_get_info | ( | PlyFile * | , |
float * | , | ||
int * | |||
) |
char** ply_get_obj_info | ( | PlyFile * | , |
int * | |||
) |
Referenced by PlyFileInterface::readFile().
PlyOtherElems* ply_get_other_element | ( | PlyFile * | , |
char * | , | ||
int | |||
) |
PlyOtherProp* ply_get_other_properties | ( | PlyFile * | , |
char * | , | ||
int | |||
) |
void ply_get_property | ( | PlyFile * | , |
char * | , | ||
PlyProperty * | |||
) |
Referenced by PlyFileInterface::readFile().
void ply_header_complete | ( | PlyFile * | ) |
PlyFile* ply_open_for_reading | ( | char * | , |
int * | , | ||
char *** | , | ||
int * | , | ||
float * | |||
) |
Referenced by PlyFileInterface::openFile().
PlyFile* ply_open_for_writing | ( | char * | , |
int | , | ||
char ** | , | ||
int | , | ||
float * | |||
) |
void ply_put_comment | ( | PlyFile * | , |
char * | |||
) |
void ply_put_element | ( | PlyFile * | , |
void * | |||
) |
void ply_put_element_setup | ( | PlyFile * | , |
char * | |||
) |
void ply_put_obj_info | ( | PlyFile * | , |
char * | |||
) |
void ply_put_other_elements | ( | PlyFile * | ) |
PlyFile* ply_read | ( | FILE * | , |
int * | , | ||
char *** | |||
) |
PlyFile* ply_write | ( | FILE * | , |
int | , | ||
char ** | , | ||
int | |||
) |