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

#include <workingpartset.h>

Inheritance diagram for tesseract::WorkingPartSet:
Collaboration diagram for tesseract::WorkingPartSet:

Public Member Functions

 WorkingPartSet (ColPartition *column)
 
ColPartitioncolumn () const
 
void set_column (ColPartition *col)
 
void AddPartition (ColPartition *part)
 
void ExtractCompletedBlocks (const ICOORD &bleft, const ICOORD &tright, int resolution, ColPartition_LIST *used_parts, BLOCK_LIST *blocks, TO_BLOCK_LIST *to_blocks)
 
void InsertCompletedBlocks (BLOCK_LIST *blocks, TO_BLOCK_LIST *to_blocks)
 

Private Member Functions

void MakeBlocks (const ICOORD &bleft, const ICOORD &tright, int resolution, ColPartition_LIST *used_parts)
 

Private Attributes

ColPartitioncolumn_
 
ColPartitionlatest_part_
 
ColPartition_LIST part_set_
 
ColPartition_IT part_it_
 
BLOCK_LIST completed_blocks_
 
TO_BLOCK_LIST to_blocks_
 

Constructor & Destructor Documentation

◆ WorkingPartSet()

tesseract::WorkingPartSet::WorkingPartSet ( ColPartition column)
inlineexplicit

Member Function Documentation

◆ AddPartition()

void tesseract::WorkingPartSet::AddPartition ( ColPartition part)

◆ column()

ColPartition* tesseract::WorkingPartSet::column ( ) const
inline

◆ ExtractCompletedBlocks()

void tesseract::WorkingPartSet::ExtractCompletedBlocks ( const ICOORD bleft,
const ICOORD tright,
int  resolution,
ColPartition_LIST *  used_parts,
BLOCK_LIST *  blocks,
TO_BLOCK_LIST *  to_blocks 
)

◆ InsertCompletedBlocks()

void tesseract::WorkingPartSet::InsertCompletedBlocks ( BLOCK_LIST *  blocks,
TO_BLOCK_LIST *  to_blocks 
)

◆ MakeBlocks()

void tesseract::WorkingPartSet::MakeBlocks ( const ICOORD bleft,
const ICOORD tright,
int  resolution,
ColPartition_LIST *  used_parts 
)
private

◆ set_column()

void tesseract::WorkingPartSet::set_column ( ColPartition col)
inline

Member Data Documentation

◆ column_

ColPartition* tesseract::WorkingPartSet::column_
private

◆ completed_blocks_

BLOCK_LIST tesseract::WorkingPartSet::completed_blocks_
private

◆ latest_part_

ColPartition* tesseract::WorkingPartSet::latest_part_
private

◆ part_it_

ColPartition_IT tesseract::WorkingPartSet::part_it_
private

◆ part_set_

ColPartition_LIST tesseract::WorkingPartSet::part_set_
private

◆ to_blocks_

TO_BLOCK_LIST tesseract::WorkingPartSet::to_blocks_
private

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