Manages a complete context for a eVision.ERegionFreeHandPainter. More...
Public Member Functions | |
| None | __init__ (self) |
| Constructs an eVision.ERegionFreeHandPainter context. | |
| None | Paint (self, int x, int y, float zoomX, float zoomY, float panX, float panY) |
| Paints the region by applying the brush on the canvas at the designed coordinates. | |
| None | Paint (self, int x, int y, float zoomX, float zoomY, float panX) |
| Paints the region by applying the brush on the canvas at the designed coordinates. | |
| None | Paint (self, int x, int y, float zoomX, float zoomY) |
| Paints the region by applying the brush on the canvas at the designed coordinates. | |
| None | Paint (self, int x, int y, float zoomX) |
| Paints the region by applying the brush on the canvas at the designed coordinates. | |
| None | Paint (self, int x, int y) |
| Paints the region by applying the brush on the canvas at the designed coordinates. | |
| None | SetCanvasSize (self, int width, int height) |
| Sets the canvas size. | |
| None | SetCanvasSize (self, eVision.EBaseROI roi) |
| Sets the canvas size. | |
| None | ClearCanvas (self) |
| Clear the canvas. | |
| eVision.ERegion | RetrieveRegion (self) |
| Retrieves the painted region. | |
| None | Draw (self, eVision.EDrawAdapter|None graphicContext, float opacity, float zoomX, float zoomY, float panX, float panY) |
| Draws the eVision.ERegionFreeHandPainter shape. | |
| None | Draw (self, eVision.EDrawAdapter|None graphicContext, float opacity, float zoomX, float zoomY, float panX) |
| Draws the eVision.ERegionFreeHandPainter shape. | |
| None | Draw (self, eVision.EDrawAdapter|None graphicContext, float opacity, float zoomX, float zoomY) |
| Draws the eVision.ERegionFreeHandPainter shape. | |
| None | Draw (self, eVision.EDrawAdapter|None graphicContext, float opacity, float zoomX) |
| Draws the eVision.ERegionFreeHandPainter shape. | |
| None | Draw (self, eVision.EDrawAdapter|None graphicContext, float opacity) |
| Draws the eVision.ERegionFreeHandPainter shape. | |
| None | Draw (self, eVision.EDrawAdapter|None graphicContext) |
| Draws the eVision.ERegionFreeHandPainter shape. | |
| None | Draw (self, eVision.EDrawAdapter|None graphicContext, eVision.ERGBColor color, float opacity, float zoomX, float zoomY, float panX, float panY) |
| Draws the eVision.ERegionFreeHandPainter shape. | |
| None | Draw (self, eVision.EDrawAdapter|None graphicContext, eVision.ERGBColor color, float opacity, float zoomX, float zoomY, float panX) |
| Draws the eVision.ERegionFreeHandPainter shape. | |
| None | Draw (self, eVision.EDrawAdapter|None graphicContext, eVision.ERGBColor color, float opacity, float zoomX, float zoomY) |
| Draws the eVision.ERegionFreeHandPainter shape. | |
| None | Draw (self, eVision.EDrawAdapter|None graphicContext, eVision.ERGBColor color, float opacity, float zoomX) |
| Draws the eVision.ERegionFreeHandPainter shape. | |
| None | Draw (self, eVision.EDrawAdapter|None graphicContext, eVision.ERGBColor color, float opacity) |
| Draws the eVision.ERegionFreeHandPainter shape. | |
| None | Draw (self, eVision.EDrawAdapter|None graphicContext, eVision.ERGBColor color) |
| Draws the eVision.ERegionFreeHandPainter shape. | |
| None | DrawContour (self, eVision.EDrawAdapter|None graphicContext, float zoomX, float zoomY, float panX, float panY) |
| Draws the eVision.ERegionFreeHandPainter contour. | |
| None | DrawContour (self, eVision.EDrawAdapter|None graphicContext, float zoomX, float zoomY, float panX) |
| Draws the eVision.ERegionFreeHandPainter contour. | |
| None | DrawContour (self, eVision.EDrawAdapter|None graphicContext, float zoomX, float zoomY) |
| Draws the eVision.ERegionFreeHandPainter contour. | |
| None | DrawContour (self, eVision.EDrawAdapter|None graphicContext, float zoomX) |
| Draws the eVision.ERegionFreeHandPainter contour. | |
| None | DrawContour (self, eVision.EDrawAdapter|None graphicContext) |
| Draws the eVision.ERegionFreeHandPainter contour. | |
| None | DrawContour (self, eVision.EDrawAdapter|None graphicContext, eVision.ERGBColor color, float zoomX, float zoomY, float panX, float panY) |
| Draws the eVision.ERegionFreeHandPainter contour. | |
| None | DrawContour (self, eVision.EDrawAdapter|None graphicContext, eVision.ERGBColor color, float zoomX, float zoomY, float panX) |
| Draws the eVision.ERegionFreeHandPainter contour. | |
| None | DrawContour (self, eVision.EDrawAdapter|None graphicContext, eVision.ERGBColor color, float zoomX, float zoomY) |
| Draws the eVision.ERegionFreeHandPainter contour. | |
| None | DrawContour (self, eVision.EDrawAdapter|None graphicContext, eVision.ERGBColor color, float zoomX) |
| Draws the eVision.ERegionFreeHandPainter contour. | |
| None | DrawContour (self, eVision.EDrawAdapter|None graphicContext, eVision.ERGBColor color) |
| Draws the eVision.ERegionFreeHandPainter contour. | |
Protected Member Functions | |
| _Brush__setter (self, eVision.ERegion value) | |
| Sets the brush to use to paint the region. | |
Properties | |
| Brush | |
Manages a complete context for a eVision.ERegionFreeHandPainter.
This class allows to paint a region using a free hand method.
Remarks:
License(s): BasicTypes
| None eVision.ERegionFreeHandPainter.__init__ | ( | self | ) |
Constructs an eVision.ERegionFreeHandPainter context.
|
protected |
Sets the brush to use to paint the region.
Remarks:
Any region can be used as a brush. By default, the brush is a 8-pixel radius circle.
| None eVision.ERegionFreeHandPainter.ClearCanvas | ( | self | ) |
Clear the canvas.
Remarks:
The canvas is the area on which to paint the region.
| None eVision.ERegionFreeHandPainter.Draw | ( | self, | |
| eVision.EDrawAdapter | None | graphicContext ) |
Draws the eVision.ERegionFreeHandPainter shape.
| graphicContext | Handle of the device context on which to draw. |
| None eVision.ERegionFreeHandPainter.Draw | ( | self, | |
| eVision.EDrawAdapter | None | graphicContext, | ||
| eVision.ERGBColor | color ) |
Draws the eVision.ERegionFreeHandPainter shape.
| graphicContext | Handle of the device context on which to draw. |
| color | The color in which to draw the eVision.ERegionFreeHandPainter. |
| None eVision.ERegionFreeHandPainter.Draw | ( | self, | |
| eVision.EDrawAdapter | None | graphicContext, | ||
| eVision.ERGBColor | color, | ||
| float | opacity ) |
Draws the eVision.ERegionFreeHandPainter shape.
| graphicContext | Handle of the device context on which to draw. |
| color | The color in which to draw the eVision.ERegionFreeHandPainter. |
| opacity | Opacity of the drawn area (range: 0.0 to 1.0). |
| None eVision.ERegionFreeHandPainter.Draw | ( | self, | |
| eVision.EDrawAdapter | None | graphicContext, | ||
| eVision.ERGBColor | color, | ||
| float | opacity, | ||
| float | zoomX ) |
Draws the eVision.ERegionFreeHandPainter shape.
| graphicContext | Handle of the device context on which to draw. |
| color | The color in which to draw the eVision.ERegionFreeHandPainter. |
| opacity | Opacity of the drawn area (range: 0.0 to 1.0). |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| None eVision.ERegionFreeHandPainter.Draw | ( | self, | |
| eVision.EDrawAdapter | None | graphicContext, | ||
| eVision.ERGBColor | color, | ||
| float | opacity, | ||
| float | zoomX, | ||
| float | zoomY ) |
Draws the eVision.ERegionFreeHandPainter shape.
| graphicContext | Handle of the device context on which to draw. |
| color | The color in which to draw the eVision.ERegionFreeHandPainter. |
| 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. |
| None eVision.ERegionFreeHandPainter.Draw | ( | self, | |
| eVision.EDrawAdapter | None | graphicContext, | ||
| eVision.ERGBColor | color, | ||
| float | opacity, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Draws the eVision.ERegionFreeHandPainter shape.
| graphicContext | Handle of the device context on which to draw. |
| color | The color in which to draw the eVision.ERegionFreeHandPainter. |
| 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. |
| None eVision.ERegionFreeHandPainter.Draw | ( | self, | |
| eVision.EDrawAdapter | None | graphicContext, | ||
| eVision.ERGBColor | color, | ||
| float | opacity, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Draws the eVision.ERegionFreeHandPainter shape.
| graphicContext | Handle of the device context on which to draw. |
| color | The color in which to draw the eVision.ERegionFreeHandPainter. |
| 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. |
| None eVision.ERegionFreeHandPainter.Draw | ( | self, | |
| eVision.EDrawAdapter | None | graphicContext, | ||
| float | opacity ) |
Draws the eVision.ERegionFreeHandPainter shape.
| graphicContext | Handle of the device context on which to draw. |
| opacity | Opacity of the drawn area (range: 0.0 to 1.0). |
| None eVision.ERegionFreeHandPainter.Draw | ( | self, | |
| eVision.EDrawAdapter | None | graphicContext, | ||
| float | opacity, | ||
| float | zoomX ) |
Draws the eVision.ERegionFreeHandPainter 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. |
| None eVision.ERegionFreeHandPainter.Draw | ( | self, | |
| eVision.EDrawAdapter | None | graphicContext, | ||
| float | opacity, | ||
| float | zoomX, | ||
| float | zoomY ) |
Draws the eVision.ERegionFreeHandPainter 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. |
| None eVision.ERegionFreeHandPainter.Draw | ( | self, | |
| eVision.EDrawAdapter | None | graphicContext, | ||
| float | opacity, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Draws the eVision.ERegionFreeHandPainter 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. |
| None eVision.ERegionFreeHandPainter.Draw | ( | self, | |
| eVision.EDrawAdapter | None | graphicContext, | ||
| float | opacity, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Draws the eVision.ERegionFreeHandPainter 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. |
| None eVision.ERegionFreeHandPainter.DrawContour | ( | self, | |
| eVision.EDrawAdapter | None | graphicContext ) |
Draws the eVision.ERegionFreeHandPainter contour.
| graphicContext | Handle of the device context on which to draw. |
| None eVision.ERegionFreeHandPainter.DrawContour | ( | self, | |
| eVision.EDrawAdapter | None | graphicContext, | ||
| eVision.ERGBColor | color ) |
Draws the eVision.ERegionFreeHandPainter contour.
| graphicContext | Handle of the device context on which to draw. |
| color | The color in which to draw the eVision.ERegionFreeHandPainter. |
| None eVision.ERegionFreeHandPainter.DrawContour | ( | self, | |
| eVision.EDrawAdapter | None | graphicContext, | ||
| eVision.ERGBColor | color, | ||
| float | zoomX ) |
Draws the eVision.ERegionFreeHandPainter contour.
| graphicContext | Handle of the device context on which to draw. |
| color | The color in which to draw the eVision.ERegionFreeHandPainter. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| None eVision.ERegionFreeHandPainter.DrawContour | ( | self, | |
| eVision.EDrawAdapter | None | graphicContext, | ||
| eVision.ERGBColor | color, | ||
| float | zoomX, | ||
| float | zoomY ) |
Draws the eVision.ERegionFreeHandPainter contour.
| graphicContext | Handle of the device context on which to draw. |
| color | The color in which to draw the eVision.ERegionFreeHandPainter. |
| 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. |
| None eVision.ERegionFreeHandPainter.DrawContour | ( | self, | |
| eVision.EDrawAdapter | None | graphicContext, | ||
| eVision.ERGBColor | color, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Draws the eVision.ERegionFreeHandPainter contour.
| graphicContext | Handle of the device context on which to draw. |
| color | The color in which to draw the eVision.ERegionFreeHandPainter. |
| 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. |
| None eVision.ERegionFreeHandPainter.DrawContour | ( | self, | |
| eVision.EDrawAdapter | None | graphicContext, | ||
| eVision.ERGBColor | color, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Draws the eVision.ERegionFreeHandPainter contour.
| graphicContext | Handle of the device context on which to draw. |
| color | The color in which to draw the eVision.ERegionFreeHandPainter. |
| 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. |
| None eVision.ERegionFreeHandPainter.DrawContour | ( | self, | |
| eVision.EDrawAdapter | None | graphicContext, | ||
| float | zoomX ) |
Draws the eVision.ERegionFreeHandPainter contour.
| graphicContext | Handle of the device context on which to draw. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| None eVision.ERegionFreeHandPainter.DrawContour | ( | self, | |
| eVision.EDrawAdapter | None | graphicContext, | ||
| float | zoomX, | ||
| float | zoomY ) |
Draws the eVision.ERegionFreeHandPainter contour.
| graphicContext | Handle of the device context on which to draw. |
| 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. |
| None eVision.ERegionFreeHandPainter.DrawContour | ( | self, | |
| eVision.EDrawAdapter | None | graphicContext, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Draws the eVision.ERegionFreeHandPainter contour.
| graphicContext | Handle of the device context on which to draw. |
| 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. |
| None eVision.ERegionFreeHandPainter.DrawContour | ( | self, | |
| eVision.EDrawAdapter | None | graphicContext, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Draws the eVision.ERegionFreeHandPainter contour.
| graphicContext | Handle of the device context on which to draw. |
| 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. |
| None eVision.ERegionFreeHandPainter.Paint | ( | self, | |
| int | x, | ||
| int | y ) |
Paints the region by applying the brush on the canvas at the designed coordinates.
Remarks:
The canvas is the area on which to paint the region. The center of the brush region bounding box will be applied at the given location. By default, the brush is a 8-pixel radius circle.
| x | X position on which to apply the brush. |
| y | Y position on which to apply the brush. |
| None eVision.ERegionFreeHandPainter.Paint | ( | self, | |
| int | x, | ||
| int | y, | ||
| float | zoomX ) |
Paints the region by applying the brush on the canvas at the designed coordinates.
Remarks:
The canvas is the area on which to paint the region. The center of the brush region bounding box will be applied at the given location. By default, the brush is a 8-pixel radius circle.
| x | X position on which to apply the brush. |
| y | Y position on which to apply the brush. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| None eVision.ERegionFreeHandPainter.Paint | ( | self, | |
| int | x, | ||
| int | y, | ||
| float | zoomX, | ||
| float | zoomY ) |
Paints the region by applying the brush on the canvas at the designed coordinates.
Remarks:
The canvas is the area on which to paint the region. The center of the brush region bounding box will be applied at the given location. By default, the brush is a 8-pixel radius circle.
| x | X position on which to apply the brush. |
| y | Y position on which to apply the brush. |
| 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. |
| None eVision.ERegionFreeHandPainter.Paint | ( | self, | |
| int | x, | ||
| int | y, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Paints the region by applying the brush on the canvas at the designed coordinates.
Remarks:
The canvas is the area on which to paint the region. The center of the brush region bounding box will be applied at the given location. By default, the brush is a 8-pixel radius circle.
| x | X position on which to apply the brush. |
| y | Y position on which to apply the brush. |
| 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. |
| None eVision.ERegionFreeHandPainter.Paint | ( | self, | |
| int | x, | ||
| int | y, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Paints the region by applying the brush on the canvas at the designed coordinates.
Remarks:
The canvas is the area on which to paint the region. The center of the brush region bounding box will be applied at the given location. By default, the brush is a 8-pixel radius circle.
| x | X position on which to apply the brush. |
| y | Y position on which to apply the brush. |
| 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. |
| eVision.ERegion eVision.ERegionFreeHandPainter.RetrieveRegion | ( | self | ) |
Retrieves the painted region.
| None eVision.ERegionFreeHandPainter.SetCanvasSize | ( | self, | |
| eVision.EBaseROI | roi ) |
Sets the canvas size.
Remarks:
The canvas is the area on which to paint the region.
| roi | ROI/Image from which the canvas size will be adapted. |
| None eVision.ERegionFreeHandPainter.SetCanvasSize | ( | self, | |
| int | width, | ||
| int | height ) |
Sets the canvas size.
Remarks:
The canvas is the area on which to paint the region.
| width | Width of the canvas. |
| height | Height of the canvas. |
|
static |