Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

ply.h File Reference

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

Go to the source code of this file.

Compounds

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

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__)

Typedefs

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

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.

Referenced by get_new_props_ply, and init_rule_ply.

#define EndType   9
 

Definition at line 60 of file ply.h.

Referenced by get_prop_type, and write_scalar_type.

#define Float32   7
 

Definition at line 58 of file ply.h.

Referenced by get_ascii_item, get_binary_item, get_item_value, get_stored_item, store_item, write_ascii_item, and write_binary_item.

#define Float64   8
 

Definition at line 59 of file ply.h.

Referenced by get_ascii_item, get_binary_item, get_item_value, get_stored_item, store_item, write_ascii_item, and write_binary_item.

#define Int16   2
 

Definition at line 53 of file ply.h.

Referenced by get_ascii_item, get_binary_item, get_item_value, get_stored_item, store_item, write_ascii_item, and write_binary_item.

#define Int32   3
 

Definition at line 54 of file ply.h.

Referenced by get_ascii_item, get_binary_item, get_item_value, get_stored_item, store_item, write_ascii_item, and write_binary_item.

#define Int8   1
 

Definition at line 52 of file ply.h.

Referenced by add_property, get_ascii_item, get_binary_item, get_item_value, get_stored_item, store_item, write_ascii_item, and write_binary_item.

#define MAJORITY_RULE   2
 

Definition at line 116 of file ply.h.

#define MAXIMUM_RULE   4
 

Definition at line 118 of file ply.h.

Referenced by get_new_props_ply.

#define MINIMUM_RULE   3
 

Definition at line 117 of file ply.h.

Referenced by get_new_props_ply.

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

Definition at line 158 of file ply.h.

Referenced by add_element, add_property, append_comment_ply, append_obj_info_ply, ascii_get_element, binary_get_element, describe_other_properties_ply, describe_property_ply, element_layout_ply, get_element_description_ply, get_element_list_ply, get_new_props_ply, get_other_element_ply, get_other_properties, get_words, init_rule_ply, open_for_writing_ply, ply_describe_property, ply_open_for_reading, ply_read, ply_write, and weight_props_ply.

#define PLY_ASCII   1
 

Definition at line 42 of file ply.h.

Referenced by get_element_ply, header_complete_ply, ply_get_element, ply_read, and put_element_ply.

#define PLY_BINARY_BE   2
 

Definition at line 43 of file ply.h.

Referenced by header_complete_ply, and ply_read.

#define PLY_BINARY_LE   3
 

Definition at line 44 of file ply.h.

Referenced by header_complete_ply, and ply_read.

#define PLY_ERROR   -1
 

Definition at line 47 of file ply.h.

#define PLY_LIST   1
 

Definition at line 63 of file ply.h.

Referenced by add_property, ascii_get_element, binary_get_element, header_complete_ply, put_element_ply, and setup_other_props.

#define PLY_OKAY   0
 

Definition at line 46 of file ply.h.

#define PLY_SCALAR   0
 

Definition at line 62 of file ply.h.

Referenced by add_property.

#define PLY_STRING   2
 

Definition at line 64 of file ply.h.

Referenced by add_property, ascii_get_element, binary_get_element, header_complete_ply, put_element_ply, and setup_other_props.

#define RANDOM_RULE   6
 

Definition at line 120 of file ply.h.

Referenced by get_new_props_ply.

#define SAME_RULE   5
 

Definition at line 119 of file ply.h.

Referenced by get_new_props_ply.

#define StartType   0
 

Definition at line 51 of file ply.h.

Referenced by get_prop_type.

#define Uint16   5
 

Definition at line 56 of file ply.h.

Referenced by get_ascii_item, get_binary_item, get_item_value, get_stored_item, store_item, write_ascii_item, and write_binary_item.

#define Uint32   6
 

Definition at line 57 of file ply.h.

Referenced by get_ascii_item, get_binary_item, get_item_value, get_stored_item, store_item, write_ascii_item, and write_binary_item.

#define Uint8   4
 

Definition at line 55 of file ply.h.

Referenced by get_ascii_item, get_binary_item, get_item_value, get_stored_item, store_item, write_ascii_item, and write_binary_item.


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

Referenced by add_comment, and copy_comments_ply.

void append_obj_info_ply PlyFile  ,
char *   
 

Definition at line 2573 of file ply.c.

Referenced by add_obj_info, and copy_obj_info_ply.

PlyRuleList* append_prop_rule PlyRuleList  ,
char *   ,
char *   
 

Definition at line 3247 of file ply.c.

void close_ply PlyFile  
 

Definition at line 2612 of file ply.c.

void copy_comments_ply PlyFile  ,
PlyFile  
 

Definition at line 2556 of file ply.c.

void copy_obj_info_ply PlyFile  ,
PlyFile  
 

