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


Public Member Functions | |
| None | __init__ (self) |
| Constructs an eVision.EPolygonRegion context. | |
| None | __init__ (self, list[eVision._eVision.EPoint] points) |
| Constructs an eVision.EPolygonRegion context. | |
| None | __init__ (self, eVision.EPolygonRegion other) |
| Constructs an eVision.EPolygonRegion context. | |
| None | AddPoint (self, eVision.EPoint point) |
| Add a new vertex at the end of the region. | |
| eVision.ERegion|None | Translate (self, float dx, float dy) |
| Creates a new region by translating the eVision.EPolygonRegion. | |
| eVision.ERegion|None | Scale (self, float scale) |
| Creates a new region by scaling the eVision.EPolygonRegion. | |
| eVision.ERegion|None | Scale (self, float scaleX, float scaleY) |
| Creates a new region by scaling the eVision.EPolygonRegion. | |
| eVision.ERegion|None | Rotate (self, float angle) |
| Creates a new region by rotating the eVision.EPolygonRegion around its center. | |
| eVision.ERegion|None | Transform (self, float scaleX, float scaleY, float angle, float dx, float dy) |
| Creates a new eVision.EPolygonRegion by scaling, rotating and then translating the eVision.EPolygonRegion. | |
| 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 | InsertPoint (self, int x, int y, eVision.EFrame frame, float zoomX, float zoomY, float panX, float panY) |
| Insert a vertice between two existing ones. | |
| bool | InsertPoint (self, int x, int y, eVision.EFrame frame, float zoomX, float zoomY, float panX) |
| Insert a vertice between two existing ones. | |
| bool | InsertPoint (self, int x, int y, eVision.EFrame frame, float zoomX, float zoomY) |
| Insert a vertice between two existing ones. | |
| bool | InsertPoint (self, int x, int y, eVision.EFrame frame, float zoomX) |
| Insert a vertice between two existing ones. | |
| bool | InsertPoint (self, int x, int y, eVision.EFrame frame) |
| Insert a vertice between two existing ones. | |
| bool | InsertPoint (self, int x, int y, float zoomX, float zoomY, float panX, float panY) |
| Insert a vertice between two existing ones. | |
| bool | InsertPoint (self, int x, int y, float zoomX, float zoomY, float panX) |
| Insert a vertice between two existing ones. | |
| bool | InsertPoint (self, int x, int y, float zoomX, float zoomY) |
| Insert a vertice between two existing ones. | |
| bool | InsertPoint (self, int x, int y, float zoomX) |
| Insert a vertice between two existing ones. | |
| bool | InsertPoint (self, int x, int y) |
| Insert a vertice between two existing ones. | |
| bool | RemovePoint (self, int x, int y, eVision.EFrame frame, float zoomX, float zoomY, float panX, float panY) |
| Remove a vertex. | |
| bool | RemovePoint (self, int x, int y, eVision.EFrame frame, float zoomX, float zoomY, float panX) |
| Remove a vertex. | |
| bool | RemovePoint (self, int x, int y, eVision.EFrame frame, float zoomX, float zoomY) |
| Remove a vertex. | |
| bool | RemovePoint (self, int x, int y, eVision.EFrame frame, float zoomX) |
| Remove a vertex. | |
| bool | RemovePoint (self, int x, int y, eVision.EFrame frame) |
| Remove a vertex. | |
| bool | RemovePoint (self, int x, int y, float zoomX, float zoomY, float panX, float panY) |
| Remove a vertex. | |
| bool | RemovePoint (self, int x, int y, float zoomX, float zoomY, float panX) |
| Remove a vertex. | |
| bool | RemovePoint (self, int x, int y, float zoomX, float zoomY) |
| Remove a vertex. | |
| bool | RemovePoint (self, int x, int y, float zoomX) |
| Remove a vertex. | |
| bool | RemovePoint (self, int x, int y) |
| Remove a vertex. | |
| None | Load (self, str path) |
| Loads the eVision.EPolygonRegion. | |
| None | Load (self, eVision.ESerializer|None serializer) |
| Loads the eVision.EPolygonRegion. | |
| None | Save (self, str path) |
| Saves the eVision.EPolygonRegion. | |
| None | Save (self, eVision.ESerializer|None serializer) |
| Saves the eVision.EPolygonRegion. | |
| eVision.ERegion|None | Clone (self) |
| Clones the ERegion, the cloned Region will be an eVision.EPolygonRegion as well. | |
| None | Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, float zoomX, float zoomY, float panX, float panY) |
| Draws the eVision.EPolygonRegion shape. | |
| None | Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, float zoomX, float zoomY, float panX) |
| Draws the eVision.EPolygonRegion shape. | |
| None | Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, float zoomX, float zoomY) |
| Draws the eVision.EPolygonRegion shape. | |
| None | Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, float zoomX) |
| Draws the eVision.EPolygonRegion shape. | |
| None | Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame) |
| Draws the eVision.EPolygonRegion 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.EPolygonRegion 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.EPolygonRegion shape. | |
| None | Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, eVision.ERGBColor color, float opacity, float zoomX, float zoomY) |
| Draws the eVision.EPolygonRegion shape. | |
| None | Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, eVision.ERGBColor color, float opacity, float zoomX) |
| Draws the eVision.EPolygonRegion shape. | |
| None | Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, eVision.ERGBColor color, float opacity) |
| Draws the eVision.EPolygonRegion shape. | |
| None | Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, eVision.ERGBColor color) |
| Draws the eVision.EPolygonRegion shape. | |
| None | Draw (self, eVision.EDrawAdapter|None drawAdapter, float zoomX, float zoomY, float panX, float panY) |
| Draws the eVision.EPolygonRegion shape. | |
| None | Draw (self, eVision.EDrawAdapter|None drawAdapter, float zoomX, float zoomY, float panX) |
| Draws the eVision.EPolygonRegion shape. | |
| None | Draw (self, eVision.EDrawAdapter|None drawAdapter, float zoomX, float zoomY) |
| Draws the eVision.EPolygonRegion shape. | |
| None | Draw (self, eVision.EDrawAdapter|None drawAdapter, float zoomX) |
| Draws the eVision.EPolygonRegion shape. | |
| None | Draw (self, eVision.EDrawAdapter|None drawAdapter) |
| Draws the eVision.EPolygonRegion shape. | |
| None | Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.ERGBColor color, float opacity, float zoomX, float zoomY, float panX, float panY) |
| Draws the eVision.EPolygonRegion shape. | |
| None | Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.ERGBColor color, float opacity, float zoomX, float zoomY, float panX) |
| Draws the eVision.EPolygonRegion shape. | |
| None | Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.ERGBColor color, float opacity, float zoomX, float zoomY) |
| Draws the eVision.EPolygonRegion shape. | |
| None | Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.ERGBColor color, float opacity, float zoomX) |
| Draws the eVision.EPolygonRegion shape. | |
| None | Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.ERGBColor color, float opacity) |
| Draws the eVision.EPolygonRegion shape. | |
| None | Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.ERGBColor color) |
| Draws the eVision.EPolygonRegion shape. | |
| None | Draw (self, ctypes.c_void_p graphicContext, float opacity, float zoomX, float zoomY, float panX, float panY) |
| Draws the eVision.EPolygonRegion shape. | |
| None | Draw (self, ctypes.c_void_p graphicContext, float opacity, float zoomX, float zoomY, float panX) |
| Draws the eVision.EPolygonRegion shape. | |
| None | Draw (self, ctypes.c_void_p graphicContext, float opacity, float zoomX, float zoomY) |
| Draws the eVision.EPolygonRegion shape. | |
| None | Draw (self, ctypes.c_void_p graphicContext, float opacity, float zoomX) |
| Draws the eVision.EPolygonRegion shape. | |
| None | Draw (self, ctypes.c_void_p graphicContext, float opacity) |
| Draws the eVision.EPolygonRegion shape. | |
| None | Draw (self, ctypes.c_void_p graphicContext) |
| Draws the eVision.EPolygonRegion 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.EPolygonRegion shape. | |
| None | Draw (self, ctypes.c_void_p graphicContext, eVision.ERGBColor color, float opacity, float zoomX, float zoomY, float panX) |
| Draws the eVision.EPolygonRegion shape. | |
| None | Draw (self, ctypes.c_void_p graphicContext, eVision.ERGBColor color, float opacity, float zoomX, float zoomY) |
| Draws the eVision.EPolygonRegion shape. | |
| None | Draw (self, ctypes.c_void_p graphicContext, eVision.ERGBColor color, float opacity, float zoomX) |
| Draws the eVision.EPolygonRegion shape. | |
| None | Draw (self, ctypes.c_void_p graphicContext, eVision.ERGBColor color, float opacity) |
| Draws the eVision.EPolygonRegion shape. | |
| None | Draw (self, ctypes.c_void_p graphicContext, eVision.ERGBColor color) |
| Draws the eVision.EPolygonRegion shape. | |
| list[eVision._eVision.EPoint] | Points (self) |
| List of vertices of the region. | |
| Points (self, list[eVision._eVision.EPoint] value) | |
| List of vertices of the region. | |
| int | NumPoints (self) |
| Number of vertices 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. | |
| 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. | |
Manages a complete context for an eVision.ERegion shaped like a polygon.
Remarks:
License(s): BasicTypes
| None eVision.EPolygonRegion.__init__ | ( | self | ) |
Constructs an eVision.EPolygonRegion context.
| None eVision.EPolygonRegion.__init__ | ( | self, | |
| list[eVision._eVision.EPoint] | points ) |
Constructs an eVision.EPolygonRegion context.
| points | The list of vertices of the eVision.EPolygonRegion. |
| None eVision.EPolygonRegion.__init__ | ( | self, | |
| eVision.EPolygonRegion | other ) |
Constructs an eVision.EPolygonRegion context.
| other | eVision.EPolygonRegion context to copy. |
| None eVision.EPolygonRegion.AddPoint | ( | self, | |
| eVision.EPoint | point ) |
Add a new vertex at the end of the region.
| point | Point to add |
| eVision.EEditionMode eVision.EPolygonRegion.AvailableEditionModes | ( | self | ) |
Returns all possible edition modes of the region.
Reimplemented from eVision.ERegion.
| eVision.ERegion | None eVision.EPolygonRegion.Clone | ( | self | ) |
Clones the ERegion, the cloned Region will be an eVision.EPolygonRegion as well.
Reimplemented from eVision.ERegion.
| None eVision.EPolygonRegion.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.EPolygonRegion.HitTest and eVision.EPolygonRegion.Drag.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
Reimplemented from eVision.ERegion.
| None eVision.EPolygonRegion.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.EPolygonRegion.HitTest and eVision.EPolygonRegion.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.EPolygonRegion.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.EPolygonRegion.HitTest and eVision.EPolygonRegion.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.EPolygonRegion.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.EPolygonRegion.HitTest and eVision.EPolygonRegion.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.EPolygonRegion.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.EPolygonRegion.HitTest and eVision.EPolygonRegion.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.EPolygonRegion.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.EPolygonRegion.HitTest and eVision.EPolygonRegion.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.EPolygonRegion.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.EPolygonRegion.HitTest and eVision.EPolygonRegion.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.EPolygonRegion.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.EPolygonRegion.HitTest and eVision.EPolygonRegion.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.EPolygonRegion.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.EPolygonRegion.HitTest and eVision.EPolygonRegion.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.EPolygonRegion.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.EPolygonRegion.HitTest and eVision.EPolygonRegion.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.EPolygonRegion.Draw | ( | self, | |
| ctypes.c_void_p | graphicContext ) |
Draws the eVision.EPolygonRegion shape.
| graphicContext | Handle of the device context on which to draw. |
Reimplemented from eVision.ERegion.
| None eVision.EPolygonRegion.Draw | ( | self, | |
| ctypes.c_void_p | graphicContext, | ||
| eVision.ERGBColor | color ) |
Draws the eVision.EPolygonRegion shape.
| graphicContext | Handle of the device context on which to draw. |
| color | The color in which to draw the eVision.EPolygonRegion. |
Reimplemented from eVision.ERegion.
| None eVision.EPolygonRegion.Draw | ( | self, | |
| ctypes.c_void_p | graphicContext, | ||
| eVision.ERGBColor | color, | ||
| float | opacity ) |
Draws the eVision.EPolygonRegion shape.
| graphicContext | Handle of the device context on which to draw. |
| color | The color in which to draw the eVision.EPolygonRegion. |
| opacity | Opacity of the drawn area (range: 0.0 to 1.0). |
Reimplemented from eVision.ERegion.
| None eVision.EPolygonRegion.Draw | ( | self, | |
| ctypes.c_void_p | graphicContext, | ||
| eVision.ERGBColor | color, | ||
| float | opacity, | ||
| float | zoomX ) |
Draws the eVision.EPolygonRegion shape.
| graphicContext | Handle of the device context on which to draw. |
| color | The color in which to draw the eVision.EPolygonRegion. |
| 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.EPolygonRegion.Draw | ( | self, | |
| ctypes.c_void_p | graphicContext, | ||
| eVision.ERGBColor | color, | ||
| float | opacity, | ||
| float | zoomX, | ||
| float | zoomY ) |
Draws the eVision.EPolygonRegion shape.
| graphicContext | Handle of the device context on which to draw. |
| color | The color in which to draw the eVision.EPolygonRegion. |
| 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.EPolygonRegion.Draw | ( | self, | |
| ctypes.c_void_p | graphicContext, | ||
| eVision.ERGBColor | color, | ||
| float | opacity, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Draws the eVision.EPolygonRegion shape.
| graphicContext | Handle of the device context on which to draw. |
| color | The color in which to draw the eVision.EPolygonRegion. |
| 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.EPolygonRegion.Draw | ( | self, | |
| ctypes.c_void_p | graphicContext, | ||
| eVision.ERGBColor | color, | ||
| float | opacity, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Draws the eVision.EPolygonRegion shape.
| graphicContext | Handle of the device context on which to draw. |
| color | The color in which to draw the eVision.EPolygonRegion. |
| 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.EPolygonRegion.Draw | ( | self, | |
| ctypes.c_void_p | graphicContext, | ||
| float | opacity ) |
Draws the eVision.EPolygonRegion 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.EPolygonRegion.Draw | ( | self, | |
| ctypes.c_void_p | graphicContext, | ||
| float | opacity, | ||
| float | zoomX ) |
Draws the eVision.EPolygonRegion 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.EPolygonRegion.Draw | ( | self, | |
| ctypes.c_void_p | graphicContext, | ||
| float | opacity, | ||
| float | zoomX, | ||
| float | zoomY ) |
Draws the eVision.EPolygonRegion 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.EPolygonRegion.Draw | ( | self, | |
| ctypes.c_void_p | graphicContext, | ||
| float | opacity, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Draws the eVision.EPolygonRegion 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.EPolygonRegion.Draw | ( | self, | |
| ctypes.c_void_p | graphicContext, | ||
| float | opacity, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Draws the eVision.EPolygonRegion 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.EPolygonRegion.Draw | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter ) |
Draws the eVision.EPolygonRegion shape.
| drawAdapter | A pointer to an eVision.EDrawAdapter (like the eVision.EWindowsDrawAdapter). |
Reimplemented from eVision.ERegion.
| None eVision.EPolygonRegion.Draw | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| eVision.EFrame | frame ) |
Draws the eVision.EPolygonRegion 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.EPolygonRegion.Draw | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| eVision.EFrame | frame, | ||
| eVision.ERGBColor | color ) |
Draws the eVision.EPolygonRegion 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.EPolygonRegion. |
Reimplemented from eVision.ERegion.
| None eVision.EPolygonRegion.Draw | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| eVision.EFrame | frame, | ||
| eVision.ERGBColor | color, | ||
| float | opacity ) |
Draws the eVision.EPolygonRegion 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.EPolygonRegion. |
| opacity | Opacity of the drawn area (range: 0.0 to 1.0). |
Reimplemented from eVision.ERegion.
| None eVision.EPolygonRegion.Draw | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| eVision.EFrame | frame, | ||
| eVision.ERGBColor | color, | ||
| float | opacity, | ||
| float | zoomX ) |
Draws the eVision.EPolygonRegion 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.EPolygonRegion. |
| 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.EPolygonRegion.Draw | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| eVision.EFrame | frame, | ||
| eVision.ERGBColor | color, | ||
| float | opacity, | ||
| float | zoomX, | ||
| float | zoomY ) |
Draws the eVision.EPolygonRegion 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.EPolygonRegion. |
| 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.EPolygonRegion.Draw | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| eVision.EFrame | frame, | ||
| eVision.ERGBColor | color, | ||
| float | opacity, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Draws the eVision.EPolygonRegion 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.EPolygonRegion. |
| 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.EPolygonRegion.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.EPolygonRegion 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.EPolygonRegion. |
| 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.EPolygonRegion.Draw | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| eVision.EFrame | frame, | ||
| float | zoomX ) |
Draws the eVision.EPolygonRegion 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.EPolygonRegion.Draw | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| eVision.EFrame | frame, | ||
| float | zoomX, | ||
| float | zoomY ) |
Draws the eVision.EPolygonRegion 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.EPolygonRegion.Draw | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| eVision.EFrame | frame, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Draws the eVision.EPolygonRegion 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.EPolygonRegion.Draw | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| eVision.EFrame | frame, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Draws the eVision.EPolygonRegion 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.EPolygonRegion.Draw | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| eVision.ERGBColor | color ) |
Draws the eVision.EPolygonRegion shape.
| drawAdapter | A pointer to an eVision.EDrawAdapter (like the eVision.EWindowsDrawAdapter). |
| color | The color in which to draw the eVision.EPolygonRegion. |
Reimplemented from eVision.ERegion.
| None eVision.EPolygonRegion.Draw | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| eVision.ERGBColor | color, | ||
| float | opacity ) |
Draws the eVision.EPolygonRegion shape.
| drawAdapter | A pointer to an eVision.EDrawAdapter (like the eVision.EWindowsDrawAdapter). |
| color | The color in which to draw the eVision.EPolygonRegion. |
| opacity | Opacity of the drawn area (range: 0.0 to 1.0). |
Reimplemented from eVision.ERegion.
| None eVision.EPolygonRegion.Draw | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| eVision.ERGBColor | color, | ||
| float | opacity, | ||
| float | zoomX ) |
Draws the eVision.EPolygonRegion shape.
| drawAdapter | A pointer to an eVision.EDrawAdapter (like the eVision.EWindowsDrawAdapter). |
| color | The color in which to draw the eVision.EPolygonRegion. |
| 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.EPolygonRegion.Draw | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| eVision.ERGBColor | color, | ||
| float | opacity, | ||
| float | zoomX, | ||
| float | zoomY ) |
Draws the eVision.EPolygonRegion shape.
| drawAdapter | A pointer to an eVision.EDrawAdapter (like the eVision.EWindowsDrawAdapter). |
| color | The color in which to draw the eVision.EPolygonRegion. |
| 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.EPolygonRegion.Draw | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| eVision.ERGBColor | color, | ||
| float | opacity, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Draws the eVision.EPolygonRegion shape.
| drawAdapter | A pointer to an eVision.EDrawAdapter (like the eVision.EWindowsDrawAdapter). |
| color | The color in which to draw the eVision.EPolygonRegion. |
| 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.EPolygonRegion.Draw | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| eVision.ERGBColor | color, | ||
| float | opacity, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Draws the eVision.EPolygonRegion shape.
| drawAdapter | A pointer to an eVision.EDrawAdapter (like the eVision.EWindowsDrawAdapter). |
| color | The color in which to draw the eVision.EPolygonRegion. |
| 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.EPolygonRegion.Draw | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| float | zoomX ) |
Draws the eVision.EPolygonRegion 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.EPolygonRegion.Draw | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| float | zoomX, | ||
| float | zoomY ) |
Draws the eVision.EPolygonRegion 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.EPolygonRegion.Draw | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Draws the eVision.EPolygonRegion 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.EPolygonRegion.Draw | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Draws the eVision.EPolygonRegion 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.
| eVision.EEditionMode eVision.EPolygonRegion.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.EPolygonRegion.HitTest and eVision.EPolygonRegion.Drag.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
Reimplemented from eVision.ERegion.
| eVision.EEditionMode eVision.EPolygonRegion.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.EPolygonRegion.HitTest and eVision.EPolygonRegion.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.EPolygonRegion.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.EPolygonRegion.HitTest and eVision.EPolygonRegion.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.EPolygonRegion.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.EPolygonRegion.HitTest and eVision.EPolygonRegion.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.EPolygonRegion.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.EPolygonRegion.HitTest and eVision.EPolygonRegion.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.EPolygonRegion.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.EPolygonRegion.HitTest and eVision.EPolygonRegion.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.EPolygonRegion.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.EPolygonRegion.HitTest and eVision.EPolygonRegion.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.EPolygonRegion.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.EPolygonRegion.HitTest and eVision.EPolygonRegion.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.EPolygonRegion.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.EPolygonRegion.HitTest and eVision.EPolygonRegion.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.EPolygonRegion.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.EPolygonRegion.HitTest and eVision.EPolygonRegion.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.EPolygonRegion.InsertPoint | ( | self, | |
| int | x, | ||
| int | y ) |
Insert a vertice between two existing ones.
Remarks:
If zooming and/or panning were used when drawing the region, the same values must be used with eVision.EPolygonRegion.HitTest and eVision.EPolygonRegion.Drag.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| bool eVision.EPolygonRegion.InsertPoint | ( | self, | |
| int | x, | ||
| int | y, | ||
| eVision.EFrame | frame ) |
Insert a vertice between two existing ones.
Remarks:
If zooming and/or panning were used when drawing the region, the same values must be used with eVision.EPolygonRegion.HitTest and eVision.EPolygonRegion.Drag.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| frame | Frame in which the polygon is drawn. |
| bool eVision.EPolygonRegion.InsertPoint | ( | self, | |
| int | x, | ||
| int | y, | ||
| eVision.EFrame | frame, | ||
| float | zoomX ) |
Insert a vertice between two existing ones.
Remarks:
If zooming and/or panning were used when drawing the region, the same values must be used with eVision.EPolygonRegion.HitTest and eVision.EPolygonRegion.Drag.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| frame | Frame in which the polygon is drawn. |
| zoomX | Horizontal zoom factor. By default, true scale is used. |
| bool eVision.EPolygonRegion.InsertPoint | ( | self, | |
| int | x, | ||
| int | y, | ||
| eVision.EFrame | frame, | ||
| float | zoomX, | ||
| float | zoomY ) |
Insert a vertice between two existing ones.
Remarks:
If zooming and/or panning were used when drawing the region, the same values must be used with eVision.EPolygonRegion.HitTest and eVision.EPolygonRegion.Drag.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| frame | Frame in which the polygon is drawn. |
| zoomX | Horizontal zoom factor. By default, true scale is used. |
| zoomY | Vertical zoom factor. By default, true scale is used. |
| bool eVision.EPolygonRegion.InsertPoint | ( | self, | |
| int | x, | ||
| int | y, | ||
| eVision.EFrame | frame, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Insert a vertice between two existing ones.
Remarks:
If zooming and/or panning were used when drawing the region, the same values must be used with eVision.EPolygonRegion.HitTest and eVision.EPolygonRegion.Drag.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| frame | Frame in which the polygon is drawn. |
| 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. |
| bool eVision.EPolygonRegion.InsertPoint | ( | self, | |
| int | x, | ||
| int | y, | ||
| eVision.EFrame | frame, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Insert a vertice between two existing ones.
Remarks:
If zooming and/or panning were used when drawing the region, the same values must be used with eVision.EPolygonRegion.HitTest and eVision.EPolygonRegion.Drag.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| frame | Frame in which the polygon is drawn. |
| 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. |
| bool eVision.EPolygonRegion.InsertPoint | ( | self, | |
| int | x, | ||
| int | y, | ||
| float | zoomX ) |
Insert a vertice between two existing ones.
Remarks:
If zooming and/or panning were used when drawing the region, the same values must be used with eVision.EPolygonRegion.HitTest and eVision.EPolygonRegion.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. |
| bool eVision.EPolygonRegion.InsertPoint | ( | self, | |
| int | x, | ||
| int | y, | ||
| float | zoomX, | ||
| float | zoomY ) |
Insert a vertice between two existing ones.
Remarks:
If zooming and/or panning were used when drawing the region, the same values must be used with eVision.EPolygonRegion.HitTest and eVision.EPolygonRegion.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. |
| bool eVision.EPolygonRegion.InsertPoint | ( | self, | |
| int | x, | ||
| int | y, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Insert a vertice between two existing ones.
Remarks:
If zooming and/or panning were used when drawing the region, the same values must be used with eVision.EPolygonRegion.HitTest and eVision.EPolygonRegion.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. |
| bool eVision.EPolygonRegion.InsertPoint | ( | self, | |
| int | x, | ||
| int | y, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Insert a vertice between two existing ones.
Remarks:
If zooming and/or panning were used when drawing the region, the same values must be used with eVision.EPolygonRegion.HitTest and eVision.EPolygonRegion.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. |
| None eVision.EPolygonRegion.Load | ( | self, | |
| eVision.ESerializer | None | serializer ) |
Loads the eVision.EPolygonRegion.
The given eVision.ESerializer must have been created for reading.
| serializer | The serializer. |
Reimplemented from eVision.ERegion.
| None eVision.EPolygonRegion.Load | ( | self, | |
| str | path ) |
Loads the eVision.EPolygonRegion.
The given eVision.ESerializer must have been created for reading.
| path | The file path. |
Reimplemented from eVision.ERegion.
| int eVision.EPolygonRegion.NumPoints | ( | self | ) |
Number of vertices of the region.
| list[eVision._eVision.EPoint] eVision.EPolygonRegion.Points | ( | self | ) |
List of vertices of the region.
| eVision.EPolygonRegion.Points | ( | self, | |
| list[eVision._eVision.EPoint] | value ) |
List of vertices of the region.
| bool eVision.EPolygonRegion.RemovePoint | ( | self, | |
| int | x, | ||
| int | y ) |
Remove a vertex.
Remarks:
If zooming and/or panning were used when drawing the region, the same values must be used with eVision.EPolygonRegion.HitTest and eVision.EPolygonRegion.Drag.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| bool eVision.EPolygonRegion.RemovePoint | ( | self, | |
| int | x, | ||
| int | y, | ||
| eVision.EFrame | frame ) |
Remove a vertex.
Remarks:
If zooming and/or panning were used when drawing the region, the same values must be used with eVision.EPolygonRegion.HitTest and eVision.EPolygonRegion.Drag.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| frame | Frame in which the polygon is drawn. |
| bool eVision.EPolygonRegion.RemovePoint | ( | self, | |
| int | x, | ||
| int | y, | ||
| eVision.EFrame | frame, | ||
| float | zoomX ) |
Remove a vertex.
Remarks:
If zooming and/or panning were used when drawing the region, the same values must be used with eVision.EPolygonRegion.HitTest and eVision.EPolygonRegion.Drag.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| frame | Frame in which the polygon is drawn. |
| zoomX | Horizontal zoom factor. By default, true scale is used. |
| bool eVision.EPolygonRegion.RemovePoint | ( | self, | |
| int | x, | ||
| int | y, | ||
| eVision.EFrame | frame, | ||
| float | zoomX, | ||
| float | zoomY ) |
Remove a vertex.
Remarks:
If zooming and/or panning were used when drawing the region, the same values must be used with eVision.EPolygonRegion.HitTest and eVision.EPolygonRegion.Drag.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| frame | Frame in which the polygon is drawn. |
| zoomX | Horizontal zoom factor. By default, true scale is used. |
| zoomY | Vertical zoom factor. By default, true scale is used. |
| bool eVision.EPolygonRegion.RemovePoint | ( | self, | |
| int | x, | ||
| int | y, | ||
| eVision.EFrame | frame, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Remove a vertex.
Remarks:
If zooming and/or panning were used when drawing the region, the same values must be used with eVision.EPolygonRegion.HitTest and eVision.EPolygonRegion.Drag.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| frame | Frame in which the polygon is drawn. |
| 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. |
| bool eVision.EPolygonRegion.RemovePoint | ( | self, | |
| int | x, | ||
| int | y, | ||
| eVision.EFrame | frame, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Remove a vertex.
Remarks:
If zooming and/or panning were used when drawing the region, the same values must be used with eVision.EPolygonRegion.HitTest and eVision.EPolygonRegion.Drag.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| frame | Frame in which the polygon is drawn. |
| 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. |
| bool eVision.EPolygonRegion.RemovePoint | ( | self, | |
| int | x, | ||
| int | y, | ||
| float | zoomX ) |
Remove a vertex.
Remarks:
If zooming and/or panning were used when drawing the region, the same values must be used with eVision.EPolygonRegion.HitTest and eVision.EPolygonRegion.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. |
| bool eVision.EPolygonRegion.RemovePoint | ( | self, | |
| int | x, | ||
| int | y, | ||
| float | zoomX, | ||
| float | zoomY ) |
Remove a vertex.
Remarks:
If zooming and/or panning were used when drawing the region, the same values must be used with eVision.EPolygonRegion.HitTest and eVision.EPolygonRegion.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. |
| bool eVision.EPolygonRegion.RemovePoint | ( | self, | |
| int | x, | ||
| int | y, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Remove a vertex.
Remarks:
If zooming and/or panning were used when drawing the region, the same values must be used with eVision.EPolygonRegion.HitTest and eVision.EPolygonRegion.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. |
| bool eVision.EPolygonRegion.RemovePoint | ( | self, | |
| int | x, | ||
| int | y, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Remove a vertex.
Remarks:
If zooming and/or panning were used when drawing the region, the same values must be used with eVision.EPolygonRegion.HitTest and eVision.EPolygonRegion.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. |
| eVision.ERegion | None eVision.EPolygonRegion.Rotate | ( | self, | |
| float | angle ) |
Creates a new region by rotating the eVision.EPolygonRegion around its center.
| angle | rotation angle |
Reimplemented from eVision.ERegion.
| None eVision.EPolygonRegion.Save | ( | self, | |
| eVision.ESerializer | None | serializer ) |
Saves the eVision.EPolygonRegion.
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.EPolygonRegion.Save | ( | self, | |
| str | path ) |
Saves the eVision.EPolygonRegion.
The given eVision.ESerializer must have been created for writing.
| path | The file path. |
Reimplemented from eVision.ERegion.
| eVision.ERegion | None eVision.EPolygonRegion.Scale | ( | self, | |
| float | scale ) |
Creates a new region by scaling the eVision.EPolygonRegion.
The center of the eVision.EPolygonRegion remains at the same place.
| scale | Isotropic scale |
Reimplemented from eVision.ERegion.
| eVision.ERegion | None eVision.EPolygonRegion.Scale | ( | self, | |
| float | scaleX, | ||
| float | scaleY ) |
Creates a new region by scaling the eVision.EPolygonRegion.
The center of the eVision.EPolygonRegion remains at the same place.
| scaleX | Horizontal scale |
| scaleY | Vertical scale |
Reimplemented from eVision.ERegion.
| eVision.ERegion | None eVision.EPolygonRegion.Transform | ( | self, | |
| float | scaleX, | ||
| float | scaleY, | ||
| float | angle, | ||
| float | dx, | ||
| float | dy ) |
Creates a new eVision.EPolygonRegion by scaling, rotating and then translating the eVision.EPolygonRegion.
| 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.EPolygonRegion.Translate | ( | self, | |
| float | dx, | ||
| float | dy ) |
Creates a new region by translating the eVision.EPolygonRegion.
| dx | Horizontal translation in pixel value |
| dy | Vertical translation in pixel value |
Reimplemented from eVision.ERegion.