eVision .NET API
Loading...
Searching...
No Matches
eVision.Legacy.EPointGauge Class Reference

Manages a point location gauge. More...

Inheritance diagram for eVision.Legacy.EPointGauge:
Collaboration diagram for eVision.Legacy.EPointGauge:

Public Member Functions

 EPointGauge ()
 Constructs a point measurement context.
 EPointGauge (float centerX, float centerY)
 Constructs a point measurement context.
 EPointGauge (eVision.Legacy.EPointGauge other)
 Constructs a point measurement context.
void SetTolerances (float tolerance, float angle)
 Sets the half length and the rotation angle of the point location gauge.
void SetTolerances (float tolerance)
 Sets the half length and the rotation angle of the point location gauge.
eVision.EPeak GetMeasuredPeak (uint index)
 Returns information pertaining to the derivative peak associated with the specified edge-crossing point, such as its area, amplitude, start, length and center.
eVision.EPeak GetMeasuredPeak ()
 Returns information pertaining to the derivative peak associated with the specified edge-crossing point, such as its area, amplitude, start, length and center.
void Plot (eVision.EDrawAdapter graphicContext, eVision.EPlotItem drawItems, float width, float height, float originX, float originY)
 Draws the profile that is crossed by a point location gauge, as defined by EPlotItem.
void Plot (eVision.EDrawAdapter graphicContext, eVision.EPlotItem drawItems, float width, float height, float originX)
 Draws the profile that is crossed by a point location gauge, as defined by EPlotItem.
void Plot (eVision.EDrawAdapter graphicContext, eVision.EPlotItem drawItems, float width, float height)
 Draws the profile that is crossed by a point location gauge, as defined by EPlotItem.
void Plot (IntPtr graphicContext, eVision.EPlotItem drawItems, float width, float height, float originX, float originY)
 Draws the profile that is crossed by a point location gauge, as defined by EPlotItem.
void Plot (IntPtr graphicContext, eVision.EPlotItem drawItems, float width, float height, float originX)
 Draws the profile that is crossed by a point location gauge, as defined by EPlotItem.
void Plot (IntPtr graphicContext, eVision.EPlotItem drawItems, float width, float height)
 Draws the profile that is crossed by a point location gauge, as defined by EPlotItem.
void Plot (IntPtr graphicContext, eVision.ERGBColor color, eVision.EPlotItem drawItems, float width, float height, float originX, float originY)
 Draws the profile that is crossed by a point location gauge, as defined by EPlotItem.
void Plot (IntPtr graphicContext, eVision.ERGBColor color, eVision.EPlotItem drawItems, float width, float height, float originX)
 Draws the profile that is crossed by a point location gauge, as defined by EPlotItem.
void Plot (IntPtr graphicContext, eVision.ERGBColor color, eVision.EPlotItem drawItems, float width, float height)
 Draws the profile that is crossed by a point location gauge, as defined by EPlotItem.
void PlotWithCurrentPen (IntPtr graphicContext, eVision.EPlotItem drawItems, float width, float height, float originX, float originY)
 Draws the profile that is crossed by a point location gauge, as defined by EPlotItem.
void PlotWithCurrentPen (IntPtr graphicContext, eVision.EPlotItem drawItems, float width, float height, float originX)
 Draws the profile that is crossed by a point location gauge, as defined by EPlotItem.
void PlotWithCurrentPen (IntPtr graphicContext, eVision.EPlotItem drawItems, float width, float height)
 Draws the profile that is crossed by a point location gauge, as defined by EPlotItem.
void CopyTo (eVision.Legacy.EPointGauge other, bool recursive)
 Copies all the data of the current EPointGauge object into another EPointGauge object, and returns it.
void CopyTo (eVision.Legacy.EPointGauge other)
 Copies all the data of the current EPointGauge object into another EPointGauge object, and returns it.
override void SetCenterXY (float centerX, float centerY)
 Sets the center coordinates of a EPointGauge object.
void Measure (eVision.EROIBW8 sourceImage)
 Triggers the point location or the model fitting operation.
void Measure (eVision.EROIBW8 sourceImage, eVision.ERegion region)
 Triggers the point location or the model fitting operation.
override void Process (eVision.EROIBW8 sourceImage, bool daughters)
 Triggers the process pertaining to a shape or gauge and all the daughter gauges attach to it.
override void Process (eVision.EROIBW8 sourceImage)
 Triggers the process pertaining to a shape or gauge and all the daughter gauges attach to it.
override void Process (eVision.EROIBW8 sourceImage, eVision.ERegion region, bool daughters)
 Triggers the process pertaining to a shape or gauge and all the daughter gauges attach to it.
override void Process (eVision.EROIBW8 sourceImage, eVision.ERegion region)
 Triggers the process pertaining to a shape or gauge and all the daughter gauges attach to it.
eVision.EPoint GetMeasuredPoint (uint index)
 Returns the coordinates of an edge-crossing point, measured along the unique sample path of the point location gauge.
eVision.EPoint GetMeasuredPoint ()
 Returns the coordinates of an edge-crossing point, measured along the unique sample path of the point location gauge.
override void Draw (eVision.EDrawAdapter drawAdapter, eVision.EDrawingMode drawingMode, bool daughters)
 Draws a graphical representation of a point location or model fitting gauge, as defined by EDrawingMode.
override void Draw (eVision.EDrawAdapter drawAdapter, eVision.EDrawingMode drawingMode)
 Draws a graphical representation of a point location or model fitting gauge, as defined by EDrawingMode.
override void Draw (eVision.EDrawAdapter drawAdapter)
 Draws a graphical representation of a point location or model fitting gauge, as defined by EDrawingMode.
override void Draw (IntPtr graphicContext, eVision.EDrawingMode drawingMode, bool daughters)
 Draws a graphical representation of a point location or model fitting gauge, as defined by EDrawingMode.
override void Draw (IntPtr graphicContext, eVision.EDrawingMode drawingMode)
 Draws a graphical representation of a point location or model fitting gauge, as defined by EDrawingMode.
override void Draw (IntPtr graphicContext)
 Draws a graphical representation of a point location or model fitting gauge, as defined by EDrawingMode.
override void Draw (IntPtr graphicContext, eVision.ERGBColor color, eVision.EDrawingMode drawingMode, bool daughters)
 Draws a graphical representation of a point location or model fitting gauge, as defined by EDrawingMode.
override void Draw (IntPtr graphicContext, eVision.ERGBColor color, eVision.EDrawingMode drawingMode)
 Draws a graphical representation of a point location or model fitting gauge, as defined by EDrawingMode.
override void Draw (IntPtr graphicContext, eVision.ERGBColor color)
 Draws a graphical representation of a point location or model fitting gauge, as defined by EDrawingMode.
override void DrawWithCurrentPen (IntPtr graphicContext, eVision.EDrawingMode drawingMode, bool daughters)
 Draws a graphical representation of a point location or model fitting gauge, as defined by EDrawingMode.
override void DrawWithCurrentPen (IntPtr graphicContext, eVision.EDrawingMode drawingMode)
 Draws a graphical representation of a point location or model fitting gauge, as defined by EDrawingMode.
override void DrawWithCurrentPen (IntPtr graphicContext)
 Draws a graphical representation of a point location or model fitting gauge, as defined by EDrawingMode.
override bool HitTest (bool daughters)
 Checks whether the cursor is positioned over a handle (true) or not (false).
override bool HitTest ()
 Checks whether the cursor is positioned over a handle (true) or not (false).
override void Drag (int x, int y)
 Moves a handle to a new position and updates the position parameters of the gauge.
void Plot (System.Drawing.Graphics graphicContext, eVision.EPlotItem drawItems, float width, float height, float originX, float originY)
 Draws the profile that is crossed by a point location gauge, as defined by EPlotItem.
void Plot (System.Drawing.Graphics graphicContext, eVision.EPlotItem drawItems, float width, float height, float originX)
 Draws the profile that is crossed by a point location gauge, as defined by EPlotItem.
