tesseract  3.03
EDGEPT Struct Reference

#include <blobs.h>

List of all members.

Public Member Functions

 EDGEPT ()
 EDGEPT (const EDGEPT &src)
EDGEPToperator= (const EDGEPT &src)
void CopyFrom (const EDGEPT &src)
void Hide ()
void Reveal ()
bool IsHidden () const
void MarkChop ()
void UnmarkChop ()
bool IsChopPt () const

Public Attributes

TPOINT pos
VECTOR vec
char flags [EDGEPTFLAGS]
EDGEPTnext
EDGEPTprev
C_OUTLINEsrc_outline
int start_step
int step_count

Detailed Description

Definition at line 69 of file blobs.h.


Constructor & Destructor Documentation

EDGEPT::EDGEPT ( ) [inline]

Definition at line 70 of file blobs.h.

  : next(NULL), prev(NULL), src_outline(NULL), start_step(0), step_count(0) {
    memset(flags, 0, EDGEPTFLAGS * sizeof(flags[0]));
  }
EDGEPT::EDGEPT ( const EDGEPT src) [inline]

Definition at line 74 of file blobs.h.

                            : next(NULL), prev(NULL) {
    CopyFrom(src);
  }

Member Function Documentation

void EDGEPT::CopyFrom ( const EDGEPT src) [inline]

Definition at line 82 of file blobs.h.

                                   {
    pos = src.pos;
    vec = src.vec;
    memcpy(flags, src.flags, EDGEPTFLAGS * sizeof(flags[0]));
    src_outline = src.src_outline;
    start_step = src.start_step;
    step_count = src.step_count;
  }
void EDGEPT::Hide ( ) [inline]

Definition at line 91 of file blobs.h.

              {
    flags[0] = true;
  }
bool EDGEPT::IsChopPt ( ) const [inline]

Definition at line 106 of file blobs.h.

                        {
    return flags[2] != 0;
  }
bool EDGEPT::IsHidden ( ) const [inline]

Definition at line 97 of file blobs.h.

                        {
    return flags[0] != 0;
  }
void EDGEPT::MarkChop ( ) [inline]

Definition at line 100 of file blobs.h.

                  {
    flags[2] = true;
  }
EDGEPT& EDGEPT::operator= ( const EDGEPT src) [inline]

Definition at line 77 of file blobs.h.

                                       {
    CopyFrom(src);
    return *this;
  }
void EDGEPT::Reveal ( ) [inline]

Definition at line 94 of file blobs.h.

                {
    flags[0] = false;
  }
void EDGEPT::UnmarkChop ( ) [inline]

Definition at line 103 of file blobs.h.

                    {
    flags[2] = false;
  }

Member Data Documentation

Definition at line 115 of file blobs.h.

Definition at line 116 of file blobs.h.

Definition at line 110 of file blobs.h.

Definition at line 117 of file blobs.h.

Definition at line 118 of file blobs.h.

Definition at line 120 of file blobs.h.

Definition at line 121 of file blobs.h.

Definition at line 111 of file blobs.h.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines