ply.h File Reference

#include <stdio.h>
#include <stddef.h>
Include dependency graph for ply.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  OtherData
struct  OtherElem
struct  PlyElement
struct  PlyFile
struct  PlyOtherElems
struct  PlyOtherProp
struct  PlyProperty
struct  PlyPropRules
struct  PlyRuleList

Defines

#define AVERAGE_RULE   1
#define EndType   9
#define Float32   7
#define Float64   8
#define Int16   2
#define Int32   3
#define Int8   1
#define MAJORITY_RULE   2
#define MAXIMUM_RULE   4
#define MINIMUM_RULE   3
#define myalloc(mem_size)   my_alloc((mem_size), __LINE__, __FILE__)
#define PLY_ASCII   1
#define PLY_BINARY_BE   2
#define PLY_BINARY_LE   3
#define PLY_ERROR   -1
#define PLY_LIST   1
#define PLY_OKAY   0
#define PLY_SCALAR   0
#define PLY_STRING   2
#define RANDOM_RULE   6
#define SAME_RULE   5
#define StartType   0
#define Uint16   5
#define Uint32   6
#define Uint8   4

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
typedef struct PlyPropRules PlyPropRules
typedef struct PlyRuleList PlyRuleList

Functions

void append_comment_ply (PlyFile *, char *)
void append_obj_info_ply (PlyFile *, char *)
PlyRuleListappend_prop_rule (PlyRuleList *, char *, char *)
void close_ply (PlyFile *)
void copy_comments_ply (PlyFile *, PlyFile *)
void copy_obj_info_ply (PlyFile *, PlyFile *)
void describe_element_ply (PlyFile *, char *, int)
void describe_other_elements_ply (PlyFile *, PlyOtherElems *)
void describe_other_properties_ply (PlyFile *, PlyOtherProp *, int)
void describe_property_ply (PlyFile *, PlyProperty *)
void element_count_ply (PlyFile *, char *, int)
void element_layout_ply (PlyFile *, char *, int, int, PlyProperty *)
int equal_strings (const char *, const char *)
void free_other_elements_ply (PlyOtherElems *)
void free_ply (PlyFile *)
char ** get_comments_ply (PlyFile *, int *)
PlyProperty ** get_element_description_ply (PlyFile *, char *, int *, int *)
char ** get_element_list_ply (PlyFile *, int *)
void get_element_ply (PlyFile *, void *)
void get_element_setup_ply (PlyFile *, char *, int, PlyProperty *)
void get_info_ply (PlyFile *, float *, int *)
void * get_new_props_ply (PlyFile *)
char ** get_obj_info_ply (PlyFile *, int *)
PlyOtherElemsget_other_element_ply (PlyFile *)
PlyOtherPropget_other_properties_ply (PlyFile *, int)
void header_complete_ply (PlyFile *)
PlyPropRulesinit_rule_ply (PlyFile *, char *)
int matches_rule_name (char *)
void modify_rule_ply (PlyPropRules *, char *, int)
PlyFileopen_for_writing_ply (char *, int, char **, int)
void ply_describe_property (PlyFile *, char *, PlyProperty *)
void ply_get_element (PlyFile *, void *)
void ply_get_property (PlyFile *, char *, PlyProperty *)
void put_element_ply (PlyFile *, void *)
void put_element_setup_ply (PlyFile *, char *)
void put_other_elements_ply (PlyFile *)
PlyFileread_ply (FILE *)
char * recreate_command_line (int, char *argv[])
void set_prop_rules_ply (PlyFile *, PlyRuleList *)
char * setup_element_read_ply (PlyFile *, int, int *)
void setup_property_ply (PlyFile *, PlyProperty *)
void start_props_ply (PlyFile *, PlyPropRules *)
void weight_props_ply (PlyFile *, float, void *)
PlyFilewrite_ply (FILE *, int, char **, int)

Define Documentation

#define AVERAGE_RULE   1

Definition at line 115 of file ply.h.

#define EndType   9

Definition at line 60 of file ply.h.

#define Float32   7

Definition at line 58 of file ply.h.

#define Float64   8

Definition at line 59 of file ply.h.

#define Int16   2

Definition at line 53 of file ply.h.

#define Int32   3

Definition at line 54 of file ply.h.

#define Int8   1

Definition at line 52 of file ply.h.

#define MAJORITY_RULE   2

Definition at line 116 of file ply.h.

#define MAXIMUM_RULE   4

Definition at line 118 of file ply.h.

#define MINIMUM_RULE   3

Definition at line 117 of file ply.h.

#define myalloc ( mem_size   )     my_alloc((mem_size), __LINE__, __FILE__)

Definition at line 158 of file ply.h.

#define PLY_ASCII   1

Definition at line 42 of file ply.h.

#define PLY_BINARY_BE   2

Definition at line 43 of file ply.h.

#define PLY_BINARY_LE   3

Definition at line 44 of file ply.h.

#define PLY_ERROR   -1

Definition at line 47 of file ply.h.

#define PLY_LIST   1

Definition at line 63 of file ply.h.

#define PLY_OKAY   0

Definition at line 46 of file ply.h.

#define PLY_SCALAR   0

Definition at line 62 of file ply.h.

#define PLY_STRING   2

Definition at line 64 of file ply.h.

#define RANDOM_RULE   6

Definition at line 120 of file ply.h.

#define SAME_RULE   5

Definition at line 119 of file ply.h.

#define StartType   0