void Plot (System.Drawing.Graphics graphicContext, eVision.EPlotItem drawItems, float width, float height)
 Draws the profile that is crossed by a point location gauge, as defined by EPlotItem.
void Plot (System.Drawing.Graphics graphicContext, eVision.ERGBColor color, eVision.EPlotItem drawItems, float width, float height, float originX, float originY)
 Draws the profile that is crossed by a point location gauge, as defined by EPlotItem.
void Plot (System.Drawing.Graphics graphicContext, eVision.ERGBColor color, eVision.EPlotItem drawItems, float width, float height, float originX)
 Draws the profile that is crossed by a point location gauge, as defined by EPlotItem.
void Plot (System.Drawing.Graphics graphicContext, eVision.ERGBColor color, eVision.EPlotItem drawItems, float width, float height)
 Draws the profile that is crossed by a point location gauge, as defined by EPlotItem.
override void Draw (System.Drawing.Graphics graphicContext, eVision.EDrawingMode drawingMode, bool daughters)
 Draws a graphical representation of a point location or model fitting gauge, as defined by EDrawingMode.
override void Draw (System.Drawing.Graphics graphicContext, eVision.EDrawingMode drawingMode)
 Draws a graphical representation of a point location or model fitting gauge, as defined by EDrawingMode.
override void Draw (System.Drawing.Graphics graphicContext)
 Draws a graphical representation of a point location or model fitting gauge, as defined by EDrawingMode.
override void Draw (System.Drawing.Graphics graphicContext, eVision.ERGBColor color, eVision.EDrawingMode drawingMode, bool daughters)
 Draws a graphical representation of a point location or model fitting gauge, as defined by EDrawingMode.
override void Draw (System.Drawing.Graphics graphicContext, eVision.ERGBColor color, eVision.EDrawingMode drawingMode)
 Draws a graphical representation of a point location or model fitting gauge, as defined by EDrawingMode.
override void Draw (System.Drawing.Graphics graphicContext, eVision.ERGBColor color)
 Draws a graphical representation of a point location or model fitting gauge, as defined by EDrawingMode.
Public Member Functions inherited from eVision.Legacy.EPointShape
void CopyTo (eVision.Legacy.EPointShape other, bool recursive)
 Copies all the data of the current EPointShape object into another EPointShape object, and returns it.
void CopyTo (eVision.Legacy.EPointShape other)
 Copies all the data of the current EPointShape object into another EPointShape object, and returns it.
override void Draw (eVision.EDrawAdapter graphicContext, eVision.EDrawingMode drawingMode, bool daughters)
 Draws a graphical representation of a shape, as defined by EDrawingMode.
override void Draw (eVision.EDrawAdapter graphicContext, eVision.EDrawingMode drawingMode)
 Draws a graphical representation of a shape, as defined by EDrawingMode.
override void Draw (eVision.EDrawAdapter graphicContext)
 Draws a graphical representation of a shape, as defined by EDrawingMode.
override void Draw (IntPtr graphicContext, eVision.EDrawingMode drawingMode, bool daughters)
 Draws a graphical representation of a shape, as defined by EDrawingMode.
override void Draw (IntPtr graphicContext, eVision.EDrawingMode drawingMode)
 Draws a graphical representation of a shape, as defined by EDrawingMode.
override void Draw (IntPtr graphicContext)
 Draws a graphical representation of a shape, as defined by EDrawingMode.
override void Draw (IntPtr graphicContext, eVision.ERGBColor color, eVision.EDrawingMode drawingMode, bool daughters)
 Draws a graphical representation of a shape, as defined by EDrawingMode.
override void Draw (IntPtr graphicContext, eVision.ERGBColor color, eVision.EDrawingMode drawingMode)
 Draws a graphical representation of a shape, as defined by EDrawingMode.
override void Draw (IntPtr graphicContext, eVision.ERGBColor color)
 Draws a graphical representation of a shape, as defined by EDrawingMode.
override void DrawWithCurrentPen (IntPtr graphicContext, eVision.EDrawingMode drawingMode, bool daughters)
 Draws a graphical representation of a shape, as defined by EDrawingMode.
override void DrawWithCurrentPen (IntPtr graphicContext, eVision.EDrawingMode drawingMode)
 Draws a graphical representation of a shape, as defined by EDrawingMode.
override void DrawWithCurrentPen (IntPtr graphicContext)
 Draws a graphical representation of a shape, as defined by EDrawingMode.
override void Closest ()
 Find the daughter shape that is the closest to this shape. To retrieve the closest shape, use EShape.ClosestShape.
override bool HitTest (bool bDaughters)
 Checks if there is a handle under the cursor.
override bool HitTest ()
 Checks if there is a handle under the cursor.
override void Drag (int x, int y)
 Moves a handle to a new position and updates the position parameters of the gauge.
override void Draw (System.Drawing.Graphics graphicContext, eVision.EDrawingMode drawingMode, bool daughters)
 Draws a graphical representation of a shape, as defined by EDrawingMode.
override void Draw (System.Drawing.Graphics graphicContext, eVision.EDrawingMode drawingMode)
 Draws a graphical representation of a shape, as defined by EDrawingMode.
override void Draw (System.Drawing.Graphics graphicContext)
 Draws a graphical representation of a shape, as defined by EDrawingMode.
override void Draw (System.Drawing.Graphics graphicContext, eVision.ERGBColor color, eVision.EDrawingMode drawingMode, bool daughters)
 Draws a graphical representation of a shape, as defined by EDrawingMode.
override void Draw (System.Drawing.Graphics graphicContext, eVision.ERGBColor color, eVision.EDrawingMode drawingMode)
 Draws a graphical representation of a shape, as defined by EDrawingMode.
override void Draw (System.Drawing.Graphics graphicContext, eVision.ERGBColor color)
 Draws a graphical representation of a shape, as defined by EDrawingMode.
Public Member Functions inherited from eVision.Legacy.EShape
eVision.Legacy.EShape GetShapeNamed (string name)
 Returns a pointer to a daughter gauge or shape specified by its name.
bool GetFound ()
 Flag indicating whether a measured shape has been found.
bool GetAutoArrange ()
void SetAutoArrange (bool bAutoArrange, bool bDaughters)
void SetAutoArrange (bool bAutoArrange)
virtual void SetFound (bool bFound, bool bDaughters)
virtual void SetFound (bool bFound)
bool GetInspected ()
void SetInspected (bool bFound, bool bDaughters)
void SetInspected (bool bFound)
bool GetPassed ()
void SetPassed (bool bFound, bool bDaughters)
void SetPassed (bool bFound)
bool GetQuickDraw ()
void SetQuickDraw (bool bFound, bool bDaughters)
void SetQuickDraw (bool bFound)
bool GetOptionalDraw ()
void SetOptionalDraw (bool bFound, bool bDaughters)
void SetOptionalDraw (bool bFound)
bool GetUserFlag ()
void SetUserFlag (bool bUserFlag, bool bDaughters)
void SetUserFlag (bool bUserFlag)
bool GetAllocated ()
 Gets the allocated flag.
void EnableBehaviorFilter (eVision.EShapeBehavior behavior, bool value)
 Modifies the so-called behavior filter that is a conjunction of conditions specifying when a shape or a gauge should be displayed or taken into consideration when monitoring the mouse interactions.
void EnableBehaviorFilter (eVision.EShapeBehavior behavior)
 Modifies the so-called behavior filter that is a conjunction of conditions specifying when a shape or a gauge should be displayed or taken into consideration when monitoring the mouse interactions.
void DisableBehaviorFilter (eVision.EShapeBehavior behavior)
 Disables (i.e. removes) a condition from the list of conditions in the behavior filter.
void Attach (eVision.Legacy.EShape mother)
 Attaches the gauge to a mother gauge or shape.
void Detach ()
 Detaches the gauge from its mother gauge or shape.
void DetachDaughters ()
 Detaches the daughter gauges or shapes.
