This interface expose APIs to create/modify an ellipse region object. More...
Public Member Functions | |
void | SetPlacement (double cenx, double ceny, double w, double h, double a) |
![]() | |
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 x, int y, int w, int h) |
ILRegion * | Translate (double offsetX, double offsetY) |
ILCompoundRegion * | Union (ILRegion *other) |
ILCompoundRegion * | XOR (ILRegion *other) |
![]() | |
ILObject * | Copy () |
LPVErrorCode | Load (LString filename) |
void | Reset () |
LPVErrorCode | Save (LString filename) |
BOOL | Valid () |
Properties | |
double | Angle [get, set] |
The angle of the ellipse region, aka. the orientation of the long axis. | |
double | CenterX [get, set] |
The x-coordinate of the ellipse region's center. | |
double | CenterY [get, set] |
The y-coordinate of the ellipse region's center. | |
double | Height [get, set] |
The length of the ellipse region's minor axis. | |
double | Width [get, set] |
The length of the ellipse region's major axis. | |
![]() | |
LPVInterpolationMethod | InterpolationMethod [get, set] |
The interpolation method used in image reduction. | |
double | ReduceAngle [get, set] |
The angle of the reduced result. By default, it's 0. A non-zero value means we'll rotated the reduced result image by the angle clockwise. More... | |
double | ReduceScale [get, set] |
The scale of the reduced result. By default, it's 1. Change this value to scale the reduced result image. More... | |
![]() | |
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 expose APIs to create/modify an ellipse region object.
To use this interface, you should create a LEllipseRegion object.
void SetPlacement | ( | double | cenx, |
double | ceny, | ||
double | w, | ||
double | h, | ||
double | a | ||
) |
Modify the ellipse region's placement.
[in] | cenx | The x-coordinate of the ellipse region center. |
[in] | ceny | The y-coordinate of the ellipse region center. |
[in] | w | The width of the ellipse region. |
[in] | h | The height of the ellipse region. |
[in] | a | The angle of the ellipse region. |