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

Linux Cross Reference
Tina4/src/tv/tvfuncs.h

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

  1 extern Bool tv_anag_cmap_create(Tv * tv, int base) ;
  2 extern Bool tv_false_cmap_create(Tv * tv, int base) ;
  3 extern Bool tv_bespoke_cmap_create(Tv * tv, int base) ;
  4 extern Bool tv_cmap_create(Tv * tv) ;
  5 extern Bool tv_grey_cmap_create(Tv * tv, int base) ;
  6 extern Bool tv_ipos_within(Tv * tv, Ipos pos) ;
  7 extern Bool tv_minimum_cmap_create(Tv * tv, int base) ;
  8 extern Bool tv_standard_cmap_create(Tv * tv, int base) ;
  9 extern Bool tv_zbuff(Tv * tv, Ipos pos, int z) ;
 10 extern Bool tv_zbuff_point(Tv * tv, Ipos pos, int z) ;
 11 extern Cmap_data_visible *tv_generic_cmap_create(Tv * tv, int base,
 12         int ngreys, int anaglyph, Rgb * rgbs, int ncolors, int noverlays) ;
 13 extern Imregion *tv_get_im_roi(Tv * tv) ;
 14 extern Imregion *tv_get_tv_screen_region(Tv * tv) ;
 15 extern Ipos tv_proj2(Tv * tv, Vec2 p) ;
 16 extern Ipos tv_proj3(Tv * tv, Vec3 p) ;
 17 extern Ipos tv_zbuff_proj3(Tv * tv, Vec3 p, int *iz) ;
 18 extern Tina_pixel tv_get_grey(Tv * tv, Ipos pos) ;
 19 extern Tv *tv_clone(Tv * tv) ;
 20 extern Tv *tv_create(char *label) ;
 21 extern Tv *tv_get_next(void) ;
 22 extern Tv *tv_open(void *tv_screen, char *label) ;
 23 extern Tv_mouse mouse_define(int case_flag,...) ;
 24 extern Tv_mouse null_mouse(void) ;
 25 extern Tv_patch patch_make(double u1, double v1, double u2, double v2) ;
 26 extern Tv_pick null_pick(void) ;
 27 extern Tv_pick pick_define(int case_flag,...) ;
 28 extern Tv_zbuff *zbuff_alloc(int height, int width, double zmin, double zmax) ;
 29 extern Vec2 tv_backproj2(Tv * tv, Ipos pos) ;
 30 extern Vec3 cylinder_normal(Cylinder * c, double u, double v) ;
 31 extern Vec3 cylinder_point(Cylinder * c, double u, double v) ;
 32 extern Vec3 interp_normal(Vec3(*surf) (), void *data, double u, double v, Vec3 x) ;
 33 extern Vec3 quad3_normal(Quad3 * q, double u, double v) ;
 34 extern Vec3 quad3_point(Quad3 * q, double u, double v) ;
 35 extern Vec3 quadric_normal(Quadric * q, double u, double v) ;
 36 extern Vec3 quadric_point(Quadric * q, double u, double v) ;
 37 extern Vec3 sphere(double u, double v) ;
 38 extern Vec3 torus_normal(Torus * t, double u, double v) ;
 39 extern Vec3 torus_point(Torus * t, double u, double v) ;
 40 extern Vec3 tv_backproj3(Tv * tv, Ipos pos) ;
 41 extern char *tv_named_font_get(Tv * tv) ;
 42 extern double spec_shade(Tv * tv, Vec3 n, Vec3 x) ;
 43 extern double spec_shade_inside_1(Tv * tv, Vec3 n, Vec3 x) ;
 44 extern double spec_shade_inside_2(Tv * tv, Vec3 n, Vec3 x) ;
 45 extern double tv_dist3(Tv * tv, Vec3 p) ;
 46 extern double tv_pscale(Tv * tv, double pscale) ;
 47 extern int grey_color(double g) ;
 48 extern int ndefault_colors_get(void) ;
 49 extern int ndefault_colors_set(int ndefault_colors_val) ;
 50 extern int number_of_tina_colors(Cmap_model model, int nplanes) ;
 51 extern int rgb6(unsigned int i) ;
 52 extern int rgb6_color(int r, int g, int b) ;
 53 extern int tv_cmap_gamma_get(Tv *tv) ;
 54 extern int tv_cmap_ncells_get(Tv * tv) ;
 55 extern int tv_color_get(Tv * tv) ;
 56 extern int tv_get_color(Tv * tv) ;
 57 extern int tv_get_height(Tv * tv) ;
 58 extern int tv_get_linestyle(Tv * tv) ;
 59 extern int tv_get_linewidth(Tv * tv) ;
 60 extern int tv_get_op(Tv * tv) ;
 61 extern int tv_get_pixel(Tv * tv, Ipos pos) ;
 62 extern int tv_get_width(Tv * tv) ;
 63 extern int tv_set_activity(Tv * tv, int activity) ;
 64 extern int tv_set_linestyle(Tv * tv, int style) ;
 65 extern int tv_set_linewidth(Tv * tv, int width) ;
 66 extern int tv_set_op(Tv * tv, int op) ;
 67 extern int tv_set_zoomlevel(Tv * tv, int zoomlevel) ;
 68 extern void (*tv_set_backdraw(Tv * tv, void (*newbackdraw) ( /* ??? */ ))) ( /* ??? */ ) ;
 69 extern void (*tv_set_fulldraw(Tv * tv, void (*newfulldraw) ( /* ??? */ ))) ( /* ??? */ ) ;
 70 extern void (*tv_set_skeldraw(Tv * tv, void (*newskeldraw) ( /* ??? */ ))) ( /* ??? */ ) ;
 71 extern void *cylinder_make(Vec3 centre, Vec3 axis, double radius, double length) ;
 72 extern void *quad3_make(Vec3 p1, Vec3 p2, Vec3 p3, Vec3 p4) ;
 73 extern void *quadric_make(Vec3 c, Mat3 s) ;
 74 extern void *torus_make(Vec3 centre, Vec3 axis, double r1, double r2) ;
 75 extern void *tv_clip_mask2_get(Tv * tv, Vec2 p1, Vec2 p2) ;
 76 extern void *tv_clip_mask_get(Tv * tv, int lx, int ly, int ux, int uy) ;
 77 extern void *tv_get_picture(Tv * tv) ;
 78 extern void *tv_mask_get(Tv * tv, int lx, int ly, int ux, int uy) ;
 79 extern void *tv_picture_read(Tv * tv, FILE * fp) ;
 80 extern void *tv_set_drawdata(Tv * tv, void *newdrawdata) ;
 81 extern void cmap_copy_colors(Cmap_data_visible * source_cmap_data, int source_base, Cmap_data_visible * dest_cmap_data, int dest_base, int ncolors) ;
 82 extern void cmap_data_anag_fill(Cmap_data_visible * cmap_data_visible, int nlevels, int ngreys, int ncolors ,int base) ;
 83 extern void cmap_data_color_fill(Cmap_data_visible * cmap_data_visible, Rgb * rgbs, int ncolors, int base) ;
 84 extern void cmap_data_grey_fill(Cmap_data_visible * cmap_data_visible, int ngreys, int base) ;
 85 extern void cmap_data_named_color_fill(Cmap_data_visible * cmap_data_visible, char **color_names, int ncolors, int base) ;
 86 extern void cmap_data_overlay_fill(Cmap_data_visible * cmap_data_visible, int noverlays) ;
 87 extern void cmap_data_rgb6_fill(Cmap_data_visible * cmap_data_visible, int ngreys, int base) ;
 88 extern void cmap_print(Cmap_data_visible * cmap_data_visible) ;
 89 extern void cmap_show(Cmap_data_visible * cmap_data_visible, Tv*cmap_tv) ;
 90 extern void cmap_tool_redraw(Tv * tv) ;
 91 extern void quadric_free(Quadric * q) ;
 92 extern void tina_colors_print(Tina_color * tina_colors, int size) ;
 93 extern void tina_colors_set(Cmap_data_visible * cmap_data_visible, int ncolors) ;
 94 extern void tina_colors_show(int cmap, Tina_color * tina_colors, int size,Tv*cmap_tv) ;
 95 extern void tv_activity_proc(Tv * tv, int state, Ipos pos) ;
 96 extern void tv_aim3(Tv * tv, Vec3 aim) ;
 97 extern void tv_background_set(Tv * tv, Tina_pixel color) ;
 98 extern void tv_bigdot(Tv * tv, Ipos p, int n) ;
 99 extern void tv_bigdot2(Tv * tv, Vec2 p, int n) ;
