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

Set of points found by a eVision.EPointGauge. More...

Inheritance diagram for eVision.EPointSet:
Collaboration diagram for eVision.EPointSet:

Public Member Functions

None __init__ (self)
 Constructs a eVision.EPointSet object.
None __init__ (self, list[eVision._eVision.EPoint] points, list[eVision._eVision.EPeak] peaks)
 Constructs a eVision.EPointSet object.
None __init__ (self, eVision.EPointSet other)
 Copy constructor.
None CopyTo (self, eVision.EPointSet other)
 Copy the object to the other one.
eVision.EPoint GetPoint (self, int idx)
 Gets a point from the point set.
eVision.EPeak GetPeak (self, int idx)
 Gets a peak from the point set.
None DrawPoint (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, int pointIdx, float zoomX, float zoomY, float panX, float panY)
 Draws a point from the point set.
None DrawPoint (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, int pointIdx, float zoomX, float zoomY, float panX)
 Draws a point from the point set.
None DrawPoint (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, int pointIdx, float zoomX, float zoomY)
 Draws a point from the point set.
None DrawPoint (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, int pointIdx, float zoomX)
 Draws a point from the point set.
None DrawPoint (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, int pointIdx)
 Draws a point from the point set.
list[eVision._eVision.EPoint] Points (self)
 Points located on the line.
list[eVision._eVision.EPeak] Peaks (self)
 Peaks corresponding to the points.
int NumPoints (self)
 Number of points in the point set.
str Description (self)
 Textual description of the shape and its parameters.
eVision.EEditionMode AvailableEditionModes (self)
 Available edition modes for the shape.
Public Member Functions inherited from eVision.EShape
None Load (self, str path)
 Load the eVision.EShape configuration.
None Load (self, eVision.ESerializer|None serializer)
 Load the eVision.EShape configuration.
None Save (self, str path)
 Save the eVision.EShape configuration.
None Save (self, eVision.ESerializer|None serializer)
 Save the eVision.EShape configuration.
None Draw (self, eVision.EDrawAdapter|None drawAdapter, float zoomX, float zoomY, float panX, float panY, bool drawDiagonals)
 Draws the eVision.EShape shape.
None Draw (self, eVision.EDrawAdapter|None drawAdapter, float zoomX, float zoomY, float panX, float panY)
 Draws the eVision.EShape shape.
None Draw (self, eVision.EDrawAdapter|None drawAdapter, float zoomX, float zoomY, float panX)
 Draws the eVision.EShape shape.
None Draw (self, eVision.EDrawAdapter|None drawAdapter, float zoomX, float zoomY)
 Draws the eVision.EShape shape.
None Draw (self, eVision.EDrawAdapter|None drawAdapter, float zoomX)
 Draws the eVision.EShape shape.
None Draw (self, eVision.EDrawAdapter|None drawAdapter)
 Draws the eVision.EShape shape.
None Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, float zoomX, float zoomY, float panX, float panY, bool drawDiagonals)
 Draws the eVision.EShape shape.
None Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, float zoomX, float zoomY, float panX, float panY)
 Draws the eVision.EShape shape.
None Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, float zoomX, float zoomY, float panX)
 Draws the eVision.EShape shape.
None Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, float zoomX, float zoomY)
 Draws the eVision.EShape shape.
None Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, float zoomX)
 Draws the eVision.EShape shape.
None Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame)
 Draws the eVision.EShape shape.
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, 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.
None Drag (self, int x, int y, float zoomX, float zoomY, float panX, float panY)
 Moves the specified handle to a new position and updates all placement parameters of the region.
None Drag (self, int x, int y, float zoomX, float zoomY, float panX)
 Moves the specified handle to a new position and updates all placement parameters of the region.
None Drag (self, int x, int y, float zoomX, float zoomY)
 Moves the specified handle to a new position and updates all placement parameters of the region.
None Drag (self, int x, int y, float zoomX)
 Moves the specified handle to a new position and updates all placement parameters of the region.
None Drag (self, int x, int y)
 Moves the specified handle to a new position and updates all placement parameters of the region.
None 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.
eVision.EFrame ToFrame (self, bool useAngle, eVision.EFrameScaling frameScaling)
 Converts the shape to a frame.
eVision.EFrame ToFrame (self, bool useAngle, eVision.EFrameScaling frameScaling, eVision.EFrame shapeFrame)
 Converts the shape to a frame.
