tesseract
3.05.02
|
page block More...
#include <pdblock.h>
Public Member Functions | |
PDBLK () | |
empty constructor More... | |
PDBLK (inT16 xmin, inT16 ymin, inT16 xmax, inT16 ymax) | |
simple constructor More... | |
void | set_sides (ICOORDELT_LIST *left, ICOORDELT_LIST *right) |
~PDBLK () | |
destructor More... | |
POLY_BLOCK * | poly_block () const |
void | set_poly_block (POLY_BLOCK *blk) |
set the poly block More... | |
void | bounding_box (ICOORD &bottom_left, ICOORD &top_right) const |
get box More... | |
const TBOX & | bounding_box () const |
get real box More... | |
int | index () const |
void | set_index (int value) |
BOOL8 | contains (ICOORD pt) |
is pt inside block More... | |
void | move (const ICOORD vec) |
reposition block More... | |
Pix * | render_mask (const FCOORD &rerotation, TBOX *mask_box) |
void | plot (ScrollView *window, inT32 serial, ScrollView::Color colour) |
PDBLK & | operator= (const PDBLK &source) |
Protected Attributes | |
POLY_BLOCK * | hand_poly |
ICOORDELT_LIST | leftside |
ICOORDELT_LIST | rightside |
TBOX | box |
int | index_ |
Friends | |
class | BLOCK_RECT_IT |
|
inline |
is pt inside block
Definition at line 86 of file pdblock.cpp.
void PDBLK::move | ( | const ICOORD | vec | ) |
void PDBLK::plot | ( | ScrollView * | window, |
inT32 | serial, | ||
ScrollView::Color | colour | ||
) |
draw histogram
window | window to draw in |
serial | serial number |
colour | colour to draw in |
Definition at line 177 of file pdblock.cpp.
|
inline |
Definition at line 128 of file pdblock.cpp.
|
inline |
void PDBLK::set_sides | ( | ICOORDELT_LIST * | left, |
ICOORDELT_LIST * | right | ||
) |
set vertex lists
left | list of left vertices |
right | list of right vertices |
Definition at line 64 of file pdblock.cpp.
|
friend |
|
protected |