This interface holds a collection of circle detection results. More...
Public Member Functions | |
void | Draw (HDC hdc, int index, LPVCircleDrawFlags drawFlags, double zoomX, double zoomY, double panX, double panY) |
void | DrawAll (HDC hdc, LPVCircleDrawFlags drawFlags, double zoomX, double zoomY, double panX, double panY) |
void | DrawScoreChart (HDC hdc, LPVChartDrawFlags drawFlags, int xGridStep, int yGridStep) |
ILCircleResult * | Item (int index) |
![]() | |
int | Count () |
BOOL | Empty () |
ILObject * | ItemObject (int objIndex) |
![]() | |
ILObject * | Copy () |
LPVErrorCode | Load (LString filename) |
void | Reset () |
LPVErrorCode | Save (LString filename) |
BOOL | Valid () |
Additional Inherited Members | |
![]() | |
LString | Name [get, set] |
Name of the object. By default, the object has no name. In most cases, LPV classes don't make use of the names. The name is drawn on canvas around the object if ILDrawable::SetDrawName() is enabled. More... | |
This interface holds a collection of circle detection results.
Usually you get the LCircleResults object from the ILCircleDetector::Detect() as detection result. You can then use this interface to access individual result and draw the results on graphics windows.
void Draw | ( | HDC | hdc, |
int | index, | ||
LPVCircleDrawFlags | drawFlags, | ||
double | zoomX, | ||
double | zoomY, | ||
double | panX, | ||
double | panY | ||
) |
Draw one circle result of given index onto provide device context.
[in] | index | Input index, it should be a 0-based number smaller than total count. |
[in] | drawFlags | Flags to control the circle drawing behavior, see LPVCircleDrawFlags for usage. |
void DrawAll | ( | HDC | hdc, |
LPVCircleDrawFlags | drawFlags, | ||
double | zoomX, | ||
double | zoomY, | ||
double | panX, | ||
double | panY | ||
) |
Draw all circle results onto provide device context.
[in] | drawFlags | Control the drawing behavior, see LPVCircleDrawFlags |
void DrawScoreChart | ( | HDC | hdc, |
LPVChartDrawFlags | drawFlags, | ||
int | xGridStep, | ||
int | yGridStep | ||
) |
Draw a score chart onto provide device context. It represents the score(y axis) distributions along the region's direction(x axis). It's useful for determining a proper acceptable score.
[in] | hdc | Handle to the device context of the destination window or bitmap. |
[in] | drawFlags | Flags to control which part of a data chart should be drawn, see LPVChartDrawFlags for usage. |
[in] | xGridStep | Specify the step of label on x axis, 0 means we'll determine it on the fly according to the score data. |
[in] | yGridStep | Specify the step of label on y axis, 0 means we'll determine it on the fly according to the score data. This function is currently not available on Linux / MacOS platform. |
ILCircleResult* Item | ( | int | index | ) |
Fetch one result with given index.
[in] | index | Input index, it should be a 0-based number smaller than total count. |
result | Return the circle result of given index. |