|
tesseract
4.00.00dev
|
#include <bbgrid.h>
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) |
Public Member Functions inherited from tesseract::GridBase | |
| GridBase () | |
| GridBase (int gridsize, const ICOORD &bleft, const ICOORD &tright) | |
| virtual | ~GridBase () |
| void | Init (int gridsize, const ICOORD &bleft, const ICOORD &tright) |
| int | gridsize () const |
| int | gridwidth () const |
| int | gridheight () const |
| const ICOORD & | bleft () const |
| const ICOORD & | tright () const |
| void | GridCoords (int x, int y, int *grid_x, int *grid_y) const |
| void | ClipGridCoords (int *x, int *y) const |
Protected Attributes | |
| BBC_CLIST * | grid_ |
Protected Attributes inherited from tesseract::GridBase | |
| int | gridsize_ |
| int | gridwidth_ |
| int | gridheight_ |
| int | gridbuckets_ |
| ICOORD | bleft_ |
| ICOORD | tright_ |
Friends | |
| class | GridSearch< BBC, BBC_CLIST, BBC_C_IT > |
| tesseract::BBGrid< BBC, BBC_CLIST, BBC_C_IT >::BBGrid | ( | ) |
| tesseract::BBGrid< BBC, BBC_CLIST, BBC_C_IT >::BBGrid | ( | int | gridsize, |
| const ICOORD & | bleft, | ||
| const ICOORD & | tright | ||
| ) |
Definition at line 433 of file bbgrid.h.
|
virtual |
| void tesseract::BBGrid< BBC, BBC_CLIST, BBC_C_IT >::AssertNoDuplicates | ( | ) |
| void tesseract::BBGrid< BBC, BBC_CLIST, BBC_C_IT >::Clear | ( | ) |
| void tesseract::BBGrid< BBC, BBC_CLIST, BBC_C_IT >::ClearGridData | ( | void(*)(BBC *) | free_method | ) |
Definition at line 468 of file bbgrid.h.
| IntGrid * tesseract::BBGrid< BBC, BBC_CLIST, BBC_C_IT >::CountCellElements | ( | ) |
| void tesseract::BBGrid< BBC, BBC_CLIST, BBC_C_IT >::DisplayBoxes | ( | ScrollView * | window | ) |
Definition at line 617 of file bbgrid.h.
|
virtual |
Reimplemented in tesseract::StrokeWidth, and tesseract::ColPartitionGrid.
Definition at line 659 of file bbgrid.h.
| void tesseract::BBGrid< BBC, BBC_CLIST, BBC_C_IT >::Init | ( | int | gridsize, |
| const ICOORD & | bleft, | ||
| const ICOORD & | tright | ||
| ) |
Definition at line 448 of file bbgrid.h.
| void tesseract::BBGrid< BBC, BBC_CLIST, BBC_C_IT >::InsertBBox | ( | bool | h_spread, |
| bool | v_spread, | ||
| BBC * | bbox | ||
| ) |
Definition at line 490 of file bbgrid.h.
| void tesseract::BBGrid< BBC, BBC_CLIST, BBC_C_IT >::InsertPixPtBBox | ( | int | left, |
| int | bottom, | ||
| Pix * | pix, | ||
| BBC * | bbox | ||
| ) |
| ScrollView * tesseract::BBGrid< BBC, BBC_CLIST, BBC_C_IT >::MakeWindow | ( | int | x, |
| int | y, | ||
| const char * | window_name | ||
| ) |
Definition at line 593 of file bbgrid.h.
| bool tesseract::BBGrid< BBC, BBC_CLIST, BBC_C_IT >::RectangleEmpty | ( | const TBOX & | rect | ) |
Definition at line 556 of file bbgrid.h.
| void tesseract::BBGrid< BBC, BBC_CLIST, BBC_C_IT >::RemoveBBox | ( | BBC * | bbox | ) |
Definition at line 537 of file bbgrid.h.
|
friend |
|
protected |