virtual eVision.Legacy.EShape GetDaughter (uint index)
 Returns a pointer to the specified daughter gauge or shape.
bool IsWorld ()
void InvalidateWorld ()
 Invalidates the world shape for this shape and all its ancestors.
eVision.EPoint LocalToSensor (eVision.EPoint LPoint)
 Transforms a point from local coordinates to sensor coordinates.
eVision.EPoint SensorToLocal (eVision.EPoint SPoint)
 Transforms a point from sensor coordinates to local coordinates.
void Draw (eVision.EDrawAdapter graphicContext, eVision.EDrawingMode drawingMode, bool daughters)
 Draws a graphical representation of a shape, as defined by EDrawingMode.
void Draw (eVision.EDrawAdapter graphicContext, eVision.EDrawingMode drawingMode)
 Draws a graphical representation of a shape, as defined by EDrawingMode.
void Draw (eVision.EDrawAdapter graphicContext)
 Draws a graphical representation of a shape, as defined by EDrawingMode.
void Draw (IntPtr graphicContext, eVision.EDrawingMode drawingMode, bool daughters)
 Draws a graphical representation of a shape, as defined by EDrawingMode.
void Draw (IntPtr graphicContext, eVision.EDrawingMode drawingMode)
 Draws a graphical representation of a shape, as defined by EDrawingMode.
void Draw (IntPtr graphicContext)
 Draws a graphical representation of a shape, as defined by EDrawingMode.
void Draw (IntPtr graphicContext, eVision.ERGBColor color, eVision.EDrawingMode drawingMode, bool daughters)
 Draws a graphical representation of a shape, as defined by EDrawingMode.
void Draw (IntPtr graphicContext, eVision.ERGBColor color, eVision.EDrawingMode drawingMode)
 Draws a graphical representation of a shape, as defined by EDrawingMode.
void Draw (IntPtr graphicContext, eVision.ERGBColor color)
 Draws a graphical representation of a shape, as defined by EDrawingMode.
void DrawWithCurrentPen (IntPtr graphicContext, eVision.EDrawingMode drawingMode, bool daughters)
 Draws a graphical representation of a shape, as defined by EDrawingMode.
void DrawWithCurrentPen (IntPtr graphicContext, eVision.EDrawingMode drawingMode)
 Draws a graphical representation of a shape, as defined by EDrawingMode.
void DrawWithCurrentPen (IntPtr graphicContext)
 Draws a graphical representation of a shape, as defined by EDrawingMode.
virtual void SetZoom (float zoomX, float zoomY)
 Sets the horizontal and vertical zooming factors for drawing operations.
virtual void SetZoom (float zoomX)
 Sets the horizontal and vertical zooming factors for drawing operations.
virtual void SetZoom ()
 Sets the horizontal and vertical zooming factors for drawing operations.
virtual void SetPan (float panX, float panY)
 Sets the horizontal and vertical panning values for drawing operations, expressed in pixels.
virtual void SetPan (float panX)
 Sets the horizontal and vertical panning values for drawing operations, expressed in pixels.
virtual void SetPan ()
 Sets the horizontal and vertical panning values for drawing operations, expressed in pixels.
bool HitTest (bool bDaughters)
 Checks if there is a handle under the cursor.
bool HitTest ()
 Checks if there is a handle under the cursor.
void SetDraggingMode (eVision.EDraggingMode eDraggingMode, bool bDaughters)
 Sets the dragging mode which defines how the shape could be dragged.
void SetDraggingMode (eVision.EDraggingMode eDraggingMode)
 Sets the dragging mode which defines how the shape could be dragged.
eVision.EDraggingMode GetDraggingMode ()
 Gets the dragging mode which defines how the shape could be dragged.
void SetCursor (int x, int y)
 Sets the cursor current coordinates.
void Drag (int n32CursorX, int n32CursorY)
 Moves a handle to a new position and updates the position parameters of the shape.
void Closest ()
 Find the daughter shape that is the closest to this shape. To retrieve the closest shape, use EShape.ClosestShape.
void Save (string path, bool daughters)
 Loads a Shape.The given ESerializer must have been created for writing.
void Save (string path)
 Loads a Shape.The given ESerializer must have been created for writing.
void Save (eVision.ESerializer serializer, bool daughters)
 Loads a Shape.The given ESerializer must have been created for writing.
void Save (eVision.ESerializer serializer)
 Loads a Shape.The given ESerializer must have been created for writing.
void Load (string path, bool daughters)
 Loads a Shape.The given ESerializer must have been created for reading.
void Load (string path)
 Loads a Shape.The given ESerializer must have been created for reading.
void Load (eVision.ESerializer serializer, bool daughters)
 Loads a Shape.The given ESerializer must have been created for reading.
void Load (eVision.ESerializer serializer)
 Loads a Shape.The given ESerializer must have been created for reading.
bool HasProperty (string aProperty)
 Returns whether a EShape has a property named aProperty.
string GetProperty (string aProperty)
 Gets the value of property aProperty. Throws an exception if no such property exists.
void SetProperty (string aProperty, string aValue)
 Sets the value of property aProperty to aValue for this EShape.
void SetPropertyRecursive (string aProperty, string aValue)
 Sets the value of property aProperty to aValue for this EShape and all of its daughters.
void RemoveProperty (string aProperty)
 Removes the property name aProperty from the EShape.
bool HasValidPolarityProperty ()
 Returns whether the EShape has a valid polarity property.
virtual void EnableTypeFilter (uint un32Types)
 Enables the filter of the specified shape type.
virtual void DisableTypeFilter ()
 Enables all shape types.
void Draw (System.Drawing.Graphics graphicContext, eVision.EDrawingMode drawingMode, bool daughters)
 Draws a graphical representation of a shape, as defined by EDrawingMode.
void Draw (System.Drawing.Graphics graphicContext, eVision.EDrawingMode drawingMode)
 Draws a graphical representation of a shape, as defined by EDrawingMode.
void Draw (System.Drawing.Graphics graphicContext)
 Draws a graphical representation of a shape, as defined by EDrawingMode.
void Draw (System.Drawing.Graphics graphicContext, eVision.ERGBColor color, eVision.EDrawingMode drawingMode, bool daughters)
 Draws a graphical representation of a shape, as defined by EDrawingMode.
void Draw (System.Drawing.Graphics graphicContext, eVision.ERGBColor color, eVision.EDrawingMode drawingMode)
 Draws a graphical representation of a shape, as defined by EDrawingMode.
void Draw (System.Drawing.Graphics graphicContext, eVision.ERGBColor color)
 Draws a graphical representation of a shape, as defined by EDrawingMode.

Properties

float Tolerance [get, set]
 Half length of the point location gauge.
float ToleranceAngle [get, set]
 Rotation angle of the point location gauge.
bool HVConstraint [get, set]
 Status of the restriction on the orientation of the point location gauge or model fitting sample paths.
uint Thickness [get, set]
 Number of parallel segments used to extract the data profile.
uint Smoothing [get, set]
 Number of pixels used for the low-pass filtering operation.
eVision.ETransitionType TransitionType [get, set]
 Transition type.
eVision.ETransitionChoice TransitionChoice [get, set]
 Transition choice.
uint TransitionIndex [get, set]
 Index (from 0 on) of the transition to be retained when the transition choice parameter is set to ETransitionChoice.ETransitionChoice_NthFromBegin or ETransitionChoice.ETransitionChoice_NthFromEnd.
uint Threshold [get, set]
 Threshold level used to delimit significant peaks in the data profile.
uint MinAmplitude [get, set]
 Offset added to the Threshold when a peak is to be detected.
uint MinArea [get, set]
 Minimum area value.
uint NumMeasuredPoints [get]
 Number of edge-crossing points along the point location gauge.
eVision.EPeak[] MeasuredPeaks [get]
 Returns information pertaining to the derivative peak associated with all of the edge-crossing point, such as its area, amplitude, start, length and center.
