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

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

Detailed Description

Manages a complete context for a eVision.ERegionFreeHandPainter.

This class allows to paint a region using a free hand method.

Remarks:

License(s): BasicTypes

Constructor & Destructor Documentation

◆ __init__()

None eVision.ERegionFreeHandPainter.__init__ ( self)

Constructs an eVision.ERegionFreeHandPainter context.

Member Function Documentation

◆ _Brush__setter()

eVision.ERegionFreeHandPainter._Brush__setter ( self,
eVision.ERegion value )
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.

◆ ClearCanvas()

None eVision.ERegionFreeHandPainter.ClearCanvas ( self)

Clear the canvas.

Remarks:

The canvas is the area on which to paint the region.

◆ Draw() [1/12]

None eVision.ERegionFreeHandPainter.Draw ( self,
eVision.EDrawAdapter | None graphicContext )

Draws the eVision.ERegionFreeHandPainter shape.

Parameters
graphicContextHandle of the device context on which to draw.

◆ Draw() [2/12]

None eVision.ERegionFreeHandPainter.Draw ( self,
eVision.EDrawAdapter | None graphicContext,
eVision.ERGBColor color )

Draws the eVision.ERegionFreeHandPainter shape.

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

◆ Draw() [3/12]

None eVision.ERegionFreeHandPainter.Draw ( self,
eVision.EDrawAdapter | None graphicContext,
eVision.ERGBColor color,
float opacity )

Draws the eVision.ERegionFreeHandPainter shape.

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

◆ Draw() [4/12]

None eVision.ERegionFreeHandPainter.Draw ( self,
eVision.EDrawAdapter | None graphicContext,
eVision.ERGBColor color,
float opacity,
float zoomX )

Draws the eVision.ERegionFreeHandPainter shape.

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

◆ Draw() [5/12]

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

Draws the eVision.ERegionFreeHandPainter shape.

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

◆ Draw() [6/12]

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.

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

◆ Draw() [7/12]

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.

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

◆ Draw() [8/12]

None eVision.ERegionFreeHandPainter.Draw ( self,
eVision.EDrawAdapter | None graphicContext,
float opacity )

Draws the eVision.ERegionFreeHandPainter shape.

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

◆ Draw() [9/12]

None eVision.ERegionFreeHandPainter.Draw ( self,
eVision.EDrawAdapter | None graphicContext,
float opacity,
float zoomX )

Draws the eVision.ERegionFreeHandPainter shape.

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

◆ Draw() [10/12]

None eVision.ERegionFreeHandPainter.Draw ( self,
eVision.EDrawAdapter | None graphicContext,
float opacity,
float zoomX,
float zoomY )

Draws the eVision.ERegionFreeHandPainter shape.

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

◆ Draw() [11/12]

None eVision.ERegionFreeHandPainter.Draw ( self,
eVision.EDrawAdapter | None graphicContext,
float opacity,
float zoomX,
float zoomY,
float panX )

Draws the eVision.ERegionFreeHandPainter shape.

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

◆ Draw() [12/12]

None eVision.ERegionFreeHandPainter.Draw ( self,
eVision.EDrawAdapter | None graphicContext,
float opacity,
float zoomX,
float zoomY,
float panX,
float panY )

Draws the eVision.ERegionFreeHandPainter shape.

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

◆ DrawContour() [1/10]

None eVision.ERegionFreeHandPainter.DrawContour ( self,
eVision.EDrawAdapter | None graphicContext )

Draws the eVision.ERegionFreeHandPainter contour.

Parameters
graphicContextHandle of the device context on which to draw.

◆ DrawContour() [2/10]

None eVision.ERegionFreeHandPainter.DrawContour ( self,
eVision.EDrawAdapter | None graphicContext,
eVision.ERGBColor color )

Draws the eVision.ERegionFreeHandPainter contour.

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

◆ DrawContour() [3/10]

None eVision.ERegionFreeHandPainter.DrawContour ( self,
eVision.EDrawAdapter | None graphicContext,
eVision.ERGBColor color,
float zoomX )

Draws the eVision.ERegionFreeHandPainter contour.

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color in which to draw the eVision.ERegionFreeHandPainter.
zoomXHorizontal zooming factor. By default, true scale is used.

◆ DrawContour() [4/10]

None eVision.ERegionFreeHandPainter.DrawContour ( self,
eVision.EDrawAdapter | None graphicContext,
eVision.ERGBColor color,
float zoomX,
float zoomY )

Draws the eVision.ERegionFreeHandPainter contour.

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

◆ DrawContour() [5/10]

None eVision.ERegionFreeHandPainter.DrawContour ( self,
eVision.EDrawAdapter | None graphicContext,
eVision.ERGBColor color,
float zoomX,
float zoomY,
float panX )

Draws the eVision.ERegionFreeHandPainter contour.

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

◆ DrawContour() [6/10]

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.

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

◆ DrawContour() [7/10]

None eVision.ERegionFreeHandPainter.DrawContour ( self,
eVision.EDrawAdapter | None graphicContext,
float zoomX )

Draws the eVision.ERegionFreeHandPainter contour.

Parameters
graphicContextHandle of the device context on which to draw.
zoomXHorizontal zooming factor. By default, true scale is used.

◆ DrawContour() [8/10]

None eVision.ERegionFreeHandPainter.DrawContour ( self,
eVision.EDrawAdapter | None graphicContext,
float zoomX,
float zoomY )

Draws the eVision.ERegionFreeHandPainter contour.

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

◆ DrawContour() [9/10]

None eVision.ERegionFreeHandPainter.DrawContour ( self,
eVision.EDrawAdapter | None graphicContext,
float zoomX,
float zoomY,
float panX )

Draws the eVision.ERegionFreeHandPainter contour.

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

◆ DrawContour() [10/10]

None eVision.ERegionFreeHandPainter.DrawContour ( self,
eVision.EDrawAdapter | None graphicContext,
float zoomX,
float zoomY,
float panX,
float panY )

Draws the eVision.ERegionFreeHandPainter contour.

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

◆ Paint() [1/5]

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.

Parameters
xX position on which to apply the brush.
yY position on which to apply the brush.

◆ Paint() [2/5]

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.

Parameters
xX position on which to apply the brush.
yY position on which to apply the brush.
zoomXHorizontal zooming factor. By default, true scale is used.

◆ Paint() [3/5]

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.

Parameters
xX position on which to apply the brush.
yY position on which to apply the brush.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.

◆ Paint() [4/5]

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.

Parameters
xX position on which to apply the brush.
yY position on which to apply the brush.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.

◆ Paint() [5/5]

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.

Parameters
xX position on which to apply the brush.
yY position on which to apply the brush.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.

◆ RetrieveRegion()

eVision.ERegion eVision.ERegionFreeHandPainter.RetrieveRegion ( self)

Retrieves the painted region.

◆ SetCanvasSize() [1/2]

None eVision.ERegionFreeHandPainter.SetCanvasSize ( self,
eVision.EBaseROI roi )

Sets the canvas size.

Remarks:

The canvas is the area on which to paint the region.

Parameters
roiROI/Image from which the canvas size will be adapted.

◆ SetCanvasSize() [2/2]

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.

Parameters
widthWidth of the canvas.
heightHeight of the canvas.

Property Documentation

◆ Brush

eVision.ERegionFreeHandPainter.Brush
static
Initial value:
= property(None, _Brush__setter, None,
)