eVision Python API
Loading...
Searching...
No Matches
eVision.EEllipseRegion Class Reference

Manages a complete context for an eVision.ERegion shaped like an ellipse. More...

Inheritance diagram for eVision.EEllipseRegion:
Collaboration diagram for eVision.EEllipseRegion:

Public Member Functions

None __init__ (self)
 Constructs an eVision.EEllipseRegion context.
None __init__ (self, float centerX, float centerY, float radius1, float radius2, float angle)
 Constructs an eVision.EEllipseRegion context.
None __init__ (self, eVision.EPoint center, float radius1, float radius2, float angle)
 Constructs an eVision.EEllipseRegion context.
None __init__ (self, eVision.EPoint center, eVision.EPoint axisEnd1, eVision.EPoint axisEnd2)
 Constructs an eVision.EEllipseRegion context.
None __init__ (self, eVision.EPoint pt1, eVision.EPoint pt2, eVision.EPoint pt3, eVision.EPoint pt4, eVision.EPoint pt5)
 Constructs an eVision.EEllipseRegion context.
None __init__ (self, eVision.EEllipse ellipse)
 Constructs an eVision.EEllipseRegion context.
None __init__ (self, eVision.EEllipseRegion other)
 Constructs an eVision.EEllipseRegion context.
eVision.ERegion|None Translate (self, float dx, float dy)
 Creates a new region by translating the eVision.EEllipseRegion.
eVision.ERegion|None Scale (self, float scale)
 Creates a new region by scaling the eVision.EEllipseRegion.
eVision.ERegion|None Scale (self, float scaleX, float scaleY)
 Creates a new region by scaling the eVision.EEllipseRegion.
eVision.ERegion|None Rotate (self, float angle)
 Creates a new region by rotating the eVision.EEllipseRegion.
eVision.ERegion|None Transform (self, float scaleX, float scaleY, float angle, float dx, float dy)
 Creates a new eVision.EEllipseRegion by scaling, rotating and then translating the eVision.EEllipseRegion.
eVision.EEditionMode HitTest (self, int x, int y, eVision.EFrame frame, float zoomX, float zoomY, float panX, float panY)
 Detects if the cursor is placed over one of the dragging handles.
eVision.EEditionMode HitTest (self, int x, int y, eVision.EFrame frame, float zoomX, float zoomY, float panX)
 Detects if the cursor is placed over one of the dragging handles.
eVision.EEditionMode HitTest (self, int x, int y, eVision.EFrame frame, float zoomX, float zoomY)
 Detects if the cursor is placed over one of the dragging handles.
eVision.EEditionMode HitTest (self, int x, int y, eVision.EFrame frame, float zoomX)
 Detects if the cursor is placed over one of the dragging handles.
eVision.EEditionMode HitTest (self, int x, int y, eVision.EFrame frame)
 Detects if the cursor is placed over one of the dragging handles.
eVision.EEditionMode HitTest (self, int x, int y, float zoomX, float zoomY, float panX, float panY)
 Detects if the cursor is placed over one of the dragging handles.
eVision.EEditionMode HitTest (self, int x, int y, float zoomX, float zoomY, float panX)
 Detects if the cursor is placed over one of the dragging handles.
eVision.EEditionMode HitTest (self, int x, int y, float zoomX, float zoomY)
 Detects if the cursor is placed over one of the dragging handles.
eVision.EEditionMode HitTest (self, int x, int y, float zoomX)
 Detects if the cursor is placed over one of the dragging handles.
eVision.EEditionMode HitTest (self, int x, int y)
 Detects if the cursor is placed over one of the dragging handles.
None Drag (self, int x, int y, eVision.EFrame frame, float zoomX, float zoomY, float panX, float panY)
 Moves the specified handle to a new position and updates all placement parameters of the region.
None Drag (self, int x, int y, eVision.EFrame frame, float zoomX, float zoomY, float panX)
 Moves the specified handle to a new position and updates all placement parameters of the region.
None Drag (self, int x, int y, eVision.EFrame frame, float zoomX, float zoomY)
 Moves the specified handle to a new position and updates all placement parameters of the region.
None Drag (self, int x, int y, eVision.EFrame frame, float zoomX)
 Moves the specified handle to a new position and updates all placement parameters of the region.
None Drag (self, int x, int y, eVision.EFrame frame)
 Moves the specified handle to a new position and updates all placement parameters of the region.
None Drag (self, int x, int y, float zoomX, float zoomY, float panX, float panY)
 Moves the specified handle to a new position and updates all placement parameters of the region.
None Drag (self, int x, int y, float zoomX, float zoomY, float panX)
 Moves the specified handle to a new position and updates all placement parameters of the region.
None Drag (self, int x, int y, float zoomX, float zoomY)
 Moves the specified handle to a new position and updates all placement parameters of the region.
None Drag (self, int x, int y, float zoomX)
 Moves the specified handle to a new position and updates all placement parameters of the region.
None Drag (self, int x, int y)
 Moves the specified handle to a new position and updates all placement parameters of the region.
None Load (self, str path)
 Loads the eVision.EEllipseRegion.
None Load (self, eVision.ESerializer|None serializer)
 Loads the eVision.EEllipseRegion.
None Save (self, str path)
 Saves the eVision.EEllipseRegion.
None Save (self, eVision.ESerializer|None serializer)
 Saves the eVision.EEllipseRegion.
eVision.ERegion|None Clone (self)
 Clones the ERegion, the cloned Region will be an eVision.EEllipseRegion as well.
None Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, float zoomX, float zoomY, float panX, float panY)
 Draws the eVision.EEllipseRegion shape.
None Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, float zoomX, float zoomY, float panX)
 Draws the eVision.EEllipseRegion shape.
None Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, float zoomX, float zoomY)
 Draws the eVision.EEllipseRegion shape.
None Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, float zoomX)
 Draws the eVision.EEllipseRegion shape.
None Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame)
 Draws the eVision.EEllipseRegion shape.
None Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, eVision.ERGBColor color, float opacity, float zoomX, float zoomY, float panX, float panY)
 Draws the eVision.EEllipseRegion shape.
None Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, eVision.ERGBColor color, float opacity, float zoomX, float zoomY, float panX)
 Draws the eVision.EEllipseRegion shape.
None Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, eVision.ERGBColor color, float opacity, float zoomX, float zoomY)
 Draws the eVision.EEllipseRegion shape.
None Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, eVision.ERGBColor color, float opacity, float zoomX)
 Draws the eVision.EEllipseRegion shape.
None Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, eVision.ERGBColor color, float opacity)
 Draws the eVision.EEllipseRegion shape.
None Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, eVision.ERGBColor color)
 Draws the eVision.EEllipseRegion shape.
None Draw (self, eVision.EDrawAdapter|None drawAdapter, float zoomX, float zoomY, float panX, float panY)
 Draws the eVision.EEllipseRegion shape.
None Draw (self, eVision.EDrawAdapter|None drawAdapter, float zoomX, float zoomY, float panX)
 Draws the eVision.EEllipseRegion shape.
None Draw (self, eVision.EDrawAdapter|None drawAdapter, float zoomX, float zoomY)
 Draws the eVision.EEllipseRegion shape.
None Draw (self, eVision.EDrawAdapter|None drawAdapter, float zoomX)
 Draws the eVision.EEllipseRegion shape.
None Draw (self, eVision.EDrawAdapter|None drawAdapter)
 Draws the eVision.EEllipseRegion shape.
None Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.ERGBColor color, float opacity, float zoomX, float zoomY, float panX, float panY)
 Draws the eVision.EEllipseRegion shape.
None Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.ERGBColor color, float opacity, float zoomX, float zoomY, float panX)
 Draws the eVision.EEllipseRegion shape.
None Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.ERGBColor color, float opacity, float zoomX, float zoomY)
 Draws the eVision.EEllipseRegion shape.
None Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.ERGBColor color, float opacity, float zoomX)
 Draws the eVision.EEllipseRegion shape.
None Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.ERGBColor color, float opacity)
 Draws the eVision.EEllipseRegion shape.
None Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.ERGBColor color)
 Draws the eVision.EEllipseRegion shape.
None Draw (self, ctypes.c_void_p graphicContext, float opacity, float zoomX, float zoomY, float panX, float panY)
 Draws the eVision.EEllipseRegion shape.
None Draw (self, ctypes.c_void_p graphicContext, float opacity, float zoomX, float zoomY, float panX)
 Draws the eVision.EEllipseRegion shape.
None Draw (self, ctypes.c_void_p graphicContext, float opacity, float zoomX, float zoomY)
 Draws the eVision.EEllipseRegion shape.
None Draw (self, ctypes.c_void_p graphicContext, float opacity, float zoomX)
 Draws the eVision.EEllipseRegion shape.
None Draw (self, ctypes.c_void_p graphicContext, float opacity)
 Draws the eVision.EEllipseRegion shape.
None Draw (self, ctypes.c_void_p graphicContext)
 Draws the eVision.EEllipseRegion shape.
None Draw (self, ctypes.c_void_p graphicContext, eVision.ERGBColor color, float opacity, float zoomX, float zoomY, float panX, float panY)
 Draws the eVision.EEllipseRegion shape.
None Draw (self, ctypes.c_void_p graphicContext, eVision.ERGBColor color, float opacity, float zoomX, float zoomY, float panX)
 Draws the eVision.EEllipseRegion shape.
None Draw (self, ctypes.c_void_p graphicContext, eVision.ERGBColor color, float opacity, float zoomX, float zoomY)
 Draws the eVision.EEllipseRegion shape.
None Draw (self, ctypes.c_void_p graphicContext, eVision.ERGBColor color, float opacity, float zoomX)
 Draws the eVision.EEllipseRegion shape.
None Draw (self, ctypes.c_void_p graphicContext, eVision.ERGBColor color, float opacity)
 Draws the eVision.EEllipseRegion shape.
None Draw (self, ctypes.c_void_p graphicContext, eVision.ERGBColor color)
 Draws the eVision.EEllipseRegion shape.
eVision.EPoint Center (self)
 Center of the region.
 Center (self, eVision.EPoint value)
 Center of the region.
float HorizontalRadius (self)
 Horizontal radius of the region.
 HorizontalRadius (self, float value)
 Horizontal radius of the region.
float VerticalRadius (self)
 Vertical radius of the region.
 VerticalRadius (self, float value)
 Vertical radius of the region.
float Angle (self)
 Angle of the region.
 Angle (self, float value)
 Angle of the region.
eVision.EEllipse Ellipse (self)
 Ellipse corresponding to the region.
eVision.EEditionMode AvailableEditionModes (self)
 Returns all possible edition modes of the region.
Public Member Functions inherited from eVision.ERegion
None __init__ (self)
 Constructs an eVision.ERegion context.
None __init__ (self, eVision.ERegion other)
 Constructs an eVision.ERegion context.
None __init__ (self, eVision.EROIBW8 roi, eVision.EBW8 threshold)
 Constructs an eVision.ERegion context.
None __init__ (self, eVision.EROIBW16 roi, eVision.EBW16 threshold)
 Constructs an eVision.ERegion context.
None __init__ (self, list[eVision._eVision.ERun] runs)
 Constructs an eVision.ERegion context.
eVision.ERegion FillHoles (self)
 Returns a new eVision.ERegion.__init__ whose holes are filled.
None Prepare (self, eVision.EROIBW8 roi)
 Computes the values necessary for the eVision.ERegion to be used during processing.
None Prepare (self, eVision.EROIBW16 roi)
 Computes the values necessary for the eVision.ERegion to be used during processing.
None Prepare (self, eVision.EROIBW32 roi)
 Computes the values necessary for the eVision.ERegion to be used during processing.
None Prepare (self, eVision.EROIBW32f roi)
 Computes the values necessary for the eVision.ERegion to be used during processing.
None Prepare (self, eVision.EROIC24 roi)
 Computes the values necessary for the eVision.ERegion to be used during processing.
None Prepare (self, eVision.EROIC24A roi)
 Computes the values necessary for the eVision.ERegion to be used during processing.
None Prepare (self, eVision.EROIC48 roi)
 Computes the values necessary for the eVision.ERegion to be used during processing.
None Prepare (self, int width, int height)
 Computes the values necessary for the eVision.ERegion to be used during processing.
None Prepare (self, int orgX, int orgY, int width, int height)
 Computes the values necessary for the eVision.ERegion to be used during processing.
None Prepare (self)
 Computes the values necessary for the eVision.ERegion to be used during processing.
eVision.ERegion LocalToSensor (self, eVision.EFrame frame)
 Converts the region from the local reference frame to the sensor reference frame.
eVision.ERegion SensorToLocal (self, eVision.EFrame frame)
 Converts the region from the sensor reference frame to the local reference frame.
None ToImage (self, eVision.EImageC24 img, eVision.EC24 background, eVision.EC24 foreground)
 Exports the eVision.ERegion to a mask-type image.
None ToImage (self, eVision.EImageC24A img, eVision.EC24A background, eVision.EC24A foreground)
 Exports the eVision.ERegion to a mask-type image.
None ToImage (self, eVision.EImageBW8 img, eVision.EBW8 background, eVision.EBW8 foreground)
 Exports the eVision.ERegion to a mask-type image.
None ToImage (self, eVision.EImageBW16 img, eVision.EBW16 background, eVision.EBW16 foreground)
 Exports the eVision.ERegion to a mask-type image.
eVision.ERegion TranslateRuns (self, int dx, int dy)
 Creates a new eVision.ERegion by translating the region runs.
eVision.ERegion CropRuns (self, int orgX, int orgY, int width, int height)
 Creates a new eVision.ERegion by cropping the eVision.ERegion runs within a given area.
eVision.ERegion Grow (self, int radius)
 Creates a new eVision.ERegion by growing the eVision.ERegion runs with a dilation using a circular structuring element.
eVision.ERegion Shrink (self, int radius)
 Creates a new eVision.ERegion by shrinking the eVision.ERegion runs with an erosion using a circular structuring element.
eVision.ERegion Contour (self, int thickness, bool centered)
 Creates a new eVision.ERegion containing the contour of the eVision.ERegion.
eVision.ERegion Contour (self, int thickness)
 Creates a new eVision.ERegion containing the contour of the eVision.ERegion.
None DrawContour (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, float zoomX, float zoomY, float panX, float panY)
 Draws the eVision.ERegion contour.
None DrawContour (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, float zoomX, float zoomY, float panX)
 Draws the eVision.ERegion contour.
None DrawContour (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, float zoomX, float zoomY)
 Draws the eVision.ERegion contour.
None DrawContour (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, float zoomX)
 Draws the eVision.ERegion contour.
None DrawContour (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame)
 Draws the eVision.ERegion contour.
None DrawContour (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, eVision.ERGBColor color, float zoomX, float zoomY, float panX, float panY)
 Draws the eVision.ERegion contour.
None DrawContour (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, eVision.ERGBColor color, float zoomX, float zoomY, float panX)
 Draws the eVision.ERegion contour.
None DrawContour (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, eVision.ERGBColor color, float zoomX, float zoomY)
 Draws the eVision.ERegion contour.
None DrawContour (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, eVision.ERGBColor color, float zoomX)
 Draws the eVision.ERegion contour.
None DrawContour (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, eVision.ERGBColor color)
 Draws the eVision.ERegion contour.
None DrawContour (self, eVision.EDrawAdapter|None drawAdapter, float zoomX, float zoomY, float panX, float panY)
 Draws the eVision.ERegion contour.
None DrawContour (self, eVision.EDrawAdapter|None drawAdapter, float zoomX, float zoomY, float panX)
 Draws the eVision.ERegion contour.