bool Valid [get]
 Flag indicating if at least one valid transition has been found.
eVision.EPoint Shape [get]
override eVision.EPoint Center [set]
 Center coordinates of a EPointGauge object.
new bool Active [get, set]
 Sets the flag indicating whether the gauge is active or not.
bool RectangularSamplingArea [get, set]
 Flag indicating whether the sampling area remains a rectangle when rotated, instead of becoming a parallelogram.
eVision.EPoint[] MeasuredPoints [get]
 Returns the coordinates of all edge-crossing points, measured along the unique sample path of the point location gauge.
override eVision.EShapeType Type [get]
 Shape type.
Properties inherited from eVision.Legacy.EPointShape
virtual eVision.EPoint Center [get, set]
 Center coordinates of a EPointShape object.
float CenterX [get]
 Abscissa of the origin point of the frame.
float CenterY [get]
 Ordinate of the origin point of the frame.
float Scale [get, set]
float Angle [get, set]
override eVision.EShapeType Type [get]
 Shape type.
Properties inherited from eVision.Legacy.EShape
eVision.EShapeType Type [get]
 Shape type.
string Name [get, set]
 Name of the EShape object.
bool Visible [get, set]
 Flag indicating whether the shape is visible or not.
bool VisibleRecursive [set]
 Sets the flag indicating whether the shape and its daughter shapes are visible or not.
bool Selected [get, set]
 Flag indicating whether the shape is selected or not.
bool SelectedRecursive [set]
 Sets the flag indicating whether the shape and all its daughters are selected or not.
bool Selectable [get, set]
 Flag indicating whether the shape can be selected or not.
bool SelectableRecursive [set]
 Sets the flag indicating whether the shape and all its daughters can be selected or not.
bool Dragable [get, set]
 Flag indicating whether the shape can be dragged or not.
bool DragableRecursive [set]
 Sets the flag indicating whether the shape and all its daughters can be dragged or not.
bool Resizable [get, set]
 Flag indicating whether the shape can be resized or not.
bool ResizableRecursive [set]
 Sets the flag indicating whether the shape and all its daughters can be resized or not.
bool Rotatable [get, set]
 Flag indicating whether the shape can be rotated or not.
bool RotatableRecursive [set]
 Sets the flag indicating whether the shape and all its daughters can be rotated or not.
bool Labeled [get, set]
 Flag indicating whether the shape label should be displayed or not.
bool LabeledRecursive [set]
 Sets the flag indicating whether the shape label should be displayed or not. The flag is set in this shape and all its daughters.
virtual bool Active [get, set]
 Flag indicating whether the shape is active or not.
virtual bool ActiveRecursive [set]
 Sets the flag indicating whether the shape and all its daughters are active or not.
bool ActualShape [get, set]
 Flag indicating whether an inquiry returns a result pertaining to the nominal gauge (false, default) or the fitted model (true).
bool ActualShapeRecursive [set]
 Sets the flag indicating whether an inquiry returns a result pertaining to the nominal gauge (false, default) or the fitted model (true). The flag is set in this shape and all its daughters.
uint NumDaughters [get]
 Number of daughters attached to the shape.
eVision.Legacy.EShape Mother [get]
 Pointer to the mother shape.
eVision.Legacy.EWorldShape WorldShape [get]
 World ancestor.
virtual float ZoomX [get]
 Current horizontal zooming factor for drawing operations.
virtual float ZoomY [get]
 Current vertical zooming factor for drawing operations.
virtual float PanX [get]
 Current horizontal panning value for drawing operations, expressed in pixels. By default, no panning occurs.
virtual float PanY [get]
 Current vertical panning value for drawing operations, expressed in pixels. By default, no panning occurs.
eVision.EDragHandle HitHandle [get]
 Handle currently under the cursor.
eVision.Legacy.EShape HitShape [get]
 Pointer to the shape currently under the cursor.
eVision.Legacy.EShape ClosestShape [get]
 Closest shape among the daughters.

Detailed Description

Manages a point location gauge.

License(s): EasyGauge

Constructor & Destructor Documentation

◆ EPointGauge() [1/3]

eVision.Legacy.EPointGauge.EPointGauge ( )

Constructs a point measurement context.

With the default constructor, all the parameters are initialized to their respective default values. With the copy constructor, the constructed point measurement context is based on a pre-existing EPointGauge.EPointGauge object. The gauge children are also copied. Hierarchy copying through a copy constructor is always recursive. To disable this recursion, use instead the EPointGauge.CopyTo method.

◆ EPointGauge() [2/3]

eVision.Legacy.EPointGauge.EPointGauge ( float centerX,
float centerY )

Constructs a point measurement context.

Parameters
centerXPoint X coordinate.
centerYPoint Y coordinate.

With the default constructor, all the parameters are initialized to their respective default values. With the copy constructor, the constructed point measurement context is based on a pre-existing EPointGauge.EPointGauge object. The gauge children are also copied. Hierarchy copying through a copy constructor is always recursive. To disable this recursion, use instead the EPointGauge.CopyTo method.

◆ EPointGauge() [3/3]

eVision.Legacy.EPointGauge.EPointGauge ( eVision.Legacy.EPointGauge other)

Constructs a point measurement context.

Parameters
otherAnother EPointGauge object to be copied in the new EPointGauge object.

With the default constructor, all the parameters are initialized to their respective default values. With the copy constructor, the constructed point measurement context is based on a pre-existing EPointGauge.EPointGauge object. The gauge children are also copied. Hierarchy copying through a copy constructor is always recursive. To disable this recursion, use instead the EPointGauge.CopyTo method.

Member Function Documentation

◆ CopyTo() [1/2]

void eVision.Legacy.EPointGauge.CopyTo ( eVision.Legacy.EPointGauge other)

Copies all the data of the current EPointGauge object into another EPointGauge object, and returns it.

Parameters
otherPointer to the EPointGauge object in which the current EPointGauge object data have to be copied.

In the overload taking a pointer, in case of a NULL pointer, a new EPointGauge object will be created and returned.

◆ CopyTo() [2/2]

void eVision.Legacy.EPointGauge.CopyTo ( eVision.Legacy.EPointGauge other,
bool recursive )

Copies all the data of the current EPointGauge object into another EPointGauge object, and returns it.

Parameters
otherPointer to the EPointGauge object in which the current EPointGauge object data have to be copied.
recursivetrue if the children gauges have to be copied as well, false otherwise.

In the overload taking a pointer, in case of a NULL pointer, a new EPointGauge object will be created and returned.

◆ Drag()

override void eVision.Legacy.EPointGauge.Drag ( int x,
int y )

Moves a handle to a new position and updates the position parameters of the gauge.

Parameters
xCursor current X coordinate.
yCursor current Y coordinate.

◆ Draw() [1/15]

override void eVision.Legacy.EPointGauge.Draw ( eVision.EDrawAdapter drawAdapter)

Draws a graphical representation of a point location or model fitting gauge, as defined by EDrawingMode.

Parameters
drawAdapterA pointer to an EDrawAdapter (like the EWindowsDrawAdapter).

◆ Draw() [2/15]

override void eVision.Legacy.EPointGauge.Draw ( eVision.EDrawAdapter drawAdapter,
eVision.EDrawingMode drawingMode )

Draws a graphical representation of a point location or model fitting gauge, as defined by EDrawingMode.

Parameters
drawAdapterA pointer to an EDrawAdapter (like the EWindowsDrawAdapter).
drawingModeIndicates how the point location or model fitting gauge must be displayed, as defined by EDrawingMode.

◆ Draw() [3/15]

override void eVision.Legacy.EPointGauge.Draw ( eVision.EDrawAdapter drawAdapter,
eVision.EDrawingMode drawingMode,
bool daughters )

Draws a graphical representation of a point location or model fitting gauge, as defined by EDrawingMode.

