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

#include <tablefind.h>

Inheritance diagram for tesseract::ColSegment:
Collaboration diagram for tesseract::ColSegment:

Public Member Functions

 ColSegment ()
 
 ~ColSegment ()=default
 
const TBOXbounding_box () const
 
void set_top (int y)
 
void set_bottom (int y)
 
void set_left (int x)
 
void set_right (int x)
 
void set_bounding_box (const TBOX &other)
 
int get_num_table_cells () const
 
void set_num_table_cells (int n)
 
int get_num_text_cells () const
 
void set_num_text_cells (int n)
 
ColSegType type () const
 
void set_type ()
 
ScrollView::Color BoxColor () const
 
void InsertBox (const TBOX &other)
 

Private Attributes

TBOX bounding_box_
 
int num_table_cells_
 
int num_text_cells_
 
ColSegType type_
 

Constructor & Destructor Documentation

◆ ColSegment()

tesseract::ColSegment::ColSegment ( )

◆ ~ColSegment()

tesseract::ColSegment::~ColSegment ( )
default

Member Function Documentation

◆ bounding_box()

const TBOX& tesseract::ColSegment::bounding_box ( ) const
inline

◆ BoxColor()

ScrollView::Color tesseract::ColSegment::BoxColor ( ) const

◆ get_num_table_cells()

int tesseract::ColSegment::get_num_table_cells ( ) const
inline

◆ get_num_text_cells()

int tesseract::ColSegment::get_num_text_cells ( ) const
inline

◆ InsertBox()

void tesseract::ColSegment::InsertBox ( const TBOX other)

◆ set_bottom()

void tesseract::ColSegment::set_bottom ( int  y)
inline

◆ set_bounding_box()

void tesseract::ColSegment::set_bounding_box ( const TBOX other)
inline

◆ set_left()

void tesseract::ColSegment::set_left ( int  x)
inline

◆ set_num_table_cells()

void tesseract::ColSegment::set_num_table_cells ( int  n)
inline

◆ set_num_text_cells()

void tesseract::ColSegment::set_num_text_cells ( int  n)
inline

◆ set_right()

void tesseract::ColSegment::set_right ( int  x)
inline

◆ set_top()

void tesseract::ColSegment::set_top ( int  y)
inline

◆ set_type()

void tesseract::ColSegment::set_type ( )

◆ type()

ColSegType tesseract::ColSegment::type ( ) const
inline

Member Data Documentation

◆ bounding_box_

TBOX tesseract::ColSegment::bounding_box_
private

◆ num_table_cells_

int tesseract::ColSegment::num_table_cells_
private

◆ num_text_cells_

int tesseract::ColSegment::num_text_cells_
private

◆ type_

ColSegType tesseract::ColSegment::type_
private

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