None DrawContour (self, eVision.EDrawAdapter|None drawAdapter, float zoomX, float zoomY)
 Draws the eVision.ERegion contour.
None DrawContour (self, eVision.EDrawAdapter|None drawAdapter, float zoomX)
 Draws the eVision.ERegion contour.
None DrawContour (self, eVision.EDrawAdapter|None drawAdapter)
 Draws the eVision.ERegion contour.
None DrawContour (self, eVision.EDrawAdapter|None drawAdapter, eVision.ERGBColor color, float zoomX, float zoomY, float panX, float panY)
 Draws the eVision.ERegion contour.
None DrawContour (self, eVision.EDrawAdapter|None drawAdapter, eVision.ERGBColor color, float zoomX, float zoomY, float panX)
 Draws the eVision.ERegion contour.
None DrawContour (self, eVision.EDrawAdapter|None drawAdapter, eVision.ERGBColor color, float zoomX, float zoomY)
 Draws the eVision.ERegion contour.
None DrawContour (self, eVision.EDrawAdapter|None drawAdapter, eVision.ERGBColor color, float zoomX)
 Draws the eVision.ERegion contour.
None DrawContour (self, eVision.EDrawAdapter|None drawAdapter, eVision.ERGBColor color)
 Draws the eVision.ERegion contour.
None DrawHandles (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, float zoomX, float zoomY, float panX, float panY)
 Draws the region handles.
None DrawHandles (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, float zoomX, float zoomY, float panX)
 Draws the region handles.
None DrawHandles (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, float zoomX, float zoomY)
 Draws the region handles.
None DrawHandles (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, float zoomX)
 Draws the region handles.
None DrawHandles (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame)
 Draws the region handles.
None DrawHandles (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, eVision.ERGBColor color, float zoomX, float zoomY, float panX, float panY)
 Draws the region handles.
None DrawHandles (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, eVision.ERGBColor color, float zoomX, float zoomY, float panX)
 Draws the region handles.
None DrawHandles (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, eVision.ERGBColor color, float zoomX, float zoomY)
 Draws the region handles.
None DrawHandles (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, eVision.ERGBColor color, float zoomX)
 Draws the region handles.
None DrawHandles (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, eVision.ERGBColor color)
 Draws the region handles.
None DrawHandles (self, eVision.EDrawAdapter|None drawAdapter, float zoomX, float zoomY, float panX, float panY)
 Draws the region handles.
None DrawHandles (self, eVision.EDrawAdapter|None drawAdapter, float zoomX, float zoomY, float panX)
 Draws the region handles.
None DrawHandles (self, eVision.EDrawAdapter|None drawAdapter, float zoomX, float zoomY)
 Draws the region handles.
None DrawHandles (self, eVision.EDrawAdapter|None drawAdapter, float zoomX)
 Draws the region handles.
None DrawHandles (self, eVision.EDrawAdapter|None drawAdapter)
 Draws the region handles.
None DrawHandles (self, eVision.EDrawAdapter|None drawAdapter, eVision.ERGBColor color, float zoomX, float zoomY, float panX, float panY)
 Draws the region handles.
None DrawHandles (self, eVision.EDrawAdapter|None drawAdapter, eVision.ERGBColor color, float zoomX, float zoomY, float panX)
 Draws the region handles.
None DrawHandles (self, eVision.EDrawAdapter|None drawAdapter, eVision.ERGBColor color, float zoomX, float zoomY)
 Draws the region handles.
None DrawHandles (self, eVision.EDrawAdapter|None drawAdapter, eVision.ERGBColor color, float zoomX)
 Draws the region handles.
None DrawHandles (self, eVision.EDrawAdapter|None drawAdapter, eVision.ERGBColor color)
 Draws the region handles.
bool IsPointInRegion (self, eVision.EPoint point)
 Checks if a point is inside the rasterized region.
list[eVision._eVision.ERun] Runs (self)
 Runs of the region.
 Runs (self, list[eVision._eVision.ERun] value)
 Runs of the region.
int BoundingBoxOrgX (self)
 Bounding box origin abscissa.
int BoundingBoxOrgY (self)
 Bounding box origin ordinate.
int BoundingBoxWidth (self)
 Bounding box width.
int BoundingBoxHeight (self)
 Bounding box height.
int Area (self)
 Area of the eVision.ERegion.
eVision.EEditionMode EditionMode (self)
 Graphical edition mode.
 EditionMode (self, eVision.EEditionMode value)
 Graphical edition mode.

Additional Inherited Members

Static Public Member Functions inherited from eVision.ERegion
eVision.ERegion Union (eVision.ERegion region1, eVision.ERegion region2)
 Creates a new eVision.ERegion by combining two eVision.ERegion.
eVision.ERegion Intersection (eVision.ERegion region1, eVision.ERegion region2)
 Creates a new eVision.ERegion by intersecting two eVision.ERegion.
eVision.ERegion Subtraction (eVision.ERegion region1, eVision.ERegion region2)
 Creates a new eVision.ERegion by subtracting one eVision.ERegion from another.
eVision.ERegion|None Make (str file)
 Makes a typed region based on the serialized file.
eVision.ERegion|None Make (eVision.ESerializer|None serializer)
 Makes a typed region based on the serialized file.

Detailed Description

Manages a complete context for an eVision.ERegion shaped like an ellipse.

Remarks:

License(s): BasicTypes

Constructor & Destructor Documentation

◆ __init__() [1/7]

None eVision.EEllipseRegion.__init__ ( self)

Constructs an eVision.EEllipseRegion context.

Remarks:

When defining an eVision.EEllipseRegion, the two resulting radius values must not be 0 else an eVision.EError.Parameter3OutOfRange or eVision.EError.Parameter4OutOfRange is thrown. When defining an eVision.EEllipseRegion, the two resulting radius valued must be small enough so that the region fit in memory. When defining an eVision.EEllipseRegion with two axis ends, the two axis ends and the center must not all lie on the same straight line else an eVision.EError.ParametersOutOfRange is thrown. When defining an eVision.EEllipseRegion with five points, no more than two of the points should lie on the same straight line else an eVision.EError.ParametersOutOfRange is thrown.

◆ __init__() [2/7]

None eVision.EEllipseRegion.__init__ ( self,
float centerX,
float centerY,
float radius1,
float radius2,
float angle )

Constructs an eVision.EEllipseRegion context.

Remarks:

When defining an eVision.EEllipseRegion, the two resulting radius values must not be 0 else an eVision.EError.Parameter3OutOfRange or eVision.EError.Parameter4OutOfRange is thrown. When defining an eVision.EEllipseRegion, the two resulting radius valued must be small enough so that the region fit in memory. When defining an eVision.EEllipseRegion with two axis ends, the two axis ends and the center must not all lie on the same straight line else an eVision.EError.ParametersOutOfRange is thrown. When defining an eVision.EEllipseRegion with five points, no more than two of the points should lie on the same straight line else an eVision.EError.ParametersOutOfRange is thrown.

Parameters
centerXThe abscissa of the center of the eVision.EEllipseRegion.
centerYThe ordinate of the center of the eVision.EEllipseRegion.
radius1The abscissa radius of the non rotated eVision.EEllipseRegion.
radius2The ordinate radius of the non rotated eVision.EEllipseRegion.
angleThe angle of the rotated eVision.EEllipseRegion.

◆ __init__() [3/7]

None eVision.EEllipseRegion.__init__ ( self,
eVision.EPoint center,
float radius1,
float radius2,
float angle )

Constructs an eVision.EEllipseRegion context.

Remarks:

When defining an eVision.EEllipseRegion, the two resulting radius values must not be 0 else an eVision.EError.Parameter3OutOfRange or eVision.EError.Parameter4OutOfRange is thrown. When defining an eVision.EEllipseRegion, the two resulting radius valued must be small enough so that the region fit in memory. When defining an eVision.EEllipseRegion with two axis ends, the two axis ends and the center must not all lie on the same straight line else an eVision.EError.ParametersOutOfRange is thrown. When defining an eVision.EEllipseRegion with five points, no more than two of the points should lie on the same straight line else an eVision.EError.ParametersOutOfRange is thrown.