Parameters
drawAdapterA pointer to an EDrawAdapter (like the EWindowsDrawAdapter).
drawingModeIndicates how the point location or model fitting gauge must be displayed, as defined by EDrawingMode.
daughterstrue if the daughters gauges are to be displayed also.

◆ Draw() [4/15]

override void eVision.Legacy.EPointGauge.Draw ( IntPtr graphicContext)

Draws a graphical representation of a point location or model fitting gauge, as defined by EDrawingMode.

Parameters
graphicContextHandle of the device context on which to draw.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Draw() [5/15]

override void eVision.Legacy.EPointGauge.Draw ( IntPtr graphicContext,
eVision.EDrawingMode drawingMode )

Draws a graphical representation of a point location or model fitting gauge, as defined by EDrawingMode.

Parameters
graphicContextHandle of the device context on which to draw.
drawingModeIndicates how the point location or model fitting gauge must be displayed, as defined by EDrawingMode.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Draw() [6/15]

override void eVision.Legacy.EPointGauge.Draw ( IntPtr graphicContext,
eVision.EDrawingMode drawingMode,
bool daughters )

Draws a graphical representation of a point location or model fitting gauge, as defined by EDrawingMode.

Parameters
graphicContextHandle of the device context on which to draw.
drawingModeIndicates how the point location or model fitting gauge must be displayed, as defined by EDrawingMode.
daughterstrue if the daughters gauges are to be displayed also.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Draw() [7/15]

override void eVision.Legacy.EPointGauge.Draw ( IntPtr graphicContext,
eVision.ERGBColor color )

Draws a graphical representation of a point location or model fitting gauge, as defined by EDrawingMode.

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color in which to draw the overlay.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Draw() [8/15]

override void eVision.Legacy.EPointGauge.Draw ( IntPtr graphicContext,
eVision.ERGBColor color,
eVision.EDrawingMode drawingMode )

Draws a graphical representation of a point location or model fitting gauge, as defined by EDrawingMode.

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color in which to draw the overlay.
drawingModeIndicates how the point location or model fitting gauge must be displayed, as defined by EDrawingMode.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Draw() [9/15]

override void eVision.Legacy.EPointGauge.Draw ( IntPtr graphicContext,
eVision.ERGBColor color,
eVision.EDrawingMode drawingMode,
bool daughters )

Draws a graphical representation of a point location or model fitting gauge, as defined by EDrawingMode.

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color in which to draw the overlay.
drawingModeIndicates how the point location or model fitting gauge must be displayed, as defined by EDrawingMode.
daughterstrue if the daughters gauges are to be displayed also.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Draw() [10/15]

override void eVision.Legacy.EPointGauge.Draw ( System.Drawing.Graphics graphicContext)

Draws a graphical representation of a point location or model fitting gauge, as defined by EDrawingMode.

Parameters
graphicContextHandle of the device context on which to draw.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Draw() [11/15]

override void eVision.Legacy.EPointGauge.Draw ( System.Drawing.Graphics graphicContext,
eVision.EDrawingMode drawingMode )

Draws a graphical representation of a point location or model fitting gauge, as defined by EDrawingMode.

Parameters
graphicContextHandle of the device context on which to draw.
drawingModeIndicates how the point location or model fitting gauge must be displayed, as defined by EDrawingMode.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Draw() [12/15]

override void eVision.Legacy.EPointGauge.Draw ( System.Drawing.Graphics graphicContext,
eVision.EDrawingMode drawingMode,
bool daughters )

Draws a graphical representation of a point location or model fitting gauge, as defined by EDrawingMode.

Parameters
graphicContextHandle of the device context on which to draw.
drawingModeIndicates how the point location or model fitting gauge must be displayed, as defined by EDrawingMode.
daughterstrue if the daughters gauges are to be displayed also.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Draw() [13/15]

override void eVision.Legacy.EPointGauge.Draw ( System.Drawing.Graphics graphicContext,
eVision.ERGBColor color )

Draws a graphical representation of a point location or model fitting gauge, as defined by EDrawingMode.

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color in which to draw the overlay.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Draw() [14/15]

override void eVision.Legacy.EPointGauge.Draw ( System.Drawing.Graphics graphicContext,
eVision.ERGBColor color,
eVision.EDrawingMode drawingMode )

Draws a graphical representation of a point location or model fitting gauge, as defined by EDrawingMode.

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color in which to draw the overlay.
drawingModeIndicates how the point location or model fitting gauge must be displayed, as defined by EDrawingMode.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Draw() [15/15]

override void eVision.Legacy.EPointGauge.Draw ( System.Drawing.Graphics graphicContext,
eVision.ERGBColor color,
eVision.EDrawingMode drawingMode,
bool daughters )

Draws a graphical representation of a point location or model fitting gauge, as defined by EDrawingMode.

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color in which to draw the overlay.
drawingModeIndicates how the point location or model fitting gauge must be displayed, as defined by EDrawingMode.
daughterstrue if the daughters gauges are to be displayed also.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ DrawWithCurrentPen() [1/3]

override void eVision.Legacy.EPointGauge.DrawWithCurrentPen ( IntPtr graphicContext)

Draws a graphical representation of a point location or model fitting gauge, as defined by EDrawingMode.

Parameters
graphicContextHandle of the device context on which to draw.
Deprecated

Use the overload of EPointGauge.Draw taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ DrawWithCurrentPen() [2/3]

override void eVision.Legacy.EPointGauge.DrawWithCurrentPen ( IntPtr graphicContext,
eVision.EDrawingMode drawingMode )

Draws a graphical representation of a point location or model fitting gauge, as defined by EDrawingMode.

Parameters
graphicContextHandle of the device context on which to draw.
drawingModeIndicates how the point location or model fitting gauge must be displayed, as defined by EDrawingMode.
Deprecated

Use the overload of EPointGauge.Draw taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ DrawWithCurrentPen() [3/3]

override void eVision.Legacy.EPointGauge.DrawWithCurrentPen ( IntPtr graphicContext,
eVision.EDrawingMode drawingMode,
bool daughters )

Draws a graphical representation of a point location or model fitting gauge, as defined by EDrawingMode.

Parameters
graphicContextHandle of the device context on which to draw.
drawingModeIndicates how the point location or model fitting gauge must be displayed, as defined by EDrawingMode.
daughterstrue if the daughters gauges are to be displayed also.
Deprecated

Use the overload of EPointGauge.Draw taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ GetMeasuredPeak() [1/2]

eVision.EPeak eVision.Legacy.EPointGauge.GetMeasuredPeak ( )

Returns information pertaining to the derivative peak associated with the specified edge-crossing point, such as its area, amplitude, start, length and center.

If index is left unchanged from its default value (i.e. ~0 = 0xFFFFFFFF), the peak associated to the default edge-crossing point is inspected. This default point is chosen according to the transition choice parameter that is managed by the EPointGauge.TransitionChoice property.

If you want to query more than 10 peaks, using EPointGauge.MeasuredPeaks should be faster.

Note
For this method to succeed, it is necessary to previously call EPointGauge.Measure.

◆ GetMeasuredPeak() [2/2]

eVision.EPeak eVision.Legacy.EPointGauge.GetMeasuredPeak ( uint index)

Returns information pertaining to the derivative peak associated with the specified edge-crossing point, such as its area, amplitude, start, length and center.

Parameters
indexIndex of the edge-crossing point along the probed line segment, between 0 and EPointGauge.NumMeasuredPoints (excluded).

If index is left unchanged from its default value (i.e. ~0 = 0xFFFFFFFF), the peak associated to the default edge-crossing point is inspected. This default point is chosen according to the transition choice parameter that is managed by the EPointGauge.TransitionChoice property.

If you want to query more than 10 peaks, using EPointGauge.MeasuredPeaks should be faster.

Note
For this method to succeed, it is necessary to previously call EPointGauge.Measure.

◆ GetMeasuredPoint() [1/2]

eVision.EPoint eVision.Legacy.EPointGauge.GetMeasuredPoint ( )

