Leaper Vision Toolkit
中文 / English 2.x
Public 成员函数
ILCalibPointPairs接口 参考

该接口对应一组图像和物理点对的集合。 更多...

类 ILCalibPointPairs 继承关系图:
ILObjects ILObject LCalibPointPairs

Public 成员函数

void AddPointPair (double imagePointX, double imagePointY, double worldPointX, double worldPointY)
 
void Draw (HDC hdc, int index, double zoomX, double zoomY, double panX, double panY)
 
void DrawAll (HDC hdc, double zoomX, double zoomY, double panX, double panY)
 
ILPointGetImagePoint (int index)
 
ILPointsGetImagePoints ()
 
ILPointGetWorldPoint (int index)
 
ILPointsGetWorldPoints ()
 
- Public 成员函数 继承自 ILObjects
int Count ()
 
BOOL Empty ()
 
ILObjectItemObject (int objIndex)
 
- Public 成员函数 继承自 ILObject
ILObjectCopy ()
 
LPVErrorCode Load (LString filename)
 
void Reset ()
 
LPVErrorCode Save (LString filename)
 
BOOL Valid ()
 

额外继承的成员函数

- 属性 继承自 ILObject
LString Name [get, set]
 对象的名称,默认为空。
大多数情况下,LPV 算法类并不使用这个名称。
ILDrawable::SetDrawName() 启用,该名称将被绘制在对象的附近 更多...
 

详细描述

该接口对应一组图像和物理点对的集合。

通常通过调用 ILCalibBoard::Detect() ,由标定板检测和生成该点对集合,也可以通过 AddPointPair() 手动构建点对集合。 可以通过该接口访问其中的单个检测结果,绘制检测结果到给定的设备。

示例代码

成员函数说明

◆ AddPointPair()

void AddPointPair ( double  imagePointX,
double  imagePointY,
double  worldPointX,
double  worldPointY 
)

增加一个图像物理点对到该集合

参数
[in]imagePointX图像点的 x 坐标
[in]imagePointY图像点的 y 坐标
[in]worldPointX物理点的 x 坐标
[in]worldPointY物理点的 y 坐标

◆ Draw()

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

绘制索引对应的单个点对中的图像点到给定的设备。

参数
[in]index输入索引,从 0 开始但小于总数的数字
参见
Use Draw Functions
备注
该函数在 Linux / MacOS 平台暂不可用。
参见
DrawAll().

◆ DrawAll()

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

绘制集合中所有的点对中的图像点到给定的设备。

参见
Use Draw Functions
备注
该函数在 Linux / MacOS 平台暂不可用。
参见
Draw().

◆ GetImagePoint()

ILPoint* GetImagePoint ( int  index)

获取给定索引对应的点对中的图像点。

参数
[in]index输入索引,从 0 开始但小于总数的数字
返回值
imagePoint返回点对中的图像点

◆ GetImagePoints()

ILPoints* GetImagePoints ( )

获取点对中所有的图像点。

返回值
imagePoint返回所有图像点的点集

◆ GetWorldPoint()

ILPoint* GetWorldPoint ( int  index)

获取给定索引对应的点对中的物理点。

参数
[in]index输入索引,从 0 开始但小于总数的数字
返回值
worldPoint返回点对中的物理点

◆ GetWorldPoints()

ILPoints* GetWorldPoints ( )

获取点对中所有的物理点。

返回值
imagePoint返回所有物理点的点集