Parameters
centerThe center of the eVision.EEllipseRegion.
radius1The abscissa radius of the non rotated eVision.EEllipseRegion.
radius2The ordinate radius of the non rotated eVision.EEllipseRegion.
angleThe angle of the rotated eVision.EEllipseRegion.

◆ __init__() [4/7]

None eVision.EEllipseRegion.__init__ ( self,
eVision.EPoint center,
eVision.EPoint axisEnd1,
eVision.EPoint axisEnd2 )

Constructs an eVision.EEllipseRegion context.

Remarks:

When defining an eVision.EEllipseRegion, the two resulting radius values must not be 0 else an eVision.EError.Parameter3OutOfRange or eVision.EError.Parameter4OutOfRange is thrown. When defining an eVision.EEllipseRegion, the two resulting radius valued must be small enough so that the region fit in memory. When defining an eVision.EEllipseRegion with two axis ends, the two axis ends and the center must not all lie on the same straight line else an eVision.EError.ParametersOutOfRange is thrown. When defining an eVision.EEllipseRegion with five points, no more than two of the points should lie on the same straight line else an eVision.EError.ParametersOutOfRange is thrown.

Parameters
centerThe center of the eVision.EEllipseRegion.
axisEnd1The point corresponding to the end of the abscissa axis of the non rotated eVision.EEllipseRegion.
axisEnd2The point corresponding to the end of the ordinate axis of the non rotated eVision.EEllipseRegion.

◆ __init__() [5/7]

None eVision.EEllipseRegion.__init__ ( self,
eVision.EPoint pt1,
eVision.EPoint pt2,
eVision.EPoint pt3,
eVision.EPoint pt4,
eVision.EPoint pt5 )

Constructs an eVision.EEllipseRegion context.

Remarks:

When defining an eVision.EEllipseRegion, the two resulting radius values must not be 0 else an eVision.EError.Parameter3OutOfRange or eVision.EError.Parameter4OutOfRange is thrown. When defining an eVision.EEllipseRegion, the two resulting radius valued must be small enough so that the region fit in memory. When defining an eVision.EEllipseRegion with two axis ends, the two axis ends and the center must not all lie on the same straight line else an eVision.EError.ParametersOutOfRange is thrown. When defining an eVision.EEllipseRegion with five points, no more than two of the points should lie on the same straight line else an eVision.EError.ParametersOutOfRange is thrown.

Parameters
pt1One of the five points defining the eVision.EEllipseRegion.
pt2One of the five points defining the eVision.EEllipseRegion.
pt3One of the five points defining the eVision.EEllipseRegion.
pt4One of the five points defining the eVision.EEllipseRegion.
pt5One of the five points defining the eVision.EEllipseRegion.

◆ __init__() [6/7]

None eVision.EEllipseRegion.__init__ ( self,
eVision.EEllipse ellipse )

Constructs an eVision.EEllipseRegion context.

Remarks:

When defining an eVision.EEllipseRegion, the two resulting radius values must not be 0 else an eVision.EError.Parameter3OutOfRange or eVision.EError.Parameter4OutOfRange is thrown. When defining an eVision.EEllipseRegion, the two resulting radius valued must be small enough so that the region fit in memory. When defining an eVision.EEllipseRegion with two axis ends, the two axis ends and the center must not all lie on the same straight line else an eVision.EError.ParametersOutOfRange is thrown. When defining an eVision.EEllipseRegion with five points, no more than two of the points should lie on the same straight line else an eVision.EError.ParametersOutOfRange is thrown.

Parameters
ellipsethe ellipse to construct the region from.

◆ __init__() [7/7]

None eVision.EEllipseRegion.__init__ ( self,
eVision.EEllipseRegion other )

Constructs an eVision.EEllipseRegion context.

Remarks:

When defining an eVision.EEllipseRegion, the two resulting radius values must not be 0 else an eVision.EError.Parameter3OutOfRange or eVision.EError.Parameter4OutOfRange is thrown. When defining an eVision.EEllipseRegion, the two resulting radius valued must be small enough so that the region fit in memory. When defining an eVision.EEllipseRegion with two axis ends, the two axis ends and the center must not all lie on the same straight line else an eVision.EError.ParametersOutOfRange is thrown. When defining an eVision.EEllipseRegion with five points, no more than two of the points should lie on the same straight line else an eVision.EError.ParametersOutOfRange is thrown.

Parameters
othereVision.EEllipseRegion context to copy.

Member Function Documentation

◆ Angle() [1/2]

float eVision.EEllipseRegion.Angle ( self)

Angle of the region.

◆ Angle() [2/2]

eVision.EEllipseRegion.Angle ( self,
float value )

Angle of the region.

◆ AvailableEditionModes()

eVision.EEditionMode eVision.EEllipseRegion.AvailableEditionModes ( self)

Returns all possible edition modes of the region.

Reimplemented from eVision.ERegion.

◆ Center() [1/2]

eVision.EPoint eVision.EEllipseRegion.Center ( self)

Center of the region.

◆ Center() [2/2]

eVision.EEllipseRegion.Center ( self,
eVision.EPoint value )

Center of the region.

◆ Clone()

eVision.ERegion | None eVision.EEllipseRegion.Clone ( self)

Clones the ERegion, the cloned Region will be an eVision.EEllipseRegion as well.

Reimplemented from eVision.ERegion.

◆ Drag() [1/10]

None eVision.EEllipseRegion.Drag ( self,
int x,
int y )

Moves the specified handle to a new position and updates all placement parameters of the region.

Remarks:

If zooming and/or panning were used when drawing the region, the same values must be used with eVision.EEllipseRegion.HitTest and eVision.EEllipseRegion.Drag.

Parameters
xx-coordinate of the mouse cursor.
yy-coordinate of the mouse cursor.

Reimplemented from eVision.ERegion.

◆ Drag() [2/10]

None eVision.EEllipseRegion.Drag ( self,
int x,
int y,
eVision.EFrame frame )

Moves the specified handle to a new position and updates all placement parameters of the region.

Remarks:

If zooming and/or panning were used when drawing the region, the same values must be used with eVision.EEllipseRegion.HitTest and eVision.EEllipseRegion.Drag.

Parameters
xx-coordinate of the mouse cursor.
yy-coordinate of the mouse cursor.
frameFrame to transform coordinates with.

Reimplemented from eVision.ERegion.

◆ Drag() [3/10]

None eVision.EEllipseRegion.Drag ( self,
int x,
int y,
eVision.EFrame frame,
float zoomX )

Moves the specified handle to a new position and updates all placement parameters of the region.

Remarks:

If zooming and/or panning were used when drawing the region, the same values must be used with eVision.EEllipseRegion.HitTest and eVision.EEllipseRegion.Drag.

Parameters
xx-coordinate of the mouse cursor.
yy-coordinate of the mouse cursor.
frameFrame to transform coordinates with.
zoomXHorizontal zoom factor. By default, true scale is used.

Reimplemented from eVision.ERegion.

◆ Drag() [4/10]

None eVision.EEllipseRegion.Drag ( self,
int x,
int y,
eVision.EFrame frame,
float zoomX,
float zoomY )

Moves the specified handle to a new position and updates all placement parameters of the region.

Remarks:

If zooming and/or panning were used when drawing the region, the same values must be used with eVision.EEllipseRegion.HitTest and eVision.EEllipseRegion.Drag.

Parameters
xx-coordinate of the mouse cursor.
yy-coordinate of the mouse cursor.
frameFrame to transform coordinates with.
zoomXHorizontal zoom factor. By default, true scale is used.
zoomYVertical zoom factor. By default, true scale is used.

Reimplemented from eVision.ERegion.