Definition at line 2596 of file ply.c.

void describe_element_ply PlyFile  ,
char *   ,
int   
 

Definition at line 2756 of file ply.c.

void describe_other_elements_ply PlyFile  ,
PlyOtherElems  
 

Definition at line 2887 of file ply.c.

void describe_other_properties_ply PlyFile  ,
PlyOtherProp  ,
int   
 

Definition at line 2827 of file ply.c.

Referenced by describe_other_elements_ply.

void describe_property_ply PlyFile  ,
PlyProperty  
 

Definition at line 2788 of file ply.c.

void element_count_ply PlyFile  ,
char *   ,
int   
 

Definition at line 330 of file ply.c.

Referenced by describe_other_elements_ply.

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

Definition at line 235 of file ply.c.

int equal_strings char *   ,
char *   
 

Referenced by add_property, find_element, find_property, get_prop_type, init_rule_ply, matches_rule_name, modify_rule_ply, ply_read, and read_rawgraphics.

void free_other_elements_ply PlyOtherElems  
 

Definition at line 1251 of file ply.c.

void free_ply PlyFile  
 

Definition at line 2625 of file ply.c.

Referenced by read_rawgraphics.

char** get_comments_ply PlyFile  ,
int *   
 

Definition at line 929 of file ply.c.

PlyProperty** get_element_description_ply PlyFile  ,
char *   ,
int *   ,
int *   
 

Definition at line 772 of file ply.c.

char** get_element_list_ply PlyFile  ,
int *   
 

Definition at line 2508 of file ply.c.

void get_element_ply PlyFile  ,
void *   
 

Definition at line 2674 of file ply.c.

Referenced by read_rawgraphics.

void get_element_setup_ply PlyFile  ,
char *   ,
int   ,
PlyProperty  
 

Definition at line 816 of file ply.c.

void get_info_ply PlyFile  ,
float *   ,
int *   
 

Definition at line 1291 of file ply.c.

void* get_new_props_ply PlyFile  
 

Definition at line 3102 of file ply.c.

char** get_obj_info_ply PlyFile  ,
int *   
 

Definition at line 948 of file ply.c.

PlyOtherElems* get_other_element_ply PlyFile  
 

Definition at line 1157 of file ply.c.

Referenced by read_rawgraphics.

PlyOtherProp* get_other_properties_ply PlyFile  ,
int   
 

Definition at line 2734 of file ply.c.

Referenced by read_rawgraphics.

void header_complete_ply PlyFile  
 

Definition at line 359 of file ply.c.

PlyPropRules* init_rule_ply PlyFile  ,
char *   
 

Definition at line 2946 of file ply.c.

int matches_rule_name char *   
 

Definition at line 3306 of file ply.c.

void modify_rule_ply PlyPropRules  ,
char *   ,
int   
 

Definition at line 3017 of file ply.c.

PlyFile* open_for_writing_ply char *   ,
int   ,
char **   ,
int   
 

Definition at line 184 of file ply.c.

void ply_describe_property PlyFile  ,
char *   ,
PlyProperty  
 

Definition at line 280 of file ply.c.

void ply_get_element PlyFile  ,
void *   
 

Definition at line 909 of file ply.c.

Referenced by get_other_element_ply.

void ply_get_property PlyFile  ,
char *   ,
PlyProperty  
 

Definition at line 867 of file ply.c.

void put_element_ply PlyFile  ,
void *   
 

Definition at line 460 of file ply.c.

Referenced by put_other_elements_ply.

void put_element_setup_ply PlyFile  ,
char *   
 

Definition at line 436 of file ply.c.

Referenced by put_other_elements_ply.

void put_other_elements_ply PlyFile  
 

Definition at line 1221 of file ply.c.

PlyFile* read_ply FILE *   
 

Definition at line 2457 of file ply.c.

Referenced by read_rawgraphics.

char* recreate_command_line int   ,
char *    argv[]
 

Definition at line 1328 of file ply.c.

void set_prop_rules_ply PlyFile  ,
PlyRuleList  
 

Definition at line 3229 of file ply.c.

char* setup_element_read_ply PlyFile  ,
int   ,
int *   
 

Definition at line 2644 of file ply.c.

Referenced by read_rawgraphics.

void setup_property_ply PlyFile  ,
PlyProperty  
 

Definition at line 2693 of file ply.c.

Referenced by read_rawgraphics.

void start_props_ply PlyFile  ,
PlyPropRules  
 

Definition at line 3044 of file ply.c.

void weight_props_ply PlyFile  ,
float   ,
void *   
 

Definition at line 3067 of file ply.c.

PlyFile* write_ply FILE *   ,
int   ,
char **   ,
int   
 

Definition at line 2482 of file ply.c.


Generated on Sat Oct 5 03:09:20 2024 for VMD Plugins (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002