Leaper WaferScan Toolkit
中文 / English 2.x
Public 成员函数 | 属性
ILAnnulusSectorRegion接口 参考

该接口对应一个环状扇形区域对象。 更多...

类 ILAnnulusSectorRegion 继承关系图:
ILRegion ILObject LAnnulusSectorRegion

Public 成员函数

void SetPlacement (double cenx, double ceny, double rInner, double rOuter, double aStart, double aEnd)
 
- Public 成员函数 继承自 ILRegion
ILCompoundRegionAdd (ILRegion *other)
 
void Drag (LPVRoiHandle roiHandle, int x, int y, double zoomX, double zoomY, double panX, double panY)
 
void Draw (HDC hdc, BOOL drawHandles, double zoomX, double zoomY, double panX, double panY)
 
void EnableHandle (LPVRoiHandle roiHandle, BOOL enabled)
 
LPVRoiHandle HitTest (int x, int y, double zoomX, double zoomY, double panX, double panY)
 
ILCompoundRegionIntersect (ILRegion *other)
 
ILCompoundRegionInvert ()
 
void MapFromImage (double imagePointX, double imagePointY, double *regionPointX, double *regionPointY)
 
ILObjectMapObjectFromImage (ILObject *imageObject)
 
ILObjectMapObjectToImage (ILObject *regionObject)
 
void MapToImage (double regionPointX, double regionPointY, double *imagePointX, double *imagePointY)
 
void ReduceImage (ILImage *image, ILImage **newImage, ILImage **newMask)
 
ILRegionRotate (double da)
 
ILRegionRotateAndTranslate (double x, double y, double newX, double newY, double da)
 
ILRegionScale (double factorX, double factorY)
 
ILCompoundRegionSubtract (ILRegion *other)
 
ILImageToMask (int w, int h)
 
ILRegionTranslate (double offsetX, double offsetY)
 
ILCompoundRegionUnion (ILRegion *other)
 
ILCompoundRegionXOR (ILRegion *other)
 
- Public 成员函数 继承自 ILObject
ILObjectCopy ()
 
LPVErrorCode Load (LString filename)
 
void Reset ()
 
LPVErrorCode Save (LString filename)
 
BOOL Valid ()
 

属性

double CenterX [get, set]
 该环状扇形区域所在圆中心点的 x 坐标
 
double CenterY [get, set]
 该环状扇形区域所在圆中心点的 y 坐标
 
double EndAngle [get, set]
 环状扇形区域的结束角度
 
double InnerRadius [get, set]
 环状扇形区域的内侧半径
 
double OuterRadius [get, set]
 环状扇形区域的外侧半径
 
double StartAngle [get, set]
 环状扇形区域的起始角度。沿顺时针方向,从 StartAngle 开始到 EndAngle 结束的部分为扇区。
 
- 属性 继承自 ILRegion
LPVInterpolationMethod InterpolationMethod [get, set]
 生成子图像时所使用的插值算法
 
double ReduceAngle [get, set]
 生成子图像时所使用的生成角度。
默认设置为 0,即无旋转。设置非 0 的角度,在生成子图像时,将按顺时针旋转子图像。该功能适用于转正矩形区域所在的图像。 更多...
 
double ReduceScale [get, set]
 生成子图像时所使用的缩放比例。
默认设置为 1,即无缩放。设置合适的数值,将缩放生成子图像到给定的比例。 更多...
 

详细描述

该接口对应一个环状扇形区域对象。

使用这个接口,需要创建一个 LAnnulusSectorRegion 对象。

示例代码

成员函数说明

◆ SetPlacement()

void SetPlacement ( double  cenx,
double  ceny,
double  rInner,
double  rOuter,
double  aStart,
double  aEnd 
)

设置环状扇形区域的位置和尺寸

参数
[in]cenx中心的 x 坐标
[in]ceny中心的 y 坐标
[in]rInner内侧半径
[in]rOuter外侧半径
[in]aStart圆弧的起始角度
[in]aEnd圆弧的结束角度