~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

Linux Cross Reference
Tina4/src/draw/drawfuncs.h

Version: ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 extern Tv_mouse grey_mouse(void) ;
  2 extern Tv_mouse pixel_mouse(void) ;
  3 extern Tv_mouse pos_mouse(void) ;
  4 extern Vec2 pl_ll_get() ;
  5 extern Vec2 pl_ur_get() ;
  6 extern double farray_max(float **x, int m1, int n1, int m2, int n2) ;
  7 extern double farray_min(float **x, int m1, int n1, int m2, int n2) ;
  8 extern double fvector_max(float *x, int n1, int n2) ;
  9 extern double fvector_min(float *x, int n1, int n2) ;
 10 extern double geom_pick_dist(Tv * tv, Ipos pos, void *geom, int type) ;
 11 extern double pick_conic2_dist(Tv * tv, Ipos pos, Conic * conic) ;
 12 extern double pick_conic3_dist(Tv * tv, Ipos pos, Conic3 * con3) ;
 13 extern double pick_line2_dist(Tv * tv, Ipos pos, Line2 * line) ;
 14 extern double pick_line3_dist(Tv * tv, Ipos pos, Line3 * line) ;
 15 extern double pick_plane_dist(Tv * tv, Ipos pos, Plane * plane) ;
 16 extern double pick_point2_dist(Tv * tv, Ipos pos, Point2 * point) ;
 17 extern double pick_point3_dist(Tv * tv, Ipos pos, Point3 * point) ;
 18 extern double pick_scalar_dist(Tv * tv, Ipos pos, Scalar * scalar) ;
 19 extern double pl_get_pos(double amin, double amax) ;
 20 extern float **farray_of_func(float (*f) ( /* ??? */ ), int nx, float ax, float bx, int ny, float ay, float by) ;
 21 extern int curve_draw_sample_get(void) ;
 22 extern void *tv_geom_list_pick_closest(Tv * tv, Ipos pos, List * geom, int *type) ;
 23 extern void conic2_draw(Tv * tv, Conic * conic) ;
 24 extern void conic2_draw_axes(Tv * tv, Conic * conic) ;
 25 extern void conic2_draw_col(Tv * tv, Conic * conic) ;
 26 extern void conic2_draw_seg(Tv * tv, Conic * conic, double t1, double t2) ;
 27 extern void conic3_draw(Tv * tv, Conic3 * conic) ;
 28 extern void conic3_draw_col(Tv * tv, Conic3 * conic) ;
 29 extern void conic3_draw_with_arrow(Tv * tv, Conic3 * conic) ;
 30 extern void curve_draw(Tv * tv, Ipos(*func) ( /* ??? */ ), void *data, double t1, double t2) ;
 31 extern void curve_draw_sample_set(int s) ;
 32 extern void draw3_str2(Tv * tv, Tstring * str, Vec3(*map) (), void *data) ;
 33 extern void draw_ordered_tris3_list(Tv * tv, List * tris) ;
 34 extern void draw_string_vec2(Tv * tv, Tstring * str) ;
 35 extern void draw_string_vec3(Tv * tv, Tstring * str) ;
 36 extern void draw_triangle3(Tv * tv, Vec3 * tri)  /* a 3 vector of VEC3 */ ;
 37 extern void draw_triangle3_fill(Tv * tv, Vec3 * tri, int col)  /* a 3 vector of VEC3 */  ;
 38 extern void farray_bounds(float **z, int m1, int n1, int m2, int n2, double *zmin, double *zmax) ;
 39 extern void geom_col_draw(Tv * tv, void *geom, int type) ;
 40 extern void geom_draw(Tv * tv, void *geom, int type) ;
 41 extern void geom_draw_directed(Tv * tv, void *geom, int type, int direction) ;
 42 extern void geom_pick_closest(void *geom, int type, Tv_closest * tvc) ;
 43 extern void im_ptr_draw(Tv * tv, Imrect * im, int sx, int sy,  void (*drawfunc) (), void *data) ;
 44 extern void im_vec2_draw(Tv * tv, Imrect * im, int sx, int sy, double scale) ;
 45 extern void kwsnake_draw(Tv * tv, Kwsnake * kwsnake) ;
 46 extern void kwsnake_draw3(Tv * tv, Kwsnake * kwsnake, double z) ;
 47 extern void line2_draw(Tv * tv, Line2 * line) ;
 48 extern void line2_list_draw(Tv * tv, List * list) ;
 49 extern void line2_str_draw(Tv * tv, Tstring * str) ;
 50 extern void line3_draw(Tv * tv, Line3 * line) ;
 51 extern void line3_draw_directed(Tv * tv, Line3 * line, int direction) ;
 52 extern void line3_draw_with_arrow(Tv * tv, Line3 * line) ;
 53 extern void lower_tri(Tv * tv, int i, int j, float *x, float *y, float **z, float c) ;
 54 extern void pl_axes_plot(Tv * tv, Pl_axes axes) ;
 55 extern void pl_ctr_plot(Tv * tv, Pl_ctr * ctr) ;
 56 extern void pl_free(void *pl, int type) ;
 57 extern void pl_free_set(Bool set) ;
 58 extern void pl_graph_plot(Tv * tv, Pl_graph * graph, Pl_axes axes) ;
 59 extern void pl_graphtv(Tv * tv, double xmin, double ymin, double xmax, double ymax) ;
 60 extern void pl_init(void) ;
 61 extern void pl_list_plot(Tv * tv, List * list, Pl_axes axes) ;
 62 extern void pl_plot(void) ;
 63 extern void pl_scale(double *amin, double *amax, double *ainc, double *apos) ;
 64 extern void pl_scale_axes(List * list, Pl_axes * axes) ;
 65 extern void pl_scale_xdata(List * list, double *xmin, double *xmax, double *xinc, double *xpos) ;
 66 extern void pl_scale_ydata(List * list, double *ymin, double *ymax, double *yinc, double *ypos) ;
 67 extern void pl_scatter_plot(Tv * tv, Pl_graph * graph) ;
 68 extern void pl_set_axis_color(int color) ;
 69 extern void pl_set_color(int color) ;
 70 extern void pl_set_ctr_data(int nx, float *x, int ny, float *y, float **z) ;
 71 extern void pl_set_ctr_func(int nx, double ax, double bx, int ny, double ay, double by, double (*f) ( /* ??? */ )) ;
 72 extern void pl_set_ctr_range(double cmin, double cmax, double cinc) ;
 73 extern void pl_set_cumhist_data(int nh, float *h) ;
 74 extern void pl_set_graph_data(int n, float *x, float *y) ;
 75 extern void pl_set_graph_func(int n, double a, double b, double (*f) ( /* ??? */ )) ;
 76 extern void pl_set_hist_data(int nh, float *h) ;
 77 extern void pl_set_hist_binned_data(void *h) ;
 78 extern void pl_set_hist_range(double hmin, double hmax, double hinc) ;
 79 extern void pl_set_legend(char *legend) ;
 80 extern void pl_set_scatt_data(int n, float *x, float *y) ;
 81 extern void pl_set_style(int style) ;
 82 extern void pl_set_title(char *title) ;
 83 extern void pl_set_tv(Tv * tv) ;
 84 extern void pl_set_x_axis(Bool set) ;
 85 extern void pl_set_x_range(double xmin, double xmax, double xinc) ;
 86 extern void pl_set_x_text(Bool set) ;
 87 extern void pl_set_x_tics(Bool set) ;
 88 extern void pl_set_y_axis(Bool set) ;
 89 extern void pl_set_y_range(double ymin, double ymax, double yinc) ;
 90 extern void pl_set_y_text(Bool set) ;
 91 extern void pl_set_y_tics(Bool set) ;
 92 extern void pl_xaxis_plot(Tv * tv, double xmin, double xmax, double xinc, double xpos, double ypos) ;
 93 extern void pl_xfmt_set(char *newxfmt) ;
 94 extern void pl_xtext_plot(Tv * tv, double xmin, double xmax, double xinc, double xpos, double ypos) ;
 95 extern void pl_xtics_plot(Tv * tv, double xmin, double xmax, double xinc, double xpos, double ypos) ;
 96 extern void pl_yaxis_plot(Tv * tv, double ymin, double ymax, double yinc, double xpos, double ypos) ;
 97 extern void pl_yfmt_set(char *newyfmt) ;
 98 extern void pl_ytext_plot(Tv * tv, double ymin, double ymax, double yinc, double ypos, double xpos) ;
 99 extern void pl_ytics_plot(Tv * tv, double ymin, double ymax, double yinc, double xpos, double ypos) ;
