46 #define PLY_BINARY_BE 2
47 #define PLY_BINARY_LE 3
54 #define PLY_START_TYPE 0
66 #define PLY_END_TYPE 12
135 extern char *my_alloc();
136 #define myalloc(mem_size) my_alloc((mem_size), __LINE__, __FILE__)
141 extern PlyFile *ply_write(FILE *,
int,
char **,
int);
142 extern PlyFile *ply_open_for_writing(
char *,
int,
char **,
int,
float *);
145 extern void ply_element_count(
PlyFile *,
const char *,
int);
146 extern void ply_header_complete(
PlyFile *);
147 extern void ply_put_element_setup(
PlyFile *,
const char *);
148 extern void ply_put_element(
PlyFile *,
void *);
149 extern void ply_put_comment(
PlyFile *,
const char *);
150 extern void ply_put_obj_info(
PlyFile *,
const char *);
151 extern PlyFile *ply_read(FILE *,
int *,
char ***);
152 extern PlyFile *ply_open_for_reading(
char *,
int *,
char ***,
int *,
float *);
157 extern void ply_get_element(
PlyFile *,
void *);
158 extern char **ply_get_comments(
PlyFile *,
int *);
159 extern char **ply_get_obj_info(
PlyFile *,
int *);
160 extern void ply_close(
PlyFile *);
161 extern void ply_get_info(
PlyFile *,
float *,
int *);
164 extern void ply_put_other_elements (
PlyFile *);
167 extern int equal_strings(
const char *,
const char *);