tesseract::BBGrid< BBC, BBC_CLIST, BBC_C_IT > Class Template Reference
#include <bbgrid.h>
List of all members.
Public Member Functions |
| BBGrid () |
| BBGrid (int gridsize, const ICOORD &bleft, const ICOORD &tright) |
virtual | ~BBGrid () |
void | Init (int gridsize, const ICOORD &bleft, const ICOORD &tright) |
void | Clear () |
void | ClearGridData (void(*free_method)(BBC *)) |
void | InsertBBox (bool h_spread, bool v_spread, BBC *bbox) |
void | InsertPixPtBBox (int left, int bottom, Pix *pix, BBC *bbox) |
void | RemoveBBox (BBC *bbox) |
bool | RectangleEmpty (const TBOX &rect) |
IntGrid * | CountCellElements () |
ScrollView * | MakeWindow (int x, int y, const char *window_name) |
void | DisplayBoxes (ScrollView *window) |
void | AssertNoDuplicates () |
virtual void | HandleClick (int x, int y) |
Protected Attributes |
BBC_CLIST * | grid_ |
Friends |
class | GridSearch< BBC, BBC_CLIST, BBC_C_IT > |
template<class BBC, class BBC_CLIST, class BBC_C_IT>
class tesseract::BBGrid< BBC, BBC_CLIST, BBC_C_IT >
Constructor & Destructor Documentation
template<class BBC , class BBC_CLIST , class BBC_C_IT >
template<class BBC , class BBC_CLIST , class BBC_C_IT >
template<class BBC , class BBC_CLIST , class BBC_C_IT >
Member Function Documentation
template<class BBC , class BBC_CLIST , class BBC_C_IT >
template<class BBC , class BBC_CLIST , class BBC_C_IT >
template<class BBC, class BBC_CLIST , class BBC_C_IT >
void tesseract::BBGrid< BBC, BBC_CLIST, BBC_C_IT >::ClearGridData |
( |
void(*)(BBC *) |
free_method |
) |
[inline] |
template<class BBC , class BBC_CLIST , class BBC_C_IT >
template<class BBC , class BBC_CLIST , class BBC_C_IT >
template<class BBC , class BBC_CLIST , class BBC_C_IT >
void tesseract::BBGrid< BBC, BBC_CLIST, BBC_C_IT >::HandleClick |
( |
int |
x, |
|
|
int |
y | |
|
) |
| | [inline, virtual] |
template<class BBC , class BBC_CLIST , class BBC_C_IT >
template<class BBC, class BBC_CLIST , class BBC_C_IT >
void tesseract::BBGrid< BBC, BBC_CLIST, BBC_C_IT >::InsertBBox |
( |
bool |
h_spread, |
|
|
bool |
v_spread, |
|
|
BBC * |
bbox | |
|
) |
| | [inline] |
template<class BBC, class BBC_CLIST , class BBC_C_IT >
void tesseract::BBGrid< BBC, BBC_CLIST, BBC_C_IT >::InsertPixPtBBox |
( |
int |
left, |
|
|
int |
bottom, |
|
|
Pix * |
pix, |
|
|
BBC * |
bbox | |
|
) |
| | [inline] |
template<class BBC , class BBC_CLIST , class BBC_C_IT >
template<class BBC , class BBC_CLIST , class BBC_C_IT >
template<class BBC, class BBC_CLIST , class BBC_C_IT >
void tesseract::BBGrid< BBC, BBC_CLIST, BBC_C_IT >::RemoveBBox |
( |
BBC * |
bbox |
) |
[inline] |
Friends And Related Function Documentation
template<class BBC, class BBC_CLIST, class BBC_C_IT>
friend class GridSearch< BBC, BBC_CLIST, BBC_C_IT > [friend] |
Member Data Documentation
template<class BBC, class BBC_CLIST, class BBC_C_IT>
The documentation for this class was generated from the following file:
- /home/rays/src/opensrc/tesseract-ocr/textord/bbgrid.h