Returns the coordinates of an edge-crossing point, measured along the unique sample path of the point location gauge.

These coordinates pertain to the World space; they are expressed in the reference frame to which the current EPointGauge object belongs. An EPointGauge object features only one sample path, which contrasts with the other kinds of gauges. The argument index specifies the index of the edge-crossing point that is considered along this unique sample path. If index is left unchanged from its default value (i.e. ~0 = 0xFFFFFFFF), the default edge-crossing point is inspected. This default point is chosen according to the transition choice parameter that is managed by the EPointGauge.TransitionChoice property.

If you want to query more than 10 points, using EPointGauge.MeasuredPoints should be faster.

Note
For this method to succeed, it is necessary to previously call EPointGauge.Measure.

◆ GetMeasuredPoint() [2/2]

eVision.EPoint eVision.Legacy.EPointGauge.GetMeasuredPoint ( uint index)

Returns the coordinates of an edge-crossing point, measured along the unique sample path of the point location gauge.

Parameters
indexIndex of the edge-crossing point along the probed line segment, between 0 and EPointGauge.NumMeasuredPoints (excluded).

These coordinates pertain to the World space; they are expressed in the reference frame to which the current EPointGauge object belongs. An EPointGauge object features only one sample path, which contrasts with the other kinds of gauges. The argument index specifies the index of the edge-crossing point that is considered along this unique sample path. If index is left unchanged from its default value (i.e. ~0 = 0xFFFFFFFF), the default edge-crossing point is inspected. This default point is chosen according to the transition choice parameter that is managed by the EPointGauge.TransitionChoice property.

If you want to query more than 10 points, using EPointGauge.MeasuredPoints should be faster.

Note
For this method to succeed, it is necessary to previously call EPointGauge.Measure.

◆ HitTest() [1/2]

override bool eVision.Legacy.EPointGauge.HitTest ( )

Checks whether the cursor is positioned over a handle (true) or not (false).

◆ HitTest() [2/2]

override bool eVision.Legacy.EPointGauge.HitTest ( bool daughters)

Checks whether the cursor is positioned over a handle (true) or not (false).

Parameters
daughterstrue if the daughters gauges handles have to be considered as well.

◆ Measure() [1/2]

void eVision.Legacy.EPointGauge.Measure ( eVision.EROIBW8 sourceImage)

Triggers the point location or the model fitting operation.

Parameters
sourceImagePointer to the source image.

When this method is called, and if not enough valid points are detected, then the method returns directly, and the measured gauge is set to the nominal parameters.

◆ Measure() [2/2]

void eVision.Legacy.EPointGauge.Measure ( eVision.EROIBW8 sourceImage,
eVision.ERegion region )

Triggers the point location or the model fitting operation.

Parameters
sourceImagePointer to the source image.
regionRegion to use with the source image.

When this method is called, and if not enough valid points are detected, then the method returns directly, and the measured gauge is set to the nominal parameters.

◆ Plot() [1/15]

void eVision.Legacy.EPointGauge.Plot ( eVision.EDrawAdapter graphicContext,
eVision.EPlotItem drawItems,
float width,
float height )

Draws the profile that is crossed by a point location gauge, as defined by EPlotItem.

Parameters
graphicContextHandle of the device context on which to draw.
drawItemsBoolean combination of EPlotItem members, that indicates which items must be displayed.
widthWidth of the plot.
heightHeight of the plot.

◆ Plot() [2/15]

void eVision.Legacy.EPointGauge.Plot ( eVision.EDrawAdapter graphicContext,
eVision.EPlotItem drawItems,
float width,
float height,
float originX )

Draws the profile that is crossed by a point location gauge, as defined by EPlotItem.

Parameters
graphicContextHandle of the device context on which to draw.
drawItemsBoolean combination of EPlotItem members, that indicates which items must be displayed.
widthWidth of the plot.
heightHeight of the plot.
originXOrigin point coordinates of the plot along the X axis.

◆ Plot() [3/15]

void eVision.Legacy.EPointGauge.Plot ( eVision.EDrawAdapter graphicContext,
eVision.EPlotItem drawItems,
float width,
float height,
float originX,
float originY )

Draws the profile that is crossed by a point location gauge, as defined by EPlotItem.

Parameters
graphicContextHandle of the device context on which to draw.
drawItemsBoolean combination of EPlotItem members, that indicates which items must be displayed.
widthWidth of the plot.
heightHeight of the plot.
originXOrigin point coordinates of the plot along the X axis.
originYOrigin point coordinates of the plot along the Y axis.

◆ Plot() [4/15]

void eVision.Legacy.EPointGauge.Plot ( IntPtr graphicContext,
eVision.EPlotItem drawItems,
float width,
float height )

Draws the profile that is crossed by a point location gauge, as defined by EPlotItem.

Parameters
graphicContextHandle of the device context on which to draw.
drawItemsBoolean combination of EPlotItem members, that indicates which items must be displayed.
widthWidth of the plot.
heightHeight of the plot.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Plot() [5/15]

void eVision.Legacy.EPointGauge.Plot ( IntPtr graphicContext,
eVision.EPlotItem drawItems,
float width,
float height,
float originX )

Draws the profile that is crossed by a point location gauge, as defined by EPlotItem.

Parameters
graphicContextHandle of the device context on which to draw.
drawItemsBoolean combination of EPlotItem members, that indicates which items must be displayed.
widthWidth of the plot.
heightHeight of the plot.
originXOrigin point coordinates of the plot along the X axis.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Plot() [6/15]

void eVision.Legacy.EPointGauge.Plot ( IntPtr graphicContext,
eVision.EPlotItem drawItems,
float width,
float height,
float originX,
float originY )

Draws the profile that is crossed by a point location gauge, as defined by EPlotItem.

Parameters
graphicContextHandle of the device context on which to draw.
drawItemsBoolean combination of EPlotItem members, that indicates which items must be displayed.
widthWidth of the plot.
heightHeight of the plot.
originXOrigin point coordinates of the plot along the X axis.
originYOrigin point coordinates of the plot along the Y axis.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Plot() [7/15]

void eVision.Legacy.EPointGauge.Plot ( IntPtr graphicContext,
eVision.ERGBColor color,
eVision.EPlotItem drawItems,
float width,
float height )

Draws the profile that is crossed by a point location gauge, as defined by EPlotItem.

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color in which to draw the overlay.
drawItemsBoolean combination of EPlotItem members, that indicates which items must be displayed.
widthWidth of the plot.
heightHeight of the plot.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Plot() [8/15]

void eVision.Legacy.EPointGauge.Plot ( IntPtr graphicContext,
eVision.ERGBColor color,
eVision.EPlotItem drawItems,
float width,
float height,
float originX )

Draws the profile that is crossed by a point location gauge, as defined by EPlotItem.

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color in which to draw the overlay.
drawItemsBoolean combination of EPlotItem members, that indicates which items must be displayed.
widthWidth of the plot.
heightHeight of the plot.
originXOrigin point coordinates of the plot along the X axis.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Plot() [9/15]

void eVision.Legacy.EPointGauge.Plot ( IntPtr graphicContext,
eVision.ERGBColor color,
eVision.EPlotItem drawItems,
float width,
float height,
float originX,
float originY )

Draws the profile that is crossed by a point location gauge, as defined by EPlotItem.

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color in which to draw the overlay.
drawItemsBoolean combination of EPlotItem members, that indicates which items must be displayed.
widthWidth of the plot.
heightHeight of the plot.
originXOrigin point coordinates of the plot along the X axis.
originYOrigin point coordinates of the plot along the Y axis.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Plot() [10/15]

void eVision.Legacy.EPointGauge.Plot ( System.Drawing.Graphics graphicContext,
eVision.EPlotItem drawItems,
float width,
float height )

Draws the profile that is crossed by a point location gauge, as defined by EPlotItem.

Parameters
graphicContextHandle of the device context on which to draw.
drawItemsBoolean combination of EPlotItem members, that indicates which items must be displayed.
widthWidth of the plot.
heightHeight of the plot.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Plot() [11/15]

