tesseract::ColPartitionSet Class Reference
#include <colpartitionset.h>
List of all members.
Public Member Functions |
| ColPartitionSet () |
| ColPartitionSet (ColPartition_LIST *partitions) |
| ColPartitionSet (ColPartition *partition) |
| ~ColPartitionSet () |
const TBOX & | bounding_box () const |
bool | Empty () |
int | ColumnCount () |
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 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 () |
Constructor & Destructor Documentation
tesseract::ColPartitionSet::ColPartitionSet |
( |
|
) |
[inline] |
tesseract::ColPartitionSet::ColPartitionSet |
( |
ColPartition_LIST * |
partitions |
) |
[explicit] |
tesseract::ColPartitionSet::ColPartitionSet |
( |
ColPartition * |
partition |
) |
[explicit] |
tesseract::ColPartitionSet::~ColPartitionSet |
( |
|
) |
|
Member Function Documentation
void tesseract::ColPartitionSet::AccumulateColumnWidthsAndGaps |
( |
int * |
total_width, |
|
|
int * |
width_samples, |
|
|
int * |
total_gap, |
|
|
int * |
gap_samples | |
|
) |
| | |
const TBOX& tesseract::ColPartitionSet::bounding_box |
( |
|
) |
const [inline] |
void tesseract::ColPartitionSet::ChangeWorkColumns |
( |
const ICOORD & |
bleft, |
|
|
const ICOORD & |
tright, |
|
|
int |
resolution, |
|
|
ColPartition_LIST * |
used_parts, |
|
|
WorkingPartSet_LIST * |
working_set | |
|
) |
| | |
ColPartition * tesseract::ColPartitionSet::ColumnContaining |
( |
int |
x, |
|
|
int |
y | |
|
) |
| | |
int tesseract::ColPartitionSet::ColumnCount |
( |
|
) |
[inline] |
void tesseract::ColPartitionSet::DisplayColumnEdges |
( |
int |
y_bottom, |
|
|
int |
y_top, |
|
|
ScrollView * |
win | |
|
) |
| | |
bool tesseract::ColPartitionSet::Empty |
( |
|
) |
[inline] |
void tesseract::ColPartitionSet::GetColumnBoxes |
( |
int |
y_bottom, |
|
|
int |
y_top, |
|
|
ColSegment_LIST * |
segments | |
|
) |
| | |
ColPartition * tesseract::ColPartitionSet::GetColumnByIndex |
( |
int |
index |
) |
|
bool tesseract::ColPartitionSet::LegalColumnCandidate |
( |
|
) |
|
void tesseract::ColPartitionSet::Print |
( |
|
) |
|
void tesseract::ColPartitionSet::RelinquishParts |
( |
|
) |
|
ColumnSpanningType tesseract::ColPartitionSet::SpanningType |
( |
int |
resolution, |
|
|
int |
left, |
|
|
int |
right, |
|
|
int |
y, |
|
|
int |
left_margin, |
|
|
int |
right_margin, |
|
|
int * |
first_col, |
|
|
int * |
last_col, |
|
|
int * |
first_spanned_col | |
|
) |
| | |
int tesseract::ColPartitionSet::UnmatchedWidth |
( |
ColPartitionSet * |
part_set |
) |
|
The documentation for this class was generated from the following files: