tesseract 5.2.0
Loading...
Searching...
No Matches
tesseract::StructuredTableTest Class Reference
Inheritance diagram for tesseract::StructuredTableTest:
tesseract::SharedTest

Protected Member Functions

void SetUp () override
 
- Protected Member Functions inherited from tesseract::SharedTest
void SetUp () override
 
void TearDown () override
 
void InsertPartitions ()
 
void InsertPartition (int left, int bottom, int right, int top)
 
void InsertLines ()
 
void InsertHorizontalLine (int left, int right, int y)
 
void InsertVerticalLine (int x, int bottom, int top)
 
void InsertCellsInLines ()
 

Protected Attributes

std::unique_ptr< TestableStructuredTabletable_
 
- Protected Attributes inherited from tesseract::SharedTest
TBOX line_box_
 
std::unique_ptr< ColPartitionGridtext_grid_
 
std::unique_ptr< ColPartitionGridline_grid_
 
ColPartition_LIST allocated_parts_
 

Detailed Description

Definition at line 162 of file tablerecog_test.cc.

Member Function Documentation

◆ SetUp()

void tesseract::StructuredTableTest::SetUp ( )
inlineoverrideprotected

Definition at line 164 of file tablerecog_test.cc.

164 {
166 table_ = std::make_unique<TestableStructuredTable>();
167 table_->Init();
168 table_->set_text_grid(text_grid_.get());
169 table_->set_line_grid(line_grid_.get());
170 }
void SetUp() override
std::unique_ptr< ColPartitionGrid > text_grid_
std::unique_ptr< ColPartitionGrid > line_grid_
std::unique_ptr< TestableStructuredTable > table_

Member Data Documentation

◆ table_

std::unique_ptr<TestableStructuredTable> tesseract::StructuredTableTest::table_
protected

Definition at line 172 of file tablerecog_test.cc.


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