#include <paragraphs_internal.h>
Definition at line 189 of file paragraphs_internal.h.
◆ ParagraphTheory()
◆ AddModel()
Definition at line 1215 of file paragraphs.cpp.
1216 for (
int i = 0; i < models_->
size(); i++) {
1217 if ((*models_)[i]->Comparable(model))
1218 return (*models_)[i];
int push_back_new(T object)
◆ DiscardUnusedModels()
void tesseract::ParagraphTheory::DiscardUnusedModels |
( |
const SetOfModels & |
used_models | ) |
|
Definition at line 1226 of file paragraphs.cpp.
1227 for (
int i = models_->
size() - 1; i >= 0; i--) {
1229 if (!used_models.contains(m) && models_we_added_.
contains(m)) {
int get_index(T object) const
bool contains(T object) const
◆ Fits()
Definition at line 1240 of file paragraphs.cpp.
1242 for (
int m = 0; m < models_->
size(); m++) {
tesseract::ParagraphJustification justification() const
bool RowsFitModel(const GenericVector< RowScratchRegisters > *rows, int start, int end, const ParagraphModel *model)
◆ IndexOf()
Definition at line 1259 of file paragraphs.cpp.
1260 for (
int i = 0; i < models_->
size(); i++) {
1261 if ((*models_)[i] == model)
◆ models() [1/2]
◆ models() [2/2]
◆ NonCenteredModels()
void tesseract::ParagraphTheory::NonCenteredModels |
( |
SetOfModels * |
models | ) |
|
Definition at line 1251 of file paragraphs.cpp.
1252 for (
int m = 0; m < models_->
size(); m++) {
tesseract::ParagraphJustification justification() const
GenericVector< ParagraphModel * > & models()
int push_back_new(T object)
The documentation for this class was generated from the following files: