该接口对应一个旋转矩形区域对象。 更多...
Public 成员函数 | |
| void | SetPlacement (double cenx, double ceny, double w, double h, double a) |
Public 成员函数 继承自 ILRegion | |
| ILCompoundRegion * | Add (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) |
| ILCompoundRegion * | Intersect (ILRegion *other) |
| ILCompoundRegion * | Invert () |
| void | MapFromImage (double imagePointX, double imagePointY, double *regionPointX, double *regionPointY) |
| ILObject * | MapObjectFromImage (ILObject *imageObject) |
| ILObject * | MapObjectToImage (ILObject *regionObject) |
| void | MapToImage (double regionPointX, double regionPointY, double *imagePointX, double *imagePointY) |
| void | ReduceImage (ILImage *image, ILImage **newImage, ILImage **newMask) |
| ILRegion * | Rotate (double da) |
| ILRegion * | RotateAndTranslate (double x, double y, double newX, double newY, double da) |
| ILRegion * | Scale (double factorX, double factorY) |
| ILCompoundRegion * | Subtract (ILRegion *other) |
| ILImage * | ToMask (int w, int h) |
| ILRegion * | Translate (double offsetX, double offsetY) |
| ILCompoundRegion * | Union (ILRegion *other) |
| ILCompoundRegion * | XOR (ILRegion *other) |
Public 成员函数 继承自 ILObject | |
| ILObject * | Copy () |
| LPVErrorCode | Load (LString filename) |
| void | Reset () |
| LPVErrorCode | Save (LString filename) |
| BOOL | Valid () |
属性 | |
| double | Angle [get, set] |
| 旋转矩形区域的角度 | |
| double | CenterX [get, set] |
| 旋转矩形区域的中心 x 坐标 | |
| double | CenterY [get, set] |
| 旋转矩形区域的中心 y 坐标 | |
| double | Height [get, set] |
| 旋转矩形区域的高度 | |
| double | Width [get, set] |
| 旋转矩形区域的宽度 | |
属性 继承自 ILRegion | |
| LPVInterpolationMethod | InterpolationMethod [get, set] |
| 生成子图像时所使用的插值算法 | |
| double | ReduceAngle [get, set] |
| 生成子图像时所使用的生成角度。 默认设置为 0,即无旋转。设置非 0 的角度,在生成子图像时,将按顺时针旋转子图像。该功能适用于转正矩形区域所在的图像。 更多... | |
| double | ReduceScale [get, set] |
| 生成子图像时所使用的缩放比例。 默认设置为 1,即无缩放。设置合适的数值,将缩放生成子图像到给定的比例。 更多... | |
| void SetPlacement | ( | double | cenx, |
| double | ceny, | ||
| double | w, | ||
| double | h, | ||
| double | a | ||
| ) |
修改旋转矩形区域的位置和尺寸
| [in] | cenx | 旋转矩形区域的中心 x 坐标 |
| [in] | ceny | 旋转矩形区域的中心 y 坐标 |
| [in] | w | 旋转矩形区域的宽度 |
| [in] | h | 旋转矩形区域的高度 |
| [in] | a | 旋转矩形区域的角度 |