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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
|
/*
* MODULE: segment.h
*
* FUNCTION:
* Contains function prototypes for segment drawing subroutines.
* These are used only internally, and are not to be exported to
* the user.
*
* HISTORY:
* Create by Linas Vepstas
* Added tube.h include to define gleDouble, tad February 2002
*/
/* ============================================================ */
#include "tube.h"
extern void draw_segment_plain (int ncp, /* number of contour points */
gleDouble front_contour[][3],
gleDouble back_contour[][3],
int inext, double len);
extern void draw_segment_color (int ncp, /* number of contour points */
gleDouble front_contour[][3],
gleDouble back_contour[][3],
float color_last[3],
float color_next[3],
int inext, double len);
extern void draw_segment_edge_n (int ncp, /* number of contour points */
gleDouble front_contour[][3],
gleDouble back_contour[][3],
double norm_cont[][3],
int inext, double len);
extern void draw_segment_c_and_edge_n (int ncp,
gleDouble front_contour[][3],
gleDouble back_contour[][3],
double norm_cont[][3],
float color_last[3],
float color_next[3],
int inext, double len);
extern void draw_segment_facet_n (int ncp,
gleDouble front_contour[][3],
gleDouble back_contour[][3],
double norm_cont[][3],
int inext, double len);
extern void draw_segment_c_and_facet_n (int ncp,
gleDouble front_contour[][3],
gleDouble back_contour[][3],
double norm_cont[][3],
float color_last[3],
float color_next[3],
int inext, double len);
/* ============================================================ */
extern void draw_binorm_segment_edge_n (int ncp,
double front_contour[][3],
double back_contour[][3],
double front_norm[][3],
double back_norm[][3],
int inext, double len);
extern void draw_binorm_segment_c_and_edge_n (int ncp,
double front_contour[][3],
double back_contour[][3],
double front_norm[][3],
double back_norm[][3],
float color_last[3],
float color_next[3],
int inext, double len);
extern void draw_binorm_segment_facet_n (int ncp,
double front_contour[][3],
double back_contour[][3],
double front_norm[][3],
double back_norm[][3],
int inext, double len);
extern void draw_binorm_segment_c_and_facet_n (int ncp,
double front_contour[][3],
double back_contour[][3],
double front_norm[][3],
double back_norm[][3],
float color_last[3],
float color_next[3],
int inext, double len);
extern void draw_angle_style_back_cap (int ncp, /* number of contour points */
gleDouble bi[3], /* biscetor */
gleDouble point_array[][3]); /* polyline */
/* -------------------------- end of file -------------------------------- */
|