|
tesseract 3.04.01
|
#include <intproto.h>
Public Member Functions | |
| INT_FEATURE_STRUCT () | |
| INT_FEATURE_STRUCT (const FCOORD &pos, uinT8 theta) | |
| INT_FEATURE_STRUCT (int x, int y, int theta) | |
| void | print () const |
Public Attributes | |
| uinT8 | X |
| uinT8 | Y |
| uinT8 | Theta |
| inT8 | CP_misses |
Definition at line 135 of file intproto.h.
| INT_FEATURE_STRUCT::INT_FEATURE_STRUCT | ( | ) | [inline] |
Builds a feature from an FCOORD for position with all the necessary clipping and rounding.
Definition at line 212 of file intproto.cpp.
| INT_FEATURE_STRUCT::INT_FEATURE_STRUCT | ( | int | x, |
| int | y, | ||
| int | theta | ||
| ) |
Builds a feature from ints with all the necessary clipping and casting.
Definition at line 219 of file intproto.cpp.
: X(static_cast<uinT8>(ClipToRange(x, 0, MAX_UINT8))), Y(static_cast<uinT8>(ClipToRange(y, 0, MAX_UINT8))), Theta(static_cast<uinT8>(ClipToRange(theta, 0, MAX_UINT8))), CP_misses(0) { }
| void INT_FEATURE_STRUCT::print | ( | ) | const [inline] |
Definition at line 146 of file intproto.h.
Definition at line 145 of file intproto.h.
Definition at line 143 of file intproto.h.
Definition at line 144 of file intproto.h.