tesseract  v4.0.0-17-g361f3264
Open Source OCR Engine
tesseract::ParagraphTheory Class Reference

#include <paragraphs_internal.h>

Collaboration diagram for tesseract::ParagraphTheory:

Public Member Functions

 ParagraphTheory (GenericVector< ParagraphModel *> *models)
 
GenericVector< ParagraphModel * > & models ()
 
const GenericVector< ParagraphModel * > & models () const
 
const ParagraphModelAddModel (const ParagraphModel &model)
 
void DiscardUnusedModels (const SetOfModels &used_models)
 
void NonCenteredModels (SetOfModels *models)
 
const ParagraphModelFits (const GenericVector< RowScratchRegisters > *rows, int start, int end) const
 
int IndexOf (const ParagraphModel *model) const
 

Private Attributes

GenericVector< ParagraphModel * > * models_
 
GenericVectorEqEq< ParagraphModel * > models_we_added_
 

Constructor & Destructor Documentation

◆ ParagraphTheory()

tesseract::ParagraphTheory::ParagraphTheory ( GenericVector< ParagraphModel *> *  models)
inlineexplicit

Member Function Documentation

◆ AddModel()

const ParagraphModel * tesseract::ParagraphTheory::AddModel ( const ParagraphModel model)

◆ DiscardUnusedModels()

void tesseract::ParagraphTheory::DiscardUnusedModels ( const SetOfModels used_models)

◆ Fits()

const ParagraphModel * tesseract::ParagraphTheory::Fits ( const GenericVector< RowScratchRegisters > *  rows,
int  start,
int  end 
) const

◆ IndexOf()

int tesseract::ParagraphTheory::IndexOf ( const ParagraphModel model) const

◆ models() [1/2]

GenericVector<ParagraphModel *>& tesseract::ParagraphTheory::models ( )
inline

◆ models() [2/2]

const GenericVector<ParagraphModel *>& tesseract::ParagraphTheory::models ( ) const
inline

◆ NonCenteredModels()

void tesseract::ParagraphTheory::NonCenteredModels ( SetOfModels models)

Member Data Documentation

◆ models_

GenericVector<ParagraphModel *>* tesseract::ParagraphTheory::models_
private

◆ models_we_added_

GenericVectorEqEq<ParagraphModel *> tesseract::ParagraphTheory::models_we_added_
private

The documentation for this class was generated from the following files: