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

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

Inheritance diagram for ILPathResult:
ILObject LPathResult

Public Member Functions

void Draw (HDC hdc, LPVPathDrawFlags drawFlags, double zoomX, double zoomY, double panX, double panY)
 
- Public Member Functions inherited from ILObject
ILObjectCopy ()
 
LPVErrorCode Load (LString filename)
 
void Reset ()
 
LPVErrorCode Save (LString filename)
 
BOOL Valid ()
 

Properties

ILPolygon Path [get]
 The path of the result, it's a not-closed polygon.
 
double Score [get]
 The score of the result, it's the averaging value of all pixels on the path.
 

Detailed Description

This interface holds a single path detection result and is used to access its properties.

Usually you get the LPathResult object from the ILPathResults::Item() function.You can then use this interface to access to the path informations and draw the result on graphics windows.

Example Code

Member Function Documentation

◆ Draw()

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

Draw the path result onto provide device context.

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