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

Linux Cross Reference
Tina4/src/covira/brainfuncs.h

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

  1 extern void str2_align(Tstring *str1, Tstring *str2) ;
  2 extern void hrs_solve(int n, double *a, double *b, double *c, double *y) ;
  3 extern Tstring *aivru_contour_get() ;
  4 extern void aivru_contour_set(Tstring * iccontour) ;
  5 extern int aivru_get_voi_lbound() ;
  6 extern AvVoiSurface *aivru_get_voi_surface() ;
  7 extern int aivru_get_voi_ubound() ;
  8 extern int aivru_get_working_slice() ;
  9 extern int aivru_image_set(Imrect ** pImrectArray, int arraySize) ;
 10 extern int aivru_multi_snake_interpolate_between(int lower_slice, int upper_slice) ;
 11 extern int aivru_multi_snake_interpolate_one() ;
 12 extern int aivru_multi_snake_interpolate_tube() ;
 13 extern int aivru_multi_snake_set_occluding_boundary(Tstring * pContour) ;
 14 extern void aivru_position_down(int x, int y) ;
 15 extern void aivru_position_drag(int x, int y) ;
 16 extern void aivru_position_up(int x, int y) ;
 17 extern void aivru_quit() ;
 18 extern void aivru_set_working_slice(int slice_no) ;
 19 extern int aivru_snake_convergence_achieved() ;
 20 extern int aivru_snake_force_mode_get() ;
 21 extern void aivru_snake_force_mode_set(int mode) ;
 22 extern double aivru_snake_image_level_get() ;
 23 extern void aivru_snake_image_level_set(double newlevel) ;
 24 extern double aivru_snake_image_window_get() ;
 25 extern void aivru_snake_image_window_set(double newwindow) ;
 26 extern int aivru_snake_interact_mode_get() ;
 27 extern void aivru_snake_interact_mode_set(int mode) ;
 28 extern Tstring *aivru_snake_points_get() ;
 29 extern double aivru_snake_pressure_get() ;
 30 extern void aivru_snake_pressure_set(double newpressure) ;
 31 extern double aivru_snake_region_level_get() ;
 32 extern void aivru_snake_region_level_set(double newlevel) ;
 33 extern double aivru_snake_region_window_get() ;
 34 extern void aivru_snake_region_window_set(double newwindow) ;
 35 extern int aivru_snake_rigidity_mode_get() ;
 36 extern void aivru_snake_rigidity_mode_set(int mode) ;
 37 extern void aivru_snake_run() ;
 38 extern double aivru_snake_scale_get() ;
 39 extern void aivru_snake_scale_set(double newscale) ;
 40 extern double aivru_snake_smoothness_get() ;
 41 extern void aivru_snake_smoothness_set(double newsmoothness) ;
 42 extern void aivru_snake_stats_compute(double *mean, double *dev) ;
 43 extern int aivru_snake_steps_get() ;
 44 extern void aivru_snake_steps_set(int newsteps) ;
 45 extern int aivru_snake_transfer(int source_slice, int dest_slice) ;
 46 extern void aivru_voi_set(aivru_snake_slice_info * sinfo, int size) ;
 47 extern void create_front_display(void) ;
 48 extern Bool front_changed(void) ;
 49 extern Tv_mouse front_cursor_mouse(void) ;
 50 extern Tv *front_tv_get(void) ;
 51 extern void front_tv_set(Tv * tv) ;
 52 extern void ims_snake_forcelaw_set(void (*forcelaw)()) ;
 53 extern void ims_bottom(void) ;
 54 extern void ims_down(void) ;
 55 extern Spline2 *ims_fixed_spline_get(int n) ;
 56 extern void ims_free() ;
 57 extern Imrect *ims_image_get(void) ;
 58 extern void ims_image_set(Imrect * im) ;
 59 extern Imstack *ims_imstack_get(void) ;
 60 extern void ims_imstack_set(Imstack * new_imstack) ;
 61 extern void ims_voi_print(FILE *fp);
 62 extern void ims_voi_read(FILE *fp);
 63 extern void ims_init_cursor(void) ;
 64 extern Bool ims_interpolate_all_splines_between(int lz, int uz) ;
 65 extern void ims_interpolate_spline(void) ;
 66 extern int ims_lz_get(void) ;
 67 extern void ims_make(Vartype vtype, int lz, int uz, double zscale) ;
 68 extern int ims_nvoi_get() ;
 69 extern void ims_nvoi_set(int nvoi) ;
 70 extern Imrect *ims_pot_get(void) ;
 71 extern void ims_pot_set(Imrect * pot) ;
 72 extern void ims_pots_free() ;
 73 extern void ims_pots_get(void) ;
 74 extern void ims_rescale_images(double gamma, double low, double high) ;
 75 extern void ims_reverse_image_order() ;
 76 extern Imregion *ims_roi_get(void) ;
 77 extern void ims_sagit_tube_set(Spline2 * spline1, Spline2 *spline2, double x) ;
 78 extern void ims_snake_changed(void) ;
 79 extern Snake *ims_snake_get(void) ;
 80 extern double ims_snake_run_all(double alpha, double beta, int steps) ;
 81 extern double ims_snake_run_rot(int steps) ;
 82 extern double ims_snake_run_rts(int steps) ;
 83 extern double ims_snake_run_scale(int steps) ;
 84 extern double ims_snake_run_trans(int steps) ;
 85 extern void ims_snake_set(Snake * snake) ;
 86 extern void ims_spline_changed(void) ;
 87 extern Spline2 *ims_spline_get(void) ;
 88 extern void ims_spline_set(Spline2 * spline) ;
 89 extern Splinesurf3 *ims_splinesurf3_make() ;
 90 extern void ims_stat_snake_init() ;
 91 extern void ims_stat_snake_run(double alpha, double beta, double pressure,  double k_s_d, int steps, int flag,  int min_gap, int max_gap, double dt) ;
 92 extern void ims_stat_snake_trans(double alpha, double beta, double pressure,  double k_s_d, int steps, double dt) ;
 93 extern void ims_string_changed(void) ;
 94 extern Tstring *ims_string_get(void) ;
 95 extern void ims_string_set(Tstring * string) ;
 96 extern void ims_string_tube_set(Tstring *str) ;
 97 extern void ims_top(void) ;
 98 extern Tube *ims_tube_get() ;
 99 extern void ims_tube_interp() ;
