This interface holds a single cross mark detection result and is used to access its properties. More...
Public Member Functions | |
void | Draw (HDC hdc, LPVCrossMarkDrawFlags drawFlags, double zoomX, double zoomY, double panX, double panY) |
ILRect * | GetRect () |
Public Member Functions inherited from ILObject | |
ILObject * | Copy () |
LPVErrorCode | Load (LString filename) |
void | Reset () |
LPVErrorCode | Save (LString filename) |
BOOL | Valid () |
Properties | |
ILPoint | Center [get] |
The center of the result, it's the intersection point of the two crossed middle lines. | |
ILLine | HLine [get] |
The horizontal middle line of the result. | |
double | Score [get] |
The score of the result, it's the combination of the result's fitting quality, edge parallelism and symmetry evaluation. | |
ILLine | VLine [get] |
The vertical middle line of the result. | |
This interface holds a single cross mark detection result and is used to access its properties.
Usually you get the LCrossMarkResult object from the ILCrossMarkResults::Item() function. You can then use this interface to access to the cross mark's center and crossed middle lines, and draw the result on graphics windows.
void Draw | ( | HDC | hdc, |
LPVCrossMarkDrawFlags | drawFlags, | ||
double | zoomX, | ||
double | zoomY, | ||
double | panX, | ||
double | panY | ||
) |
Draw the cross mark result onto provide device context.
[in] | drawFlags | Control the drawing behavior, see LPVCrossMarkDrawFlags |
ILRect* GetRect | ( | ) |
Get the bounding rectangle of the result