100 extern void plane_draw(Tv * tv, Plane * plane) ;
101 extern void plane_list_draw(Tv * tv, List * list) ;
102 extern void plot(int case_flag, ...) ;
103 extern void point2_draw(Tv * tv, Point2 * point) ;
104 extern void point2_list_draw(Tv * tv, List * list) ;
105 extern void point3_draw(Tv * tv, Point3 * point) ;
106 extern void point3_list_draw(Tv * tv, List * list) ;
107 extern void reclist_draw(Tv * tv, void *ptr, int ptype, int type, void (*draw_func) ( /* ??? */ ), void *data) ;
108 extern void reclist_list_draw(Tv * tv, List * list, int type, void (*draw_func) ( /* ??? */ ), void *data) ;
109 extern void reclist_string_draw(Tv * tv, Tstring * str, int type, void (*draw_func) ( /* ??? */ ), void *data) ;
110 extern void scalar_draw(Tv * tv, Scalar * scalar) ;
111 extern void scalar_list_draw(Tv * tv, List * list) ;
112 extern void shade_triangle3(Tv * tv, Vec3 * tri)  /* a 3 vector of VEC3 */ ;
113 extern void skeldraw3_str2(Tv * tv, Tstring * str, Vec3(*map) (), void *data, int space) ;
114 extern void state_draw(Tv * tv, State * state) ;
115 extern void state_draw_one(Tv * tv, State * state, int i) ;
116 extern void state_skel_draw(Tv * tv, State * state) ;
117 extern void str2_draw(Tv * tv, Tstring * str) ;
118 extern void tv_cctext(Tv * tv, char *string, Ipos p) ;
119 extern void tv_cltext(Tv * tv, char *string, Ipos p) ;
120 extern void tv_cltext2(Tv * tv, char *string, Vec2 p) ;
121 extern void tv_cltext3(Tv * tv, char *string, Vec3 p) ;
122 extern void tv_crtext(Tv * tv, char *string, Ipos p) ;
123 extern void tv_crtext2(Tv * tv, char *string, Vec2 p) ;
124 extern void tv_crtext3(Tv * tv, char *string, Vec3 p) ;
125 extern void tv_edge_match(Tv * tv1, Tv * tv2, Match * em) ;
126 extern void tv_edge_match_list(Tv * tv1, Tv * tv2, List * mlist) ;
127 extern void tv_edge_string(Tv * tv, Tstring * string) ;
128 extern void tv_edges(Tv * tv, Imrect * edgerect) ;
129 extern void tv_edges_conn(Tv * tv, Imrect * edgerect) ;
130 extern void tv_edges_conn_propmask(Tv * tv, Imrect * edgerect, int mask, int type) ;
131 extern void tv_hidden_line(Tv * tv, Ipos p1, Ipos p2, Bool fill, int col) ;
132 extern void tv_imrect(Tv * tv, Imrect * imrect, int sample) ;
133 extern void tv_imrect2(Tv * tv, Imrect * imrect) ;
134 extern void tv_imrect2_color(Tv * tv, Imrect * imrect) ;
135 extern void tv_imrect2_interpol(Tv * tv, Imrect * imrect) ;
136 extern void tv_imrect_anaglyph(Tv * tv, Imrect * imrect_left, Imrect * imrect_right, double low, double high) ;
137 extern void tv_imrect_color(Tv * tv, Imrect * imrect, int sample) ;
138 extern void tv_imrect_row(Tv * tv, Imrect * im, int r) ;
139 extern void tv_imrect_row2(Tv * tv, Imrect * im, int r) ;
140 extern void tv_imrect_scale(Tv * tv, Imrect * imrect, double low, double high) ;
141 extern void tv_imrect_skel(Tv * tv, Imrect * imrect) ;
142 extern void tv_kwsnake(Tv * tv, Kwsnake * kwsnake) ;
143 extern void tv_lctext(Tv * tv, char *string, Ipos p) ;
144 extern void tv_lctext2(Tv * tv, char *string, Vec2 p) ;
145 extern void tv_lctext3(Tv * tv, char *string, Vec3 p) ;
146 extern void tv_match(Tv * tv1, Tv * tv2, Match * em) ;
147 extern void tv_match_list(Tv * tv1, Tv * tv2, List * mlist) ;
148 extern void tv_string2(Tv * tv, Tstring * string) ;
149 extern void tv_string2_col(Tv * tv, Tstring * string, int type) ;
150 extern void tv_string_list(Tv * tv, List * string_list) ;
151 extern void tv_strings(Tv * tv, Imrect * edgerect) ;
152 extern void tv_terrain3(Tv * tv, Vec3 ** p, int m, int n)  /* 2D array of x, y, z points */ /* m rows and n cols */ ;
153 extern void tv_terrain3_mask(Tv * tv, Vec3 ** p, char **mask, int m, int n)  /* 2D array of x, y, z points */  /* m rows and n cols */ ;
154 extern void tv_terrain_fill3(Tv * tv, Vec3 ** p, int m, int n, Imrect * im)  /* 2D array of ipos */ /* m rows and n cols */  ;
155 extern void tv_terrain_hidden2(Tv * tv, Ipos ** p, int m, int n, int ir, int ic) /* 2D array of ipos */ /* m rows and n cols */ /* increments in row and col directions */ ;
156 extern void tv_terrain_hidden3(Tv * tv, Vec3 ** p, int m, int n)  /* 2D array of ipos */ /* m rows and n cols */ ;
157 extern void tv_terrain_hidden_init(Tv * tv, Bool bot, Bool top) ;
158 extern void tv_terrain_skel(Tv * tv, Vec3 ** p, char **mask, int m, int n)  /* 2D array of x, y, z points */  /* m rows and n cols */ ;
159 extern void tv_uctext(Tv * tv, char *string, Ipos p) ;
160 extern void tv_uctext2(Tv * tv, char *string, Vec2 p) ;
161 extern void tv_uctext3(Tv * tv, char *string, Vec3 p) ;
162 extern void tv_xtick(Tv * tv, Ipos p, int n) ;
163 extern void tv_xtick2(Tv * tv, Vec2 p, int n) ;
164 extern void tv_xtick3(Tv * tv, Vec3 p, int n) ;
165 extern void tv_ytick(Tv * tv, Ipos p, int n) ;
166 extern void tv_ytick2(Tv * tv, Vec2 p, int n) ;
167 extern void tv_ytick3(Tv * tv, Vec3 p, int n) ;
168 extern void ucbs2_draw(Tv * tv, Ucbs2 * ucbs) ;
169 extern void ucbs2_draw3(Tv * tv, Ucbs2 * ucbs, double z) ;
170 extern void ucbs2_draw_chunk(Tv * tv, Ucbs2 * ucbs, int i) ;
171 extern void ucbs2_draw_ctrl(Tv * tv, Ucbs2 * ucbs, int i) ;
172 extern void ucbs2_draw_ctrls(Tv * tv, Ucbs2 * ucbs) ;
173 extern void ucbs2_draw_points(Tv * tv, Ucbs2 * ucbs) ;
174 extern void ucbs2_draw_section(Tv * tv, Ucbs2 * ucbs, int i) ;
175 extern void ucbs2_draw_section3(Tv * tv, Ucbs2 * ucbs, double z, int i) ;
176 extern void ucbs2_skeldraw3(Tv * tv, Ucbs2 * ucbs, double z) ;
177 extern void ucbs2_skeldraw_section3(Tv * tv, Ucbs2 * ucbs, double z, int i) ;
178 extern void zbuff_image_terrain3(Tv * tv, Vec3 ** p, char **mask, int m, int n, Imrect * image)    /* m rows and n cols */  ;
179 extern void zbuff_image_terrain3_old(Tv * tv, Vec3 ** p, char **mask, int m, int n, Imrect * image)    /* m rows and n cols */  ;
180 extern void zbuff_shade_cone(Tv * tv, Cone * cone) ;
181 extern void zbuff_shade_terrain3(Tv * tv, Vec3 ** p, char **mask, int m, int n)    /* m rows and n cols */ ;
182 extern void zbuff_shade_tri3(Tv * tv, Vec3 * tri) ;
183 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

This page was automatically generated by the LXR engine.
Visit the LXR main site for more information.