100 extern void ims_tube_set(Tube *newtube) ;
101 extern void ims_up(void) ;
102 extern int ims_uz_get(void) ;
103 extern Bool ims_voi_bounds(int *lz, int *uz) ;
104 extern void ims_voi_empty(void) ;
105 extern Voi *ims_voi_get(void) ;
106 extern void ims_voi_import(void) ;
107 extern void ims_voi_mark(void) ;
108 extern void ims_voi_shift(Vec2 dp) ;
109 extern int ims_x_get(void) ;
110 extern void ims_x_set(int newx) ;
111 extern Imrect *ims_xslice(void) ;
112 extern int ims_y_get(void) ;
113 extern void ims_y_set(int newy) ;
114 extern Imrect *ims_yslice(void) ;
115 extern int ims_z_get(void) ;
116 extern void ims_z_set(int newz) ;
117 extern double ims_zscale_get(void) ;
118 extern void ims_zscale_set(double zscale) ;
119 extern double ims_zscaled_get(void) ;
120 extern Imrect *ims_zslice(void) ;
121 extern void ims_all_vois_draw(Tv * tv, void (*func) ()) ;
122 extern double ims_all_vois_area();
123 extern void ims_all_snakes_draw(Tv * tv) ;
124 extern void ims_all_splines_draw(Tv * tv) ;
125 extern void ims_all_strings_draw(Tv * tv) ;
126 extern void ims_all_strings_draw3(Tv * tv) ;
127 extern void ims_all_strings_front_draw3(Tv * tv) ;
128 extern void ims_all_strings_sagit_draw3(Tv * tv) ;
129 extern void ims_box_draw3(Tv * tv, double s) ;
130 extern void ims_camera2(Tv * tv) ;
131 extern void ims_image_draw(Tv * tv) ;
132 extern void ims_loop_draw(Tv * tv) ;
133 extern void ims_pot_draw(Tv * tv) ;
134 extern void ims_sagit_tube_draw(Tv *tv) ;
135 extern void ims_snake_draw(Tv * tv) ;
136 extern void ims_spline_draw(Tv * tv) ;
137 extern void ims_str2_draw3(Tv * tv) ;
138 extern void ims_string_draw(Tv * tv) ;
139 extern void ims_string_front_draw3(Tv * tv) ;
140 extern void ims_string_sagit_draw3(Tv * tv) ;
141 extern void ims_string_skeldraw3(Tv * tv, int space) ;
142 extern void ims_strings_draw3(Tv * tv) ;
143 extern void ims_strings_front_draw3(Tv * tv) ;
144 extern void ims_strings_sagit_draw3(Tv * tv) ;
145 extern void ims_strings_skeldraw3(Tv * tv, int space, int maxnum) ;
146 extern void ims_tube_draw(Tv *tv) ;
147 extern double ims_alpha_get(void) ;
148 extern void ims_alpha_set(double newalpha) ;
149 extern double ims_asnake_get(void) ;
150 extern void ims_asnake_set(double newasnake) ;
151 extern double ims_beta_get(void) ;
152 extern void ims_beta_set(double newbeta) ;
153 extern Bool ims_dofree_get(void) ;
154 extern void ims_dofree_set(Bool newdofree) ;
155 extern double ims_level_get(void) ;
156 extern void ims_level_set(double newlevel) ;
157 extern int ims_nspline_get(void) ;
158 extern double ims_pressure_get(void) ;
159 extern void ims_pressure_set(double newpressure) ;
160 extern double ims_scale_get(void) ;
161 extern void ims_scale_set(double newscale) ;
162 extern Stats *ims_stats_get() ;
163 extern double ims_stats_mean_get() ;
164 extern void ims_stats_mean_set(double mean) ;
165 extern void ims_stats_set(Stats *newstats) ;
166 extern double ims_stats_sigma_get() ;
167 extern void ims_stats_sigma_set(double sigma) ;
168 extern double ims_window_get(void) ;
169 extern void ims_window_set(double newwindow) ;
170 extern void imstack_free(Imstack * imstack) ;
171 extern Imstack *imstack_make(Vartype vtype, int lz, int uz, double zscale) ;
172 extern Imrect *imstack_xslice(Imstack * imstack, int x) ;
173 extern Imrect *imstack_yslice(Imstack * imstack, int y) ;
174 extern double imstack_zscaled(Imstack * imstack, int z) ;
175 extern int imstack_zunscaled(Imstack * imstack, double z) ;
176 extern Spline2 *imstack_interpolate_spline(Imstack * imstack, double z) ;
177 extern void imstack_uniform_splines(Imstack * imstack) ;
178 extern Imrect *canny_pot(Imrect * im, double sigma) ;
179 extern Imrect *canny_window_pot(Imrect * im, double sigma, double l, double w) ;
180 extern Imrect *dark_pot(Imrect * im, double sigma) ;
181 extern Vec2 im_grad_vec2(Imrect * im, Vec2 p) ;
182 extern Mat2 im_hess_mat2(Imrect * im, Vec2 p) ;
183 extern Imrect *light_pot(Imrect * im, double range, double sigma) ;
184 extern void create_sagit_display(void) ;
185 extern Bool sagit_changed(void) ;
186 extern Tv_mouse sagit_cursor_mouse(void) ;
187 extern Tv *sagit_tv_get(void) ;
188 extern void sagit_tv_set(Tv * tv) ;
189 extern Slice *slice_alloc(double z) ;
190 extern void slice_free(Slice * slice) ;
191 extern Imrect *slice_image_get(Slice * slice) ;
192 extern void slice_image_set(Slice * slice, Imrect * im) ;
193 extern Imrect *slice_pot_get(Slice * slice) ;
194 extern void slice_pot_set(Slice * slice, Imrect * pot) ;
195 extern void slice_voi_import(Slice * slice, Slice * oldslice, int nvoi) ;
196 extern void slice_image_draw(Tv * tv, Slice * slice) ;
197 extern void slice_pot_draw(Tv * tv, Slice * slice) ;
198 extern void smask_diff(int s, double *mask2, double *mask1) ;
199 extern void smask_diff2(int s, double *mask2, double *mask1) ;
200 extern double smask_maxgradedge(int s, double *mask) ;
201 extern double smask_nearzeroedge(double *mask, int s) ;
202 extern void smask_normalise(int s, double *mask, double m) ;
203 extern void smask_smooth(int s, double *mask2, double *mask1) ;
204 extern Vec2 snake_centroid(Snake * snake) ;
205 extern double snake_chord(Snake *snake, int i) ;
206 extern Snake *snake_copy(Snake * snake) ;
207 extern Vec2 snake_eval(Snake * snake, double t) ;
208 extern void snake_free(Snake * snake) ;
209 extern Snake *snake_from_list(List * points) ;
210 extern double snake_length(Snake * snake) ;
211 extern Snake *snake_make(int n) ;
212 extern Snake *snake_of_str2(Tstring * str, double gap) ;
213 extern Vec2 snake_perp(Snake * snake, int i) ;
214 extern void snake_shift(Snake * snake, Vec2 dp) ;
215 extern Tstring *str2_of_snake(Snake * snake) ;
216 extern void snake_draw(Tv * tv, Snake * snake) ;
217 extern void snake_draw3(Tv * tv, Snake * snake, double z) ;
218 extern void snake_force_draw(Tv * tv, Snake * snake, double maxlength) ;
219 extern void snake_normal_graphs(Tv * tv, Snake * snake, Imrect * pot) ;
220 extern Tv_mouse snake_edit_mouse(void) ;
221 extern Tv_mouse string_draw_mouse(void) ;
222 extern void notv_snake_edit_down(Ipos pos) ;
223 extern void notv_snake_push_drag(Ipos pos) ;
224 extern void notv_snake_push_up(Ipos pos) ;
225 extern void notv_snake_shift_drag(Ipos pos) ;
226 extern void notv_snake_shift_up(Ipos pos) ;
227 extern void notv_snake_zoom_drag(Ipos pos) ;
228 extern void notv_snake_zoom_up(Ipos pos) ;
229 extern double snake_dist(Snake * s1, Snake * s2) ;
230 extern void snake_external_step(Snake * snake, double maxstep, double *pdt) ;
231 extern void snake_gradient_forces(Snake * snake, Imrect * pot) ;
232 extern void snake_hessian_forces(Snake * snake, Imrect * pot) ;
233 extern void snake_internal_step(Snake * snake, double alpha, double beta, double dt) ;
234 extern void snake_rot_force(Snake * snake) ;
235 extern void snake_rot_step(Snake * snake, double maxstep) ;
236 extern double snake_run_all(Snake * snake, Imrect * pot, double alpha, double beta, int steps) ;
237 extern double snake_run_rot(Snake * snake, Imrect * pot, int steps) ;
238 extern double snake_run_rts(Snake * snake, Imrect * pot, int steps) ;
239 extern double snake_run_scale(Snake * snake, Imrect * pot, int steps) ;
240 extern double snake_run_trans(Snake * snake, Imrect * pot, int steps) ;
241 extern void snake_scale_force(Snake * snake) ;
242 extern void snake_scale_step(Snake * snake, double maxstep) ;
243 extern void snake_trans_force(Snake * snake) ;
244 extern void snake_trans_step(Snake * snake, double maxstep) ;
245 extern void snake_normal_forces(Snake * snake, Imrect * pot) ;
246 extern void spline_add_point(Spline * spline, int ibelow, double p) ;
247 extern Spline *spline_copy(Spline * spline) ;
248 extern void spline_delete_point(Spline * spline, int ip) ;
249 extern double spline_eval(Spline * spline, double t) ;
250 extern void spline_free(Spline * spline) ;
251 extern void spline_interpolate(Spline * spline, double *q) ;
252 extern Spline *spline_make(int type, int n) ;
253 extern double spline_param(Spline * spline, double p) ;
254 extern void spline_replace_point(Spline * spline, int ip, double p) ;
255 extern Spline *spline_stack_interp(int n, Spline ** stack, double t) ;
256 extern void spline2_add_point(Spline2 * spline, int ibelow, Vec2 p) ;
257 extern Spline2 *spline2_alloc(int type, int n) ;
258 extern Spline2 *spline2_approx_str2(Tstring * str, int *pn, double dmax) ;
259 extern Spline2 *spline2_copy(Spline2 * spline) ;
260 extern void spline2_print(FILE *pf, Spline2 *spline);
261 extern Spline2 *spline2_read(FILE *pf);
262 extern void spline2_delete_point(Spline2 * spline, int i) ;
263 extern double spline2_dist(Spline2 * spline, Vec2 p) ;
264 extern Vec2 spline2_closest(Spline2 * spline, Vec2 p) ;
265 extern Vec2 spline2_eval(Spline2 * spline, double t) ;
266 extern void spline2_free(Spline2 * spline) ;
267 extern void spline2_interpolate(Spline2 * spline, Vec2 * p) ;
268 extern Spline2 *spline2_interpolate_list(int type, List * points) ;
269 extern Spline2 *spline2_interpolate_ddlist(int type, List * points) ;
270 extern Spline2 *spline2_make(int type, int n) ;
271 extern double spline2_natural_param(Spline2 * spline, Vec2 p) ;
272 extern Spline2 *spline2_of_str2(Tstring * str, int n) ;
273 extern double spline2_param(Spline2 * spline, Vec2 p) ;
274 extern void spline2_replace_point(Spline2 * spline, int ip, Vec2 p) ;
275 extern Spline2 *spline2_stack_interp(int n, Spline2 ** spline, double t) ;
276 extern void spline3_print(FILE * fp, double z, Spline2 * spline) ;
277 extern Tstring *str2_of_spline2(Spline2 * spline) ;
278 extern void spline2_draw(Tv * tv, Spline2 * spline) ;
279 extern void spline2_draw_points(Tv * tv, Spline2 * spline) ;
280 extern Tv_mouse spline_edit_mouse(void) ;
281 extern Tv_mouse spline_periodic_draw_mouse(void) ;
282 extern void spline_save_periodic(Tv * tv, Ipos pos) ;
283 extern void spline_save_tube(Tv * tv, Ipos pos) ;
284 extern Tv_mouse spline_tube_draw_mouse(void) ;
285 extern Splinesurf *splinesurf_copy(Splinesurf * ss) ;
286 extern double splinesurf_eval(Splinesurf * ss, double s, double t) ;
287 extern double splinesurf_eval_du(Splinesurf * ss, double s, double t) ;
288 extern double splinesurf_eval_dv(Splinesurf * ss, double s, double t) ;
289 extern void splinesurf_free(Splinesurf * ss) ;
290 extern void splinesurf_interpolate(Splinesurf *ss, double **data) ;
291 extern Splinesurf *splinesurf_make(int utype, int vtype, int nu, int nv) ;
292 extern Vec3 splinesurf3_control(Splinesurf3 *ss, int u, int v) ;
293 extern Splinesurf3 *splinesurf3_copy(Splinesurf3 * ss) ;
294 extern Vec3 splinesurf3_eval(Splinesurf3 * ss, double s, double t) ;
295 extern Vec3 splinesurf3_eval_du(Splinesurf3 * ss, double s, double t) ;
296 extern Vec3 splinesurf3_eval_dv(Splinesurf3 * ss, double s, double t) ;
297 extern Vec3 splinesurf3_eval_normal(Splinesurf3 * ss, double s, double t) ;
298 extern void splinesurf3_free(Splinesurf3 * ss) ;
299 extern void splinesurf3_interpolate(Splinesurf3 *ss, Vec3 **points) ;
300 extern Splinesurf3 *splinesurf3_make(int utype, int vtype, int nu, int nv) ;
301 extern void splinesurf3_print(FILE *fp, Splinesurf3 *ss) ;
302 extern Splinesurf3 *splinesurf3_read(FILE *fp) ;
303 extern void splinesurf3_controls_draw(Tv *tv, Splinesurf3 *ss) ;
304 extern void splinesurf3_draw(Tv *tv, Splinesurf3 *ss) ;
305 extern void splinesurf3_shade(Tv *tv, Splinesurf3 *ss) ;
306 extern void splinesurf3_uslice_draw(Tv *tv, Splinesurf3 *ss, double s) ;
307 extern void splinesurf3_uslices_draw(Tv *tv, Splinesurf3 *ss) ;
308 extern void splinesurf3_vslice_draw(Tv *tv, Splinesurf3 *ss, double t) ;
309 extern void splinesurf3_vslices_draw(Tv *tv, Splinesurf3 *ss) ;
310 extern Imrect *accum_make(Imrect *im, Tstring *ss) ;
311 extern Tstring *ss_copy(Tstring *ss) ;
312 extern double ss_dist(Tstring *ss1, Tstring *ss2) ;
313 extern void ss_free(Tstring * ss) ;
314 extern Tstring *ss_from_snake(Snake * snake) ;
315 extern Snake *ss_to_snake(Tstring * ss) ;
316 extern void stat_snake_edit(Tstring *ss, Imrect *accum, int min_gap, int max_gap) ;
317 extern void stat_snake_maxgap(Tstring *ss, Imrect *accum, int min_gap, int max_gap) ;
318 extern void stat_snake_mingap(Tstring *ss, Imrect *accum, int min_gap) ;
319 extern void stat_snake_step(Tstring *ss, Imrect *accum, Imrect *im, Stats *stats,  double alpha, double beta, double pressure, double k_s_d, double dt) ;
320 extern void stat_snake_trans(Tstring *ss, Imrect *im, Stats *stats,  double alpha, double beta, double pressure, double k_s_d, double dt) ;
321 extern Stats *stats_make() ;
322 extern void ss_draw(Tv * tv, Tstring * ss) ;
323 extern void create_trans_display(void) ;
324 extern Bool trans_changed(void) ;
325 extern Tv_mouse trans_cursor_mouse(void) ;
326 extern Tv *trans_tv_get(void) ;
327 extern void trans_tv_set(Tv * tv) ;
328 extern void tube_free(Tube *tube) ;
329 extern Tube *tube_make(int z1, int z2) ;
330 extern void sagit_tube_draw(Tv *tv, Tube *tube) ;
331 extern void redraw_all(void) ;
332 extern void tv_crosshair(Tv * tv, Ipos pos) ;
333 extern void create_vis3d_display(void) ;
334 extern Tv *vis3d_tv_get(void) ;
335 extern void vis3d_tv_set(Tv * tv) ;
336 extern Voi *voi_alloc(void) ;
337 extern Voi *voi_copy(Voi * oldvoi) ;
338 extern void voi_empty(Voi * voi) ;
339 extern Spline2 *voi_fixed_spline_get(Voi * voi, int n) ;
340 extern void voi_free(Voi * voi) ;
341 extern void voi_shift(Voi * voi, Vec2 dp) ;
342 extern void voi_snake_changed(Voi * voi) ;
343 extern Snake *voi_snake_get(Voi * voi) ;
344 extern void voi_snake_set(Voi * voi, Snake * snake) ;
345 extern void voi_spline_changed(Voi * voi) ;
346 extern Spline2 *voi_spline_get(Voi * voi) ;
347 extern void voi_spline_set(Voi * voi, Spline2 * spline) ;
348 extern void voi_string_changed(Voi * voi) ;
349 extern Tstring *voi_string_get(Voi * voi) ;
350 extern void voi_string_set(Voi * voi, Tstring * string) ;
351 extern void spline_draw(Tv * tv, Spline2 * spline) ;
352 extern void str2_draw3(Tv * tv, Tstring * string, double z) ;
353 extern void string_front_draw3(Tv * tv, Tstring * string, double z) ;
354 extern void string_sagit_draw3(Tv * tv, Tstring * string, double z) ;
355 extern void string_skeldraw3(Tv * tv, Tstring * string, double z, int space) ;
356 extern void create_work_display(void) ;
357 extern void work_cursor_mode_set(Bool flag) ;
358 extern Tv_mouse work_cursor_mouse(void) ;
359 extern void work_image_choice_proc(int val) ;
360 extern void work_init_proc(Tv * tv, Ipos pos) ;
361 extern Tv *work_tv_get(void) ;
362 extern void work_tv_set(Tv * tv) ;
363 extern void work_voi_choice_proc(int val) ;
364 extern void work_zoom_proc(Tv * tv, Ipos pos) ;
365 

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