-
Notifications
You must be signed in to change notification settings - Fork 0
/
extern.h
executable file
·79 lines (67 loc) · 2.27 KB
/
extern.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
/*
$Id: extern.h,v 1.1.1.1 1999/10/15 12:40:27 kise Exp $
$Date: 1999/10/15 12:40:27 $
$Revision: 1.1.1.1 $
$Author: kise $
*/
#include<stdio.h>
#include "defs.h"
namespace voronoi{
extern float xmin, xmax, ymin, ymax, deltax, deltay;
extern struct Site *sites;
extern int nsites;
extern int siteidx;
extern int sqrt_nsites;
extern int nvertices;
extern struct Freelist sfl;
extern struct Site *bottomsite;
extern int nedges;
extern struct Freelist efl;
extern struct Freelist hfl;
extern struct Halfedge *ELleftend, *ELrightend;
extern int ELhashsize;
extern struct Halfedge **ELhash;
extern int PQhashsize;
extern struct Halfedge *PQhash;
extern int PQcount;
extern int PQmin;
/* extern Component *component; */
extern BlackPixel *bpx;
extern Shape *shape;
extern Neighborhood *neighbor;
extern LineSegment *lineseg;
extern EndPoint *endp;
extern HashTable *hashtable[M1+M2];
extern unsigned int MFS;
extern NumPixel BPnbr;
extern Label LABELnbr;
extern unsigned int NEIGHnbr;
extern unsigned int LINEnbr;
extern unsigned int sample_pix;
extern unsigned int point_edge;
extern unsigned int edge_nbr;
extern long SiteMax;
extern int sample_rate;
extern int noise_max;
extern float freq_rate;
extern int smwind;
extern int Ta;
extern char output_points;
extern char output_pvor;
extern char output_avor;
extern char display_parameters;
// Modification by Faisal Shafait
// keep track of noise components to remove them
// from the output image
extern bool *noise_comp;
extern unsigned int nconcomp_inc;
extern unsigned int nconcomp_size;
// End of Modification
#ifdef TIME
extern float b_s_time;
extern float r_time;
extern float v_time;
extern float e_time;
extern float o_time;
#endif /* TIME */
}