◆ Drag() [5/10]

None eVision.EEllipseRegion.Drag ( self,
int x,
int y,
eVision.EFrame frame,
float zoomX,
float zoomY,
float panX )

Moves the specified handle to a new position and updates all placement parameters of the region.

Remarks:

If zooming and/or panning were used when drawing the region, the same values must be used with eVision.EEllipseRegion.HitTest and eVision.EEllipseRegion.Drag.

Parameters
xx-coordinate of the mouse cursor.
yy-coordinate of the mouse cursor.
frameFrame to transform coordinates with.
zoomXHorizontal zoom factor. By default, true scale is used.
zoomYVertical zoom factor. By default, true scale is used.
panXHorizontal pan offset. By default, no pan is added.

Reimplemented from eVision.ERegion.

◆ Drag() [6/10]

None eVision.EEllipseRegion.Drag ( self,
int x,
int y,
eVision.EFrame frame,
float zoomX,
float zoomY,
float panX,
float panY )

Moves the specified handle to a new position and updates all placement parameters of the region.

Remarks:

If zooming and/or panning were used when drawing the region, the same values must be used with eVision.EEllipseRegion.HitTest and eVision.EEllipseRegion.Drag.

Parameters
xx-coordinate of the mouse cursor.
yy-coordinate of the mouse cursor.
frameFrame to transform coordinates with.
zoomXHorizontal zoom factor. By default, true scale is used.
zoomYVertical zoom factor. By default, true scale is used.
panXHorizontal pan offset. By default, no pan is added.
panYVertical pan offset. By default, no pan is added.

Reimplemented from eVision.ERegion.

◆ Drag() [7/10]

None eVision.EEllipseRegion.Drag ( self,
int x,
int y,
float zoomX )

Moves the specified handle to a new position and updates all placement parameters of the region.

Remarks:

If zooming and/or panning were used when drawing the region, the same values must be used with eVision.EEllipseRegion.HitTest and eVision.EEllipseRegion.Drag.

Parameters
xx-coordinate of the mouse cursor.
yy-coordinate of the mouse cursor.
zoomXHorizontal zoom factor. By default, true scale is used.

Reimplemented from eVision.ERegion.

◆ Drag() [8/10]

None eVision.EEllipseRegion.Drag ( self,
int x,
int y,
float zoomX,
float zoomY )

Moves the specified handle to a new position and updates all placement parameters of the region.

Remarks:

If zooming and/or panning were used when drawing the region, the same values must be used with eVision.EEllipseRegion.HitTest and eVision.EEllipseRegion.Drag.

Parameters
xx-coordinate of the mouse cursor.
yy-coordinate of the mouse cursor.
zoomXHorizontal zoom factor. By default, true scale is used.
zoomYVertical zoom factor. By default, true scale is used.

Reimplemented from eVision.ERegion.

◆ Drag() [9/10]

None eVision.EEllipseRegion.Drag ( self,
int x,
int y,
float zoomX,
float zoomY,
float panX )

Moves the specified handle to a new position and updates all placement parameters of the region.

Remarks:

If zooming and/or panning were used when drawing the region, the same values must be used with eVision.EEllipseRegion.HitTest and eVision.EEllipseRegion.Drag.

Parameters
xx-coordinate of the mouse cursor.
yy-coordinate of the mouse cursor.
zoomXHorizontal zoom factor. By default, true scale is used.
zoomYVertical zoom factor. By default, true scale is used.
panXHorizontal pan offset. By default, no pan is added.

Reimplemented from eVision.ERegion.

◆ Drag() [10/10]

None eVision.EEllipseRegion.Drag ( self,
int x,
int y,
float zoomX,
float zoomY,
float panX,
float panY )

Moves the specified handle to a new position and updates all placement parameters of the region.

Remarks:

If zooming and/or panning were used when drawing the region, the same values must be used with eVision.EEllipseRegion.HitTest and eVision.EEllipseRegion.Drag.

Parameters
xx-coordinate of the mouse cursor.
yy-coordinate of the mouse cursor.
zoomXHorizontal zoom factor. By default, true scale is used.
zoomYVertical zoom factor. By default, true scale is used.
panXHorizontal pan offset. By default, no pan is added.
panYVertical pan offset. By default, no pan is added.

Reimplemented from eVision.ERegion.

◆ Draw() [1/34]

None eVision.EEllipseRegion.Draw ( self,
ctypes.c_void_p graphicContext )

Draws the eVision.EEllipseRegion shape.

Parameters
graphicContextHandle of the device context on which to draw.

Reimplemented from eVision.ERegion.

◆ Draw() [2/34]

None eVision.EEllipseRegion.Draw ( self,
ctypes.c_void_p graphicContext,
eVision.ERGBColor color )

Draws the eVision.EEllipseRegion shape.

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color in which to draw the eVision.EEllipseRegion.

Reimplemented from eVision.ERegion.

◆ Draw() [3/34]

None eVision.EEllipseRegion.Draw ( self,
ctypes.c_void_p graphicContext,
eVision.ERGBColor color,
float opacity )

Draws the eVision.EEllipseRegion shape.

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color in which to draw the eVision.EEllipseRegion.
opacityOpacity of the drawn area (range: 0.0 to 1.0).

Reimplemented from eVision.ERegion.

◆ Draw() [4/34]

None eVision.EEllipseRegion.Draw ( self,
ctypes.c_void_p graphicContext,
eVision.ERGBColor color,
float opacity,
float zoomX )

Draws the eVision.EEllipseRegion shape.

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color in which to draw the eVision.EEllipseRegion.
opacityOpacity of the drawn area (range: 0.0 to 1.0).
zoomXHorizontal zooming factor. By default, true scale is used.

Reimplemented from eVision.ERegion.

◆ Draw() [5/34]

None eVision.EEllipseRegion.Draw ( self,
ctypes.c_void_p graphicContext,
eVision.ERGBColor color,
float opacity,
float zoomX,
float zoomY )

Draws the eVision.EEllipseRegion shape.

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color in which to draw the eVision.EEllipseRegion.
opacityOpacity of the drawn area (range: 0.0 to 1.0).
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.

Reimplemented from eVision.ERegion.

◆ Draw() [6/34]

None eVision.EEllipseRegion.Draw ( self,
ctypes.c_void_p graphicContext,
eVision.ERGBColor color,
float opacity,
float zoomX,
float zoomY,
float panX )

Draws the eVision.EEllipseRegion shape.

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color in which to draw the eVision.EEllipseRegion.
opacityOpacity of the drawn area (range: 0.0 to 1.0).
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.

Reimplemented from eVision.ERegion.

◆ Draw() [7/34]

None eVision.EEllipseRegion.Draw ( self,
ctypes.c_void_p graphicContext,
eVision.ERGBColor color,
float opacity,
float zoomX,
float zoomY,
float panX,
float panY )

Draws the eVision.EEllipseRegion shape.

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color in which to draw the eVision.EEllipseRegion.
opacityOpacity of the drawn area (range: 0.0 to 1.0).
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.

Reimplemented from eVision.ERegion.

◆ Draw() [8/34]

None eVision.EEllipseRegion.Draw ( self,
ctypes.c_void_p graphicContext,
float opacity )

Draws the eVision.EEllipseRegion shape.

Parameters
graphicContextHandle of the device context on which to draw.
opacityOpacity of the drawn area (range: 0.0 to 1.0).

Reimplemented from eVision.ERegion.

◆ Draw() [9/34]

None eVision.EEllipseRegion.Draw ( self,
ctypes.c_void_p graphicContext,
float opacity,
float zoomX )

Draws the eVision.EEllipseRegion shape.

Parameters
graphicContextHandle of the device context on which to draw.
opacityOpacity of the drawn area (range: 0.0 to 1.0).
zoomXHorizontal zooming factor. By default, true scale is used.

Reimplemented from eVision.ERegion.

◆ Draw() [10/34]

