wordrec/plotseg.h

Go to the documentation of this file.
00001 
00020 #ifndef PLOTSEG_H
00021 #define PLOTSEG_H
00022 
00023 /*----------------------------------------------------------------------
00024               I n c l u d e s
00025 ----------------------------------------------------------------------*/
00026 #include "states.h"
00027 #include "render.h"
00028 
00029 /*----------------------------------------------------------------------
00030               V a r i a b l e s
00031 ----------------------------------------------------------------------*/
00033 extern void *segm_window;
00035 extern int display_segmentations;
00036 
00037 /*----------------------------------------------------------------------
00038               F u n c t i o n s
00039 ----------------------------------------------------------------------*/
00040 void display_segmentation(TBLOB *chunks, SEARCH_STATE segmentation); 
00041 
00042 void init_plotseg(); 
00043 
00044 void render_segmentation(void *window,
00045                          TBLOB *chunks,
00046                          SEARCH_STATE segmentation);
00047 
00048 /*
00049 #if defined(__STDC__) || defined(__cplusplus)
00050 # define _ARGS(s) s
00051 #else
00052 # define _ARGS(s) ()
00053 #endif*/
00054 
00055 /* plotseg.c
00056 void display_segmentation
00057   _ARGS((BLOB *chunks,
00058   SEARCH_STATE segmentation));
00059 
00060 void init_plotseg
00061   _ARGS((void));
00062 
00063 void render_segmentation
00064   _ARGS((X_WINDOW *window,
00065   BLOB *chunks,
00066   SEARCH_STATE segmentation));
00067 
00068 #undef _ARGS
00069 */
00070 #endif

Generated on Wed Feb 28 19:49:13 2007 for Tesseract by  doxygen 1.5.1