tesseract::PageIterator Class Reference

#include <pageiterator.h>

Inheritance diagram for tesseract::PageIterator:
tesseract::LTRResultIterator tesseract::ResultIterator tesseract::MutableIterator

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 PageIteratoroperator= (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_RESpage_res_
Tesseracttesseract_
PAGE_RES_ITit_
WERDword_
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]

Reimplemented in tesseract::ResultIterator.

void tesseract::PageIterator::BeginWord ( int  offset  )  [protected]
PolyBlockType tesseract::PageIterator::BlockType (  )  const
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
bool tesseract::PageIterator::Empty ( PageIteratorLevel  level  )  const
Pix * tesseract::PageIterator::GetBinaryImage ( PageIteratorLevel  level  )  const
Pix * tesseract::PageIterator::GetImage ( PageIteratorLevel  level,
int  padding,
int *  left,
int *  top 
) const
bool tesseract::PageIterator::IsAtBeginningOf ( PageIteratorLevel  level  )  const [virtual]

Reimplemented in tesseract::ResultIterator.

bool tesseract::PageIterator::IsAtFinalElement ( PageIteratorLevel  level,
PageIteratorLevel  element 
) const [virtual]

Reimplemented in tesseract::ResultIterator.

bool tesseract::PageIterator::IsWithinFirstTextlineOfParagraph (  )  const
bool tesseract::PageIterator::Next ( PageIteratorLevel  level  )  [virtual]

Reimplemented in tesseract::ResultIterator.

const PageIterator & tesseract::PageIterator::operator= ( const PageIterator src  ) 
void tesseract::PageIterator::Orientation ( tesseract::Orientation orientation,
tesseract::WritingDirection writing_direction,
tesseract::TextlineOrder textline_order,
float *  deskew_angle 
) 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

C_BLOB_IT* tesseract::PageIterator::cblob_it_ [protected]

The documentation for this class was generated from the following files:
Generated on Thu Feb 2 08:19:25 2012 for Tesseract by  doxygen 1.6.3