#include <paragraphs_internal.h>
Definition at line 189 of file paragraphs_internal.h.
Definition at line 1163 of file paragraphs.cpp.
1164 for (
int i = 0; i < models_->
size(); i++) {
1165 if ((*models_)[i]->Comparable(model))
1166 return (*models_)[i];
int push_back_new(T object)
| void tesseract::ParagraphTheory::DiscardUnusedModels |
( |
const SetOfModels & |
used_models | ) |
|
Definition at line 1174 of file paragraphs.cpp.
1175 for (
int i = models_->
size() - 1; i >= 0; i--) {
1177 if (!used_models.contains(m) && models_we_added_.
contains(m)) {
int get_index(T object) const
bool contains(T object) const
virtual void remove(int index)
Definition at line 1188 of file paragraphs.cpp.
1190 for (
int m = 0; m < models_->
size(); m++) {
bool RowsFitModel(const GenericVector< RowScratchRegisters > *rows, int start, int end, const ParagraphModel *model)
tesseract::ParagraphJustification justification() const
| int tesseract::ParagraphTheory::IndexOf |
( |
const ParagraphModel * |
model | ) |
const |
Definition at line 1207 of file paragraphs.cpp.
1208 for (
int i = 0; i < models_->
size(); i++) {
1209 if ((*models_)[i] == model)
| void tesseract::ParagraphTheory::NonCenteredModels |
( |
SetOfModels * |
models | ) |
|
Definition at line 1199 of file paragraphs.cpp.
1200 for (
int m = 0; m < models_->
size(); m++) {
GenericVector< ParagraphModel * > & models()
int push_back_new(T object)
tesseract::ParagraphJustification justification() const
The documentation for this class was generated from the following files: