Go to the documentation of this file.
71 #define PLY_BINARY_BE 2
72 #define PLY_BINARY_LE 3
79 #define PLY_START_TYPE 0
89 #define PLY_FLOAT32 10
91 #define PLY_END_TYPE 12
205 static void store_item(
char *,
int,
int,
unsigned int,
double);
struct OtherElem OtherElem
static void ply_element_count(PlyFile *, const char *, int)
static void ply_get_element(PlyFile *, void *)
static bool equal_strings(const char *, const char *)
static void add_comment(PlyFile *, char *)
static void add_element(PlyFile *, char **, int)
struct PlyOtherProp PlyOtherProp
static PlyFile * ply_write(FILE *, int, const char **, int)
static void ply_put_element(PlyFile *, void *)
static void ply_header_complete(PlyFile *)
static char ** old_get_words(FILE *, int *)
static void binary_get_element(PlyFile *, char *)
static void get_ascii_item(const char *, int, int *, unsigned int *, double *)
static void ply_get_info(PlyFile *, float *, int *)
static void ply_describe_element(PlyFile *, const char *, int, int, PlyProperty *)
static void copy_property(PlyProperty *, const PlyProperty *)
static void ply_describe_property(PlyFile *, const char *, PlyProperty *)
static void ply_put_obj_info(PlyFile *, const char *)
static void ply_describe_other_elements(PlyFile *, PlyOtherElems *)
static void ply_put_other_elements(PlyFile *)
PlyOtherElems * other_elems
static PlyElement * find_element(PlyFile *, const char *)
static int get_prop_type(const char *)
static PlyOtherProp * ply_get_other_properties(PlyFile *, const char *, int)
static void add_obj_info(PlyFile *, char *)
static void * my_alloc(size_t, int, const char *)
static void get_stored_item(const void *, int, int *, unsigned int *, double *)
struct OtherData OtherData
static void ply_put_element_setup(PlyFile *, const char *)
static void get_binary_item(PlyFile *, int, int *, unsigned int *, double *)
static char ** ply_get_obj_info(PlyFile *, int *)
struct PlyProperty PlyProperty
static void write_scalar_type(FILE *, int)
a modified version of the PLY 1.1 library
PlyOtherProp * other_props
static PlyFile * ply_read(FILE *, int *, char ***)
static void ply_close(PlyFile *)
static PlyElement * ply_get_element_description(PlyFile *, char *, int *, int *)
static char ** get_words(FILE *, int *, char **)
static PlyFile * ply_open_for_reading(const char *, int *, char ***, int *, float *)
static PlyFile * ply_open_for_writing(const char *, int, const char **, int, float *)
static void ply_describe_other_properties(PlyFile *, PlyOtherProp *, int)
static void ply_get_element_setup(PlyFile *, const char *, int, PlyProperty *)
static void add_property(PlyFile *, char **, int)
static void write_binary_item(PlyFile *, int, unsigned int, double, int)
static double old_write_ascii_item(FILE *, char *, int)
struct PlyElement PlyElement
static PlyProperty * find_property(PlyElement *, const char *, int *)
static void ply_get_property(PlyFile *, const char *, PlyProperty *)
static void ply_put_comment(PlyFile *, const char *)
static void ascii_get_element(PlyFile *, char *)
static char ** ply_get_comments(PlyFile *, int *)
static PlyOtherElems * ply_get_other_element(PlyFile *, const char *, int)
struct PlyOtherElems PlyOtherElems
static double get_item_value(const char *, int)
static void write_ascii_item(FILE *, int, unsigned int, double, int)
static void store_item(char *, int, int, unsigned int, double)
static void ply_free_other_elements(PlyOtherElems *)