Leaper WaferScan Toolkit
中文 / English 2.x
Public Member Functions | Properties
ILCrossMarkResult Interface Reference

This interface holds a single cross mark detection result and is used to access its properties. More...

Inheritance diagram for ILCrossMarkResult:
ILObject LCrossMarkResult

Public Member Functions

void Draw (HDC hdc, LPVCrossMarkDrawFlags drawFlags, double zoomX, double zoomY, double panX, double panY)
 
ILRectGetRect ()
 
- Public Member Functions inherited from ILObject
ILObjectCopy ()
 
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.
 

Detailed Description

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.

Example Code

Member Function Documentation

◆ Draw()

void Draw ( HDC  hdc,
LPVCrossMarkDrawFlags  drawFlags,
double  zoomX,
double  zoomY,
double  panX,
double  panY 
)

Draw the cross mark result onto provide device context.

Parameters
[in]drawFlagsControl the drawing behavior, see LPVCrossMarkDrawFlags
See also
Use Draw Functions
Remarks
This function is currently not available on Linux / MacOS platform.

◆ GetRect()

ILRect* GetRect ( )

Get the bounding rectangle of the result