Definition at line 51 of file ply.h.

#define Uint16   5

Definition at line 56 of file ply.h.

#define Uint32   6

Definition at line 57 of file ply.h.

#define Uint8   4

Definition at line 55 of file ply.h.


Typedef Documentation

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
typedef struct PlyPropRules PlyPropRules
typedef struct PlyRuleList PlyRuleList

Function Documentation

void append_comment_ply ( PlyFile ,
char *   
)

Definition at line 2589 of file ply.c.

void append_obj_info_ply ( PlyFile ,
char *   
)

Definition at line 2629 of file ply.c.

PlyRuleList* append_prop_rule ( PlyRuleList ,
char *  ,
char *   
)

Definition at line 3294 of file ply.c.

void close_ply ( PlyFile  ) 

Definition at line 2668 of file ply.c.

void copy_comments_ply ( PlyFile ,
PlyFile  
)

Definition at line 2612 of file ply.c.

void copy_obj_info_ply ( PlyFile ,
PlyFile  
)

Definition at line 2652 of file ply.c.

void describe_element_ply ( PlyFile ,
char *  ,
int   
)

Definition at line 2812 of file ply.c.

void describe_other_elements_ply ( PlyFile ,
PlyOtherElems  
)

Definition at line 2941 of file ply.c.

void describe_other_properties_ply ( PlyFile ,
PlyOtherProp ,
int   
)

Definition at line 2881 of file ply.c.

void describe_property_ply ( PlyFile ,
PlyProperty  
)

Definition at line 2842 of file ply.c.

void element_count_ply ( PlyFile ,
char *  ,
int   
)

Definition at line 344 of file ply.c.

void element_layout_ply ( PlyFile ,
char *  ,
int  ,
int  ,
PlyProperty  
)

Definition at line 249 of file ply.c.

int equal_strings ( const char *  ,
const char *   
)

Definition at line 1321 of file ply.c.

void free_other_elements_ply ( PlyOtherElems  ) 

Definition at line 1267 of file ply.c.

void free_ply ( PlyFile  ) 

Definition at line 2681 of file ply.c.

char** get_comments_ply ( PlyFile ,
int *   
)

Definition at line 945 of file ply.c.

PlyProperty** get_element_description_ply ( PlyFile ,
char *  ,
int *  ,
int *   
)

Definition at line 788 of file ply.c.

char** get_element_list_ply ( PlyFile ,
int *   
)

Definition at line 2564 of file ply.c.

void get_element_ply ( PlyFile ,
void *   
)

Definition at line 2730 of file ply.c.

void get_element_setup_ply ( PlyFile ,
char *  ,
int  ,
PlyProperty  
)

Definition at line 832 of file ply.c.

void get_info_ply ( PlyFile ,
float *  ,
int *   
)

Definition at line 1307 of file ply.c.

void* get_new_props_ply ( PlyFile  ) 

Definition at line 3152 of file ply.c.

char** get_obj_info_ply ( PlyFile ,
int *   
)

Definition at line 964 of file ply.c.

PlyOtherElems* get_other_element_ply ( PlyFile  ) 

Definition at line 1173 of file ply.c.

PlyOtherProp* get_other_properties_ply ( PlyFile ,
int   
)

Definition at line 2790 of file ply.c.

void header_complete_ply ( PlyFile  ) 

Definition at line 372 of file ply.c.

PlyPropRules* init_rule_ply ( PlyFile ,
char *   
)

Definition at line 3000 of file ply.c.

int matches_rule_name ( char *   ) 

Definition at line 3353 of file ply.c.

void modify_rule_ply ( PlyPropRules ,
char *  ,
int   
)

Definition at line 3071 of file ply.c.

PlyFile* open_for_writing_ply ( char *  ,
int  ,
char **  ,
int   
)

Definition at line 200 of file ply.c.

void ply_describe_property ( PlyFile ,
char *  ,
PlyProperty  
)

Definition at line 294 of file ply.c.

void ply_get_element ( PlyFile ,
void *   
)

Definition at line 925 of file ply.c.

void ply_get_property ( PlyFile ,
char *  ,
PlyProperty  
)

Definition at line 883 of file ply.c.

void put_element_ply ( PlyFile ,
void *   
)

Definition at line 473 of file ply.c.

void put_element_setup_ply ( PlyFile ,
char *   
)

Definition at line 449 of file ply.c.

void put_other_elements_ply ( PlyFile  ) 

Definition at line 1237 of file ply.c.

PlyFile* read_ply ( FILE *   ) 

Definition at line 2513 of file ply.c.

char* recreate_command_line ( int  ,
char *  argv[] 
)

Definition at line 1343 of file ply.c.

void set_prop_rules_ply ( PlyFile ,
PlyRuleList  
)

Definition at line 3276 of file ply.c.

char* setup_element_read_ply ( PlyFile ,
int  ,
int *   
)

Definition at line 2700 of file ply.c.

void setup_property_ply ( PlyFile ,
PlyProperty  
)

Definition at line 2749 of file ply.c.

void start_props_ply ( PlyFile ,
PlyPropRules  
)

Definition at line 3098 of file ply.c.

void weight_props_ply ( PlyFile ,
float  ,
void *   
)

Definition at line 3117 of file ply.c.

PlyFile* write_ply ( FILE *  ,
int  ,
char **  ,
int   
)

Definition at line 2538 of file ply.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


graspit
Author(s):
autogenerated on Fri Jan 11 11:19:47 2013