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.
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.
list[eVision._eVision.EFrame] CreateFramesOnShape (self, int numFrames, float startOffset, float stopOffset, eVision.EFramesOrientation orientation)
 Distributes eVision.EFrames evenly along this shape's path or perimeter.
list[eVision._eVision.EFrame] CreateFramesOnShape (self, int numFrames, float startOffset, float stopOffset)
 Distributes eVision.EFrames evenly along this shape's path or perimeter.
list[eVision._eVision.EFrame] CreateFramesOnShape (self, int numFrames, float startOffset)
 Distributes eVision.EFrames evenly along this shape's path or perimeter.
list[eVision._eVision.EFrame] CreateFramesOnShape (self, int numFrames)
 Distributes eVision.EFrames evenly along this shape's path or perimeter.

Properties

 Points = property(_Points__getter, None)
 Points located on the line.
 Peaks = property(_Peaks__getter, None)
 Peaks corresponding to the points.
 NumPoints = property(_NumPoints__getter, None)
 Number of points in the point set.
 Description = property(_Description__getter, None)
 Textual description of the shape and its parameters.
 AvailableEditionModes = property(_AvailableEditionModes__getter, None)
 Available edition modes for the shape.
Properties inherited from eVision.EShape
 EditionMode = property(_EditionMode__getter, _EditionMode__setter)
 Current edition mode for the shape.
 AvailableEditionModes = property(_AvailableEditionModes__getter, None)
 Available edition modes for the shape.
 Description = property(_Description__getter, None)
 Textual description of the shape and its parameters.

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

◆ 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.

◆ 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.

Property Documentation

◆ AvailableEditionModes

eVision.EPointSet.AvailableEditionModes = property(_AvailableEditionModes__getter, None)
static

Available edition modes for the shape.

◆ Description

eVision.EPointSet.Description = property(_Description__getter, None)
static

Textual description of the shape and its parameters.

◆ NumPoints

eVision.EPointSet.NumPoints = property(_NumPoints__getter, None)
static

Number of points in the point set.

◆ Peaks

eVision.EPointSet.Peaks = property(_Peaks__getter, None)
static

Peaks corresponding to the points.

◆ Points

eVision.EPointSet.Points = property(_Points__getter, None)
static

Points located on the line.