|
tesseract 3.04.01
|
#include <cube_line_object.h>
Public Member Functions | |
| CubeLineObject (CubeRecoContext *cntxt, Pix *pix) | |
| ~CubeLineObject () | |
| int | PhraseCount () |
| CubeObject ** | Phrases () |
Definition at line 32 of file cube_line_object.h.
| usr src packages BUILD tesseract cube cube_line_object cpp tesseract::CubeLineObject::CubeLineObject | ( | CubeRecoContext * | cntxt, |
| Pix * | pix | ||
| ) |
Definition at line 25 of file cube_line_object.cpp.
| tesseract::CubeLineObject::~CubeLineObject | ( | ) |
Definition at line 34 of file cube_line_object.cpp.
{
pixDestroy(&line_pix_);
line_pix_ = NULL;
}
if (phrases_ != NULL) {
for (int phrase_idx = 0; phrase_idx < phrase_cnt_; phrase_idx++) {
if (phrases_[phrase_idx] != NULL) {
delete phrases_[phrase_idx];
}
}
delete []phrases_;
phrases_ = NULL;
}
}
| int tesseract::CubeLineObject::PhraseCount | ( | ) | [inline] |
Definition at line 38 of file cube_line_object.h.
{
if (!processed_ && !Process()) {
return 0;
}
return phrase_cnt_;
}
| CubeObject** tesseract::CubeLineObject::Phrases | ( | ) | [inline] |
Definition at line 44 of file cube_line_object.h.
{
if (!processed_ && !Process()) {
return NULL;
}
return phrases_;
}