|
tesseract 3.04.01
|
#include <paragraphs_internal.h>
Public Member Functions | |
| ParagraphTheory (GenericVector< ParagraphModel * > *models) | |
| GenericVector< ParagraphModel * > & | models () |
| const GenericVector < ParagraphModel * > & | models () const |
| const ParagraphModel * | AddModel (const ParagraphModel &model) |
| void | DiscardUnusedModels (const SetOfModels &used_models) |
| void | NonCenteredModels (SetOfModels *models) |
| const ParagraphModel * | Fits (const GenericVector< RowScratchRegisters > *rows, int start, int end) const |
| int | IndexOf (const ParagraphModel *model) const |
Definition at line 189 of file paragraphs_internal.h.
| tesseract::ParagraphTheory::ParagraphTheory | ( | GenericVector< ParagraphModel * > * | models | ) | [inline, explicit] |
Definition at line 193 of file paragraphs_internal.h.
: models_(models) {}
| const ParagraphModel * tesseract::ParagraphTheory::AddModel | ( | const ParagraphModel & | model | ) |
Definition at line 1217 of file paragraphs.cpp.
{
for (int i = models_->size() - 1; i >= 0; i--) {
| void tesseract::ParagraphTheory::DiscardUnusedModels | ( | const SetOfModels & | used_models | ) |
Definition at line 1228 of file paragraphs.cpp.
| const ParagraphModel * tesseract::ParagraphTheory::Fits | ( | const GenericVector< RowScratchRegisters > * | rows, |
| int | start, | ||
| int | end | ||
| ) | const |
Definition at line 1242 of file paragraphs.cpp.
{
for (int m = 0; m < models_->size(); m++) {
| int tesseract::ParagraphTheory::IndexOf | ( | const ParagraphModel * | model | ) | const |
Definition at line 1261 of file paragraphs.cpp.
{
| const GenericVector<ParagraphModel *>& tesseract::ParagraphTheory::models | ( | ) | const [inline] |
Definition at line 196 of file paragraphs_internal.h.
{ return *models_; }
| GenericVector<ParagraphModel *>& tesseract::ParagraphTheory::models | ( | ) | [inline] |
Definition at line 195 of file paragraphs_internal.h.
{ return *models_; }
| void tesseract::ParagraphTheory::NonCenteredModels | ( | SetOfModels * | models | ) |
Definition at line 1253 of file paragraphs.cpp.
{
for (int i = 0; i < models_->size(); i++) {