None eVision.EEllipseRegion.Draw ( self,
ctypes.c_void_p graphicContext,
float opacity,
float zoomX,
float zoomY )

Draws the eVision.EEllipseRegion shape.

Parameters
graphicContextHandle of the device context on which to draw.
opacityOpacity of the drawn area (range: 0.0 to 1.0).
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.

Reimplemented from eVision.ERegion.

◆ Draw() [11/34]

None eVision.EEllipseRegion.Draw ( self,
ctypes.c_void_p graphicContext,
float opacity,
float zoomX,
float zoomY,
float panX )

Draws the eVision.EEllipseRegion shape.

Parameters
graphicContextHandle of the device context on which to draw.
opacityOpacity of the drawn area (range: 0.0 to 1.0).
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.

Reimplemented from eVision.ERegion.

◆ Draw() [12/34]

None eVision.EEllipseRegion.Draw ( self,
ctypes.c_void_p graphicContext,
float opacity,
float zoomX,
float zoomY,
float panX,
float panY )

Draws the eVision.EEllipseRegion shape.

Parameters
graphicContextHandle of the device context on which to draw.
opacityOpacity of the drawn area (range: 0.0 to 1.0).
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.

Reimplemented from eVision.ERegion.

◆ Draw() [13/34]

None eVision.EEllipseRegion.Draw ( self,
eVision.EDrawAdapter | None drawAdapter )

Draws the eVision.EEllipseRegion shape.

Parameters
drawAdapterA pointer to an eVision.EDrawAdapter (like the eVision.EWindowsDrawAdapter).

Reimplemented from eVision.ERegion.

◆ Draw() [14/34]

None eVision.EEllipseRegion.Draw ( self,
eVision.EDrawAdapter | None drawAdapter,
eVision.EFrame frame )

Draws the eVision.EEllipseRegion shape.

Parameters
drawAdapterA pointer to an eVision.EDrawAdapter (like the eVision.EWindowsDrawAdapter).
frameFrame on which to draw the shape.

Reimplemented from eVision.ERegion.

◆ Draw() [15/34]

None eVision.EEllipseRegion.Draw ( self,
eVision.EDrawAdapter | None drawAdapter,
eVision.EFrame frame,
eVision.ERGBColor color )

Draws the eVision.EEllipseRegion shape.

Parameters
drawAdapterA pointer to an eVision.EDrawAdapter (like the eVision.EWindowsDrawAdapter).
frameFrame on which to draw the shape.
colorThe color in which to draw the eVision.EEllipseRegion.

Reimplemented from eVision.ERegion.

◆ Draw() [16/34]

None eVision.EEllipseRegion.Draw ( self,
eVision.EDrawAdapter | None drawAdapter,
eVision.EFrame frame,
eVision.ERGBColor color,
float opacity )

Draws the eVision.EEllipseRegion shape.

Parameters
drawAdapterA pointer to an eVision.EDrawAdapter (like the eVision.EWindowsDrawAdapter).
frameFrame on which to draw the shape.
colorThe color in which to draw the eVision.EEllipseRegion.
opacityOpacity of the drawn area (range: 0.0 to 1.0).

Reimplemented from eVision.ERegion.

◆ Draw() [17/34]

None eVision.EEllipseRegion.Draw ( self,
eVision.EDrawAdapter | None drawAdapter,
eVision.EFrame frame,
eVision.ERGBColor color,
float opacity,
float zoomX )

Draws the eVision.EEllipseRegion shape.

Parameters
drawAdapterA pointer to an eVision.EDrawAdapter (like the eVision.EWindowsDrawAdapter).
frameFrame on which to draw the shape.
colorThe color in which to draw the eVision.EEllipseRegion.
opacityOpacity of the drawn area (range: 0.0 to 1.0).
zoomXHorizontal zooming factor. By default, true scale is used.

Reimplemented from eVision.ERegion.

◆ Draw() [18/34]

None eVision.EEllipseRegion.Draw ( self,
eVision.EDrawAdapter | None drawAdapter,
eVision.EFrame frame,
eVision.ERGBColor color,
float opacity,
float zoomX,
float zoomY )

Draws the eVision.EEllipseRegion shape.

Parameters
drawAdapterA pointer to an eVision.EDrawAdapter (like the eVision.EWindowsDrawAdapter).
frameFrame on which to draw the shape.
colorThe color in which to draw the eVision.EEllipseRegion.
opacityOpacity of the drawn area (range: 0.0 to 1.0).
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.

Reimplemented from eVision.ERegion.

◆ Draw() [19/34]

None eVision.EEllipseRegion.Draw ( self,
eVision.EDrawAdapter | None drawAdapter,
eVision.EFrame frame,
eVision.ERGBColor color,
float opacity,
float zoomX,
float zoomY,
float panX )

Draws the eVision.EEllipseRegion shape.

Parameters
drawAdapterA pointer to an eVision.EDrawAdapter (like the eVision.EWindowsDrawAdapter).
frameFrame on which to draw the shape.
colorThe color in which to draw the eVision.EEllipseRegion.
opacityOpacity of the drawn area (range: 0.0 to 1.0).
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.

Reimplemented from eVision.ERegion.

◆ Draw() [20/34]

None eVision.EEllipseRegion.Draw ( self,
eVision.EDrawAdapter | None drawAdapter,
eVision.EFrame frame,
eVision.ERGBColor color,
float opacity,
float zoomX,
float zoomY,
float panX,
float panY )

Draws the eVision.EEllipseRegion shape.

Parameters
drawAdapterA pointer to an eVision.EDrawAdapter (like the eVision.EWindowsDrawAdapter).
frameFrame on which to draw the shape.
colorThe color in which to draw the eVision.EEllipseRegion.
opacityOpacity of the drawn area (range: 0.0 to 1.0).
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.

Reimplemented from eVision.ERegion.

◆ Draw() [21/34]

None eVision.EEllipseRegion.Draw ( self,
eVision.EDrawAdapter | None drawAdapter,
eVision.EFrame frame,
float zoomX )

Draws the eVision.EEllipseRegion shape.

Parameters
drawAdapterA pointer to an eVision.EDrawAdapter (like the eVision.EWindowsDrawAdapter).
frameFrame on which to draw the shape.
zoomXHorizontal zooming factor. By default, true scale is used.

Reimplemented from eVision.ERegion.

◆ Draw() [22/34]

None eVision.EEllipseRegion.Draw ( self,
eVision.EDrawAdapter | None drawAdapter,
eVision.EFrame frame,
float zoomX,
float zoomY )

Draws the eVision.EEllipseRegion shape.

Parameters
drawAdapterA pointer to an eVision.EDrawAdapter (like the eVision.EWindowsDrawAdapter).
frameFrame on which to draw the shape.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.

Reimplemented from eVision.ERegion.

◆ Draw() [23/34]

None eVision.EEllipseRegion.Draw ( self,
eVision.EDrawAdapter | None drawAdapter,
eVision.EFrame frame,
float zoomX,
float zoomY,
float panX )

Draws the eVision.EEllipseRegion shape.

Parameters
drawAdapterA pointer to an eVision.EDrawAdapter (like the eVision.EWindowsDrawAdapter).
frameFrame on which to draw the shape.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.

Reimplemented from eVision.ERegion.

◆ Draw() [24/34]

None eVision.EEllipseRegion.Draw ( self,
eVision.EDrawAdapter | None drawAdapter,
eVision.EFrame frame,
float zoomX,
float zoomY,
float panX,
float panY )

Draws the eVision.EEllipseRegion shape.

Parameters
drawAdapterA pointer to an eVision.EDrawAdapter (like the eVision.EWindowsDrawAdapter).
frameFrame on which to draw the shape.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.

Reimplemented from eVision.ERegion.

◆ Draw() [25/34]

None eVision.EEllipseRegion.Draw ( self,
eVision.EDrawAdapter | None drawAdapter,
eVision.ERGBColor color )