void eVision.Legacy.EPointGauge.Plot ( System.Drawing.Graphics graphicContext,
eVision.EPlotItem drawItems,
float width,
float height,
float originX )

Draws the profile that is crossed by a point location gauge, as defined by EPlotItem.

Parameters
graphicContextHandle of the device context on which to draw.
drawItemsBoolean combination of EPlotItem members, that indicates which items must be displayed.
widthWidth of the plot.
heightHeight of the plot.
originXOrigin point coordinates of the plot along the X axis.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Plot() [12/15]

void eVision.Legacy.EPointGauge.Plot ( System.Drawing.Graphics graphicContext,
eVision.EPlotItem drawItems,
float width,
float height,
float originX,
float originY )

Draws the profile that is crossed by a point location gauge, as defined by EPlotItem.

Parameters
graphicContextHandle of the device context on which to draw.
drawItemsBoolean combination of EPlotItem members, that indicates which items must be displayed.
widthWidth of the plot.
heightHeight of the plot.
originXOrigin point coordinates of the plot along the X axis.
originYOrigin point coordinates of the plot along the Y axis.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Plot() [13/15]

void eVision.Legacy.EPointGauge.Plot ( System.Drawing.Graphics graphicContext,
eVision.ERGBColor color,
eVision.EPlotItem drawItems,
float width,
float height )

Draws the profile that is crossed by a point location gauge, as defined by EPlotItem.

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color in which to draw the overlay.
drawItemsBoolean combination of EPlotItem members, that indicates which items must be displayed.
widthWidth of the plot.
heightHeight of the plot.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Plot() [14/15]

void eVision.Legacy.EPointGauge.Plot ( System.Drawing.Graphics graphicContext,
eVision.ERGBColor color,
eVision.EPlotItem drawItems,
float width,
float height,
float originX )

Draws the profile that is crossed by a point location gauge, as defined by EPlotItem.

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color in which to draw the overlay.
drawItemsBoolean combination of EPlotItem members, that indicates which items must be displayed.
widthWidth of the plot.
heightHeight of the plot.
originXOrigin point coordinates of the plot along the X axis.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Plot() [15/15]

void eVision.Legacy.EPointGauge.Plot ( System.Drawing.Graphics graphicContext,
eVision.ERGBColor color,
eVision.EPlotItem drawItems,
float width,
float height,
float originX,
float originY )

Draws the profile that is crossed by a point location gauge, as defined by EPlotItem.

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color in which to draw the overlay.
drawItemsBoolean combination of EPlotItem members, that indicates which items must be displayed.
widthWidth of the plot.
heightHeight of the plot.
originXOrigin point coordinates of the plot along the X axis.
originYOrigin point coordinates of the plot along the Y axis.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ PlotWithCurrentPen() [1/3]

void eVision.Legacy.EPointGauge.PlotWithCurrentPen ( IntPtr graphicContext,
eVision.EPlotItem drawItems,
float width,
float height )

Draws the profile that is crossed by a point location gauge, as defined by EPlotItem.

Parameters
graphicContextHandle of the device context on which to draw.
drawItemsBoolean combination of EPlotItem members, that indicates which items must be displayed.
widthWidth of the plot.
heightHeight of the plot.
Deprecated

Use the overload of EPointGauge.Plot taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ PlotWithCurrentPen() [2/3]

void eVision.Legacy.EPointGauge.PlotWithCurrentPen ( IntPtr graphicContext,
eVision.EPlotItem drawItems,
float width,
float height,
float originX )

Draws the profile that is crossed by a point location gauge, as defined by EPlotItem.

Parameters
graphicContextHandle of the device context on which to draw.
drawItemsBoolean combination of EPlotItem members, that indicates which items must be displayed.
widthWidth of the plot.
heightHeight of the plot.
originXOrigin point coordinates of the plot along the X axis.
Deprecated

Use the overload of EPointGauge.Plot taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ PlotWithCurrentPen() [3/3]

void eVision.Legacy.EPointGauge.PlotWithCurrentPen ( IntPtr graphicContext,
eVision.EPlotItem drawItems,
float width,
float height,
float originX,
float originY )

Draws the profile that is crossed by a point location gauge, as defined by EPlotItem.

Parameters
graphicContextHandle of the device context on which to draw.
drawItemsBoolean combination of EPlotItem members, that indicates which items must be displayed.
widthWidth of the plot.
heightHeight of the plot.
originXOrigin point coordinates of the plot along the X axis.
originYOrigin point coordinates of the plot along the Y axis.
Deprecated

Use the overload of EPointGauge.Plot taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Process() [1/4]

override void eVision.Legacy.EPointGauge.Process ( eVision.EROIBW8 sourceImage)
virtual

Triggers the process pertaining to a shape or gauge and all the daughter gauges attach to it.

Parameters
sourceImagePointer to the source image.

When complex gauging is required, several gauges can be grouped together. Applying Process to the mother gauge or shape triggers the measurement of the whole. Only the active gauges will participate in the process.

Reimplemented from eVision.Legacy.EShape.

◆ Process() [2/4]

override void eVision.Legacy.EPointGauge.Process ( eVision.EROIBW8 sourceImage,
bool daughters )
virtual

Triggers the process pertaining to a shape or gauge and all the daughter gauges attach to it.

Parameters
sourceImagePointer to the source image.
daughtersFlag indicating whether the daughters shapes inherit of the same behavior.

When complex gauging is required, several gauges can be grouped together. Applying Process to the mother gauge or shape triggers the measurement of the whole. Only the active gauges will participate in the process.

Reimplemented from eVision.Legacy.EShape.

◆ Process() [3/4]

override void eVision.Legacy.EPointGauge.Process ( eVision.EROIBW8 sourceImage,
eVision.ERegion region )
virtual

Triggers the process pertaining to a shape or gauge and all the daughter gauges attach to it.

Parameters
sourceImagePointer to the source image.
regionRegion to use with the source image.

When complex gauging is required, several gauges can be grouped together. Applying Process to the mother gauge or shape triggers the measurement of the whole. Only the active gauges will participate in the process.

Reimplemented from eVision.Legacy.EShape.

◆ Process() [4/4]

override void eVision.Legacy.EPointGauge.Process ( eVision.EROIBW8 sourceImage,
eVision.ERegion region,
bool daughters )
virtual

Triggers the process pertaining to a shape or gauge and all the daughter gauges attach to it.

Parameters
sourceImagePointer to the source image.
regionRegion to use with the source image.
daughtersFlag indicating whether the daughters shapes inherit of the same behavior.

When complex gauging is required, several gauges can be grouped together. Applying Process to the mother gauge or shape triggers the measurement of the whole. Only the active gauges will participate in the process.

Reimplemented from eVision.Legacy.EShape.

◆ SetCenterXY()

override void eVision.Legacy.EPointGauge.SetCenterXY ( float centerX,
float centerY )
virtual

Sets the center coordinates of a EPointGauge object.

Parameters
centerXCenter coordinates of the EPointGauge object.
centerYCenter coordinates of the EPointGauge object.

Reimplemented from eVision.Legacy.EPointShape.

◆ SetTolerances() [1/2]

void eVision.Legacy.EPointGauge.SetTolerances ( float tolerance)

Sets the half length and the rotation angle of the point location gauge.

Parameters
toleranceHalf length of the point location gauge. The default value is 10.

By default, the point location gauge length value is 20 (2x10), which means 20 pixels when the field of view is not calibrated and 20 "units" in case of a calibrated field of view. The sign of the rotation angle depends whether the field of view is calibrated or not.

  • When the field of view is calibrated, the coordinate system is said to be direct, the abscissa extends rightwards and the ordinate extends upwards. In this case, an anticlockwise rotation leads to a positive angle value.
  • When the field of view is not calibrated, the coordinate system is said to be inverse, the abscissa extends rightwards and the ordinate extends downwards. In this case, a clockwise rotation leads to a positive angle value.

