next up previous contents
Next: Histogramming, Storage and Output Up: Programmer Graphics Support Previous: Introduction   Contents

Infrastructure Graphics

These are;

stack           : List data structure visualised in the imcalc Tv
left image      : Imrect data structure visualised in the left Tv
left edges      :  "
left geometry   : List of geometrical features visualised in the left Tv
right image     : Imrect data structure visualised in the right Tv
right edges     :  "
right geometry  : List of geometrical features visualised in the right Tv
threed geometry : List of geometrical features visualised in the threed Tv

The routines for accessing and manipulating the stack are as follows:

void stack_push(void *val, int type, void (*freefunc) (   ))

void *stack_pop(int *type)

void stack_flip(void)

void stack_clear(void)

Routines for accesing the other data structures atr as follows:

void left_image_set(Imrect * im)

void mono_image_set(Imrect * im)

void right_image_set(Imrect * im)

void left_edges_set(Imrect * er)

void mono_edges_set(Imrect * er)

void right_edges_set(Imrect * er)

List   *left_geom_get(void)

List   *mono_geom_get(void)

List   *right_geom_get(void)

List   *threed_geom_get(void)

void    mono_geom_set(List * geom)

void    left_geom_set(List * geom)

void    right_geom_set(List * geom)

void    threed_geom_set(List * newgeom)
The programmer can thus obtain and modify these stanadrd structures and benefit directly from the existing user interface. For the more ambitious programmer access to the sub-tool $Tv$'s can be gained via the following functions:
Tv *imcalc_tv_get(void)

Tv *imcal2_tv_get(void)

Tv *imcalc_graph_tv_get(void)

Tv *imcmem_tv_get(void)

Tv *mono_tv_get(void)

Tv *left_tv_get(void)

Tv *right_tv_get(void)

Tv *threed_tv_get(void)



root 2017-11-18