Leaper Vision Toolkit
中文 / English 2.x
Public Member Functions
ILBlobResults Interface Reference

This interface holds a collection of blob results. More...

Inheritance diagram for ILBlobResults:
ILObjects ILObject LBlobResults

Public Member Functions

void Add (ILBlob *blob)
 
void Draw (HDC hdc, int index, LPVBlobDrawFlags drawFlags, double zoomX, double zoomY, double panX, double panY)
 
void DrawAll (HDC hdc, LPVBlobDrawFlags drawFlags, double zoomX, double zoomY, double panX, double panY)
 
ILBlobItem (int index)
 
- Public Member Functions inherited from ILObjects
int Count ()
 
BOOL Empty ()
 
ILObjectItemObject (int objIndex)
 
- Public Member Functions inherited from ILObject
ILObjectCopy ()
 
LPVErrorCode Load (LString filename)
 
void Reset ()
 
LPVErrorCode Save (LString filename)
 
BOOL Valid ()
 

Detailed Description

This interface holds a collection of blob results.

Usually you get the LBlobResults object from the ILBlobAnalysis::Build() as analysis result. You can then use this interface to access individual result and draw the results on graphics windows.

Example Code

Member Function Documentation

◆ Add()

void Add ( ILBlob blob)

Add a blob to the collection.

Parameters
[in]blobThe input blob object.

◆ Draw()

void Draw ( HDC  hdc,
int  index,
LPVBlobDrawFlags  drawFlags,
double  zoomX,
double  zoomY,
double  panX,
double  panY 
)

Draw one blob result of given index onto provide device context.

Parameters
[in]indexInput index, it should be a 0-based number smaller than total count.
[in]drawFlagsFlags to control the blob drawing behavior, see LPVBlobDrawFlags for usage.
See also
DrawAll()
Use Draw Functions
Remarks
This function is currently not available on Linux / MacOS platform.

◆ DrawAll()

void DrawAll ( HDC  hdc,
LPVBlobDrawFlags  drawFlags,
double  zoomX,
double  zoomY,
double  panX,
double  panY 
)

Draw all blob results onto provide device context.

Parameters
[in]drawFlagsFlags to control the blob drawing behavior, see LPVBlobDrawFlags for usage.
See also
Draw()
Use Draw Functions
Remarks
This function is currently not available on Linux / MacOS platform.

◆ Item()

ILBlob* Item ( int  index)

Fetch one result with given index.

Parameters
[in]indexThe input index, it should be a 0-based number smaller than total count.
Return values
resultReturn the blob result of given index.