tesseract::PageIterator Class Reference
#include <pageiterator.h>
List of all members.
Public Member Functions |
| PageIterator (PAGE_RES *page_res, Tesseract *tesseract, int scale, int scaled_yres, int rect_left, int rect_top, int rect_width, int rect_height) |
virtual | ~PageIterator () |
| PageIterator (const PageIterator &src) |
const PageIterator & | operator= (const PageIterator &src) |
bool | PositionedAtSameWord (const PAGE_RES_IT *other) const |
virtual void | Begin () |
virtual void | RestartParagraph () |
bool | IsWithinFirstTextlineOfParagraph () const |
virtual void | RestartRow () |
virtual bool | Next (PageIteratorLevel level) |
virtual bool | IsAtBeginningOf (PageIteratorLevel level) const |
virtual bool | IsAtFinalElement (PageIteratorLevel level, PageIteratorLevel element) const |
int | Cmp (const PageIterator &other) const |
bool | BoundingBox (PageIteratorLevel level, int *left, int *top, int *right, int *bottom) const |
bool | BoundingBoxInternal (PageIteratorLevel level, int *left, int *top, int *right, int *bottom) const |
bool | Empty (PageIteratorLevel level) const |
PolyBlockType | BlockType () const |
Pix * | GetBinaryImage (PageIteratorLevel level) const |
Pix * | GetImage (PageIteratorLevel level, int padding, int *left, int *top) const |
bool | Baseline (PageIteratorLevel level, int *x1, int *y1, int *x2, int *y2) const |
void | Orientation (tesseract::Orientation *orientation, tesseract::WritingDirection *writing_direction, tesseract::TextlineOrder *textline_order, float *deskew_angle) const |
void | ParagraphInfo (tesseract::ParagraphJustification *justification, bool *is_list_item, bool *is_crown, int *first_line_indent) const |
Protected Member Functions |
void | BeginWord (int offset) |
Protected Attributes |
PAGE_RES * | page_res_ |
Tesseract * | tesseract_ |
PAGE_RES_IT * | it_ |
WERD * | word_ |
int | word_length_ |
int | blob_index_ |
C_BLOB_IT * | cblob_it_ |
int | scale_ |
int | scaled_yres_ |
int | rect_left_ |
int | rect_top_ |
int | rect_width_ |
int | rect_height_ |
Constructor & Destructor Documentation
tesseract::PageIterator::PageIterator |
( |
PAGE_RES * |
page_res, |
|
|
Tesseract * |
tesseract, |
|
|
int |
scale, |
|
|
int |
scaled_yres, |
|
|
int |
rect_left, |
|
|
int |
rect_top, |
|
|
int |
rect_width, |
|
|
int |
rect_height | |
|
) |
| | |
tesseract::PageIterator::~PageIterator |
( |
|
) |
[virtual] |
tesseract::PageIterator::PageIterator |
( |
const PageIterator & |
src |
) |
|
Member Function Documentation
bool tesseract::PageIterator::Baseline |
( |
PageIteratorLevel |
level, |
|
|
int * |
x1, |
|
|
int * |
y1, |
|
|
int * |
x2, |
|
|
int * |
y2 | |
|
) |
| | const |
void tesseract::PageIterator::Begin |
( |
|
) |
[virtual] |
void tesseract::PageIterator::BeginWord |
( |
int |
offset |
) |
[protected] |
bool tesseract::PageIterator::BoundingBox |
( |
PageIteratorLevel |
level, |
|
|
int * |
left, |
|
|
int * |
top, |
|
|
int * |
right, |
|
|
int * |
bottom | |
|
) |
| | const |
bool tesseract::PageIterator::BoundingBoxInternal |
( |
PageIteratorLevel |
level, |
|
|
int * |
left, |
|
|
int * |
top, |
|
|
int * |
right, |
|
|
int * |
bottom | |
|
) |
| | const |
int tesseract::PageIterator::Cmp |
( |
const PageIterator & |
other |
) |
const |
Pix * tesseract::PageIterator::GetImage |
( |
PageIteratorLevel |
level, |
|
|
int |
padding, |
|
|
int * |
left, |
|
|
int * |
top | |
|
) |
| | const |
bool tesseract::PageIterator::IsAtBeginningOf |
( |
PageIteratorLevel |
level |
) |
const [virtual] |
bool tesseract::PageIterator::IsWithinFirstTextlineOfParagraph |
( |
|
) |
const |
void tesseract::PageIterator::ParagraphInfo |
( |
tesseract::ParagraphJustification * |
justification, |
|
|
bool * |
is_list_item, |
|
|
bool * |
is_crown, |
|
|
int * |
first_line_indent | |
|
) |
| | const |
bool tesseract::PageIterator::PositionedAtSameWord |
( |
const PAGE_RES_IT * |
other |
) |
const |
void tesseract::PageIterator::RestartParagraph |
( |
|
) |
[virtual] |
void tesseract::PageIterator::RestartRow |
( |
|
) |
[virtual] |
Member Data Documentation
The documentation for this class was generated from the following files: