ply.h File Reference

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

Go to the source code of this file.

Classes

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

Defines

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

Functions

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


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.


Function Documentation

void append_comment_ply ( PlyFile ,
char *   
)

void append_obj_info_ply ( PlyFile ,
char *   
)

PlyRuleList* append_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 *   
)

PlyOtherElems* get_other_element_ply ( PlyFile  ) 

PlyOtherProp* get_other_properties_ply ( PlyFile ,
int   
)

void header_complete_ply ( PlyFile  ) 

PlyPropRules* init_rule_ply ( PlyFile ,
char *   
)

int matches_rule_name ( char *   ) 

void modify_rule_ply ( PlyPropRules ,
char *  ,
int   
)

PlyFile* open_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  ) 

PlyFile* read_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 *   
)

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


Generated on Mon Jul 20 17:31:54 2009 for pbrt by  doxygen 1.5.6