#include <stdio.h>#include <stddef.h>

Go to the source code of this file.
| Classes | |
| struct | OtherData | 
| struct | OtherElem | 
| struct | PlyElement | 
| struct | PlyFile | 
| struct | PlyOtherElems | 
| struct | PlyOtherProp | 
| struct | PlyProperty | 
| Defines | |
| #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 | 
| #define | PLY_INT 3 | 
| #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 | 
| #define | PLY_UINT 6 | 
| #define | PLY_USHORT 5 | 
| Typedefs | |
| typedef struct OtherData | OtherData | 
| typedef struct OtherElem | OtherElem | 
| typedef struct PlyElement | PlyElement | 
| typedef struct PlyFile | PlyFile | 
| typedef struct PlyOtherElems | PlyOtherElems | 
| typedef struct PlyOtherProp | PlyOtherProp | 
| typedef struct PlyProperty | PlyProperty | 
| Functions | |
| int | equal_strings (char *, char *) | 
| char * | my_alloc () | 
| void | ply_close (PlyFile *) | 
| 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 *) | 
| void | ply_get_element (PlyFile *, void *) | 
| PlyProperty ** | ply_get_element_description (PlyFile *, char *, int *, int *) | 
| void | ply_get_element_setup (PlyFile *, char *, int, PlyProperty *) | 
| void | ply_get_info (PlyFile *, float *, int *) | 
| char ** | ply_get_obj_info (PlyFile *, int *) | 
| PlyOtherElems * | ply_get_other_element (PlyFile *, char *, int) | 
| PlyOtherProp * | ply_get_other_properties (PlyFile *, char *, int) | 
| void | ply_get_property (PlyFile *, char *, PlyProperty *) | 
| void | ply_header_complete (PlyFile *) | 
| PlyFile * | ply_open_for_reading (char *, int *, char ***, int *, float *) | 
| 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) | 
Definition at line 131 of file Tracker/ply.h.
| #define PLY_ASCII 1 /* ascii PLY file */ | 
Definition at line 43 of file Tracker/ply.h.
| #define PLY_BINARY_BE 2 /* binary PLY file, big endian */ | 
Definition at line 44 of file Tracker/ply.h.
| #define PLY_BINARY_LE 3 /* binary PLY file, little endian */ | 
Definition at line 45 of file Tracker/ply.h.
| #define PLY_CHAR 1 | 
Definition at line 53 of file Tracker/ply.h.
| #define PLY_DOUBLE 8 | 
Definition at line 60 of file Tracker/ply.h.
| #define PLY_END_TYPE 9 | 
Definition at line 61 of file Tracker/ply.h.
| #define PLY_ERROR -1 /* error in ply routine */ | 
Definition at line 48 of file Tracker/ply.h.
| #define PLY_FLOAT 7 | 
Definition at line 59 of file Tracker/ply.h.
| #define PLY_INT 3 | 
Definition at line 55 of file Tracker/ply.h.
| #define PLY_LIST 1 | 
Definition at line 64 of file Tracker/ply.h.
| #define PLY_OKAY 0 /* ply routine worked okay */ | 
Definition at line 47 of file Tracker/ply.h.
| #define PLY_SCALAR 0 | 
Definition at line 63 of file Tracker/ply.h.
| #define PLY_SHORT 2 | 
Definition at line 54 of file Tracker/ply.h.
| #define PLY_START_TYPE 0 | 
Definition at line 52 of file Tracker/ply.h.
| #define PLY_UCHAR 4 | 
Definition at line 56 of file Tracker/ply.h.
| #define PLY_UINT 6 | 
Definition at line 58 of file Tracker/ply.h.
| #define PLY_USHORT 5 | 
Definition at line 57 of file Tracker/ply.h.
| typedef struct PlyElement PlyElement | 
| typedef struct PlyOtherElems PlyOtherElems | 
| typedef struct PlyOtherProp PlyOtherProp | 
| typedef struct PlyProperty PlyProperty | 
| int equal_strings | ( | char * | , | 
| char * | |||
| ) | 
Definition at line 1409 of file TomGine/ply.c.
| char* my_alloc | ( | ) | 
Definition at line 1375 of file TomGine/ply.c.
| void ply_describe_element | ( | PlyFile * | , | 
| char * | , | ||
| int | , | ||
| int | , | ||
| PlyProperty * | |||
| ) | 
Definition at line 252 of file TomGine/ply.c.
| void ply_describe_other_elements | ( | PlyFile * | , | 
| PlyOtherElems * | |||
| ) | 
Definition at line 1292 of file TomGine/ply.c.
| void ply_describe_property | ( | PlyFile * | , | 
| char * | , | ||
| PlyProperty * | |||
| ) | 
Definition at line 297 of file TomGine/ply.c.
| void ply_element_count | ( | PlyFile * | , | 
| char * | , | ||
| int | |||
| ) | 
Definition at line 403 of file TomGine/ply.c.
| void ply_free_other_elements | ( | PlyOtherElems * | ) | 
Definition at line 1355 of file TomGine/ply.c.
| char** ply_get_comments | ( | PlyFile * | , | 
| int * | |||
| ) | 
Definition at line 1022 of file TomGine/ply.c.
| void ply_get_element | ( | PlyFile * | , | 
| void * | |||
| ) | 
Definition at line 1002 of file TomGine/ply.c.
| PlyProperty** ply_get_element_description | ( | PlyFile * | , | 
| char * | , | ||
| int * | , | ||
| int * | |||
| ) | 
Definition at line 865 of file TomGine/ply.c.
| void ply_get_element_setup | ( | PlyFile * | , | 
| char * | , | ||
| int | , | ||
| PlyProperty * | |||
| ) | 
Definition at line 909 of file TomGine/ply.c.
| void ply_get_info | ( | PlyFile * | , | 
| float * | , | ||
| int * | |||
| ) | 
Definition at line 1395 of file TomGine/ply.c.
| char** ply_get_obj_info | ( | PlyFile * | , | 
| int * | |||
| ) | 
Definition at line 1041 of file TomGine/ply.c.
| PlyOtherElems* ply_get_other_element | ( | PlyFile * | , | 
| char * | , | ||
| int | |||
| ) | 
Definition at line 1219 of file TomGine/ply.c.
| PlyOtherProp* ply_get_other_properties | ( | PlyFile * | , | 
| char * | , | ||
| int | |||
| ) | 
Definition at line 1130 of file TomGine/ply.c.
| void ply_get_property | ( | PlyFile * | , | 
| char * | , | ||
| PlyProperty * | |||
| ) | 
Definition at line 960 of file TomGine/ply.c.
| void ply_header_complete | ( | PlyFile * | ) | 
Definition at line 432 of file TomGine/ply.c.
| PlyFile* ply_open_for_reading | ( | char * | , | 
| int * | , | ||
| char *** | , | ||
| int * | , | ||
| float * | |||
| ) | 
Definition at line 809 of file Tracker/ply.c.
| PlyFile* ply_open_for_writing | ( | char * | , | 
| int | , | ||
| char ** | , | ||
| int | , | ||
| float * | |||
| ) | 
Definition at line 197 of file TomGine/ply.c.
| void ply_put_comment | ( | PlyFile * | , | 
| char * | |||
| ) | 
Definition at line 642 of file TomGine/ply.c.
| void ply_put_element | ( | PlyFile * | , | 
| void * | |||
| ) | 
Definition at line 529 of file TomGine/ply.c.
| void ply_put_element_setup | ( | PlyFile * | , | 
| char * | |||
| ) | 
Definition at line 505 of file TomGine/ply.c.
| void ply_put_obj_info | ( | PlyFile * | , | 
| char * | |||
| ) | 
Definition at line 666 of file TomGine/ply.c.
| void ply_put_other_elements | ( | PlyFile * | ) | 
Definition at line 1325 of file TomGine/ply.c.
Definition at line 704 of file TomGine/ply.c.
Definition at line 141 of file TomGine/ply.c.