tesseract  v4.0.0-17-g361f3264
Open Source OCR Engine
TESSLINE Struct Reference

#include <blobs.h>

Collaboration diagram for TESSLINE:

Public Member Functions

 TESSLINE ()
 
 TESSLINE (const TESSLINE &src)
 
 ~TESSLINE ()
 
TESSLINEoperator= (const TESSLINE &src)
 
void CopyFrom (const TESSLINE &src)
 
void Clear ()
 
void Normalize (const DENORM &denorm)
 
void Rotate (const FCOORD rotation)
 
void Move (const ICOORD vec)
 
void Scale (float factor)
 
void SetupFromPos ()
 
void ComputeBoundingBox ()
 
void MinMaxCrossProduct (const TPOINT vec, int *min_xp, int *max_xp) const
 
TBOX bounding_box () const
 
bool SameBox (const TESSLINE &other) const
 
bool SegmentCrosses (const TPOINT &pt1, const TPOINT &pt2) const
 
bool Contains (const TPOINT &pt) const
 
void plot (ScrollView *window, ScrollView::Color color, ScrollView::Color child_color)
 
EDGEPTFindBestStartPt () const
 
int BBArea () const
 

Static Public Member Functions

static TESSLINEBuildFromOutlineList (EDGEPT *outline)
 

Public Attributes

TPOINT topleft
 
TPOINT botright
 
TPOINT start
 
bool is_hole
 
EDGEPTloop
 
TESSLINEnext
 

Constructor & Destructor Documentation

◆ TESSLINE() [1/2]

TESSLINE::TESSLINE ( )
inline

◆ TESSLINE() [2/2]

TESSLINE::TESSLINE ( const TESSLINE src)
inline

◆ ~TESSLINE()

TESSLINE::~TESSLINE ( )
inline

Member Function Documentation

◆ BBArea()

int TESSLINE::BBArea ( ) const
inline

◆ bounding_box()

TBOX TESSLINE::bounding_box ( ) const

◆ BuildFromOutlineList()

TESSLINE * TESSLINE::BuildFromOutlineList ( EDGEPT outline)
static

◆ Clear()

void TESSLINE::Clear ( )

◆ ComputeBoundingBox()

void TESSLINE::ComputeBoundingBox ( )

◆ Contains()

bool TESSLINE::Contains ( const TPOINT pt) const
inline

◆ CopyFrom()

void TESSLINE::CopyFrom ( const TESSLINE src)

◆ FindBestStartPt()

EDGEPT * TESSLINE::FindBestStartPt ( ) const

◆ MinMaxCrossProduct()

void TESSLINE::MinMaxCrossProduct ( const TPOINT  vec,
int *  min_xp,
int *  max_xp 
) const

◆ Move()

void TESSLINE::Move ( const ICOORD  vec)

◆ Normalize()

void TESSLINE::Normalize ( const DENORM denorm)

◆ operator=()

TESSLINE& TESSLINE::operator= ( const TESSLINE src)
inline

◆ plot()

void TESSLINE::plot ( ScrollView window,
ScrollView::Color  color,
ScrollView::Color  child_color 
)

◆ Rotate()

void TESSLINE::Rotate ( const FCOORD  rotation)

◆ SameBox()

bool TESSLINE::SameBox ( const TESSLINE other) const
inline

◆ Scale()

void TESSLINE::Scale ( float  factor)

◆ SegmentCrosses()

bool TESSLINE::SegmentCrosses ( const TPOINT pt1,
const TPOINT pt2 
) const
inline

◆ SetupFromPos()

void TESSLINE::SetupFromPos ( )

Member Data Documentation

◆ botright

TPOINT TESSLINE::botright

◆ is_hole

bool TESSLINE::is_hole

◆ loop

EDGEPT* TESSLINE::loop

◆ next

TESSLINE* TESSLINE::next

◆ start

TPOINT TESSLINE::start

◆ topleft

TPOINT TESSLINE::topleft

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