page block
More...
#include <pdblock.h>
◆ PDBLK() [1/2]
◆ PDBLK() [2/2]
| PDBLK::PDBLK |
( |
int16_t |
xmin, |
|
|
int16_t |
ymin, |
|
|
int16_t |
xmax, |
|
|
int16_t |
ymax |
|
) |
| |
◆ ~PDBLK()
◆ bounding_box() [1/2]
| void PDBLK::bounding_box |
( |
ICOORD & |
bottom_left, |
|
|
ICOORD & |
top_right |
|
) |
| const |
|
inline |
◆ bounding_box() [2/2]
| const TBOX& PDBLK::bounding_box |
( |
| ) |
const |
|
inline |
◆ contains()
| bool PDBLK::contains |
( |
ICOORD |
pt | ) |
|
◆ index()
| int PDBLK::index |
( |
| ) |
const |
|
inline |
◆ move()
| void PDBLK::move |
( |
const ICOORD |
vec | ) |
|
◆ operator=()
◆ plot()
draw histogram
- Parameters
-
| window | window to draw in |
| serial | serial number |
| colour | colour to draw in |
◆ poly_block()
◆ render_mask()
| Pix * PDBLK::render_mask |
( |
const FCOORD & |
rerotation, |
|
|
TBOX * |
mask_box |
|
) |
| |
◆ set_index()
| void PDBLK::set_index |
( |
int |
value | ) |
|
|
inline |
◆ set_poly_block()
◆ set_sides()
| void PDBLK::set_sides |
( |
ICOORDELT_LIST * |
left, |
|
|
ICOORDELT_LIST * |
right |
|
) |
| |
set vertex lists
- Parameters
-
| left | list of left vertices |
| right | list of right vertices |
◆ BLOCK
◆ BLOCK_RECT_IT
◆ box
◆ hand_poly
◆ index_
◆ leftside
| ICOORDELT_LIST PDBLK::leftside |
|
protected |
◆ rightside
| ICOORDELT_LIST PDBLK::rightside |
|
protected |
The documentation for this class was generated from the following files:
- /home/stephane/src/tesseract/src/ccstruct/pdblock.h
- /home/stephane/src/tesseract/src/ccstruct/pdblock.cpp