|
tesseract
4.00.00dev
|
#include <tabvector.h>
Public Member Functions | |
| TabVector () | |
| ~TabVector () | |
| TabVector (const TabVector &src, TabAlignment alignment, const ICOORD &vertical_skew, BLOBNBOX *blob) | |
| TabVector * | ShallowCopy () const |
| const ICOORD & | startpt () const |
| const ICOORD & | endpt () const |
| int | extended_ymax () const |
| int | extended_ymin () const |
| int | sort_key () const |
| int | mean_width () const |
| void | set_top_constraints (TabConstraint_LIST *constraints) |
| void | set_bottom_constraints (TabConstraint_LIST *constraints) |
| TabVector_CLIST * | partners () |
| void | set_startpt (const ICOORD &start) |
| void | set_endpt (const ICOORD &end) |
| bool | intersects_other_lines () const |
| void | set_intersects_other_lines (bool value) |
| int | XAtY (int y) const |
| int | VOverlap (const TabVector &other) const |
| int | VOverlap (int top_y, int bottom_y) const |
| int | ExtendedOverlap (int top_y, int bottom_y) const |
| bool | IsLeftTab () const |
| bool | IsRightTab () const |
| bool | IsSeparator () const |
| bool | IsCenterTab () const |
| bool | IsRagged () const |
| bool | IsLeftOf (const TabVector &other) const |
| bool | Partnerless () |
| int | BoxCount () |
| void | Freeze () |
| void | XYFlip () |
| void | ReflectInYAxis () |
| void | ExtendToBox (BLOBNBOX *blob) |
| void | SetYStart (int start_y) |
| void | SetYEnd (int end_y) |
| void | Rotate (const FCOORD &rotation) |
| void | SetupConstraints () |
| void | SetupPartnerConstraints () |
| void | SetupPartnerConstraints (TabVector *partner) |
| void | ApplyConstraints () |
| bool | SimilarTo (const ICOORD &vertical, const TabVector &other, BlobGrid *grid) const |
| void | MergeWith (const ICOORD &vertical, TabVector *other) |
| void | AddPartner (TabVector *partner) |
| bool | IsAPartner (const TabVector *other) |
| void | Print (const char *prefix) |
| void | Debug (const char *prefix) |
| void | Display (ScrollView *tab_win) |
| void | FitAndEvaluateIfNeeded (const ICOORD &vertical, TabFind *finder) |
| void | Evaluate (const ICOORD &vertical, TabFind *finder) |
| bool | Fit (ICOORD vertical, bool force_parallel) |
| TabVector * | VerticalTextlinePartner () |
| TabVector * | GetSinglePartner () |
Public Member Functions inherited from ELIST2_LINK | |
| ELIST2_LINK () | |
| ELIST2_LINK (const ELIST2_LINK &) | |
| void | operator= (const ELIST2_LINK &) |
Static Public Member Functions | |
| static TabVector * | FitVector (TabAlignment alignment, ICOORD vertical, int extended_start_y, int extended_end_y, BLOBNBOX_CLIST *good_points, int *vertical_x, int *vertical_y) |
| static int | SortKey (const ICOORD &vertical, int x, int y) |
| static int | XAtY (const ICOORD &vertical, int sort_key, int y) |
| static int | SortVectorsByKey (const void *v1, const void *v2) |
| static void | MergeSimilarTabVectors (const ICOORD &vertical, TabVector_LIST *vectors, BlobGrid *grid) |
Definition at line 111 of file tabvector.h.
|
inline |
Definition at line 113 of file tabvector.h.
| tesseract::TabVector::~TabVector | ( | ) |
Definition at line 170 of file tabvector.cpp.
| tesseract::TabVector::TabVector | ( | const TabVector & | src, |
| TabAlignment | alignment, | ||
| const ICOORD & | vertical_skew, | ||
| BLOBNBOX * | blob | ||
| ) |
Definition at line 204 of file tabvector.cpp.
| void tesseract::TabVector::AddPartner | ( | TabVector * | partner | ) |
Definition at line 492 of file tabvector.cpp.
| void tesseract::TabVector::ApplyConstraints | ( | ) |
Definition at line 353 of file tabvector.cpp.
|
inline |
Definition at line 245 of file tabvector.h.
| void tesseract::TabVector::Debug | ( | const char * | prefix | ) |
Definition at line 535 of file tabvector.cpp.
| void tesseract::TabVector::Display | ( | ScrollView * | tab_win | ) |
Definition at line 547 of file tabvector.cpp.
|
inline |
Definition at line 149 of file tabvector.h.
Definition at line 587 of file tabvector.cpp.
|
inline |
Definition at line 152 of file tabvector.h.
|
inline |
Definition at line 155 of file tabvector.h.
|
inline |
Definition at line 208 of file tabvector.h.
| void tesseract::TabVector::ExtendToBox | ( | BLOBNBOX * | blob | ) |
Definition at line 246 of file tabvector.cpp.
| bool tesseract::TabVector::Fit | ( | ICOORD | vertical, |
| bool | force_parallel | ||
| ) |
Definition at line 788 of file tabvector.cpp.
Definition at line 573 of file tabvector.cpp.
|
static |
Definition at line 182 of file tabvector.cpp.
|
inline |
Definition at line 250 of file tabvector.h.
| TabVector * tesseract::TabVector::GetSinglePartner | ( | ) |
Definition at line 874 of file tabvector.cpp.
|
inline |
Definition at line 179 of file tabvector.h.
| bool tesseract::TabVector::IsAPartner | ( | const TabVector * | other | ) |
Definition at line 505 of file tabvector.cpp.
|
inline |
Definition at line 225 of file tabvector.h.
|
inline |
Definition at line 235 of file tabvector.h.
|
inline |
Definition at line 213 of file tabvector.h.
|
inline |
Definition at line 229 of file tabvector.h.
|
inline |
Definition at line 217 of file tabvector.h.
|
inline |
Definition at line 221 of file tabvector.h.
|
inline |
Definition at line 161 of file tabvector.h.
|
static |
Definition at line 361 of file tabvector.cpp.
Definition at line 458 of file tabvector.cpp.
|
inline |
Definition at line 240 of file tabvector.h.
|
inline |
Definition at line 170 of file tabvector.h.
| void tesseract::TabVector::Print | ( | const char * | prefix | ) |
Definition at line 525 of file tabvector.cpp.
|
inline |
Definition at line 265 of file tabvector.h.
| void tesseract::TabVector::Rotate | ( | const FCOORD & | rotation | ) |
Definition at line 281 of file tabvector.cpp.
|
inline |
Definition at line 167 of file tabvector.h.
|
inline |
Definition at line 176 of file tabvector.h.
|
inline |
Definition at line 182 of file tabvector.h.
|
inline |
Definition at line 173 of file tabvector.h.
|
inline |
Definition at line 164 of file tabvector.h.
| void tesseract::TabVector::SetupConstraints | ( | ) |
Definition at line 296 of file tabvector.cpp.
| void tesseract::TabVector::SetupPartnerConstraints | ( | ) |
Definition at line 302 of file tabvector.cpp.
| void tesseract::TabVector::SetupPartnerConstraints | ( | TabVector * | partner | ) |
Definition at line 341 of file tabvector.cpp.
| void tesseract::TabVector::SetYEnd | ( | int | end_y | ) |
Definition at line 275 of file tabvector.cpp.
| void tesseract::TabVector::SetYStart | ( | int | start_y | ) |
Definition at line 270 of file tabvector.cpp.
| TabVector * tesseract::TabVector::ShallowCopy | ( | ) | const |
Definition at line 233 of file tabvector.cpp.
| bool tesseract::TabVector::SimilarTo | ( | const ICOORD & | vertical, |
| const TabVector & | other, | ||
| BlobGrid * | grid | ||
| ) | const |
Definition at line 394 of file tabvector.cpp.
|
inline |
Definition at line 158 of file tabvector.h.
|
inlinestatic |
Definition at line 280 of file tabvector.h.
|
inlinestatic |
Definition at line 294 of file tabvector.h.
|
inline |
Definition at line 146 of file tabvector.h.
| TabVector * tesseract::TabVector::VerticalTextlinePartner | ( | ) |
Definition at line 884 of file tabvector.cpp.
|
inline |
Definition at line 199 of file tabvector.h.
|
inline |
Definition at line 204 of file tabvector.h.
|
inline |
Definition at line 189 of file tabvector.h.
|
inlinestatic |
Definition at line 286 of file tabvector.h.
|
inline |
Definition at line 255 of file tabvector.h.