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


Public Member Functions | |
| None | __init__ (self) |
| Constructs an eVision.ERectangleRegion context. | |
| None | __init__ (self, float originX, float originY, float width, float height) |
| Constructs an eVision.ERectangleRegion context. | |
| None | __init__ (self, eVision.EPoint origin, float width, float height) |
| Constructs an eVision.ERectangleRegion context. | |
| None | __init__ (self, float centerX, float centerY, float width, float height, float angle) |
| Constructs an eVision.ERectangleRegion context. | |
| None | __init__ (self, eVision.EPoint center, float width, float height, float angle) |
| Constructs an eVision.ERectangleRegion context. | |
| None | __init__ (self, eVision.ERectangle rectangle) |
| Constructs an eVision.ERectangleRegion context. | |
| None | __init__ (self, eVision.ERectangleRegion other) |
| Constructs an eVision.ERectangleRegion context. | |
| eVision.ERegion|None | Translate (self, float dx, float dy) |
| Creates a new region by translating the eVision.ERectangleRegion. | |
| eVision.ERegion|None | Scale (self, float scale) |
| Creates a new region by scaling the eVision.ERectangleRegion. | |
| eVision.ERegion|None | Scale (self, float scaleX, float scaleY) |
| Creates a new region by scaling the eVision.ERectangleRegion. | |
| eVision.ERegion|None | Rotate (self, float angle) |
| Creates a new region by rotating the eVision.ERectangleRegion around its center. | |
| eVision.ERegion|None | Transform (self, float scaleX, float scaleY, float angle, float dx, float dy) |
| Creates a new eVision.ERectangleRegion by scaling, rotating and then translating the eVision.ERectangleRegion. | |
| 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. | |
| bool | IsPointInRegion (self, eVision.EPoint point) |
| Checks if a point is inside the rasterized region. | |
| None | Load (self, str path) |
| Loads the eVision.ERectangleRegion. | |
| None | Load (self, eVision.ESerializer|None serializer) |
| Loads the eVision.ERectangleRegion. | |
| None | Save (self, str path) |
| Saves the eVision.ERectangleRegion. | |
| None | Save (self, eVision.ESerializer|None serializer) |
| Saves the eVision.ERectangleRegion. | |
| eVision.ERegion|None | Clone (self) |
| Clones the ERegion, the cloned Region will be an eVision.ERectangleRegion as well. | |
| None | Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, float zoomX, float zoomY, float panX, float panY) |
| Draws the eVision.ERectangleRegion shape. | |
| None | Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, float zoomX, float zoomY, float panX) |
| Draws the eVision.ERectangleRegion shape. | |
| None | Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, float zoomX, float zoomY) |
| Draws the eVision.ERectangleRegion shape. | |
| None | Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, float zoomX) |
| Draws the eVision.ERectangleRegion shape. | |
| None | Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame) |
| Draws the eVision.ERectangleRegion 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.ERectangleRegion 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.ERectangleRegion shape. | |
| None | Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, eVision.ERGBColor color, float opacity, float zoomX, float zoomY) |
| Draws the eVision.ERectangleRegion shape. | |
| None | Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, eVision.ERGBColor color, float opacity, float zoomX) |
| Draws the eVision.ERectangleRegion shape. | |
| None | Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, eVision.ERGBColor color, float opacity) |
| Draws the eVision.ERectangleRegion shape. | |
| None | Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, eVision.ERGBColor color) |
| Draws the eVision.ERectangleRegion shape. | |
| None | Draw (self, eVision.EDrawAdapter|None drawAdapter, float zoomX, float zoomY, float panX, float panY) |
| Draws the eVision.ERectangleRegion shape. | |
| None | Draw (self, eVision.EDrawAdapter|None drawAdapter, float zoomX, float zoomY, float panX) |
| Draws the eVision.ERectangleRegion shape. | |
| None | Draw (self, eVision.EDrawAdapter|None drawAdapter, float zoomX, float zoomY) |
| Draws the eVision.ERectangleRegion shape. | |
| None | Draw (self, eVision.EDrawAdapter|None drawAdapter, float zoomX) |
| Draws the eVision.ERectangleRegion shape. | |
| None | Draw (self, eVision.EDrawAdapter|None drawAdapter) |
| Draws the eVision.ERectangleRegion shape. | |
| None | Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.ERGBColor color, float opacity, float zoomX, float zoomY, float panX, float panY) |
| Draws the eVision.ERectangleRegion shape. | |
| None | Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.ERGBColor color, float opacity, float zoomX, float zoomY, float panX) |
| Draws the eVision.ERectangleRegion shape. | |
| None | Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.ERGBColor color, float opacity, float zoomX, float zoomY) |
| Draws the eVision.ERectangleRegion shape. | |
| None | Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.ERGBColor color, float opacity, float zoomX) |
| Draws the eVision.ERectangleRegion shape. | |
| None | Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.ERGBColor color, float opacity) |
| Draws the eVision.ERectangleRegion shape. | |
| None | Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.ERGBColor color) |
| Draws the eVision.ERectangleRegion shape. | |
| None | Draw (self, ctypes.c_void_p graphicContext, float opacity, float zoomX, float zoomY, float panX, float panY) |
| Draws the eVision.ERectangleRegion shape. | |
| None | Draw (self, ctypes.c_void_p graphicContext, float opacity, float zoomX, float zoomY, float panX) |
| Draws the eVision.ERectangleRegion shape. | |
| None | Draw (self, ctypes.c_void_p graphicContext, float opacity, float zoomX, float zoomY) |
| Draws the eVision.ERectangleRegion shape. | |
| None | Draw (self, ctypes.c_void_p graphicContext, float opacity, float zoomX) |
| Draws the eVision.ERectangleRegion shape. | |
| None | Draw (self, ctypes.c_void_p graphicContext, float opacity) |
| Draws the eVision.ERectangleRegion shape. | |
| None | Draw (self, ctypes.c_void_p graphicContext) |
| Draws the eVision.ERectangleRegion 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.ERectangleRegion shape. | |
| None | Draw (self, ctypes.c_void_p graphicContext, eVision.ERGBColor color, float opacity, float zoomX, float zoomY, float panX) |
| Draws the eVision.ERectangleRegion shape. | |
| None | Draw (self, ctypes.c_void_p graphicContext, eVision.ERGBColor color, float opacity, float zoomX, float zoomY) |
| Draws the eVision.ERectangleRegion shape. | |
| None | Draw (self, ctypes.c_void_p graphicContext, eVision.ERGBColor color, float opacity, float zoomX) |
| Draws the eVision.ERectangleRegion shape. | |
| None | Draw (self, ctypes.c_void_p graphicContext, eVision.ERGBColor color, float opacity) |
| Draws the eVision.ERectangleRegion shape. | |
| None | Draw (self, ctypes.c_void_p graphicContext, eVision.ERGBColor color) |
| Draws the eVision.ERectangleRegion shape. | |
| eVision.EPoint | Center (self) |
| Center of the region. | |
| Center (self, eVision.EPoint value) | |
| Center of the region. | |
| float | Width (self) |
| Width of the region. | |
| Width (self, float value) | |
| Width of the region. | |
| float | Height (self) |
| Height of the region. | |
| Height (self, float value) | |
| Height of the region. | |
| float | Angle (self) |
| Angle of the region. | |
| Angle (self, float value) | |
| Angle of the region. | |
| list[eVision._eVision.EPoint] | Corners (self) |
| Corners of 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. | |
| 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. | |
Manages a complete context for an eVision.ERegion shaped like a rectangle.
Remarks:
License(s): BasicTypes
| None eVision.ERectangleRegion.__init__ | ( | self | ) |
Constructs an eVision.ERectangleRegion context.
Remarks:
A eVision.ERectangleRegion aligned with the image axes is defined from the top left corner. Otherwise, an oriented eVision.ERectangleRegion is defined from its center point.
| None eVision.ERectangleRegion.__init__ | ( | self, | |
| float | originX, | ||
| float | originY, | ||
| float | width, | ||
| float | height ) |
Constructs an eVision.ERectangleRegion context.
Remarks:
A eVision.ERectangleRegion aligned with the image axes is defined from the top left corner. Otherwise, an oriented eVision.ERectangleRegion is defined from its center point.
| originX | The abscissa of the eVision.ERectangleRegion's top left corner. |
| originY | The ordinate of the eVision.ERectangleRegion's top left corner. |
| width | The width of the eVision.ERectangleRegion. |
| height | The height of the eVision.ERectangleRegion. |
| None eVision.ERectangleRegion.__init__ | ( | self, | |
| eVision.EPoint | origin, | ||
| float | width, | ||
| float | height ) |
Constructs an eVision.ERectangleRegion context.
Remarks:
A eVision.ERectangleRegion aligned with the image axes is defined from the top left corner. Otherwise, an oriented eVision.ERectangleRegion is defined from its center point.
| origin | The top left corner of the eVision.ERectangleRegion. |
| width | The width of the eVision.ERectangleRegion. |
| height | The height of the eVision.ERectangleRegion. |
| None eVision.ERectangleRegion.__init__ | ( | self, | |
| float | centerX, | ||
| float | centerY, | ||
| float | width, | ||
| float | height, | ||
| float | angle ) |
Constructs an eVision.ERectangleRegion context.
Remarks:
A eVision.ERectangleRegion aligned with the image axes is defined from the top left corner. Otherwise, an oriented eVision.ERectangleRegion is defined from its center point.
| centerX | The abscissa of the eVision.ERectangleRegion center. |
| centerY | The ordinate of the eVision.ERectangleRegion center. |
| width | The width of the eVision.ERectangleRegion. |
| height | The height of the eVision.ERectangleRegion. |
| angle | The angle of the eVision.ERectangleRegion. |
| None eVision.ERectangleRegion.__init__ | ( | self, | |
| eVision.EPoint | center, | ||
| float | width, | ||
| float | height, | ||
| float | angle ) |
Constructs an eVision.ERectangleRegion context.
Remarks:
A eVision.ERectangleRegion aligned with the image axes is defined from the top left corner. Otherwise, an oriented eVision.ERectangleRegion is defined from its center point.
| center | The center of the eVision.ERectangleRegion. |
| width | The width of the eVision.ERectangleRegion. |
| height | The height of the eVision.ERectangleRegion. |
| angle | The angle of the eVision.ERectangleRegion. |
| None eVision.ERectangleRegion.__init__ | ( | self, | |
| eVision.ERectangle | rectangle ) |
Constructs an eVision.ERectangleRegion context.
Remarks:
A eVision.ERectangleRegion aligned with the image axes is defined from the top left corner. Otherwise, an oriented eVision.ERectangleRegion is defined from its center point.
| rectangle | The result of an eVision.ERectangleGauge object. |
| None eVision.ERectangleRegion.__init__ | ( | self, | |
| eVision.ERectangleRegion | other ) |
Constructs an eVision.ERectangleRegion context.
Remarks:
A eVision.ERectangleRegion aligned with the image axes is defined from the top left corner. Otherwise, an oriented eVision.ERectangleRegion is defined from its center point.
| other | eVision.ERectangleRegion context to copy. |
| float eVision.ERectangleRegion.Angle | ( | self | ) |
Angle of the region.
| eVision.ERectangleRegion.Angle | ( | self, | |
| float | value ) |
Angle of the region.
| eVision.EEditionMode eVision.ERectangleRegion.AvailableEditionModes | ( | self | ) |
Returns all possible edition modes of the region.
Reimplemented from eVision.ERegion.
| eVision.EPoint eVision.ERectangleRegion.Center | ( | self | ) |
Center of the region.
| eVision.ERectangleRegion.Center | ( | self, | |
| eVision.EPoint | value ) |
Center of the region.
| eVision.ERegion | None eVision.ERectangleRegion.Clone | ( | self | ) |
Clones the ERegion, the cloned Region will be an eVision.ERectangleRegion as well.
Reimplemented from eVision.ERegion.
| list[eVision._eVision.EPoint] eVision.ERectangleRegion.Corners | ( | self | ) |
Corners of the region.
| None eVision.ERectangleRegion.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.ERectangleRegion.HitTest and eVision.ERectangleRegion.Drag.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
Reimplemented from eVision.ERegion.
| None eVision.ERectangleRegion.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.ERectangleRegion.HitTest and eVision.ERectangleRegion.Drag.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| frame | Frame to transform coordinates with. |
Reimplemented from eVision.ERegion.
| None eVision.ERectangleRegion.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.ERectangleRegion.HitTest and eVision.ERectangleRegion.Drag.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| frame | Frame to transform coordinates with. |
| zoomX | Horizontal zoom factor. By default, true scale is used. |
Reimplemented from eVision.ERegion.
| None eVision.ERectangleRegion.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.ERectangleRegion.HitTest and eVision.ERectangleRegion.Drag.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| frame | Frame to transform coordinates with. |
| zoomX | Horizontal zoom factor. By default, true scale is used. |
| zoomY | Vertical zoom factor. By default, true scale is used. |
Reimplemented from eVision.ERegion.
| None eVision.ERectangleRegion.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.ERectangleRegion.HitTest and eVision.ERectangleRegion.Drag.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| frame | Frame to transform coordinates with. |
| zoomX | Horizontal zoom factor. By default, true scale is used. |
| zoomY | Vertical zoom factor. By default, true scale is used. |
| panX | Horizontal pan offset. By default, no pan is added. |
Reimplemented from eVision.ERegion.
| None eVision.ERectangleRegion.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.ERectangleRegion.HitTest and eVision.ERectangleRegion.Drag.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| frame | Frame to transform coordinates with. |
| zoomX | Horizontal zoom factor. By default, true scale is used. |
| zoomY | Vertical zoom factor. By default, true scale is used. |
| panX | Horizontal pan offset. By default, no pan is added. |
| panY | Vertical pan offset. By default, no pan is added. |
Reimplemented from eVision.ERegion.
| None eVision.ERectangleRegion.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.ERectangleRegion.HitTest and eVision.ERectangleRegion.Drag.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| zoomX | Horizontal zoom factor. By default, true scale is used. |
Reimplemented from eVision.ERegion.
| None eVision.ERectangleRegion.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.ERectangleRegion.HitTest and eVision.ERectangleRegion.Drag.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| zoomX | Horizontal zoom factor. By default, true scale is used. |
| zoomY | Vertical zoom factor. By default, true scale is used. |
Reimplemented from eVision.ERegion.
| None eVision.ERectangleRegion.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.ERectangleRegion.HitTest and eVision.ERectangleRegion.Drag.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| zoomX | Horizontal zoom factor. By default, true scale is used. |
| zoomY | Vertical zoom factor. By default, true scale is used. |
| panX | Horizontal pan offset. By default, no pan is added. |
Reimplemented from eVision.ERegion.
| None eVision.ERectangleRegion.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.ERectangleRegion.HitTest and eVision.ERectangleRegion.Drag.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| zoomX | Horizontal zoom factor. By default, true scale is used. |
| zoomY | Vertical zoom factor. By default, true scale is used. |
| panX | Horizontal pan offset. By default, no pan is added. |
| panY | Vertical pan offset. By default, no pan is added. |
Reimplemented from eVision.ERegion.
| None eVision.ERectangleRegion.Draw | ( | self, | |
| ctypes.c_void_p | graphicContext ) |
Draws the eVision.ERectangleRegion shape.
| graphicContext | Handle of the device context on which to draw. |
Reimplemented from eVision.ERegion.
| None eVision.ERectangleRegion.Draw | ( | self, | |
| ctypes.c_void_p | graphicContext, | ||
| eVision.ERGBColor | color ) |
Draws the eVision.ERectangleRegion shape.
| graphicContext | Handle of the device context on which to draw. |
| color | The color in which to draw the eVision.ERectangleRegion. |
Reimplemented from eVision.ERegion.
| None eVision.ERectangleRegion.Draw | ( | self, | |
| ctypes.c_void_p | graphicContext, | ||
| eVision.ERGBColor | color, | ||
| float | opacity ) |
Draws the eVision.ERectangleRegion shape.
| graphicContext | Handle of the device context on which to draw. |
| color | The color in which to draw the eVision.ERectangleRegion. |
| opacity | Opacity of the drawn area (range: 0.0 to 1.0). |
Reimplemented from eVision.ERegion.
| None eVision.ERectangleRegion.Draw | ( | self, | |
| ctypes.c_void_p | graphicContext, | ||
| eVision.ERGBColor | color, | ||
| float | opacity, | ||
| float | zoomX ) |
Draws the eVision.ERectangleRegion shape.
| graphicContext | Handle of the device context on which to draw. |
| color | The color in which to draw the eVision.ERectangleRegion. |
| opacity | Opacity of the drawn area (range: 0.0 to 1.0). |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
Reimplemented from eVision.ERegion.
| None eVision.ERectangleRegion.Draw | ( | self, | |
| ctypes.c_void_p | graphicContext, | ||
| eVision.ERGBColor | color, | ||
| float | opacity, | ||
| float | zoomX, | ||
| float | zoomY ) |
Draws the eVision.ERectangleRegion shape.
| graphicContext | Handle of the device context on which to draw. |
| color | The color in which to draw the eVision.ERectangleRegion. |
| opacity | Opacity of the drawn area (range: 0.0 to 1.0). |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
Reimplemented from eVision.ERegion.
| None eVision.ERectangleRegion.Draw | ( | self, | |
| ctypes.c_void_p | graphicContext, | ||
| eVision.ERGBColor | color, | ||
| float | opacity, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Draws the eVision.ERectangleRegion shape.
| graphicContext | Handle of the device context on which to draw. |
| color | The color in which to draw the eVision.ERectangleRegion. |
| opacity | Opacity of the drawn area (range: 0.0 to 1.0). |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
Reimplemented from eVision.ERegion.
| None eVision.ERectangleRegion.Draw | ( | self, | |
| ctypes.c_void_p | graphicContext, | ||
| eVision.ERGBColor | color, | ||
| float | opacity, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Draws the eVision.ERectangleRegion shape.
| graphicContext | Handle of the device context on which to draw. |
| color | The color in which to draw the eVision.ERectangleRegion. |
| opacity | Opacity of the drawn area (range: 0.0 to 1.0). |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| panY | Vertical panning value expressed in pixels. By default, no panning occurs. |
Reimplemented from eVision.ERegion.
| None eVision.ERectangleRegion.Draw | ( | self, | |
| ctypes.c_void_p | graphicContext, | ||
| float | opacity ) |
Draws the eVision.ERectangleRegion shape.
| graphicContext | Handle of the device context on which to draw. |
| opacity | Opacity of the drawn area (range: 0.0 to 1.0). |
Reimplemented from eVision.ERegion.
| None eVision.ERectangleRegion.Draw | ( | self, | |
| ctypes.c_void_p | graphicContext, | ||
| float | opacity, | ||
| float | zoomX ) |
Draws the eVision.ERectangleRegion shape.
| graphicContext | Handle of the device context on which to draw. |
| opacity | Opacity of the drawn area (range: 0.0 to 1.0). |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
Reimplemented from eVision.ERegion.
| None eVision.ERectangleRegion.Draw | ( | self, | |
| ctypes.c_void_p | graphicContext, | ||
| float | opacity, | ||
| float | zoomX, | ||
| float | zoomY ) |
Draws the eVision.ERectangleRegion shape.
| graphicContext | Handle of the device context on which to draw. |
| opacity | Opacity of the drawn area (range: 0.0 to 1.0). |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
Reimplemented from eVision.ERegion.
| None eVision.ERectangleRegion.Draw | ( | self, | |
| ctypes.c_void_p | graphicContext, | ||
| float | opacity, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Draws the eVision.ERectangleRegion shape.
| graphicContext | Handle of the device context on which to draw. |
| opacity | Opacity of the drawn area (range: 0.0 to 1.0). |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
Reimplemented from eVision.ERegion.
| None eVision.ERectangleRegion.Draw | ( | self, | |
| ctypes.c_void_p | graphicContext, | ||
| float | opacity, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Draws the eVision.ERectangleRegion shape.
| graphicContext | Handle of the device context on which to draw. |
| opacity | Opacity of the drawn area (range: 0.0 to 1.0). |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| panY | Vertical panning value expressed in pixels. By default, no panning occurs. |
Reimplemented from eVision.ERegion.
| None eVision.ERectangleRegion.Draw | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter ) |
Draws the eVision.ERectangleRegion shape.
| drawAdapter | A pointer to an eVision.EDrawAdapter (like the eVision.EWindowsDrawAdapter). |
Reimplemented from eVision.ERegion.
| None eVision.ERectangleRegion.Draw | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| eVision.EFrame | frame ) |
Draws the eVision.ERectangleRegion shape.
| drawAdapter | A pointer to an eVision.EDrawAdapter (like the eVision.EWindowsDrawAdapter). |
| frame | Frame on which to draw the shape. |
Reimplemented from eVision.ERegion.
| None eVision.ERectangleRegion.Draw | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| eVision.EFrame | frame, | ||
| eVision.ERGBColor | color ) |
Draws the eVision.ERectangleRegion shape.
| drawAdapter | A pointer to an eVision.EDrawAdapter (like the eVision.EWindowsDrawAdapter). |
| frame | Frame on which to draw the shape. |
| color | The color in which to draw the eVision.ERectangleRegion. |
Reimplemented from eVision.ERegion.
| None eVision.ERectangleRegion.Draw | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| eVision.EFrame | frame, | ||
| eVision.ERGBColor | color, | ||
| float | opacity ) |
Draws the eVision.ERectangleRegion shape.
| drawAdapter | A pointer to an eVision.EDrawAdapter (like the eVision.EWindowsDrawAdapter). |
| frame | Frame on which to draw the shape. |
| color | The color in which to draw the eVision.ERectangleRegion. |
| opacity | Opacity of the drawn area (range: 0.0 to 1.0). |
Reimplemented from eVision.ERegion.
| None eVision.ERectangleRegion.Draw | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| eVision.EFrame | frame, | ||
| eVision.ERGBColor | color, | ||
| float | opacity, | ||
| float | zoomX ) |
Draws the eVision.ERectangleRegion shape.
| drawAdapter | A pointer to an eVision.EDrawAdapter (like the eVision.EWindowsDrawAdapter). |
| frame | Frame on which to draw the shape. |
| color | The color in which to draw the eVision.ERectangleRegion. |
| opacity | Opacity of the drawn area (range: 0.0 to 1.0). |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
Reimplemented from eVision.ERegion.
| None eVision.ERectangleRegion.Draw | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| eVision.EFrame | frame, | ||
| eVision.ERGBColor | color, | ||
| float | opacity, | ||
| float | zoomX, | ||
| float | zoomY ) |
Draws the eVision.ERectangleRegion shape.
| drawAdapter | A pointer to an eVision.EDrawAdapter (like the eVision.EWindowsDrawAdapter). |
| frame | Frame on which to draw the shape. |
| color | The color in which to draw the eVision.ERectangleRegion. |
| opacity | Opacity of the drawn area (range: 0.0 to 1.0). |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
Reimplemented from eVision.ERegion.
| None eVision.ERectangleRegion.Draw | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| eVision.EFrame | frame, | ||
| eVision.ERGBColor | color, | ||
| float | opacity, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Draws the eVision.ERectangleRegion shape.
| drawAdapter | A pointer to an eVision.EDrawAdapter (like the eVision.EWindowsDrawAdapter). |
| frame | Frame on which to draw the shape. |
| color | The color in which to draw the eVision.ERectangleRegion. |
| opacity | Opacity of the drawn area (range: 0.0 to 1.0). |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
Reimplemented from eVision.ERegion.
| None eVision.ERectangleRegion.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.ERectangleRegion shape.
| drawAdapter | A pointer to an eVision.EDrawAdapter (like the eVision.EWindowsDrawAdapter). |
| frame | Frame on which to draw the shape. |
| color | The color in which to draw the eVision.ERectangleRegion. |
| opacity | Opacity of the drawn area (range: 0.0 to 1.0). |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| panY | Vertical panning value expressed in pixels. By default, no panning occurs. |
Reimplemented from eVision.ERegion.
| None eVision.ERectangleRegion.Draw | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| eVision.EFrame | frame, | ||
| float | zoomX ) |
Draws the eVision.ERectangleRegion shape.
| drawAdapter | A pointer to an eVision.EDrawAdapter (like the eVision.EWindowsDrawAdapter). |
| frame | Frame on which to draw the shape. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
Reimplemented from eVision.ERegion.
| None eVision.ERectangleRegion.Draw | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| eVision.EFrame | frame, | ||
| float | zoomX, | ||
| float | zoomY ) |
Draws the eVision.ERectangleRegion shape.
| drawAdapter | A pointer to an eVision.EDrawAdapter (like the eVision.EWindowsDrawAdapter). |
| frame | Frame on which to draw the shape. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
Reimplemented from eVision.ERegion.
| None eVision.ERectangleRegion.Draw | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| eVision.EFrame | frame, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Draws the eVision.ERectangleRegion shape.
| drawAdapter | A pointer to an eVision.EDrawAdapter (like the eVision.EWindowsDrawAdapter). |
| frame | Frame on which to draw the shape. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
Reimplemented from eVision.ERegion.
| None eVision.ERectangleRegion.Draw | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| eVision.EFrame | frame, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Draws the eVision.ERectangleRegion shape.
| drawAdapter | A pointer to an eVision.EDrawAdapter (like the eVision.EWindowsDrawAdapter). |
| frame | Frame on which to draw the shape. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| panY | Vertical panning value expressed in pixels. By default, no panning occurs. |
Reimplemented from eVision.ERegion.
| None eVision.ERectangleRegion.Draw | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| eVision.ERGBColor | color ) |
Draws the eVision.ERectangleRegion shape.
| drawAdapter | A pointer to an eVision.EDrawAdapter (like the eVision.EWindowsDrawAdapter). |
| color | The color in which to draw the eVision.ERectangleRegion. |
Reimplemented from eVision.ERegion.
| None eVision.ERectangleRegion.Draw | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| eVision.ERGBColor | color, | ||
| float | opacity ) |
Draws the eVision.ERectangleRegion shape.
| drawAdapter | A pointer to an eVision.EDrawAdapter (like the eVision.EWindowsDrawAdapter). |
| color | The color in which to draw the eVision.ERectangleRegion. |
| opacity | Opacity of the drawn area (range: 0.0 to 1.0). |
Reimplemented from eVision.ERegion.
| None eVision.ERectangleRegion.Draw | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| eVision.ERGBColor | color, | ||
| float | opacity, | ||
| float | zoomX ) |
Draws the eVision.ERectangleRegion shape.
| drawAdapter | A pointer to an eVision.EDrawAdapter (like the eVision.EWindowsDrawAdapter). |
| color | The color in which to draw the eVision.ERectangleRegion. |
| opacity | Opacity of the drawn area (range: 0.0 to 1.0). |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
Reimplemented from eVision.ERegion.
| None eVision.ERectangleRegion.Draw | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| eVision.ERGBColor | color, | ||
| float | opacity, | ||
| float | zoomX, | ||
| float | zoomY ) |
Draws the eVision.ERectangleRegion shape.
| drawAdapter | A pointer to an eVision.EDrawAdapter (like the eVision.EWindowsDrawAdapter). |
| color | The color in which to draw the eVision.ERectangleRegion. |
| opacity | Opacity of the drawn area (range: 0.0 to 1.0). |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
Reimplemented from eVision.ERegion.
| None eVision.ERectangleRegion.Draw | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| eVision.ERGBColor | color, | ||
| float | opacity, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Draws the eVision.ERectangleRegion shape.
| drawAdapter | A pointer to an eVision.EDrawAdapter (like the eVision.EWindowsDrawAdapter). |
| color | The color in which to draw the eVision.ERectangleRegion. |
| opacity | Opacity of the drawn area (range: 0.0 to 1.0). |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
Reimplemented from eVision.ERegion.
| None eVision.ERectangleRegion.Draw | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| eVision.ERGBColor | color, | ||
| float | opacity, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Draws the eVision.ERectangleRegion shape.
| drawAdapter | A pointer to an eVision.EDrawAdapter (like the eVision.EWindowsDrawAdapter). |
| color | The color in which to draw the eVision.ERectangleRegion. |
| opacity | Opacity of the drawn area (range: 0.0 to 1.0). |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| panY | Vertical panning value expressed in pixels. By default, no panning occurs. |
Reimplemented from eVision.ERegion.
| None eVision.ERectangleRegion.Draw | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| float | zoomX ) |
Draws the eVision.ERectangleRegion shape.
| drawAdapter | A pointer to an eVision.EDrawAdapter (like the eVision.EWindowsDrawAdapter). |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
Reimplemented from eVision.ERegion.
| None eVision.ERectangleRegion.Draw | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| float | zoomX, | ||
| float | zoomY ) |
Draws the eVision.ERectangleRegion shape.
| drawAdapter | A pointer to an eVision.EDrawAdapter (like the eVision.EWindowsDrawAdapter). |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
Reimplemented from eVision.ERegion.
| None eVision.ERectangleRegion.Draw | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Draws the eVision.ERectangleRegion shape.
| drawAdapter | A pointer to an eVision.EDrawAdapter (like the eVision.EWindowsDrawAdapter). |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
Reimplemented from eVision.ERegion.
| None eVision.ERectangleRegion.Draw | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Draws the eVision.ERectangleRegion shape.
| drawAdapter | A pointer to an eVision.EDrawAdapter (like the eVision.EWindowsDrawAdapter). |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| panY | Vertical panning value expressed in pixels. By default, no panning occurs. |
Reimplemented from eVision.ERegion.
| float eVision.ERectangleRegion.Height | ( | self | ) |
Height of the region.
| eVision.ERectangleRegion.Height | ( | self, | |
| float | value ) |
Height of the region.
| eVision.EEditionMode eVision.ERectangleRegion.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.ERectangleRegion.HitTest and eVision.ERectangleRegion.Drag.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
Reimplemented from eVision.ERegion.
| eVision.EEditionMode eVision.ERectangleRegion.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.ERectangleRegion.HitTest and eVision.ERectangleRegion.Drag.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| frame | Frame to transform coordinates with. |
Reimplemented from eVision.ERegion.
| eVision.EEditionMode eVision.ERectangleRegion.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.ERectangleRegion.HitTest and eVision.ERectangleRegion.Drag.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| frame | Frame to transform coordinates with. |
| zoomX | Horizontal zoom factor. By default, true scale is used. |
Reimplemented from eVision.ERegion.
| eVision.EEditionMode eVision.ERectangleRegion.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.ERectangleRegion.HitTest and eVision.ERectangleRegion.Drag.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| frame | Frame to transform coordinates with. |
| zoomX | Horizontal zoom factor. By default, true scale is used. |
| zoomY | Vertical zoom factor. By default, true scale is used. |
Reimplemented from eVision.ERegion.
| eVision.EEditionMode eVision.ERectangleRegion.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.ERectangleRegion.HitTest and eVision.ERectangleRegion.Drag.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| frame | Frame to transform coordinates with. |
| zoomX | Horizontal zoom factor. By default, true scale is used. |
| zoomY | Vertical zoom factor. By default, true scale is used. |
| panX | Horizontal pan offset. By default, no pan is added. |
Reimplemented from eVision.ERegion.
| eVision.EEditionMode eVision.ERectangleRegion.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.ERectangleRegion.HitTest and eVision.ERectangleRegion.Drag.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| frame | Frame to transform coordinates with. |
| zoomX | Horizontal zoom factor. By default, true scale is used. |
| zoomY | Vertical zoom factor. By default, true scale is used. |
| panX | Horizontal pan offset. By default, no pan is added. |
| panY | Vertical pan offset. By default, no pan is added. |
Reimplemented from eVision.ERegion.
| eVision.EEditionMode eVision.ERectangleRegion.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.ERectangleRegion.HitTest and eVision.ERectangleRegion.Drag.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| zoomX | Horizontal zoom factor. By default, true scale is used. |
Reimplemented from eVision.ERegion.
| eVision.EEditionMode eVision.ERectangleRegion.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.ERectangleRegion.HitTest and eVision.ERectangleRegion.Drag.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| zoomX | Horizontal zoom factor. By default, true scale is used. |
| zoomY | Vertical zoom factor. By default, true scale is used. |
Reimplemented from eVision.ERegion.
| eVision.EEditionMode eVision.ERectangleRegion.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.ERectangleRegion.HitTest and eVision.ERectangleRegion.Drag.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| zoomX | Horizontal zoom factor. By default, true scale is used. |
| zoomY | Vertical zoom factor. By default, true scale is used. |
| panX | Horizontal pan offset. By default, no pan is added. |
Reimplemented from eVision.ERegion.
| eVision.EEditionMode eVision.ERectangleRegion.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.ERectangleRegion.HitTest and eVision.ERectangleRegion.Drag.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| zoomX | Horizontal zoom factor. By default, true scale is used. |
| zoomY | Vertical zoom factor. By default, true scale is used. |
| panX | Horizontal pan offset. By default, no pan is added. |
| panY | Vertical pan offset. By default, no pan is added. |
Reimplemented from eVision.ERegion.
| bool eVision.ERectangleRegion.IsPointInRegion | ( | self, | |
| eVision.EPoint | point ) |
Checks if a point is inside the rasterized region.
Remarks:
The coordinates of the point are floored to integer values and we check if they would be present in the rasterized region. This can have unexpected consequences, like (10, 10) not being contained in a ERectangleRegion of width/height 10 centered on (5.1, 5.1) but it guarantees the equivalence with successor classes.
| point | The point to check. |
Reimplemented from eVision.ERegion.
| None eVision.ERectangleRegion.Load | ( | self, | |
| eVision.ESerializer | None | serializer ) |
Loads the eVision.ERectangleRegion.
The given eVision.ESerializer must have been created for reading.
| serializer | The serializer. |
Reimplemented from eVision.ERegion.
| None eVision.ERectangleRegion.Load | ( | self, | |
| str | path ) |
Loads the eVision.ERectangleRegion.
The given eVision.ESerializer must have been created for reading.
| path | The file path. |
Reimplemented from eVision.ERegion.
| eVision.ERegion | None eVision.ERectangleRegion.Rotate | ( | self, | |
| float | angle ) |
Creates a new region by rotating the eVision.ERectangleRegion around its center.
| angle | rotation angle |
Reimplemented from eVision.ERegion.
| None eVision.ERectangleRegion.Save | ( | self, | |
| eVision.ESerializer | None | serializer ) |
Saves the eVision.ERectangleRegion.
The given eVision.ESerializer must have been created for writing.
| serializer | The eVision.ESerializer object that is written to. |
Reimplemented from eVision.ERegion.
| None eVision.ERectangleRegion.Save | ( | self, | |
| str | path ) |
Saves the eVision.ERectangleRegion.
The given eVision.ESerializer must have been created for writing.
| path | The file path. |
Reimplemented from eVision.ERegion.
| eVision.ERegion | None eVision.ERectangleRegion.Scale | ( | self, | |
| float | scale ) |
Creates a new region by scaling the eVision.ERectangleRegion.
The center of the eVision.ERectangleRegion remains at the same place.
Remarks:
For anisotropic scaling and a rectangle with an orientation not aligned with the axes, the returned region will not be a rectangle.
| scale | Isotropic scale |
Reimplemented from eVision.ERegion.
| eVision.ERegion | None eVision.ERectangleRegion.Scale | ( | self, | |
| float | scaleX, | ||
| float | scaleY ) |
Creates a new region by scaling the eVision.ERectangleRegion.
The center of the eVision.ERectangleRegion remains at the same place.
Remarks:
For anisotropic scaling and a rectangle with an orientation not aligned with the axes, the returned region will not be a rectangle.
| scaleX | Horizontal scale |
| scaleY | Vertical scale |
Reimplemented from eVision.ERegion.
| eVision.ERegion | None eVision.ERectangleRegion.Transform | ( | self, | |
| float | scaleX, | ||
| float | scaleY, | ||
| float | angle, | ||
| float | dx, | ||
| float | dy ) |
Creates a new eVision.ERectangleRegion by scaling, rotating and then translating the eVision.ERectangleRegion.
| scaleX | x component of the scaling factor applied to the region. |
| scaleY | y component of the scaling factor applied to the region. |
| angle | rotation angle applied to the region. |
| dx | x component of the translation vector. |
| dy | y component of the translation vector. |
Reimplemented from eVision.ERegion.
| eVision.ERegion | None eVision.ERectangleRegion.Translate | ( | self, | |
| float | dx, | ||
| float | dy ) |
Creates a new region by translating the eVision.ERectangleRegion.
| dx | Horizontal translation in pixel value |
| dy | Vertical translation in pixel value |
Reimplemented from eVision.ERegion.
| float eVision.ERectangleRegion.Width | ( | self | ) |
Width of the region.
| eVision.ERectangleRegion.Width | ( | self, | |
| float | value ) |
Width of the region.