#include <workingpartset.h>
List of all members.
Detailed Description
Definition at line 32 of file workingpartset.h.
Constructor & Destructor Documentation
tesseract::WorkingPartSet::WorkingPartSet |
( |
| ) |
|
|
inline |
tesseract::WorkingPartSet::WorkingPartSet |
( |
ColPartition * |
column | ) |
|
|
inlineexplicit |
Member Function Documentation
void tesseract::WorkingPartSet::AddPartition |
( |
ColPartition * |
part | ) |
|
Definition at line 31 of file workingpartset.cpp.
{
ColPartition* partner = part->SingletonPartner(true);
}
if (latest_part_ ==
NULL || partner ==
NULL) {
part_it_.move_to_last();
for (part_it_.move_to_first(); !part_it_.at_last() &&
part_it_.data() != partner;
part_it_.forward());
}
part_it_.add_after_then_move(part);
latest_part_ = part;
}
void tesseract::WorkingPartSet::ExtractCompletedBlocks |
( |
const ICOORD & |
bleft, |
|
|
const ICOORD & |
tright, |
|
|
int |
resolution, |
|
|
ColPartition_LIST * |
used_parts, |
|
|
BLOCK_LIST * |
blocks, |
|
|
TO_BLOCK_LIST * |
to_blocks |
|
) |
| |
Definition at line 55 of file workingpartset.cpp.
{
MakeBlocks(bleft, tright, resolution, used_parts);
BLOCK_IT block_it(blocks);
block_it.move_to_last();
block_it.add_list_after(&completed_blocks_);
TO_BLOCK_IT to_block_it(to_blocks);
to_block_it.move_to_last();
to_block_it.add_list_after(&to_blocks_);
}
void tesseract::WorkingPartSet::InsertCompletedBlocks |
( |
BLOCK_LIST * |
blocks, |
|
|
TO_BLOCK_LIST * |
to_blocks |
|
) |
| |
Definition at line 72 of file workingpartset.cpp.
{
BLOCK_IT block_it(&completed_blocks_);
block_it.add_list_before(blocks);
TO_BLOCK_IT to_block_it(&to_blocks_);
to_block_it.add_list_before(to_blocks);
}
void tesseract::WorkingPartSet::set_column |
( |
ColPartition * |
col | ) |
|
|
inline |
The documentation for this class was generated from the following files: