Classes | Defines | Typedefs | Functions
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 /* 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_ERROR   -1 /* error in ply routine */
#define PLY_LIST   1
#define PLY_OKAY   0 /* ply routine worked okay */
#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 (char *, 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 /* ascii PLY file */

Definition at line 42 of file ply.h.

#define PLY_BINARY_BE   2 /* binary PLY file, big endian */

Definition at line 43 of file ply.h.

#define PLY_BINARY_LE   3 /* binary PLY file, little endian */

Definition at line 44 of file ply.h.

#define PLY_ERROR   -1 /* error in ply routine */

Definition at line 47 of file ply.h.

#define PLY_LIST   1

Definition at line 63 of file ply.h.

#define PLY_OKAY   0 /* ply routine worked okay */

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 2543 of file ply.c.

void append_obj_info_ply ( PlyFile ,
char *   
)

Definition at line 2583 of file ply.c.

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

Definition at line 3254 of file ply.c.

void close_ply ( PlyFile )

Definition at line 2622 of file ply.c.

void copy_comments_ply ( PlyFile ,
PlyFile  
)

Definition at line 2566 of file ply.c.

void copy_obj_info_ply ( PlyFile ,
PlyFile  
)

Definition at line 2606 of file ply.c.

void describe_element_ply ( PlyFile ,
char *  ,
int   
)

Definition at line 2766 of file ply.c.

Definition at line 2897 of file ply.c.

void describe_other_properties_ply ( PlyFile ,
PlyOtherProp ,
int   
)

Definition at line 2837 of file ply.c.

void describe_property_ply ( PlyFile ,
PlyProperty  
)

Definition at line 2798 of file ply.c.

void element_count_ply ( PlyFile ,
char *  ,
int   
)

Definition at line 331 of file ply.c.

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

Definition at line 236 of file ply.c.

int equal_strings ( char *  s1,
char *  s2 
)

Definition at line 1309 of file ply.c.

Definition at line 1255 of file ply.c.

void free_ply ( PlyFile )

Definition at line 2635 of file ply.c.

char** get_comments_ply ( PlyFile ,
int *   
)

Definition at line 933 of file ply.c.

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

Definition at line 776 of file ply.c.

char** get_element_list_ply ( PlyFile ,
int *   
)

Definition at line 2518 of file ply.c.

void get_element_ply ( PlyFile ,
void *   
)

Definition at line 2684 of file ply.c.

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

Definition at line 820 of file ply.c.

void get_info_ply ( PlyFile ,
float *  ,
int *   
)

Definition at line 1295 of file ply.c.

void* get_new_props_ply ( PlyFile )

Definition at line 3112 of file ply.c.

char** get_obj_info_ply ( PlyFile ,
int *   
)

Definition at line 952 of file ply.c.

Definition at line 1161 of file ply.c.

Definition at line 2744 of file ply.c.

Definition at line 360 of file ply.c.

PlyPropRules* init_rule_ply ( PlyFile ,
char *   
)

Definition at line 2956 of file ply.c.

int matches_rule_name ( char *  )

Definition at line 3313 of file ply.c.

void modify_rule_ply ( PlyPropRules ,
char *  ,
int   
)

Definition at line 3027 of file ply.c.

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

Definition at line 185 of file ply.c.

void ply_describe_property ( PlyFile ,
char *  ,
PlyProperty  
)

Definition at line 281 of file ply.c.

void ply_get_element ( PlyFile ,
void *   
)

Definition at line 913 of file ply.c.

void ply_get_property ( PlyFile ,
char *  ,
PlyProperty  
)

Definition at line 871 of file ply.c.

void put_element_ply ( PlyFile ,
void *   
)

Definition at line 461 of file ply.c.

void put_element_setup_ply ( PlyFile ,
char *   
)

Definition at line 437 of file ply.c.

Definition at line 1225 of file ply.c.

PlyFile* read_ply ( FILE *  )

Definition at line 2467 of file ply.c.

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

Definition at line 1332 of file ply.c.

void set_prop_rules_ply ( PlyFile ,
PlyRuleList  
)

Definition at line 3236 of file ply.c.

char* setup_element_read_ply ( PlyFile ,
int  ,
int *   
)

Definition at line 2654 of file ply.c.

void setup_property_ply ( PlyFile ,
PlyProperty  
)

Definition at line 2703 of file ply.c.

void start_props_ply ( PlyFile ,
PlyPropRules  
)

Definition at line 3054 of file ply.c.

void weight_props_ply ( PlyFile ,
float  ,
void *   
)

Definition at line 3077 of file ply.c.

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

Definition at line 2492 of file ply.c.



household_objects_database
Author(s): Matei Ciocarlie, except for source files individually marked otherwise
autogenerated on Thu Jan 2 2014 11:40:13