eVision.EEditionMode EditionMode (self)
 Current edition mode for the shape.
 EditionMode (self, eVision.EEditionMode value)
 Current edition mode for the shape.

Detailed Description

Set of points found by a eVision.EPointGauge.

Remarks:

License(s): BasicTypes

Constructor & Destructor Documentation

◆ __init__() [1/3]

None eVision.EPointSet.__init__ ( self)

Constructs a eVision.EPointSet object.

◆ __init__() [2/3]

None eVision.EPointSet.__init__ ( self,
list[eVision._eVision.EPoint] points,
list[eVision._eVision.EPeak] peaks )

Constructs a eVision.EPointSet object.

Parameters
pointsThe poinst in the point set.
peaksThe peak associated with each point.

◆ __init__() [3/3]

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

Copy constructor.

Parameters
otherOther eVision.EPointSet oject.

Member Function Documentation

◆ AvailableEditionModes()

eVision.EEditionMode eVision.EPointSet.AvailableEditionModes ( self)

Available edition modes for the shape.

Reimplemented from eVision.EShape.

◆ CopyTo()

None eVision.EPointSet.CopyTo ( self,
eVision.EPointSet other )

Copy the object to the other one.

Parameters
otherOther eVision.EPointSet oject in which to copy the object.

◆ Description()

str eVision.EPointSet.Description ( self)

Textual description of the shape and its parameters.

Reimplemented from eVision.EShape.

◆ DrawPoint() [1/5]

None eVision.EPointSet.DrawPoint ( self,
eVision.EDrawAdapter | None drawAdapter,
eVision.EFrame frame,
int pointIdx )

Draws a point from the point set.

Parameters
drawAdapterHandle of the device context on which to draw.
frameFrame of reference in which the shape is defined.
pointIdxIndex of the point to draw.

◆ DrawPoint() [2/5]

None eVision.EPointSet.DrawPoint ( self,
eVision.EDrawAdapter | None drawAdapter,
eVision.EFrame frame,
int pointIdx,
float zoomX )

Draws a point from the point set.

Parameters
drawAdapterHandle of the device context on which to draw.
frameFrame of reference in which the shape is defined.
pointIdxIndex of the point to draw.
zoomXHorizontal zooming factor. By default, true scale is used.

◆ DrawPoint() [3/5]

None eVision.EPointSet.DrawPoint ( self,
eVision.EDrawAdapter | None drawAdapter,
eVision.EFrame frame,
int pointIdx,
float zoomX,
float zoomY )

Draws a point from the point set.

Parameters
drawAdapterHandle of the device context on which to draw.
frameFrame of reference in which the shape is defined.
pointIdxIndex of the point 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.

◆ DrawPoint() [4/5]

None eVision.EPointSet.DrawPoint ( self,
eVision.EDrawAdapter | None drawAdapter,
eVision.EFrame frame,
int pointIdx,
float zoomX,
float zoomY,
float panX )

Draws a point from the point set.

Parameters
drawAdapterHandle of the device context on which to draw.
frameFrame of reference in which the shape is defined.
pointIdxIndex of the point 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.

◆ DrawPoint() [5/5]

None eVision.EPointSet.DrawPoint ( self,
eVision.EDrawAdapter | None drawAdapter,
eVision.EFrame frame,
int pointIdx,
float zoomX,
float zoomY,
float panX,
float panY )

Draws a point from the point set.

Parameters
drawAdapterHandle of the device context on which to draw.
frameFrame of reference in which the shape is defined.
pointIdxIndex of the point 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.

◆ GetPeak()

eVision.EPeak eVision.EPointSet.GetPeak ( self,
int idx )

Gets a peak from the point set.

Parameters
idxIndex of the point, between 0 and eVision.EPointSet.NumPoints - 1.

◆ GetPoint()

eVision.EPoint eVision.EPointSet.GetPoint ( self,
int idx )

Gets a point from the point set.

Parameters
idxIndex of the point, between 0 and eVision.EPointSet.NumPoints - 1.

◆ NumPoints()

int eVision.EPointSet.NumPoints ( self)

Number of points in the point set.

◆ Peaks()

list[eVision._eVision.EPeak] eVision.EPointSet.Peaks ( self)

Peaks corresponding to the points.

◆ Points()

list[eVision._eVision.EPoint] eVision.EPointSet.Points ( self)

Points located on the line.