Draws the eVision.EEllipseRegion shape.

Parameters
drawAdapterA pointer to an eVision.EDrawAdapter (like the eVision.EWindowsDrawAdapter).
colorThe color in which to draw the eVision.EEllipseRegion.

Reimplemented from eVision.ERegion.

◆ Draw() [26/34]

None eVision.EEllipseRegion.Draw ( self,
eVision.EDrawAdapter | None drawAdapter,
eVision.ERGBColor color,
float opacity )

Draws the eVision.EEllipseRegion shape.

Parameters
drawAdapterA pointer to an eVision.EDrawAdapter (like the eVision.EWindowsDrawAdapter).
colorThe color in which to draw the eVision.EEllipseRegion.
opacityOpacity of the drawn area (range: 0.0 to 1.0).

Reimplemented from eVision.ERegion.

◆ Draw() [27/34]

None eVision.EEllipseRegion.Draw ( self,
eVision.EDrawAdapter | None drawAdapter,
eVision.ERGBColor color,
float opacity,
float zoomX )

Draws the eVision.EEllipseRegion shape.

Parameters
drawAdapterA pointer to an eVision.EDrawAdapter (like the eVision.EWindowsDrawAdapter).
colorThe color in which to draw the eVision.EEllipseRegion.
opacityOpacity of the drawn area (range: 0.0 to 1.0).
zoomXHorizontal zooming factor. By default, true scale is used.

Reimplemented from eVision.ERegion.

◆ Draw() [28/34]

None eVision.EEllipseRegion.Draw ( self,
eVision.EDrawAdapter | None drawAdapter,
eVision.ERGBColor color,
float opacity,
float zoomX,
float zoomY )

Draws the eVision.EEllipseRegion shape.

Parameters
drawAdapterA pointer to an eVision.EDrawAdapter (like the eVision.EWindowsDrawAdapter).
colorThe color in which to draw the eVision.EEllipseRegion.
opacityOpacity of the drawn area (range: 0.0 to 1.0).
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.

Reimplemented from eVision.ERegion.

◆ Draw() [29/34]

None eVision.EEllipseRegion.Draw ( self,
eVision.EDrawAdapter | None drawAdapter,
eVision.ERGBColor color,
float opacity,
float zoomX,
float zoomY,
float panX )

Draws the eVision.EEllipseRegion shape.

Parameters
drawAdapterA pointer to an eVision.EDrawAdapter (like the eVision.EWindowsDrawAdapter).
colorThe color in which to draw the eVision.EEllipseRegion.
opacityOpacity of the drawn area (range: 0.0 to 1.0).
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.

Reimplemented from eVision.ERegion.

◆ Draw() [30/34]

None eVision.EEllipseRegion.Draw ( self,
eVision.EDrawAdapter | None drawAdapter,
eVision.ERGBColor color,
float opacity,
float zoomX,
float zoomY,
float panX,
float panY )

Draws the eVision.EEllipseRegion shape.

Parameters
drawAdapterA pointer to an eVision.EDrawAdapter (like the eVision.EWindowsDrawAdapter).
colorThe color in which to draw the eVision.EEllipseRegion.
opacityOpacity of the drawn area (range: 0.0 to 1.0).
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.

Reimplemented from eVision.ERegion.

◆ Draw() [31/34]

None eVision.EEllipseRegion.Draw ( self,
eVision.EDrawAdapter | None drawAdapter,
float zoomX )

Draws the eVision.EEllipseRegion shape.

Parameters
drawAdapterA pointer to an eVision.EDrawAdapter (like the eVision.EWindowsDrawAdapter).
zoomXHorizontal zooming factor. By default, true scale is used.

Reimplemented from eVision.ERegion.

◆ Draw() [32/34]

None eVision.EEllipseRegion.Draw ( self,
eVision.EDrawAdapter | None drawAdapter,
float zoomX,
float zoomY )

Draws the eVision.EEllipseRegion shape.

Parameters
drawAdapterA pointer to an eVision.EDrawAdapter (like the eVision.EWindowsDrawAdapter).
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.

Reimplemented from eVision.ERegion.

◆ Draw() [33/34]

None eVision.EEllipseRegion.Draw ( self,
eVision.EDrawAdapter | None drawAdapter,
float zoomX,
float zoomY,
float panX )

Draws the eVision.EEllipseRegion shape.

Parameters
drawAdapterA pointer to an eVision.EDrawAdapter (like the eVision.EWindowsDrawAdapter).
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.

Reimplemented from eVision.ERegion.

◆ Draw() [34/34]

None eVision.EEllipseRegion.Draw ( self,
eVision.EDrawAdapter | None drawAdapter,
float zoomX,
float zoomY,
float panX,
float panY )

Draws the eVision.EEllipseRegion shape.

Parameters
drawAdapterA pointer to an eVision.EDrawAdapter (like the eVision.EWindowsDrawAdapter).
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.

Reimplemented from eVision.ERegion.

◆ Ellipse()

eVision.EEllipse eVision.EEllipseRegion.Ellipse ( self)

Ellipse corresponding to the region.

◆ HitTest() [1/10]

eVision.EEditionMode eVision.EEllipseRegion.HitTest ( self,
int x,
int y )

Detects if the cursor is placed over one of the dragging handles.

Remarks:

Returns a handle identifier, as defined by eVision.EEditionMode.

If zooming and/or panning were used when drawing the region, the same values must be used with eVision.EEllipseRegion.HitTest and eVision.EEllipseRegion.Drag.

Parameters
xx-coordinate of the mouse cursor.
yy-coordinate of the mouse cursor.

Reimplemented from eVision.ERegion.

◆ HitTest() [2/10]

eVision.EEditionMode eVision.EEllipseRegion.HitTest ( self,
int x,
int y,
eVision.EFrame frame )

Detects if the cursor is placed over one of the dragging handles.

Remarks:

Returns a handle identifier, as defined by eVision.EEditionMode.

If zooming and/or panning were used when drawing the region, the same values must be used with eVision.EEllipseRegion.HitTest and eVision.EEllipseRegion.Drag.

Parameters
xx-coordinate of the mouse cursor.
yy-coordinate of the mouse cursor.
frameFrame to transform coordinates with.

Reimplemented from eVision.ERegion.

◆ HitTest() [3/10]

eVision.EEditionMode eVision.EEllipseRegion.HitTest ( self,
int x,
int y,
eVision.EFrame frame,
float zoomX )

Detects if the cursor is placed over one of the dragging handles.

Remarks:

Returns a handle identifier, as defined by eVision.EEditionMode.

If zooming and/or panning were used when drawing the region, the same values must be used with eVision.EEllipseRegion.HitTest and eVision.EEllipseRegion.Drag.

Parameters
xx-coordinate of the mouse cursor.
yy-coordinate of the mouse cursor.
frameFrame to transform coordinates with.
zoomXHorizontal zoom factor. By default, true scale is used.

Reimplemented from eVision.ERegion.

◆ HitTest() [4/10]

eVision.EEditionMode eVision.EEllipseRegion.HitTest ( self,
int x,
int y,
eVision.EFrame frame,
float zoomX,
float zoomY )

Detects if the cursor is placed over one of the dragging handles.

Remarks:

Returns a handle identifier, as defined by eVision.EEditionMode.

If zooming and/or panning were used when drawing the region, the same values must be used with eVision.EEllipseRegion.HitTest and eVision.EEllipseRegion.Drag.

Parameters
xx-coordinate of the mouse cursor.
yy-coordinate of the mouse cursor.
frameFrame to transform coordinates with.
zoomXHorizontal zoom factor. By default, true scale is used.
zoomYVertical zoom factor. By default, true scale is used.

Reimplemented from eVision.ERegion.

◆ HitTest() [5/10]

eVision.EEditionMode eVision.EEllipseRegion.HitTest ( self,
int x,
int y,
eVision.EFrame frame,
float zoomX,
float zoomY,
float panX )

