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

#include <tabvector.h>

Inheritance diagram for tesseract::TabConstraint:
Collaboration diagram for tesseract::TabConstraint:

Public Member Functions

 TabConstraint ()=default
 

Static Public Member Functions

static void CreateConstraint (TabVector *vector, bool is_top)
 
static bool CompatibleConstraints (TabConstraint_LIST *list1, TabConstraint_LIST *list2)
 
static void MergeConstraints (TabConstraint_LIST *list1, TabConstraint_LIST *list2)
 
static void ApplyConstraints (TabConstraint_LIST *constraints)
 

Private Member Functions

 TabConstraint (TabVector *vector, bool is_top)
 

Static Private Member Functions

static void GetConstraints (TabConstraint_LIST *constraints, int *y_min, int *y_max)
 

Private Attributes

TabVectorvector_
 
bool is_top_
 
int y_min_
 
int y_max_
 

Constructor & Destructor Documentation

◆ TabConstraint() [1/2]

tesseract::TabConstraint::TabConstraint ( )
default

◆ TabConstraint() [2/2]

tesseract::TabConstraint::TabConstraint ( TabVector vector,
bool  is_top 
)
private

Member Function Documentation

◆ ApplyConstraints()

void tesseract::TabConstraint::ApplyConstraints ( TabConstraint_LIST *  constraints)
static

◆ CompatibleConstraints()

bool tesseract::TabConstraint::CompatibleConstraints ( TabConstraint_LIST *  list1,
TabConstraint_LIST *  list2 
)
static

◆ CreateConstraint()

void tesseract::TabConstraint::CreateConstraint ( TabVector vector,
bool  is_top 
)
static

◆ GetConstraints()

void tesseract::TabConstraint::GetConstraints ( TabConstraint_LIST *  constraints,
int *  y_min,
int *  y_max 
)
staticprivate

◆ MergeConstraints()

void tesseract::TabConstraint::MergeConstraints ( TabConstraint_LIST *  list1,
TabConstraint_LIST *  list2 
)
static

Member Data Documentation

◆ is_top_

bool tesseract::TabConstraint::is_top_
private

◆ vector_

TabVector* tesseract::TabConstraint::vector_
private

◆ y_max_

int tesseract::TabConstraint::y_max_
private

◆ y_min_

int tesseract::TabConstraint::y_min_
private

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