tesseract
4.0.0-1-g2a2b
|
#include <blobs.h>
Public Member Functions | |
TESSLINE () | |
TESSLINE (const TESSLINE &src) | |
~TESSLINE () | |
TESSLINE & | operator= (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) |
EDGEPT * | FindBestStartPt () const |
int | BBArea () const |
Static Public Member Functions | |
static TESSLINE * | BuildFromOutlineList (EDGEPT *outline) |
Public Attributes | |
TPOINT | topleft |
TPOINT | botright |
TPOINT | start |
bool | is_hole |
EDGEPT * | loop |
TESSLINE * | next |
|
inline |
Definition at line 104 of file blobs.cpp.
void TESSLINE::Clear | ( | ) |
Definition at line 152 of file blobs.cpp.
void TESSLINE::ComputeBoundingBox | ( | ) |
Definition at line 223 of file blobs.cpp.
void TESSLINE::CopyFrom | ( | const TESSLINE & | src | ) |
Definition at line 125 of file blobs.cpp.
EDGEPT * TESSLINE::FindBestStartPt | ( | ) | const |
Definition at line 293 of file blobs.cpp.
void TESSLINE::MinMaxCrossProduct | ( | const TPOINT | vec, |
int * | min_xp, | ||
int * | max_xp | ||
) | const |
Definition at line 253 of file blobs.cpp.
void TESSLINE::Move | ( | const ICOORD | vec | ) |
Definition at line 189 of file blobs.cpp.
void TESSLINE::Normalize | ( | const DENORM & | denorm | ) |
Definition at line 165 of file blobs.cpp.
void TESSLINE::plot | ( | ScrollView * | window, |
ScrollView::Color | color, | ||
ScrollView::Color | child_color | ||
) |
Definition at line 272 of file blobs.cpp.
void TESSLINE::Rotate | ( | const FCOORD | rotation | ) |
Definition at line 175 of file blobs.cpp.
|
inline |
void TESSLINE::Scale | ( | float | factor | ) |
Definition at line 200 of file blobs.cpp.
Definition at line 230 of file blobs.h.
void TESSLINE::SetupFromPos | ( | ) |
Definition at line 211 of file blobs.cpp.