Detects if the cursor is placed over one of the dragging handles.

Remarks:

Returns a handle identifier, as defined by eVision.EEditionMode.

If zooming and/or panning were used when drawing the region, the same values must be used with eVision.EEllipseRegion.HitTest and eVision.EEllipseRegion.Drag.

Parameters
xx-coordinate of the mouse cursor.
yy-coordinate of the mouse cursor.
frameFrame to transform coordinates with.
zoomXHorizontal zoom factor. By default, true scale is used.
zoomYVertical zoom factor. By default, true scale is used.
panXHorizontal pan offset. By default, no pan is added.

Reimplemented from eVision.ERegion.

◆ HitTest() [6/10]

eVision.EEditionMode eVision.EEllipseRegion.HitTest ( self,
int x,
int y,
eVision.EFrame frame,
float zoomX,
float zoomY,
float panX,
float panY )

Detects if the cursor is placed over one of the dragging handles.

Remarks:

Returns a handle identifier, as defined by eVision.EEditionMode.

If zooming and/or panning were used when drawing the region, the same values must be used with eVision.EEllipseRegion.HitTest and eVision.EEllipseRegion.Drag.

Parameters
xx-coordinate of the mouse cursor.
yy-coordinate of the mouse cursor.
frameFrame to transform coordinates with.
zoomXHorizontal zoom factor. By default, true scale is used.
zoomYVertical zoom factor. By default, true scale is used.
panXHorizontal pan offset. By default, no pan is added.
panYVertical pan offset. By default, no pan is added.

Reimplemented from eVision.ERegion.

◆ HitTest() [7/10]

eVision.EEditionMode eVision.EEllipseRegion.HitTest ( self,
int x,
int y,
float zoomX )

Detects if the cursor is placed over one of the dragging handles.

Remarks:

Returns a handle identifier, as defined by eVision.EEditionMode.

If zooming and/or panning were used when drawing the region, the same values must be used with eVision.EEllipseRegion.HitTest and eVision.EEllipseRegion.Drag.

Parameters
xx-coordinate of the mouse cursor.
yy-coordinate of the mouse cursor.
zoomXHorizontal zoom factor. By default, true scale is used.

Reimplemented from eVision.ERegion.

◆ HitTest() [8/10]

eVision.EEditionMode eVision.EEllipseRegion.HitTest ( self,
int x,
int y,
float zoomX,
float zoomY )

Detects if the cursor is placed over one of the dragging handles.

Remarks:

Returns a handle identifier, as defined by eVision.EEditionMode.

If zooming and/or panning were used when drawing the region, the same values must be used with eVision.EEllipseRegion.HitTest and eVision.EEllipseRegion.Drag.

Parameters
xx-coordinate of the mouse cursor.
yy-coordinate of the mouse cursor.
zoomXHorizontal zoom factor. By default, true scale is used.
zoomYVertical zoom factor. By default, true scale is used.

Reimplemented from eVision.ERegion.

◆ HitTest() [9/10]

eVision.EEditionMode eVision.EEllipseRegion.HitTest ( self,
int x,
int y,
float zoomX,
float zoomY,
float panX )

Detects if the cursor is placed over one of the dragging handles.

Remarks:

Returns a handle identifier, as defined by eVision.EEditionMode.

If zooming and/or panning were used when drawing the region, the same values must be used with eVision.EEllipseRegion.HitTest and eVision.EEllipseRegion.Drag.

Parameters
xx-coordinate of the mouse cursor.
yy-coordinate of the mouse cursor.
zoomXHorizontal zoom factor. By default, true scale is used.
zoomYVertical zoom factor. By default, true scale is used.
panXHorizontal pan offset. By default, no pan is added.

Reimplemented from eVision.ERegion.

◆ HitTest() [10/10]

eVision.EEditionMode eVision.EEllipseRegion.HitTest ( self,
int x,
int y,
float zoomX,
float zoomY,
float panX,
float panY )

Detects if the cursor is placed over one of the dragging handles.

Remarks:

Returns a handle identifier, as defined by eVision.EEditionMode.

If zooming and/or panning were used when drawing the region, the same values must be used with eVision.EEllipseRegion.HitTest and eVision.EEllipseRegion.Drag.

Parameters
xx-coordinate of the mouse cursor.
yy-coordinate of the mouse cursor.
zoomXHorizontal zoom factor. By default, true scale is used.
zoomYVertical zoom factor. By default, true scale is used.
panXHorizontal pan offset. By default, no pan is added.
panYVertical pan offset. By default, no pan is added.

Reimplemented from eVision.ERegion.

◆ HorizontalRadius() [1/2]

float eVision.EEllipseRegion.HorizontalRadius ( self)

Horizontal radius of the region.

◆ HorizontalRadius() [2/2]

eVision.EEllipseRegion.HorizontalRadius ( self,
float value )

Horizontal radius of the region.

◆ Load() [1/2]

None eVision.EEllipseRegion.Load ( self,
eVision.ESerializer | None serializer )

Loads the eVision.EEllipseRegion.

The given eVision.ESerializer must have been created for reading.

Parameters
serializerThe serializer.

Reimplemented from eVision.ERegion.

◆ Load() [2/2]

None eVision.EEllipseRegion.Load ( self,
str path )

Loads the eVision.EEllipseRegion.

The given eVision.ESerializer must have been created for reading.

Parameters
pathThe file path.

Reimplemented from eVision.ERegion.

◆ Rotate()

eVision.ERegion | None eVision.EEllipseRegion.Rotate ( self,
float angle )

Creates a new region by rotating the eVision.EEllipseRegion.

Parameters
angleRotation angle

Reimplemented from eVision.ERegion.

◆ Save() [1/2]

None eVision.EEllipseRegion.Save ( self,
eVision.ESerializer | None serializer )

Saves the eVision.EEllipseRegion.

The given eVision.ESerializer must have been created for writing.

Parameters
serializerThe eVision.ESerializer object that is written to.

Reimplemented from eVision.ERegion.

◆ Save() [2/2]

None eVision.EEllipseRegion.Save ( self,
str path )

Saves the eVision.EEllipseRegion.

The given eVision.ESerializer must have been created for writing.

Parameters
pathThe file path.

Reimplemented from eVision.ERegion.

◆ Scale() [1/2]

eVision.ERegion | None eVision.EEllipseRegion.Scale ( self,
float scale )

Creates a new region by scaling the eVision.EEllipseRegion.

Parameters
scaleIsotropic scale

Reimplemented from eVision.ERegion.

◆ Scale() [2/2]

eVision.ERegion | None eVision.EEllipseRegion.Scale ( self,
float scaleX,
float scaleY )

Creates a new region by scaling the eVision.EEllipseRegion.

Parameters
scaleXHorizontal scale
scaleYVertical scale

Reimplemented from eVision.ERegion.

◆ Transform()

eVision.ERegion | None eVision.EEllipseRegion.Transform ( self,
float scaleX,
float scaleY,
float angle,
float dx,
float dy )

Creates a new eVision.EEllipseRegion by scaling, rotating and then translating the eVision.EEllipseRegion.

Parameters
scaleXx component of the scaling factor applied to the region.
scaleYy component of the scaling factor applied to the region.
anglerotation angle applied to the region.
dxx component of the translation vector.
dyy component of the translation vector.

Reimplemented from eVision.ERegion.

◆ Translate()

eVision.ERegion | None eVision.EEllipseRegion.Translate ( self,
float dx,
float dy )

Creates a new region by translating the eVision.EEllipseRegion.

Parameters
dxHorizontal translation in pixel value
dyVertical translation in pixel value

Reimplemented from eVision.ERegion.

◆ VerticalRadius() [1/2]

float eVision.EEllipseRegion.VerticalRadius ( self)

Vertical radius of the region.

◆ VerticalRadius() [2/2]

eVision.EEllipseRegion.VerticalRadius ( self,
float value )

Vertical radius of the region.