100 extern void tv_bigdot3(Tv * tv, Vec3 p, int n) ;
101 extern void tv_camera2(Tv * tv, Vec2 centre, double radius, Vec2 down) ;
102 extern void tv_camera2_image(Tv * tv, int width, int height) ;
103 extern void tv_camera2_rect(Tv * tv, Vec2 v1, Vec2 v2) ;
104 extern void tv_camera2_roi(Tv * tv, Imregion * roi) ;
105 extern void tv_camera2_roi_stretch(Tv * tv, Imregion * roi, double aspect_ratio) ;
106 extern void tv_camera3(Tv * tv, Vec3 centre, double radius, double pscale, Vec3 aim, Vec3 down) ;
107 extern void tv_circle(Tv * tv, Ipos centre, int radius) ;
108 extern void tv_circle2(Tv * tv, Vec2 centre, double radius) ;
109 extern void tv_clear_zbuff(Tv * tv) ;
110 extern void tv_cmap_create_fn_set(Tv * tv, Bool(*cmap_create_fn) ( /* ??? */ )) ;
111 extern void tv_cmap_gamma_set(Tv *tv, double newgam) ;
112 extern void tv_cmap_install(Tv * tv, void *cmap) ;
113 extern void tv_cmap_lookup_print(Tv * tv) ;
114 extern void tv_color_reset(Tv * tv, Tina_pixel color) ;
115 extern void tv_color_set(Tv * tv, Tina_pixel color) ;
116 extern void tv_cross(Tv * tv, Ipos p, int n) ;
117 extern void tv_cross2(Tv * tv, Vec2 p, int n) ;
118 extern void tv_cross3(Tv * tv, Vec3 p, int n) ;
119 extern void tv_dot(Tv * tv, Ipos p) ;
120 extern void tv_dot2(Tv * tv, Vec2 p) ;
121 extern void tv_dot3(Tv * tv, Vec3 p) ;
122 extern void tv_dotxy(Tv * tv, int x, int y) ;
123 extern void tv_drawdiscontinuities_set(Tv * tv, Bool flag) ;
124 extern void tv_erase(Tv * tv) ;
125 extern void tv_fillpixel2(Tv * tv, Vec2 p) ;
126 extern void tv_fillrect(Tv * tv, Ipos p1, Ipos p2) ;
127 extern void tv_fillrect2(Tv * tv, Vec2 p1, Vec2 p2) ;
128 extern void tv_fillrect3(Tv * tv, Vec3 p1, Vec3 p2) ;
129 extern void tv_fillrectxy(Tv * tv, int x1, int y1, int x2, int y2) ;
130 extern void tv_flush(Tv * tv) ;
131 extern void tv_fly(Tv * tv, Vec3 v, Vec3 down) ;
132 extern void tv_free_background(Tv * tv) ;
133 extern void tv_free_zbuff(Tv * tv) ;
134 extern void tv_get_roi(Tv * tv, float *x1, float *y1, float *x2, float *y2) ;
135 extern void tv_set_roi(Tv *tv, Imregion *roi);
136 extern void tv_get_text_extent(Tv * tv, char *string, int *xmin, int *xmax, int *ymin, int *ymax) ;
137 extern void tv_globals_dummy() ;
138 extern void tv_header_function_set(Tv * tv, void (*func) ( /* ??? */ ), void *data) ;
139 extern void tv_image(Tv * tv, int c, int r, int w, int h, char *data) ;
140 extern void tv_image2(Tv * tv, int c, int r, int w, int h, char *data) ;
141 extern void tv_imzoom_proc(Tv * tv, int state, Ipos pos) ;
142 extern void tv_init(Tv * tv) ;
143 extern void tv_install(Tv * tv, void *tv_screen) ;
144 extern void tv_install_clone(Tv * tv, void *tv_screen) ;
145 extern void tv_line(Tv * tv, Ipos p1, Ipos p2) ;
146 extern void tv_line2(Tv * tv, Vec2 p1, Vec2 p2) ;
147 extern void tv_line3(Tv * tv, Vec3 p1, Vec3 p2) ;
148 extern void tv_linexy(Tv * tv, int x1, int y1, int x2, int y2) ;
149 extern void tv_loop_movie(Tv * tv, int n) ;
150 extern void tv_make_movie(Tv * tv) ;
151 extern void tv_mask_free(Tv * tv, void *mask) ;
152 extern void tv_mask_point(Tv * tv, void *mask, Ipos pos, int bit) ;
153 extern void tv_mask_use(Tv * tv, void *mask) ;
154 extern void tv_message_function_set(Tv * tv, void (*func) ( /* ??? */ ), void *data) ;
155 extern void tv_mouse_proc(Tv * tv, int state, Ipos pos) ;
156 extern void tv_movie_read(Tv * tv, char *fname) ;
157 extern void tv_movie_write(Tv * tv, char *fname) ;
158 extern void tv_named_font_set(Tv * tv, char *font_name) ;
159 extern void tv_offset_text(Tv * tv, char *string, Ipos p, int offx, int offy) ;
160 extern void tv_offset_text2(Tv * tv, char *string, Vec2 p, int offx, int offy) ;
161 extern void tv_offset_text3(Tv * tv, char *string, Vec3 p, int offx, int offy) ;
162 extern void tv_orient2(Tv * tv, Vec2 down) ;
163 extern void tv_orient3(Tv * tv, Vec3 aim, Vec3 down) ;
164 extern void tv_pick_proc(Tv * tv, int state, Ipos pos) ;
165 extern void tv_picture_write(Tv * tv, FILE * fp) ;
166 extern void tv_pixel2(Tv * tv, Vec2 p) ;
167 extern void tv_point(Tv * tv, Ipos p) ;
168 extern void tv_point2(Tv * tv, Vec2 p) ;
169 extern void tv_point3(Tv * tv, Vec3 p) ;
170 extern void tv_pointxy(Tv * tv, int x, int y) ;
171 extern void tv_polyline(Tv * tv, List * points) ;
172 extern void tv_polyline2(Tv * tv, List * points) ;
173 extern void tv_polyline3(Tv * tv, List * points) ;
174 extern void tv_quad(Tv * tv, Ipos p1, Ipos p2, Ipos p3, Ipos p4) ;
175 extern void tv_quad2(Tv * tv, Vec2 p1, Vec2 p2, Vec2 p3, Vec2 p4) ;
176 extern void tv_quad3(Tv * tv, Vec3 p1, Vec3 p2, Vec3 p3, Vec3 p4) ;
177 extern void tv_raster(Tv * tv, int x1, int x2, int y, char *raster) ;
178 extern void tv_raster2(Tv * tv, int c1, int c2, int r, char *raster)   /* assumes grey level conversion complete */ ;
179 extern void tv_ray3(Tv * tv, Ipos pos, Vec3 * p, Vec3 * v) ;
180 extern void tv_rect(Tv * tv, Ipos p1, Ipos p2) ;
181 extern void tv_rect2(Tv * tv, Vec2 p1, Vec2 p2) ;
182 extern void tv_rect3(Tv * tv, Vec3 p1, Vec3 p2) ;
183 extern void tv_repaint(Tv * tv) ;
184 extern void tv_rescale(Tv * tv) ;
185 extern void tv_reset_color(Tv * tv, Tina_pixel color, int r, int g, int b) ;
186 extern void tv_reset_draw(Tv * tv) ;
187 extern void tv_reset_named_color(Tv * tv, Tina_pixel color, char *color_name) ;
188 extern void tv_resize(Tv * tv, int repaint) ;
189 extern void tv_roi_proc(Tv * tv, int state, Ipos pos) ;
190 extern void tv_rot(Tv * tv, double theta) ;
191 extern void tv_rot2(Tv * tv, double theta) ;
192 extern void tv_rot3(Tv * tv, double theta) ;
193 extern void tv_save_draw(Tv * tv) ;
194 extern void tv_set_activity_message(Tv * tv) ;
195 extern void tv_set_axis(Tv * tv, Vec3 axis) ;
196 extern void tv_set_color(Tv * tv, Tina_pixel color) ;
197 extern void tv_set_header(Tv * tv, char *name) ;
198 extern void tv_set_init(Tv * tv, void (*init) ( /* ??? */ )) ;
199 extern void tv_set_message(Tv * tv, char *name) ;
200 extern void tv_set_mouse(Tv * tv, Tv_mouse mouse) ;
201 extern void tv_set_mouse_reset(Tv * tv, void (*reset) ( /* ??? */ )) ;
202 extern void tv_set_next(Tv * tv) ;
203 extern void vt_name_pset(void *ptr);
204 extern char *vt_pname(void);
205 extern void tv_set_overlay(Tv * tv) ;
206 extern void tv_set_paint_mode(Tv * tv, int mode) ;
207 extern void tv_set_pick(Tv * tv, Tv_pick pick) ;
208 extern void tv_set_pick_reset(Tv * tv, void (*reset) ( /* ??? */ )) ;
209 extern void tv_set_proj2(Tv * tv) ;
210 extern void tv_set_proj3(Tv * tv, int type) ;
211 extern void tv_set_proj3_orth(Tv * tv) ;
212 extern void tv_set_proj3_persp(Tv * tv) ;
213 extern void tv_set_zbuff(Tv * tv, double zmin, double zmax) ;
214 extern void tv_shift(Tv * tv, double dx, double dy) ;
215 extern void tv_show_movie(Tv * tv, int n) ;
216 extern void tv_show_picture(Tv * tv, void *picture) ;
217 extern void tv_start_movie(Tv * tv) ;
218 extern void tv_text(Tv * tv, char *string, Ipos p) ;
219 extern void tv_text2(Tv * tv, char *string, Vec2 p) ;
220 extern void tv_text3(Tv * tv, char *string, Vec3 p) ;
221 extern void tv_textxy(Tv * tv, char *string, int x, int y) ;
222 extern void tv_twist(Tv * tv, double theta, Vec3 axis) ;
223 extern void tv_unset_axis(Tv * tv) ;
224 extern void tv_vector(Tv * tv, Ipos p, Ipos v) ;
225 extern void tv_vector2(Tv * tv, Vec2 p, Vec2 v) ;
226 extern void tv_vector3(Tv * tv, Vec3 p, Vec3 v) ;
227 extern void tv_zbuff_backdraw_set(Tv * tv, Bool flag) ;
228 extern void tv_zbuff_color_set(Tv * tv, int (*color) ()) ;
229 extern void tv_zbuff_curve3(Tv * tv, Vec3(*curve) (), void *data, double t1, double t2) ;
230 extern void tv_zbuff_cylinder(Tv * tv, Cylinder * c) ;
231 extern void tv_zbuff_dot3(Tv * tv, Vec3 p) ;
232 extern void tv_zbuff_epsilon_set(double eps) ;
233 extern void tv_zbuff_gouraud(Tv * tv, Vec3 p11, Vec3 p21, Vec3 p12, Vec3 p22, Vec3 n11, Vec3 n21, Vec3 n12, Vec3 n22) ;
234 extern void tv_zbuff_image_convex_poly(Tv * tv, int n, Ipos * p, int *z, float *r, float *c, Imrect * im) ;
235 extern void tv_zbuff_image_quad3(Tv * tv, Vec3 p00, Vec3 p10, Vec3 p01, Vec3 p11, double r00, double r10, double r01, double r11, double c00, double c10, double c01, double c11, Imrect * im) ;
236 extern void tv_zbuff_interp_convex_poly(Tv * tv, int n, Ipos * p, int *z, double *g) ;
237 extern void tv_zbuff_interp_general_poly(Tv * tv, int n, Ipos * p, int *z, double *g) ;
238 extern void tv_zbuff_interp_quad(Tv * tv, Ipos p00, Ipos p10, Ipos p01, Ipos p11, int z00, int z10, int z01, int z11, double g00, double g10, double g01, double g11) ;
239 extern void tv_zbuff_interp_quad3(Tv * tv, Vec3 p00, Vec3 p10, Vec3 p01, Vec3 p11, double g00, double g10, double g01, double g11) ;
240 extern void tv_zbuff_line3(Tv * tv, Vec3 p1, Vec3 p2) ;
241 extern void tv_zbuff_patch3(Tv * tv, Vec3(*surf) (), Vec3(*normal) (), void *data, double u1, double v1, double u2, double v2, int ni) ;
242 extern void tv_zbuff_point3(Tv * tv, Vec3 p) ;
243 extern void tv_zbuff_quad3(Tv * tv, Quad3 * q) ;
244 extern void tv_zbuff_quadric(Tv * tv, Quadric * q) ;
245 extern void tv_zbuff_ruled3(Tv * tv, Vec3 p11, Vec3 p21, Vec3 p12, Vec3 p22) ;
246 extern void tv_zbuff_seg3(Tv * tv, Vec3(*curve) (), void *data, double t1, double t2, Bool drawend) ;
247 extern void tv_zbuff_shade_set(Tv * tv, double (*func) ()) ;
248 extern void tv_zbuff_sphere(Tv * tv, Vec3 c, double r) ;
249 extern void tv_zbuff_surf3(Tv * tv, Vec3(*surf) (), Vec3(*normal) (), void *data, double u1, double v1, double u2, double v2, int nu, int nv, int ni) ;
250 extern void tv_zbuff_text3(Tv * tv, char *string, Vec3 p) ;
251 extern void tv_zbuff_torus(Tv * tv, Quadric * t) ;
252 extern void tv_zbuff_tri3(Tv * tv, Vec3 p1, Vec3 p2, Vec3 p3) ;
253 extern void tv_zoom(Tv * tv, double zoom) ;
254 extern void tv_zoom2_proc(Tv * tv, int state, Ipos pos) ;
255 extern void tv_zoom3_proc(Tv * tv, int state, Ipos pos) ;
256 extern void tv_zoom_proc(Tv * tv, int state, Ipos pos) ;
257 extern void tv_zoomaf_proc(Tv * tv, int state, Ipos pos) ;
258 extern void tv_zoomgr_proc(Tv * tv, int state, Ipos pos) ;
259 extern void tv_zoomx(Tv * tv, double zoom) ;
260 extern void tv_zoomy(Tv * tv, double zoom) ;
261 extern void zbuff_free(Tv_zbuff * zbuff) ;
262 

~ [ 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.