OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
vpfprim.h
Go to the documentation of this file.
1 #ifndef VPFPRIM_HEADER
2 #define VPFPRIM_HEADER
3 #ifdef __cplusplus
4 extern "C" {
5 #endif
6 
7 /********************************************************************/
8 /* VPFPRIM.H */
9 /********************************************************************/
10 
11 /* Must include "vpftable.h" */
12 
13 
14 /* VPF edge record internal structure */
15 typedef struct {
23  char dir;
26  /* New as of 2/18/92 for coordinate arrays too large for memory */
27  FILE *fp;
28  ossim_int32 startpos, pos, current_coordinate;
29  char coord_type;
31 
32 
33 /* "static" part of the edge record (non-variable) */
34 typedef struct {
42  char dir;
45 
46 
47 /* VPF face record structure */
48 typedef struct {
52 
53 
54 /* VPF ring record structure */
55 typedef struct {
60 
61 
62 /* VPF entity node record internal structure */
63 typedef struct {
66  float x;
67  float y;
69 
70 
71 /* VPF annotation record internal structure */
72 typedef struct {
73  long int id;
74  float height;
75  char *text;
76  float x;
77  float y;
79 
80 
81 /* Functions: */
82 
84 
86  vpf_table_type edge_table );
87 
89 
90 /* New as of 2/18/92 for coordinate arrays too large for memory */
94  edge_rec_type *edge_rec );
95 /***/
96 
98  vpf_table_type face_table );
99 
101 
103  vpf_table_type ring_table );
104 
106 
108  vpf_table_type point_table );
109 
111 
113  vpf_table_type anno_table );
114 
116 
117 
118 #ifdef __cplusplus
119 }
120 #endif
121 
122 #endif
ossim_int32 right
Definition: vpfprim.h:19
point_rec_type read_point(ossim_int32 id, vpf_table_type point_table)
ossim_int32 edge
Definition: vpfprim.h:58
char * text
Definition: vpfprim.h:75
FILE * fp
Definition: vpfprim.h:27
anno_rec_type read_next_anno(vpf_table_type anno_table)
coordinate_type * coord
Definition: vpfprim.h:25
float y
Definition: vpfprim.h:77
ossim_int32 leftfwd
Definition: vpfprim.h:41
ossim_int32 ring
Definition: vpfprim.h:50
ossim_int32 id
Definition: vpfprim.h:56
point_rec_type read_next_point(vpf_table_type point_table)
float x
Definition: vpfprim.h:76
coordinate_type get_edge_coordinate(ossim_int32 n, edge_rec_type *edge_rec)
long int id
Definition: vpfprim.h:73
face_rec_type read_next_face(vpf_table_type face_table)
char dir
Definition: vpfprim.h:23
edge_rec_type read_edge(ossim_int32 id, vpf_table_type edge_table)
char coord_type
Definition: vpfprim.h:29
ossim_int32 end
Definition: vpfprim.h:37
edge_rec_type create_edge_rec(row_type row, vpf_table_type edge_table)
ossim_int32 id
Definition: vpfprim.h:16
ossim_int32 right
Definition: vpfprim.h:38
ossim_int32 leftfwd
Definition: vpfprim.h:22
os2<< "> n<< " > nendobj n
edge_rec_type read_next_edge(vpf_table_type edge_table)
ring_rec_type read_ring(ossim_int32 id, vpf_table_type ring_table)
coordinate_type next_edge_coordinate(edge_rec_type *edge_rec)
ossim_int32 left
Definition: vpfprim.h:39
ossim_int32 rightfwd
Definition: vpfprim.h:21
ring_rec_type read_next_ring(vpf_table_type ring_table)
ossim_int32 face
Definition: vpfprim.h:57
ossim_int32 id
Definition: vpfprim.h:49
ossim_int32 start
Definition: vpfprim.h:17
ossim_int32 left
Definition: vpfprim.h:20
ossim_int32 startpos
Definition: vpfprim.h:28
ossim_int32 id
Definition: vpfprim.h:35
coordinate_type first_edge_coordinate(edge_rec_type *edge_rec)
ossim_int32 start
Definition: vpfprim.h:36
ossim_int32 rightfwd
Definition: vpfprim.h:40
ossim_int32 end
Definition: vpfprim.h:18
ossim_int32 face
Definition: vpfprim.h:65
float height
Definition: vpfprim.h:74
ossim_int32 npts
Definition: vpfprim.h:24
ossim_int32 npts
Definition: vpfprim.h:43
ossim_int32 id
Definition: vpfprim.h:64
anno_rec_type read_anno(ossim_int32 id, vpf_table_type anno_table)
int ossim_int32
face_rec_type read_face(ossim_int32 id, vpf_table_type face_table)