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

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

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

Public Member Functions

 EPointSet ()
 Constructs a EPointSet object.
 EPointSet (eVision.EPoint[] points, eVision.EPeak[] peaks)
 Constructs a EPointSet object.
 EPointSet (eVision.EPointSet other)
 Copy constructor.
void CopyTo (eVision.EPointSet other)
 Copy the object to the other one.
eVision.EPoint GetPoint (int idx)
 Gets a point from the point set.
eVision.EPeak GetPeak (int idx)
 Gets a peak from the point set.
void DrawPoint (eVision.EDrawAdapter drawAdapter, eVision.EFrame frame, int pointIdx, float zoomX, float zoomY, float panX, float panY)
 Draws a point from the point set.
void DrawPoint (eVision.EDrawAdapter drawAdapter, eVision.EFrame frame, int pointIdx, float zoomX, float zoomY, float panX)
 Draws a point from the point set.
void DrawPoint (eVision.EDrawAdapter drawAdapter, eVision.EFrame frame, int pointIdx, float zoomX, float zoomY)
 Draws a point from the point set.
void DrawPoint (eVision.EDrawAdapter drawAdapter, eVision.EFrame frame, int pointIdx, float zoomX)
 Draws a point from the point set.
void DrawPoint (eVision.EDrawAdapter drawAdapter, eVision.EFrame frame, int pointIdx)
 Draws a point from the point set.
Public Member Functions inherited from eVision.EShape
void Load (string path)
 Load the EShape configuration. The given ESerializer must have been created for reading.
void Load (eVision.ESerializer serializer)
 Load the EShape configuration. The given ESerializer must have been created for reading.
void Save (string path)
 Save the EShape configuration. The given ESerializer must have been created for writing.
void Save (eVision.ESerializer serializer)
 Save the EShape configuration. The given ESerializer must have been created for writing.
void Draw (eVision.EDrawAdapter drawAdapter, float zoomX, float zoomY, float panX, float panY, bool drawDiagonals)
 Draws the EShape shape.
void Draw (eVision.EDrawAdapter drawAdapter, float zoomX, float zoomY, float panX, float panY)
 Draws the EShape shape.
void Draw (eVision.EDrawAdapter drawAdapter, float zoomX, float zoomY, float panX)
 Draws the EShape shape.
void Draw (eVision.EDrawAdapter drawAdapter, float zoomX, float zoomY)
 Draws the EShape shape.
void Draw (eVision.EDrawAdapter drawAdapter, float zoomX)
 Draws the EShape shape.
void Draw (eVision.EDrawAdapter drawAdapter)
 Draws the EShape shape.
void Draw (eVision.EDrawAdapter drawAdapter, eVision.EFrame frame, float zoomX, float zoomY, float panX, float panY, bool drawDiagonals)
 Draws the EShape shape.
void Draw (eVision.EDrawAdapter drawAdapter, eVision.EFrame frame, float zoomX, float zoomY, float panX, float panY)
 Draws the EShape shape.
void Draw (eVision.EDrawAdapter drawAdapter, eVision.EFrame frame, float zoomX, float zoomY, float panX)
 Draws the EShape shape.
void Draw (eVision.EDrawAdapter drawAdapter, eVision.EFrame frame, float zoomX, float zoomY)
 Draws the EShape shape.
void Draw (eVision.EDrawAdapter drawAdapter, eVision.EFrame frame, float zoomX)
 Draws the EShape shape.
void Draw (eVision.EDrawAdapter drawAdapter, eVision.EFrame frame)
 Draws the EShape shape.
eVision.EEditionMode HitTest (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 (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 (int x, int y, float zoomX, float zoomY)
 Detects if the cursor is placed over one of the dragging handles.
eVision.EEditionMode HitTest (int x, int y, float zoomX)
 Detects if the cursor is placed over one of the dragging handles.
eVision.EEditionMode HitTest (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 (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 (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 (int x, int y, eVision.EFrame frame, float zoomX)
 Detects if the cursor is placed over one of the dragging handles.
void Drag (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.
void Drag (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.
void Drag (int x, int y, float zoomX, float zoomY)
 Moves the specified handle to a new position and updates all placement parameters of the region.
void Drag (int x, int y, float zoomX)
 Moves the specified handle to a new position and updates all placement parameters of the region.
void Drag (int x, int y)
 Moves the specified handle to a new position and updates all placement parameters of the region.
void Drag (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.
void Drag (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.
void Drag (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.
void Drag (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.
void Drag (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 (bool useAngle, eVision.EFrameScaling frameScaling)
 Converts the shape to a frame.
eVision.EFrame ToFrame (bool useAngle, eVision.EFrameScaling frameScaling, eVision.EFrame shapeFrame)
 Converts the shape to a frame.

Properties

eVision.EPoint[] Points [get]
 Points located on the line.
eVision.EPeak[] Peaks [get]
 Peaks corresponding to the points.
int NumPoints [get]
 Number of points in the point set.
override string Description [get]
 Textual description of the shape and its parameters.
override eVision.EEditionMode AvailableEditionModes [get]
 Available edition modes for the shape.
Properties inherited from eVision.EShape
eVision.EEditionMode EditionMode [get, set]
 Current edition mode for the shape. Default: EEditionMode_None.
eVision.EEditionMode AvailableEditionModes [get]
 Available edition modes for the shape.
string Description [get]
 Textual description of the shape and its parameters.

Detailed Description

Set of points found by a EPointGauge.

License(s): BasicTypes

Constructor & Destructor Documentation

◆ EPointSet() [1/3]

eVision.EPointSet.EPointSet ( )

Constructs a EPointSet object.

◆ EPointSet() [2/3]

eVision.EPointSet.EPointSet ( eVision.EPoint[] points,
eVision.EPeak[] peaks )

Constructs a EPointSet object.

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

◆ EPointSet() [3/3]

eVision.EPointSet.EPointSet ( eVision.EPointSet other)

Copy constructor.

Parameters
otherOther EPointSet oject.

Member Function Documentation

◆ CopyTo()

void eVision.EPointSet.CopyTo ( eVision.EPointSet other)

Copy the object to the other one.

Parameters
otherOther EPointSet oject in which to copy the object.

◆ DrawPoint() [1/5]

void eVision.EPointSet.DrawPoint ( eVision.EDrawAdapter 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]

void eVision.EPointSet.DrawPoint ( eVision.EDrawAdapter 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]

void eVision.EPointSet.DrawPoint ( eVision.EDrawAdapter 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]

void eVision.EPointSet.DrawPoint ( eVision.EDrawAdapter 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]

void eVision.EPointSet.DrawPoint ( eVision.EDrawAdapter 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 ( int idx)

Gets a peak from the point set.

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

◆ GetPoint()

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

Gets a point from the point set.

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

Property Documentation

◆ AvailableEditionModes

override eVision.EEditionMode eVision.EPointSet.AvailableEditionModes
get

Available edition modes for the shape.

◆ Description

override string eVision.EPointSet.Description
get

Textual description of the shape and its parameters.

◆ NumPoints

int eVision.EPointSet.NumPoints
get

Number of points in the point set.

◆ Peaks

eVision.EPeak [] eVision.EPointSet.Peaks
get

Peaks corresponding to the points.

◆ Points

eVision.EPoint [] eVision.EPointSet.Points
get

Points located on the line.