|
tesseract
4.00.00dev
|
#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 153 of file blobs.cpp.
| void TESSLINE::ComputeBoundingBox | ( | ) |
Definition at line 225 of file blobs.cpp.
| void TESSLINE::CopyFrom | ( | const TESSLINE & | src | ) |
Definition at line 126 of file blobs.cpp.
| EDGEPT * TESSLINE::FindBestStartPt | ( | ) | const |
Definition at line 299 of file blobs.cpp.
Definition at line 259 of file blobs.cpp.
| void TESSLINE::Move | ( | const ICOORD | vec | ) |
Definition at line 191 of file blobs.cpp.
| void TESSLINE::Normalize | ( | const DENORM & | denorm | ) |
Definition at line 167 of file blobs.cpp.
| void TESSLINE::plot | ( | ScrollView * | window, |
| ScrollView::Color | color, | ||
| ScrollView::Color | child_color | ||
| ) |
Definition at line 278 of file blobs.cpp.
| void TESSLINE::Rotate | ( | const FCOORD | rotation | ) |
Definition at line 177 of file blobs.cpp.
|
inline |
| void TESSLINE::Scale | ( | float | factor | ) |
Definition at line 202 of file blobs.cpp.
Definition at line 223 of file blobs.h.
| void TESSLINE::SetupFromPos | ( | ) |
Definition at line 213 of file blobs.cpp.