◆ SetTolerances() [2/2]

void eVision.Legacy.EPointGauge.SetTolerances ( float tolerance,
float angle )

Sets the half length and the rotation angle of the point location gauge.

Parameters
toleranceHalf length of the point location gauge. The default value is 10.
angleRotation angle of the point location gauge. The default value is 0.

By default, the point location gauge length value is 20 (2x10), which means 20 pixels when the field of view is not calibrated and 20 "units" in case of a calibrated field of view. The sign of the rotation angle depends whether the field of view is calibrated or not.

  • When the field of view is calibrated, the coordinate system is said to be direct, the abscissa extends rightwards and the ordinate extends upwards. In this case, an anticlockwise rotation leads to a positive angle value.
  • When the field of view is not calibrated, the coordinate system is said to be inverse, the abscissa extends rightwards and the ordinate extends downwards. In this case, a clockwise rotation leads to a positive angle value.

Property Documentation

◆ Active

new bool eVision.Legacy.EPointGauge.Active
getset

Sets the flag indicating whether the gauge is active or not.

When complex gauging is required, several gauges can be grouped together. Applying EPointGauge.Process to the mother gauge or shape triggers the measurement of the whole. Only the active gauges will participate in the process. By default, the gauge is active (true).

◆ Center

override eVision.EPoint eVision.Legacy.EPointGauge.Center
set

Center coordinates of a EPointGauge object.

◆ HVConstraint

bool eVision.Legacy.EPointGauge.HVConstraint
getset

Status of the restriction on the orientation of the point location gauge or model fitting sample paths.

Sample paths are the point location gauges placed along the model to be fitted.

◆ MeasuredPeaks

eVision.EPeak [] eVision.Legacy.EPointGauge.MeasuredPeaks
get

Returns information pertaining to the derivative peak associated with all of the edge-crossing point, such as its area, amplitude, start, length and center.

If you want to query less than 10 peaks, using EPointGauge.GetMeasuredPeak should be faster.

Note
For this method to succeed, it is necessary to previously call EPointGauge.Measure.

◆ MeasuredPoints

eVision.EPoint [] eVision.Legacy.EPointGauge.MeasuredPoints
get

Returns the coordinates of all edge-crossing points, measured along the unique sample path of the point location gauge.

These coordinates pertain to the World space; they are expressed in the reference frame to which the current EPointGauge object belongs.

If you want to query less than 10 points, using EPointGauge.GetMeasuredPoint should be faster.

Note
For this method to succeed, it is necessary to previously call EPointGauge.Measure.

◆ MinAmplitude

uint eVision.Legacy.EPointGauge.MinAmplitude
getset

Offset added to the Threshold when a peak is to be detected.

When analyzing a derivative profile, a peak is made up of consecutive pixel values above Threshold. To detect weak [strong] transitions, lower [raise] the Threshold value. To avoid interference of noise, an additional parameter is provided. The MinAmplitude parameter is an offset added to Threshold when a peak is to be detected. When the pixel values of the derivative profile do not reach Threshold + MinAmplitude, the peak is not taken into account. Anyway, when a peak is taken into account, all the pixels with values above Threshold are considered (for more accuracy). Setting the MinAmplitude value to 0 merely cancels its effect.

◆ MinArea

uint eVision.Legacy.EPointGauge.MinArea
getset

Minimum area value.

A transition is detected if its derivative peak reaches Threshold + MinAmplitude value, and then declared valid if the area between the peak curve and the horizontal at level Threshold reaches the MinArea value.

◆ NumMeasuredPoints

uint eVision.Legacy.EPointGauge.NumMeasuredPoints
get

Number of edge-crossing points along the point location gauge.

◆ RectangularSamplingArea

bool eVision.Legacy.EPointGauge.RectangularSamplingArea
getset

Flag indicating whether the sampling area remains a rectangle when rotated, instead of becoming a parallelogram.

By default, this flag is set to true: the sampling area always remains a rectangle. Setting this property is only useful when the thickness transition parameter is greater than 1. In fact, when thickness transition parameter is equal to 1, rectangle and parallelogram reduce to the same segment.

◆ Shape

eVision.EPoint eVision.Legacy.EPointGauge.Shape
get

◆ Smoothing

uint eVision.Legacy.EPointGauge.Smoothing
getset

Number of pixels used for the low-pass filtering operation.

To reduce the effect of noise, the profile data can be low-pass filtered along the point location gauge direction.

◆ Thickness

uint eVision.Legacy.EPointGauge.Thickness
getset

Number of parallel segments used to extract the data profile.

To reduce the effect of noise and/or strengthen a transition, several parallel profiles can be accumulated.

◆ Threshold

uint eVision.Legacy.EPointGauge.Threshold
getset

Threshold level used to delimit significant peaks in the data profile.

When analyzing a derivative profile, a peak is made up of consecutive pixel values above Threshold. To detect weak [strong] transitions, lower [raise] the Threshold value. To avoid interference of noise, an additional parameter is provided. The MinAmplitude parameter is an offset added to Threshold when a peak is to be detected. When the pixel values of the derivative profile do not reach Threshold + MinAmplitude, the peak is not taken into account. Anyway, when a peak is taken into account, all the pixels with values above Threshold are considered (for more accuracy). Setting the MinAmplitude value to 0 merely cancels its effect.

◆ Tolerance

float eVision.Legacy.EPointGauge.Tolerance
getset

Half length of the point location gauge.

By default, the length of the point location gauge is 20 (2x10), which means 20 pixels when the field of view is not calibrated, and 20 physical units in case of a calibrated field of view.

◆ ToleranceAngle

float eVision.Legacy.EPointGauge.ToleranceAngle
getset

Rotation angle of the point location gauge.

By default, the rotation angle of the point location gauge is 0. The sign of the rotation angle depends whether the field of view is calibrated or not.

  • When the field of view is calibrated, the coordinate system is said to be direct, the abscissa extends rightwards and the ordinate extends upwards. In this case, an anticlockwise rotation leads to a positive angle value.
  • When the field of view is not calibrated, the coordinate system is said to be inverse, the abscissa extends rightwards and the ordinate extends downwards. In this case, a clockwise rotation leads to a positive angle value.

◆ TransitionChoice

eVision.ETransitionChoice eVision.Legacy.EPointGauge.TransitionChoice
getset

Transition choice.

Several peaks may be detected along a point location gauge. This parameter helps to select the desired transition. In case of ETransitionChoice.ETransitionChoice_NthFromBegin or ETransitionChoice.ETransitionChoice_NthFromEnd transition choice, set EPointGauge.TransitionIndex to specify the desired transition. By default, the selected transition corresponds to the one with the largest amplitude (ETransitionChoice.ETransitionChoice_LargestAmplitude).

◆ TransitionIndex

uint eVision.Legacy.EPointGauge.TransitionIndex
getset

Index (from 0 on) of the transition to be retained when the transition choice parameter is set to ETransitionChoice.ETransitionChoice_NthFromBegin or ETransitionChoice.ETransitionChoice_NthFromEnd.

Several peaks may be detected along a point location gauge. This parameter helps to select the desired transition. By default, the first transition is retained (the index value is 0).

◆ TransitionType

eVision.ETransitionType eVision.Legacy.EPointGauge.TransitionType
getset

Transition type.

The type of a transition tells whether it crosses increasing or decreasing gray-level values. This helps discriminate between nearby edges of an object. By default, the searched transition type is indifferently a black to white or a white to black transition (ETransitionType.ETransitionType_BwOrWb).

◆ Type

override eVision.EShapeType eVision.Legacy.EPointGauge.Type
get

Shape type.

◆ Valid

bool eVision.Legacy.EPointGauge.Valid
get

Flag indicating if at least one valid transition has been found.

A false value means that no measurement has been performed. A true value means that a transition was found along the sample path defined by the EPointGauge, and thus a point was measured.