|
tesseract
4.0.0-1-g2a2b
|
#include <colpartitionset.h>
Public Member Functions | |
| ColPartitionSet ()=default | |
| ColPartitionSet (ColPartition_LIST *partitions) | |
| ColPartitionSet (ColPartition *partition) | |
| ~ColPartitionSet ()=default | |
| const TBOX & | bounding_box () const |
| bool | Empty () const |
| int | ColumnCount () const |
| int | GoodColumnCount () const |
| ColPartition * | GetColumnByIndex (int index) |
| ColPartition * | ColumnContaining (int x, int y) |
| void | GetColumnBoxes (int y_bottom, int y_top, ColSegment_LIST *segments) |
| void | RelinquishParts () |
| void | ImproveColumnCandidate (WidthCallback *cb, PartSetVector *src_sets) |
| void | AddToColumnSetsIfUnique (PartSetVector *column_sets, WidthCallback *cb) |
| bool | CompatibleColumns (bool debug, ColPartitionSet *other, WidthCallback *cb) |
| int | UnmatchedWidth (ColPartitionSet *part_set) |
| bool | LegalColumnCandidate () |
| ColPartitionSet * | Copy (bool good_only) |
| void | DisplayColumnEdges (int y_bottom, int y_top, ScrollView *win) |
| ColumnSpanningType | SpanningType (int resolution, int left, int right, int height, int y, int left_margin, int right_margin, int *first_col, int *last_col, int *first_spanned_col) |
| void | ChangeWorkColumns (const ICOORD &bleft, const ICOORD &tright, int resolution, ColPartition_LIST *used_parts, WorkingPartSet_LIST *working_set) |
| void | AccumulateColumnWidthsAndGaps (int *total_width, int *width_samples, int *total_gap, int *gap_samples) |
| void | Print () |
Public Member Functions inherited from ELIST_LINK | |
| ELIST_LINK () | |
| ELIST_LINK (const ELIST_LINK &) | |
| void | operator= (const ELIST_LINK &) |
Definition at line 40 of file colpartitionset.h.
|
default |
|
explicit |
Definition at line 36 of file colpartitionset.cpp.
|
explicit |
Definition at line 42 of file colpartitionset.cpp.
|
default |
| void tesseract::ColPartitionSet::AccumulateColumnWidthsAndGaps | ( | int * | total_width, |
| int * | width_samples, | ||
| int * | total_gap, | ||
| int * | gap_samples | ||
| ) |
Definition at line 572 of file colpartitionset.cpp.
| void tesseract::ColPartitionSet::AddToColumnSetsIfUnique | ( | PartSetVector * | column_sets, |
| WidthCallback * | cb | ||
| ) |
Definition at line 175 of file colpartitionset.cpp.
|
inline |
Definition at line 49 of file colpartitionset.h.
| void tesseract::ColPartitionSet::ChangeWorkColumns | ( | const ICOORD & | bleft, |
| const ICOORD & | tright, | ||
| int | resolution, | ||
| ColPartition_LIST * | used_parts, | ||
| WorkingPartSet_LIST * | working_set | ||
| ) |
Definition at line 500 of file colpartitionset.cpp.
| ColPartition * tesseract::ColPartitionSet::ColumnContaining | ( | int | x, |
| int | y | ||
| ) |
Definition at line 70 of file colpartitionset.cpp.
|
inline |
Definition at line 55 of file colpartitionset.h.
| bool tesseract::ColPartitionSet::CompatibleColumns | ( | bool | debug, |
| ColPartitionSet * | other, | ||
| WidthCallback * | cb | ||
| ) |
Definition at line 223 of file colpartitionset.cpp.
| ColPartitionSet * tesseract::ColPartitionSet::Copy | ( | bool | good_only | ) |
Definition at line 354 of file colpartitionset.cpp.
| void tesseract::ColPartitionSet::DisplayColumnEdges | ( | int | y_bottom, |
| int | y_top, | ||
| ScrollView * | win | ||
| ) |
Definition at line 386 of file colpartitionset.cpp.
|
inline |
Definition at line 52 of file colpartitionset.h.
| void tesseract::ColPartitionSet::GetColumnBoxes | ( | int | y_bottom, |
| int | y_top, | ||
| ColSegment_LIST * | segments | ||
| ) |
Definition at line 370 of file colpartitionset.cpp.
| ColPartition * tesseract::ColPartitionSet::GetColumnByIndex | ( | int | index | ) |
Definition at line 60 of file colpartitionset.cpp.
| int tesseract::ColPartitionSet::GoodColumnCount | ( | ) | const |
Definition at line 49 of file colpartitionset.cpp.
| void tesseract::ColPartitionSet::ImproveColumnCandidate | ( | WidthCallback * | cb, |
| PartSetVector * | src_sets | ||
| ) |
Definition at line 90 of file colpartitionset.cpp.
| bool tesseract::ColPartitionSet::LegalColumnCandidate | ( | ) |
Definition at line 331 of file colpartitionset.cpp.
| void tesseract::ColPartitionSet::Print | ( | ) |
Definition at line 593 of file colpartitionset.cpp.
| void tesseract::ColPartitionSet::RelinquishParts | ( | ) |
Definition at line 81 of file colpartitionset.cpp.
| ColumnSpanningType tesseract::ColPartitionSet::SpanningType | ( | int | resolution, |
| int | left, | ||
| int | right, | ||
| int | height, | ||
| int | y, | ||
| int | left_margin, | ||
| int | right_margin, | ||
| int * | first_col, | ||
| int * | last_col, | ||
| int * | first_spanned_col | ||
| ) |
Definition at line 405 of file colpartitionset.cpp.
| int tesseract::ColPartitionSet::UnmatchedWidth | ( | ColPartitionSet * | part_set | ) |
Definition at line 306 of file colpartitionset.cpp.