tesseract  v4.0.0-17-g361f3264
Open Source OCR Engine
BLOCK_LINE_IT Class Reference

rectangle iterator More...

#include <pdblock.h>

Collaboration diagram for BLOCK_LINE_IT:

Public Member Functions

 BLOCK_LINE_IT (PDBLK *blkptr)
 
void set_to_block (PDBLK *blkptr)
 
int16_t get_line (int16_t y, int16_t &xext)
 

Private Attributes

PDBLKblock
 
BLOCK_RECT_IT rect_it
 

Detailed Description

rectangle iterator

Constructor & Destructor Documentation

◆ BLOCK_LINE_IT()

BLOCK_LINE_IT::BLOCK_LINE_IT ( PDBLK blkptr)
inline

constructor

Parameters
blkptrfrom block

Member Function Documentation

◆ get_line()

int16_t BLOCK_LINE_IT::get_line ( int16_t  y,
int16_t &  xext 
)

get a line

Parameters
yline to get
xextoutput extent

◆ set_to_block()

void BLOCK_LINE_IT::set_to_block ( PDBLK blkptr)
inline

start (new) block

Parameters
blkptrblock to start

Member Data Documentation

◆ block

PDBLK* BLOCK_LINE_IT::block
private

◆ rect_it

BLOCK_RECT_IT BLOCK_LINE_IT::rect_it
private

The documentation for this class was generated from the following files: