Manages a rectangle fitting gauge. More...


Public Member Functions | |
| ERectangleGauge () | |
| Constructs a rectangle measurement context. | |
| ERectangleGauge (eVision.Legacy.ERectangleGauge other) | |
| Constructs a rectangle measurement context. | |
| void | SetMinNumFitSamples (int side0, int side1, int side2, int side3) |
| Sets the minimum number of samples required for fitting on each side of the shape. | |
| void | SetMinNumFitSamples (int side0, int side1, int side2) |
| Sets the minimum number of samples required for fitting on each side of the shape. | |
| void | SetMinNumFitSamples (int side0, int side1) |
| Sets the minimum number of samples required for fitting on each side of the shape. | |
| void | SetMinNumFitSamples (int side0) |
| Sets the minimum number of samples required for fitting on each side of the shape. | |
| void | GetMinNumFitSamples (out int side0, out int side1, out int side2, out int side3) |
| Returns the minimum number of samples required for fitting on each side of the shape. | |
| uint | AddSkipRange (uint start, uint end) |
| Adds an item to the set of skip ranges and returns the index of the newly added range. | |
| uint | AddSkipRange (eVision.EIntegerRange range) |
| Adds an item to the set of skip ranges and returns the index of the newly added range. | |
| void | GetSkipRange (uint index, out uint start, out uint end) |
| Allows to retrieve the start and end values of the skip range corresponding to the given index, if it is valid (i.e. if it has previously been created by a call to the ERectangleGauge.AddSkipRange method. | |
| eVision.EIntegerRange | GetSkipRange (uint index) |
| Allows to retrieve the start and end values of the skip range corresponding to the given index, if it is valid (i.e. if it has previously been created by a call to the ERectangleGauge.AddSkipRange method. | |
| void | RemoveSkipRange (uint index) |
| After a call to ERectangleGauge.AddSkipRange, removes the skip range with the given index. | |
| void | RemoveAllSkipRanges () |
| Removes all the skip ranges previously created by a call to ERectangleGauge.AddSkipRange. | |
| void | CopyTo (eVision.Legacy.ERectangleGauge other, bool recursive) |
| Copies all the data of the current ERectangleGauge object into another ERectangleGauge object, and returns it. | |
| void | CopyTo (eVision.Legacy.ERectangleGauge other) |
| Copies all the data of the current ERectangleGauge object into another ERectangleGauge object, and returns it. | |
| void | DisableInnerFiltering () |
| Disables inner sampled point filtering. | |
| 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. | |
| 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. | |
| void | MeasureWithoutFitting (eVision.EROIBW8 sourceImage) |
| Triggers the point location without rectangle fitting operation. | |
| void | MeasureWithoutFitting (eVision.EROIBW8 sourceImage, eVision.ERegion region) |
| Triggers the point location without rectangle fitting operation. | |
| void | MeasureSample (eVision.EROIBW8 sourceImage, uint pathIndex) |
| Computes the sample points along the sample path whose index in the list is given by the pathIndex parameter. | |
| void | MeasureSample (eVision.EROIBW8 sourceImage, eVision.ERegion region, uint pathIndex) |
| Computes the sample points along the sample path whose index in the list is given by the pathIndex parameter. | |
| eVision.EPoint | GetMeasuredPoint (uint index) |
| Returns the coordinates of a sample point, measured along one of the sample paths of the gauge. | |
| eVision.EPoint | GetMeasuredPoint () |
| Returns the coordinates of a sample point, measured along one of the sample paths of the gauge. | |
| override void | Draw (eVision.EDrawAdapter 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 (eVision.EDrawAdapter graphicContext, eVision.EDrawingMode drawingMode) |
| Draws a graphical representation of a point location or model fitting gauge, as defined by EDrawingMode. | |
| override void | Draw (eVision.EDrawAdapter graphicContext) |
| 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. | |
| void | Plot (eVision.EDrawAdapter graphicContext, eVision.EPlotItem drawItems, float width, float height, float originX, float originY) |
| Draws the profile that is crossed by one of the sample paths of the 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 one of the sample paths of the gauge, as defined by EPlotItem. | |
| void | Plot (eVision.EDrawAdapter graphicContext, eVision.EPlotItem drawItems, float width, float height) |
| Draws the profile that is crossed by one of the sample paths of the 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 one of the sample paths of the 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 one of the sample paths of the gauge, as defined by EPlotItem. | |
| void | Plot (IntPtr graphicContext, eVision.EPlotItem drawItems, float width, float height) |
| Draws the profile that is crossed by one of the sample paths of the 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 one of the sample paths of the 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 one of the sample paths of the 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 one of the sample paths of the 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 one of the sample paths of the 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 one of the sample paths of the gauge, as defined by EPlotItem. | |
| void | PlotWithCurrentPen (IntPtr graphicContext, eVision.EPlotItem drawItems, float width, float height) |
| Draws the profile that is crossed by one of the sample paths of the gauge, as defined by EPlotItem. | |
| 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. | |
| bool | GetSamplex (ref eVision.EPoint pt, uint index) |
| Allows to retrieve information on the samples found along the x edge. | |
| void | GetSamplex (eVision.Legacy.ESamplePoint sp, uint index) |
| Allows to retrieve information on the samples found along the x edge. | |
| bool | GetSamplex (ref eVision.EPeak pk, uint index) |
| Allows to retrieve information on the samples found along the x edge. | |
| bool | GetSampley (ref eVision.EPoint pt, uint index) |
| Allows to retrieve information on the samples found along the y edge. | |
| void | GetSampley (eVision.Legacy.ESamplePoint sp, uint index) |
| Allows to retrieve information on the samples found along the y edge. | |
| bool | GetSampley (ref eVision.EPeak pk, uint index) |
| Allows to retrieve information on the samples found along the y edge. | |
| bool | GetSampleX (ref eVision.EPoint pt, uint index) |
| Allows to retrieve information on the samples found along the X edge. | |
| void | GetSampleX (eVision.Legacy.ESamplePoint sp, uint index) |
| Allows to retrieve information on the samples found along the X edge. | |
| bool | GetSampleX (ref eVision.EPeak pk, uint index) |
| Allows to retrieve information on the samples found along the X edge. | |
| bool | GetSampleY (ref eVision.EPoint pt, uint index) |
| Allows to retrieve information on the samples found along the Y edge. | |
| void | GetSampleY (eVision.Legacy.ESamplePoint sp, uint index) |
| Allows to retrieve information on the samples found along the Y edge. | |
| bool | GetSampleY (ref eVision.EPeak pk, uint index) |
| Allows to retrieve information on the samples found along the Y edge. | |
| bool | GetSampleLeftEdge (ref eVision.EPoint pt, uint index) |
| Allows to retrieve information on the samples found along the leftmost edge. | |
| void | GetSampleLeftEdge (eVision.Legacy.ESamplePoint sp, uint index) |
| Allows to retrieve information on the samples found along the leftmost edge. | |
| bool | GetSampleLeftEdge (ref eVision.EPeak pk, uint index) |
| Allows to retrieve information on the samples found along the leftmost edge. | |
| bool | GetSampleLowerEdge (ref eVision.EPoint pt, uint index) |
| Allows to retrieve information on the samples found along the lower edge. | |
| void | GetSampleLowerEdge (eVision.Legacy.ESamplePoint sp, uint index) |
| Allows to retrieve information on the samples found along the lower edge. | |
| bool | GetSampleLowerEdge (ref eVision.EPeak pk, uint index) |
| Allows to retrieve information on the samples found along the lower edge. | |
| bool | GetSampleRightEdge (ref eVision.EPoint pt, uint index) |
| Allows to retrieve information on the samples found along the rightmost edge. | |
| void | GetSampleRightEdge (eVision.Legacy.ESamplePoint sp, uint index) |
| Allows to retrieve information on the samples found along the rightmost edge. | |
| bool | GetSampleRightEdge (ref eVision.EPeak pk, uint index) |
| Allows to retrieve information on the samples found along the rightmost edge. | |
| bool | GetSampleUpperEdge (ref eVision.EPoint pt, uint index) |
| Allows to retrieve information on the samples found along the upper edge. | |
| void | GetSampleUpperEdge (eVision.Legacy.ESamplePoint sp, uint index) |
| Allows to retrieve information on the samples found along the upper edge. | |
| bool | GetSampleUpperEdge (ref eVision.EPeak pk, uint index) |
| Allows to retrieve information on the samples found along the upper edge. | |
| bool | GetSample (ref eVision.EPoint pt, uint index) |
| void | GetSample (eVision.Legacy.ESamplePoint sp, uint index) |
| 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. | |
| void | Plot (System.Drawing.Graphics graphicContext, eVision.EPlotItem drawItems, float width, float height, float originX, float originY) |
| Draws the profile that is crossed by one of the sample paths of the 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 one of the sample paths of the 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 one of the sample paths of the 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 one of the sample paths of the 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 one of the sample paths of the 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 one of the sample paths of the gauge, as defined by EPlotItem. | |
| Public Member Functions inherited from eVision.Legacy.ERectangleShape | |
| void | SetCenterXY (float centerX, float centerY) |
| Sets the center coordinates of a ERectangleShape object. | |
| void | SetFromTwoPoints (eVision.EPoint origin, eVision.EPoint end) |
| Sets the geometric parameters of an ERectangleShape object using two opposed corners. | |
| void | SetFromOppositeCorners (eVision.EPoint origin, eVision.EPoint end) |
| Sets the geometric parameters of an ERectangleShape object using two opposed corners. | |
| void | SetFromOriginMiddleEnd (eVision.EPoint origin, eVision.EPoint middle, eVision.EPoint end) |
| Sets the geometric parameters of an ERectangleShape object using three corners. | |
| void | SetFromThreeCorners (eVision.EPoint origin, eVision.EPoint middle, eVision.EPoint end) |
| Sets the geometric parameters of an ERectangleShape object using three corners. | |
| void | SetSize (float sizeX, float sizeY) |
| Sets the size of a ERectangleShape object. | |
| eVision.EPoint | GetPoint (float fractionX, float fractionY) |
| Returns the coordinates of a particular point, specified by its location in the ERectangleShape area. | |
| void | GetMidEdges (ref eVision.EPoint x, ref eVision.EPoint XX, ref eVision.EPoint y, ref eVision.EPoint YY) |
| Retrieves the center coordinates of each edge of a ERectangleShape object. | |
| void | GetCorners (ref eVision.EPoint xy, ref eVision.EPoint XXy, ref eVision.EPoint xYY, ref eVision.EPoint XXYY) |
| Retrieves the coordinates of each corner of a ERectangleShape object. | |
| void | GetEdges (eVision.Legacy.ELine x, eVision.Legacy.ELine XX, eVision.Legacy.ELine y, eVision.Legacy.ELine YY) |
| Retrieves each edge of a ERectangleShape object. | |
| void | CopyTo (eVision.Legacy.ERectangleShape dest, bool bRecursive) |
| Copies all the data of the current ERectangleShape object into another ERectangleShape object and returns it. | |
| void | CopyTo (eVision.Legacy.ERectangleShape dest) |
| Copies all the data of the current ERectangleShape object into another ERectangleShape 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 n32CursorX, int n32CursorY) |
| Moves a handle to a new position and updates the position parameters of the shape. | |
| 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 | FilteringThreshold [get, set] |
| Relative filtering threshold, that is the fraction of the average distance between the sampled points and the fitted model above which a point is filtered out. | |
| uint | NumFilteringPasses [get, set] |
| Number of filtering passes for a model fitting operation. | |
| uint | NumValidSamples [get] |
| Number of valid sample points remaining after a model fitting operation. | |
| float | AverageDistance [get] |
| Average distance between the sampled points and the fitted model. | |
| int[] | MinNumFitSamples [get, set] |
| Sets/Gets the minimum number of samples required for fitting the shape. | |
| uint | NumSkipRanges [get] |
| Number of skip ranges in the gauge after a call to ERectangleGauge.AddSkipRange. | |
| override eVision.EShapeType | Type [get] |
| Shape type. | |
| eVision.Legacy.ERectangle | Shape [get] |
| 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. | |
| float | InnerFilteringThreshold [get, set] |
| Sampled point inner filtering threshold. | |
| bool | InnerFilteringEnabled [get] |
| Getter method for the GetInnerFilteringEnabled property. This property is the flag indicating if the inner sampled point filtering is enabled (true). | |
| uint | ActiveEdges [get, set] |
| Active edges as defined in EDragHandle. | |
| float | Tolerance [get, set] |
| Searching area half thickness of the rectangle fitting gauge. | |
| bool | HVConstraint [get, set] |
| Status of the restriction on the orientation of the point location gauge or model fitting sample paths. | |
| 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 | 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. | |
| float | SamplingStep [get, set] |
| Approximate distance between sampled points during a model fitting operation. | |
| uint | NumSamples [get] |
| Number of sampled points during the model fitting operation. | |
| uint | NumSamplesx [get] |
| Number of sampled points found on edge x during the measure operation. | |
| uint | NumSamplesy [get] |
| Number of sampled points found on edge y during the measure operation. | |
| uint | NumSamplesX [get] |
| Number of sampled points found on edge X during the measure operation. | |
| uint | NumSamplesY [get] |
| Number of sampled points found on edge Y during the measure operation. | |
| uint | NumSamplesLeftEdge [get] |
| Number of sampled points found on leftmost edge during the measure operation. | |
| uint | NumSamplesRightEdge [get] |
| Number of sampled points found on rightmost edge during the measure operation. | |
| uint | NumSamplesLowerEdge [get] |
| Number of sampled points found on lower edge during the measure operation. | |
| uint | NumSamplesUpperEdge [get] |
| Number of sampled points found on upper edge during the measure operation. | |
| bool | KnownAngle [get, set] |
| Flag indicating whether the rotation angle of the rectangle to be fitted is known or not. | |
| eVision.Legacy.ERectangle | MeasuredRectangle [get] |
| Information pertaining to the fitted rectangle. | |
| bool | Valid [get] |
| Flag indicating if at least one valid transition has been found. | |
| Properties inherited from eVision.Legacy.ERectangleShape | |
| eVision.EPoint | Center [get, set] |
| Center point of the shape. | |
| float | CenterX [get] |
| Abscissa of the origin point of the shape. | |
| float | CenterY [get] |
| Ordinate of the origin point of the shape. | |
| float | Angle [get, set] |
| Orientation of the shape. | |
| float | Scale [get, set] |
| Horizontal sensor resolution, in pixels per unit. | |
| virtual eVision.Legacy.ERectangle | Rectangle [set] |
| Sets the parameters of the rectangle according to a known ERectangle object. | |
| float | SizeX [get] |
| X size of the ERectangleShape. | |
| float | SizeY [get] |
| Y size of the ERectangleShape. | |
| 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. | |
Manages a rectangle fitting gauge.
License(s): EasyGauge
| eVision.Legacy.ERectangleGauge.ERectangleGauge | ( | ) |
Constructs a rectangle measurement context.
With the default constructor, all the parameters are initialized to their respective default values.
With the copy constructor, the constructed rectangle measurement context is based on a pre-existing ERectangleGauge object. The gauge children are also copied. Hierarchy copying through a copy constructor is always recursive. To disable this recursion, use instead the ERectangleGauge.CopyTo method.
| eVision.Legacy.ERectangleGauge.ERectangleGauge | ( | eVision.Legacy.ERectangleGauge | other | ) |
Constructs a rectangle measurement context.
| other | Another ERectangleGauge object to be copied in the new ERectangleGauge object. |
With the default constructor, all the parameters are initialized to their respective default values.
With the copy constructor, the constructed rectangle measurement context is based on a pre-existing ERectangleGauge object. The gauge children are also copied. Hierarchy copying through a copy constructor is always recursive. To disable this recursion, use instead the ERectangleGauge.CopyTo method.
| uint eVision.Legacy.ERectangleGauge.AddSkipRange | ( | eVision.EIntegerRange | range | ) |
Adds an item to the set of skip ranges and returns the index of the newly added range.
| range | The skip range. |
The samples indices between start and end (including the boundaries) will be discarded during the measurement process.
This method allows to define skip ranges in an ERectangleGauge. This means that, at measure time, samples belonging to these ranges will not be taken into account.
A sample may belong to more than one skip range; to be discarded, a sample has to pertain to at least one range. Moreover, the skip ranges are allowed to overlap one another.
The range is allowed to be reversed (i.e. end is not required to be greater than start).
Also, start and end are not required to reference valid indices at the time of the call (i.e. the range may lie outside of the current return value for ERectangleGauge.NumSamples).
| uint eVision.Legacy.ERectangleGauge.AddSkipRange | ( | uint | start, |
| uint | end ) |
Adds an item to the set of skip ranges and returns the index of the newly added range.
| start | Beginning of the skip range. |
| end | End of the skip range. |
The samples indices between start and end (including the boundaries) will be discarded during the measurement process.
This method allows to define skip ranges in an ERectangleGauge. This means that, at measure time, samples belonging to these ranges will not be taken into account.
A sample may belong to more than one skip range; to be discarded, a sample has to pertain to at least one range. Moreover, the skip ranges are allowed to overlap one another.
The range is allowed to be reversed (i.e. end is not required to be greater than start).
Also, start and end are not required to reference valid indices at the time of the call (i.e. the range may lie outside of the current return value for ERectangleGauge.NumSamples).
| void eVision.Legacy.ERectangleGauge.CopyTo | ( | eVision.Legacy.ERectangleGauge | other | ) |
Copies all the data of the current ERectangleGauge object into another ERectangleGauge object, and returns it.
| other | Pointer to the ERectangleGauge object in which the current ERectangleGauge object data have to be copied. |
In the overload taking a pointer, in case of a NULL pointer, a new ERectangleGauge object will be created and returned.
| void eVision.Legacy.ERectangleGauge.CopyTo | ( | eVision.Legacy.ERectangleGauge | other, |
| bool | recursive ) |
Copies all the data of the current ERectangleGauge object into another ERectangleGauge object, and returns it.
| other | Pointer to the ERectangleGauge object in which the current ERectangleGauge object data have to be copied. |
| recursive | true 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 ERectangleGauge object will be created and returned.
| void eVision.Legacy.ERectangleGauge.DisableInnerFiltering | ( | ) |
Disables inner sampled point filtering.
The inner sampled point filtering is activated as soon as the corresponding ERectangleGauge.InnerFilteringThreshold is set.
| override void eVision.Legacy.ERectangleGauge.Drag | ( | int | x, |
| int | y ) |
Moves a handle to a new position and updates the position parameters of the gauge.
| x | Cursor current X coordinate. |
| y | Cursor current Y coordinate. |
| override void eVision.Legacy.ERectangleGauge.Draw | ( | eVision.EDrawAdapter | graphicContext | ) |
Draws a graphical representation of a point location or model fitting gauge, as defined by EDrawingMode.
| graphicContext | Handle of the device context on which to draw. |
| override void eVision.Legacy.ERectangleGauge.Draw | ( | eVision.EDrawAdapter | graphicContext, |
| eVision.EDrawingMode | drawingMode ) |
Draws a graphical representation of a point location or model fitting gauge, as defined by EDrawingMode.
| graphicContext | Handle of the device context on which to draw. |
| drawingMode | Indicates how the point location or model fitting gauge must be displayed, as defined by EDrawingMode. |
| override void eVision.Legacy.ERectangleGauge.Draw | ( | eVision.EDrawAdapter | graphicContext, |
| eVision.EDrawingMode | drawingMode, | ||
| bool | daughters ) |
Draws a graphical representation of a point location or model fitting gauge, as defined by EDrawingMode.
| graphicContext | Handle of the device context on which to draw. |
| drawingMode | Indicates how the point location or model fitting gauge must be displayed, as defined by EDrawingMode. |
| daughters | true if the daughters gauges are to be displayed also. |
| override void eVision.Legacy.ERectangleGauge.Draw | ( | IntPtr | graphicContext | ) |
Draws a graphical representation of a point location or model fitting gauge, as defined by EDrawingMode.
| graphicContext | Handle of the device context on which to draw. |
| override void eVision.Legacy.ERectangleGauge.Draw | ( | IntPtr | graphicContext, |
| eVision.EDrawingMode | drawingMode ) |
Draws a graphical representation of a point location or model fitting gauge, as defined by EDrawingMode.
| graphicContext | Handle of the device context on which to draw. |
| drawingMode | Indicates how the point location or model fitting gauge must be displayed, as defined by EDrawingMode. |
| override void eVision.Legacy.ERectangleGauge.Draw | ( | IntPtr | graphicContext, |
| eVision.EDrawingMode | drawingMode, | ||
| bool | daughters ) |
Draws a graphical representation of a point location or model fitting gauge, as defined by EDrawingMode.
| graphicContext | Handle of the device context on which to draw. |
| drawingMode | Indicates how the point location or model fitting gauge must be displayed, as defined by EDrawingMode. |
| daughters | true if the daughters gauges are to be displayed also. |
| override void eVision.Legacy.ERectangleGauge.Draw | ( | IntPtr | graphicContext, |
| eVision.ERGBColor | color ) |
Draws a graphical representation of a point location or model fitting gauge, as defined by EDrawingMode.
| graphicContext | Handle of the device context on which to draw. |
| color | The color in which to draw the overlay. |
| override void eVision.Legacy.ERectangleGauge.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.
| graphicContext | Handle of the device context on which to draw. |
| color | The color in which to draw the overlay. |
| drawingMode | Indicates how the point location or model fitting gauge must be displayed, as defined by EDrawingMode. |
| override void eVision.Legacy.ERectangleGauge.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.
| graphicContext | Handle of the device context on which to draw. |
| color | The color in which to draw the overlay. |
| drawingMode | Indicates how the point location or model fitting gauge must be displayed, as defined by EDrawingMode. |
| daughters | true if the daughters gauges are to be displayed also. |
| override void eVision.Legacy.ERectangleGauge.Draw | ( | System.Drawing.Graphics | graphicContext | ) |
Draws a graphical representation of a point location or model fitting gauge, as defined by EDrawingMode.
| graphicContext | Handle of the device context on which to draw. |
| override void eVision.Legacy.ERectangleGauge.Draw | ( | System.Drawing.Graphics | graphicContext, |
| eVision.EDrawingMode | drawingMode ) |
Draws a graphical representation of a point location or model fitting gauge, as defined by EDrawingMode.
| graphicContext | Handle of the device context on which to draw. |
| drawingMode | Indicates how the point location or model fitting gauge must be displayed, as defined by EDrawingMode. |
| override void eVision.Legacy.ERectangleGauge.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.
| graphicContext | Handle of the device context on which to draw. |
| drawingMode | Indicates how the point location or model fitting gauge must be displayed, as defined by EDrawingMode. |
| daughters | true if the daughters gauges are to be displayed also. |
| override void eVision.Legacy.ERectangleGauge.Draw | ( | System.Drawing.Graphics | graphicContext, |
| eVision.ERGBColor | color ) |
Draws a graphical representation of a point location or model fitting gauge, as defined by EDrawingMode.
| graphicContext | Handle of the device context on which to draw. |
| color | The color in which to draw the overlay. |
| override void eVision.Legacy.ERectangleGauge.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.
| graphicContext | Handle of the device context on which to draw. |
| color | The color in which to draw the overlay. |
| drawingMode | Indicates how the point location or model fitting gauge must be displayed, as defined by EDrawingMode. |
| override void eVision.Legacy.ERectangleGauge.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.
| graphicContext | Handle of the device context on which to draw. |
| color | The color in which to draw the overlay. |
| drawingMode | Indicates how the point location or model fitting gauge must be displayed, as defined by EDrawingMode. |
| daughters | true if the daughters gauges are to be displayed also. |
| override void eVision.Legacy.ERectangleGauge.DrawWithCurrentPen | ( | IntPtr | graphicContext | ) |
Draws a graphical representation of a point location or model fitting gauge, as defined by EDrawingMode.
| graphicContext | Handle of the device context on which to draw. |
| override void eVision.Legacy.ERectangleGauge.DrawWithCurrentPen | ( | IntPtr | graphicContext, |
| eVision.EDrawingMode | drawingMode ) |
Draws a graphical representation of a point location or model fitting gauge, as defined by EDrawingMode.
| graphicContext | Handle of the device context on which to draw. |
| drawingMode | Indicates how the point location or model fitting gauge must be displayed, as defined by EDrawingMode. |
| override void eVision.Legacy.ERectangleGauge.DrawWithCurrentPen | ( | IntPtr | graphicContext, |
| eVision.EDrawingMode | drawingMode, | ||
| bool | daughters ) |
Draws a graphical representation of a point location or model fitting gauge, as defined by EDrawingMode.
| graphicContext | Handle of the device context on which to draw. |
| drawingMode | Indicates how the point location or model fitting gauge must be displayed, as defined by EDrawingMode. |
| daughters | true if the daughters gauges are to be displayed also. |
| eVision.EPoint eVision.Legacy.ERectangleGauge.GetMeasuredPoint | ( | ) |
Returns the coordinates of a sample point, measured along one of the sample paths of the gauge.
These coordinates pertain to the world space; they are expressed in the reference frame to which the current ERectangleGauge object belongs.
The gauging process uses a list of sample points to find the shape position and size that best fit a given image. These sample points are measured along the sample paths defined by the gauge geometry. ERectangleGauge.GetMeasuredPoint returns the coordinates of the sample point that meets the following two requirements:
| eVision.EPoint eVision.Legacy.ERectangleGauge.GetMeasuredPoint | ( | uint | index | ) |
Returns the coordinates of a sample point, measured along one of the sample paths of the gauge.
| index | This argument must be left unchanged from its default value, i.e. ~0 (= 0xFFFFFFFF). |
These coordinates pertain to the world space; they are expressed in the reference frame to which the current ERectangleGauge object belongs.
The gauging process uses a list of sample points to find the shape position and size that best fit a given image. These sample points are measured along the sample paths defined by the gauge geometry. ERectangleGauge.GetMeasuredPoint returns the coordinates of the sample point that meets the following two requirements:
| void eVision.Legacy.ERectangleGauge.GetMinNumFitSamples | ( | out int | side0, |
| out int | side1, | ||
| out int | side2, | ||
| out int | side3 ) |
Returns the minimum number of samples required for fitting on each side of the shape.
| side0 | Minimum number of samples on the top side of the rectangle. |
| side1 | Minimum number of samples on the left side of the rectangle. |
| side2 | Minimum number of samples on the bottom side of the rectangle. |
| side3 | Minimum number of samples on the right side of the rectangle. |
Irrelevant in case of a point location operation.
| void eVision.Legacy.ERectangleGauge.GetSample | ( | eVision.Legacy.ESamplePoint | sp, |
| uint | index ) |
| bool eVision.Legacy.ERectangleGauge.GetSample | ( | ref eVision.EPoint | pt, |
| uint | index ) |
| void eVision.Legacy.ERectangleGauge.GetSampleLeftEdge | ( | eVision.Legacy.ESamplePoint | sp, |
| uint | index ) |
Allows to retrieve information on the samples found along the leftmost edge.
| sp | ESamplePoint structure that will receive the sample position. |
| index | The sample index |
The method provides the sample point corresponding to the supplied index.
The returned value is true when the sample is valid, and false otherwise.
| bool eVision.Legacy.ERectangleGauge.GetSampleLeftEdge | ( | ref eVision.EPeak | pk, |
| uint | index ) |
Allows to retrieve information on the samples found along the leftmost edge.
| pk | EPeak structure that will contain the sample peak properties. |
| index | The sample index |
The method provides the sample point corresponding to the supplied index.
The returned value is true when the sample is valid, and false otherwise.
| bool eVision.Legacy.ERectangleGauge.GetSampleLeftEdge | ( | ref eVision.EPoint | pt, |
| uint | index ) |
Allows to retrieve information on the samples found along the leftmost edge.
| pt | EPoint structure that will receive the sample position. |
| index | The sample index |
The method provides the sample point corresponding to the supplied index.
The returned value is true when the sample is valid, and false otherwise.
| void eVision.Legacy.ERectangleGauge.GetSampleLowerEdge | ( | eVision.Legacy.ESamplePoint | sp, |
| uint | index ) |
Allows to retrieve information on the samples found along the lower edge.
| sp | ESamplePoint structure that will receive the sample position. |
| index | The sample index |
The method provides the sample point corresponding to the supplied index.
The returned value is true when the sample is valid, and false otherwise.
| bool eVision.Legacy.ERectangleGauge.GetSampleLowerEdge | ( | ref eVision.EPeak | pk, |
| uint | index ) |
Allows to retrieve information on the samples found along the lower edge.
| pk | EPeak structure that will contain the sample peak properties. |
| index | The sample index |
The method provides the sample point corresponding to the supplied index.
The returned value is true when the sample is valid, and false otherwise.
| bool eVision.Legacy.ERectangleGauge.GetSampleLowerEdge | ( | ref eVision.EPoint | pt, |
| uint | index ) |
Allows to retrieve information on the samples found along the lower edge.
| pt | EPoint structure that will receive the sample position. |
| index | The sample index |
The method provides the sample point corresponding to the supplied index.
The returned value is true when the sample is valid, and false otherwise.
| void eVision.Legacy.ERectangleGauge.GetSampleRightEdge | ( | eVision.Legacy.ESamplePoint | sp, |
| uint | index ) |
Allows to retrieve information on the samples found along the rightmost edge.
| sp | ESamplePoint structure that will receive the sample position. |
| index | The sample index |
The method provides the sample point corresponding to the supplied index.
The returned value is true when the sample is valid, and false otherwise.
| bool eVision.Legacy.ERectangleGauge.GetSampleRightEdge | ( | ref eVision.EPeak | pk, |
| uint | index ) |
Allows to retrieve information on the samples found along the rightmost edge.
| pk | EPeak structure that will contain the sample peak properties. |
| index | The sample index |
The method provides the sample point corresponding to the supplied index.
The returned value is true when the sample is valid, and false otherwise.
| bool eVision.Legacy.ERectangleGauge.GetSampleRightEdge | ( | ref eVision.EPoint | pt, |
| uint | index ) |
Allows to retrieve information on the samples found along the rightmost edge.
| pt | EPoint structure that will receive the sample position. |
| index | The sample index |
The method provides the sample point corresponding to the supplied index.
The returned value is true when the sample is valid, and false otherwise.
| void eVision.Legacy.ERectangleGauge.GetSampleUpperEdge | ( | eVision.Legacy.ESamplePoint | sp, |
| uint | index ) |
Allows to retrieve information on the samples found along the upper edge.
| sp | ESamplePoint structure that will receive the sample position. |
| index | The sample index |
The method provides the sample point corresponding to the supplied index.
The returned value is true when the sample is valid, and false otherwise.
| bool eVision.Legacy.ERectangleGauge.GetSampleUpperEdge | ( | ref eVision.EPeak | pk, |
| uint | index ) |
Allows to retrieve information on the samples found along the upper edge.
| pk | EPeak structure that will contain the sample peak properties. |
| index | The sample index |
The method provides the sample point corresponding to the supplied index.
The returned value is true when the sample is valid, and false otherwise.
| bool eVision.Legacy.ERectangleGauge.GetSampleUpperEdge | ( | ref eVision.EPoint | pt, |
| uint | index ) |
Allows to retrieve information on the samples found along the upper edge.
| pt | EPoint structure that will receive the sample position. |
| index | The sample index |
The method provides the sample point corresponding to the supplied index.
The returned value is true when the sample is valid, and false otherwise.
| void eVision.Legacy.ERectangleGauge.GetSampleX | ( | eVision.Legacy.ESamplePoint | sp, |
| uint | index ) |
Allows to retrieve information on the samples found along the X edge.
| sp | ESamplePoint structure that will receive the sample position. |
| index | The sample index |
The method provides the sample point corresponding to the supplied index.
The returned value is true when the sample is valid, and false otherwise.
Use ERectangleGauge.GetSampleRightEdge instead.
Deprecated in version 24.2. Scheduled to be removed in version 27.6.
| bool eVision.Legacy.ERectangleGauge.GetSampleX | ( | ref eVision.EPeak | pk, |
| uint | index ) |
Allows to retrieve information on the samples found along the X edge.
| pk | EPeak structure that will contain the sample peak properties. |
| index | The sample index |
The method provides the sample point corresponding to the supplied index.
The returned value is true when the sample is valid, and false otherwise.
Use ERectangleGauge.GetSampleRightEdge instead.
Deprecated in version 24.2. Scheduled to be removed in version 27.6.
| bool eVision.Legacy.ERectangleGauge.GetSampleX | ( | ref eVision.EPoint | pt, |
| uint | index ) |
Allows to retrieve information on the samples found along the X edge.
| pt | EPoint structure that will receive the sample position. |
| index | The sample index |
The method provides the sample point corresponding to the supplied index.
The returned value is true when the sample is valid, and false otherwise.
Use ERectangleGauge.GetSampleRightEdge instead.
Deprecated in version 24.2. Scheduled to be removed in version 27.6.
| void eVision.Legacy.ERectangleGauge.GetSamplex | ( | eVision.Legacy.ESamplePoint | sp, |
| uint | index ) |
Allows to retrieve information on the samples found along the x edge.
| sp | ESamplePoint structure that will receive the sample position. |
| index | The sample index |
The method provides the sample point corresponding to the supplied index.
The returned value is true when the sample is valid, and false otherwise.
Use ERectangleGauge.GetSampleLeftEdge instead.
Deprecated in version 24.2. Scheduled to be removed in version 27.6.
| bool eVision.Legacy.ERectangleGauge.GetSamplex | ( | ref eVision.EPeak | pk, |
| uint | index ) |
Allows to retrieve information on the samples found along the x edge.
| pk | EPeak structure that will contain the sample peak properties. |
| index | The sample index |
The method provides the sample point corresponding to the supplied index.
The returned value is true when the sample is valid, and false otherwise.
Use ERectangleGauge.GetSampleLeftEdge instead.
Deprecated in version 24.2. Scheduled to be removed in version 27.6.
| bool eVision.Legacy.ERectangleGauge.GetSamplex | ( | ref eVision.EPoint | pt, |
| uint | index ) |
Allows to retrieve information on the samples found along the x edge.
| pt | EPoint structure that will receive the sample position. |
| index | The sample index |
The method provides the sample point corresponding to the supplied index.
The returned value is true when the sample is valid, and false otherwise.
Use ERectangleGauge.GetSampleLeftEdge instead.
Deprecated in version 24.2. Scheduled to be removed in version 27.6.
| void eVision.Legacy.ERectangleGauge.GetSampleY | ( | eVision.Legacy.ESamplePoint | sp, |
| uint | index ) |
Allows to retrieve information on the samples found along the Y edge.
| sp | ESamplePoint structure that will receive the sample position. |
| index | The sample index |
The method provides the sample point corresponding to the supplied index.
The returned value is true when the sample is valid, and false otherwise.
Use ERectangleGauge.GetSampleUpperEdge instead.
Deprecated in version 24.2. Scheduled to be removed in version 27.6.
| bool eVision.Legacy.ERectangleGauge.GetSampleY | ( | ref eVision.EPeak | pk, |
| uint | index ) |
Allows to retrieve information on the samples found along the Y edge.
| pk | EPeak structure that will contain the sample peak properties. |
| index | The sample index |
The method provides the sample point corresponding to the supplied index.
The returned value is true when the sample is valid, and false otherwise.
Use ERectangleGauge.GetSampleUpperEdge instead.
Deprecated in version 24.2. Scheduled to be removed in version 27.6.
| bool eVision.Legacy.ERectangleGauge.GetSampleY | ( | ref eVision.EPoint | pt, |
| uint | index ) |
Allows to retrieve information on the samples found along the Y edge.
| pt | EPoint structure that will receive the sample position. |
| index | The sample index |
The method provides the sample point corresponding to the supplied index.
The returned value is true when the sample is valid, and false otherwise.
Use ERectangleGauge.GetSampleUpperEdge instead.
Deprecated in version 24.2. Scheduled to be removed in version 27.6.
| void eVision.Legacy.ERectangleGauge.GetSampley | ( | eVision.Legacy.ESamplePoint | sp, |
| uint | index ) |
Allows to retrieve information on the samples found along the y edge.
| sp | ESamplePoint structure that will receive the sample position. |
| index | The sample index |
The method provides the sample point corresponding to the supplied index.
The returned value is true when the sample is valid, and false otherwise.
Use ERectangleGauge.GetSampleLowerEdge instead.
Deprecated in version 24.2. Scheduled to be removed in version 27.6.
| bool eVision.Legacy.ERectangleGauge.GetSampley | ( | ref eVision.EPeak | pk, |
| uint | index ) |
Allows to retrieve information on the samples found along the y edge.
| pk | EPeak structure that will contain the sample peak properties. |
| index | The sample index |
The method provides the sample point corresponding to the supplied index.
The returned value is true when the sample is valid, and false otherwise.
Use ERectangleGauge.GetSampleLowerEdge instead.
Deprecated in version 24.2. Scheduled to be removed in version 27.6.
| bool eVision.Legacy.ERectangleGauge.GetSampley | ( | ref eVision.EPoint | pt, |
| uint | index ) |
Allows to retrieve information on the samples found along the y edge.
| pt | EPoint structure that will receive the sample position. |
| index | The sample index |
The method provides the sample point corresponding to the supplied index.
The returned value is true when the sample is valid, and false otherwise.
Use ERectangleGauge.GetSampleLowerEdge instead.
Deprecated in version 24.2. Scheduled to be removed in version 27.6.
| eVision.EIntegerRange eVision.Legacy.ERectangleGauge.GetSkipRange | ( | uint | index | ) |
Allows to retrieve the start and end values of the skip range corresponding to the given index, if it is valid (i.e. if it has previously been created by a call to the ERectangleGauge.AddSkipRange method.
| index | Index of the skip range. |
Start is guaranteed to be smaller or equal to end.
| void eVision.Legacy.ERectangleGauge.GetSkipRange | ( | uint | index, |
| out uint | start, | ||
| out uint | end ) |
Allows to retrieve the start and end values of the skip range corresponding to the given index, if it is valid (i.e. if it has previously been created by a call to the ERectangleGauge.AddSkipRange method.
| index | Index of the skip range. |
| start | Beginning of the skip range. |
| end | End of the skip range. |
Start is guaranteed to be smaller or equal to end.
| override bool eVision.Legacy.ERectangleGauge.HitTest | ( | ) |
Checks whether the cursor is positioned over a handle (true) or not (false).
| override bool eVision.Legacy.ERectangleGauge.HitTest | ( | bool | daughters | ) |
Checks whether the cursor is positioned over a handle (true) or not (false).
| daughters | true if the daughters gauges handles have to be considered as well. |
| void eVision.Legacy.ERectangleGauge.Measure | ( | eVision.EROIBW8 | sourceImage | ) |
Triggers the point location or the model fitting operation.
| sourceImage | Pointer 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.
| void eVision.Legacy.ERectangleGauge.Measure | ( | eVision.EROIBW8 | sourceImage, |
| eVision.ERegion | region ) |
Triggers the point location or the model fitting operation.
| sourceImage | Pointer to the source image. |
| region | Region 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.
| void eVision.Legacy.ERectangleGauge.MeasureSample | ( | eVision.EROIBW8 | sourceImage, |
| eVision.ERegion | region, | ||
| uint | pathIndex ) |
Computes the sample points along the sample path whose index in the list is given by the pathIndex parameter.
| sourceImage | Pointer to the source image/ROI. |
| region | Region on which to measure. |
| pathIndex | Sample path index. |
This method stores its results into a temporary variable inside the ERectangleGauge object.
| void eVision.Legacy.ERectangleGauge.MeasureSample | ( | eVision.EROIBW8 | sourceImage, |
| uint | pathIndex ) |
Computes the sample points along the sample path whose index in the list is given by the pathIndex parameter.
| sourceImage | Pointer to the source image/ROI. |
| pathIndex | Sample path index. |
This method stores its results into a temporary variable inside the ERectangleGauge object.
| void eVision.Legacy.ERectangleGauge.MeasureWithoutFitting | ( | eVision.EROIBW8 | sourceImage | ) |
Triggers the point location without rectangle fitting operation.
| sourceImage | Source image. |
This method performs the actual measurement for each transition, but does not perform the rectangle fitting. This means that individual samples will be available for each edges through the ERectangleGauge.GetSamplex (Edge x), ERectangleGauge.GetSampley (Edge y), ERectangleGauge.GetSampleX (Edge X), ERectangleGauge.GetSampleY (Edge Y) methods, but the gauge position will not be changed.
Please note that the filtering will not be performed in this method, since it relies upon the fitting process. The filtering parameters will thus be unused.
| void eVision.Legacy.ERectangleGauge.MeasureWithoutFitting | ( | eVision.EROIBW8 | sourceImage, |
| eVision.ERegion | region ) |
Triggers the point location without rectangle fitting operation.
| sourceImage | Source image. |
| region | Region on which to measure. |
This method performs the actual measurement for each transition, but does not perform the rectangle fitting. This means that individual samples will be available for each edges through the ERectangleGauge.GetSamplex (Edge x), ERectangleGauge.GetSampley (Edge y), ERectangleGauge.GetSampleX (Edge X), ERectangleGauge.GetSampleY (Edge Y) methods, but the gauge position will not be changed.
Please note that the filtering will not be performed in this method, since it relies upon the fitting process. The filtering parameters will thus be unused.
| void eVision.Legacy.ERectangleGauge.Plot | ( | eVision.EDrawAdapter | graphicContext, |
| eVision.EPlotItem | drawItems, | ||
| float | width, | ||
| float | height ) |
Draws the profile that is crossed by one of the sample paths of the gauge, as defined by EPlotItem.
| graphicContext | Handle of the device context on which to draw. |
| drawItems | Boolean combination of EPlotItem members, that indicates which items must be displayed. |
| width | Width of the plot. |
| height | Height of the plot. |
The sample path that is taken into considered is the one inspected with the last call to ERectangleGauge.MeasureSample.
| void eVision.Legacy.ERectangleGauge.Plot | ( | eVision.EDrawAdapter | graphicContext, |
| eVision.EPlotItem | drawItems, | ||
| float | width, | ||
| float | height, | ||
| float | originX ) |
Draws the profile that is crossed by one of the sample paths of the gauge, as defined by EPlotItem.
| graphicContext | Handle of the device context on which to draw. |
| drawItems | Boolean combination of EPlotItem members, that indicates which items must be displayed. |
| width | Width of the plot. |
| height | Height of the plot. |
| originX | Origin point coordinates of the plot along the X axis. |
The sample path that is taken into considered is the one inspected with the last call to ERectangleGauge.MeasureSample.
| void eVision.Legacy.ERectangleGauge.Plot | ( | eVision.EDrawAdapter | graphicContext, |
| eVision.EPlotItem | drawItems, | ||
| float | width, | ||
| float | height, | ||
| float | originX, | ||
| float | originY ) |
Draws the profile that is crossed by one of the sample paths of the gauge, as defined by EPlotItem.
| graphicContext | Handle of the device context on which to draw. |
| drawItems | Boolean combination of EPlotItem members, that indicates which items must be displayed. |
| width | Width of the plot. |
| height | Height of the plot. |
| originX | Origin point coordinates of the plot along the X axis. |
| originY | Origin point coordinates of the plot along the Y axis. |
The sample path that is taken into considered is the one inspected with the last call to ERectangleGauge.MeasureSample.
| void eVision.Legacy.ERectangleGauge.Plot | ( | IntPtr | graphicContext, |
| eVision.EPlotItem | drawItems, | ||
| float | width, | ||
| float | height ) |
Draws the profile that is crossed by one of the sample paths of the gauge, as defined by EPlotItem.
| graphicContext | Handle of the device context on which to draw. |
| drawItems | Boolean combination of EPlotItem members, that indicates which items must be displayed. |
| width | Width of the plot. |
| height | Height of the plot. |
The sample path that is taken into considered is the one inspected with the last call to ERectangleGauge.MeasureSample.
| void eVision.Legacy.ERectangleGauge.Plot | ( | IntPtr | graphicContext, |
| eVision.EPlotItem | drawItems, | ||
| float | width, | ||
| float | height, | ||
| float | originX ) |
Draws the profile that is crossed by one of the sample paths of the gauge, as defined by EPlotItem.
| graphicContext | Handle of the device context on which to draw. |
| drawItems | Boolean combination of EPlotItem members, that indicates which items must be displayed. |
| width | Width of the plot. |
| height | Height of the plot. |
| originX | Origin point coordinates of the plot along the X axis. |
The sample path that is taken into considered is the one inspected with the last call to ERectangleGauge.MeasureSample.
| void eVision.Legacy.ERectangleGauge.Plot | ( | IntPtr | graphicContext, |
| eVision.EPlotItem | drawItems, | ||
| float | width, | ||
| float | height, | ||
| float | originX, | ||
| float | originY ) |
Draws the profile that is crossed by one of the sample paths of the gauge, as defined by EPlotItem.
| graphicContext | Handle of the device context on which to draw. |
| drawItems | Boolean combination of EPlotItem members, that indicates which items must be displayed. |
| width | Width of the plot. |
| height | Height of the plot. |
| originX | Origin point coordinates of the plot along the X axis. |
| originY | Origin point coordinates of the plot along the Y axis. |
The sample path that is taken into considered is the one inspected with the last call to ERectangleGauge.MeasureSample.
| void eVision.Legacy.ERectangleGauge.Plot | ( | IntPtr | graphicContext, |
| eVision.ERGBColor | color, | ||
| eVision.EPlotItem | drawItems, | ||
| float | width, | ||
| float | height ) |
Draws the profile that is crossed by one of the sample paths of the gauge, as defined by EPlotItem.
| graphicContext | Handle of the device context on which to draw. |
| color | The color in which to draw the overlay. |
| drawItems | Boolean combination of EPlotItem members, that indicates which items must be displayed. |
| width | Width of the plot. |
| height | Height of the plot. |
The sample path that is taken into considered is the one inspected with the last call to ERectangleGauge.MeasureSample.
| void eVision.Legacy.ERectangleGauge.Plot | ( | IntPtr | graphicContext, |
| eVision.ERGBColor | color, | ||
| eVision.EPlotItem | drawItems, | ||
| float | width, | ||
| float | height, | ||
| float | originX ) |
Draws the profile that is crossed by one of the sample paths of the gauge, as defined by EPlotItem.
| graphicContext | Handle of the device context on which to draw. |
| color | The color in which to draw the overlay. |
| drawItems | Boolean combination of EPlotItem members, that indicates which items must be displayed. |
| width | Width of the plot. |
| height | Height of the plot. |
| originX | Origin point coordinates of the plot along the X axis. |
The sample path that is taken into considered is the one inspected with the last call to ERectangleGauge.MeasureSample.
| void eVision.Legacy.ERectangleGauge.Plot | ( | IntPtr | graphicContext, |
| eVision.ERGBColor | color, | ||
| eVision.EPlotItem | drawItems, | ||
| float | width, | ||
| float | height, | ||
| float | originX, | ||
| float | originY ) |
Draws the profile that is crossed by one of the sample paths of the gauge, as defined by EPlotItem.
| graphicContext | Handle of the device context on which to draw. |
| color | The color in which to draw the overlay. |
| drawItems | Boolean combination of EPlotItem members, that indicates which items must be displayed. |
| width | Width of the plot. |
| height | Height of the plot. |
| originX | Origin point coordinates of the plot along the X axis. |
| originY | Origin point coordinates of the plot along the Y axis. |
The sample path that is taken into considered is the one inspected with the last call to ERectangleGauge.MeasureSample.
| void eVision.Legacy.ERectangleGauge.Plot | ( | System.Drawing.Graphics | graphicContext, |
| eVision.EPlotItem | drawItems, | ||
| float | width, | ||
| float | height ) |
Draws the profile that is crossed by one of the sample paths of the gauge, as defined by EPlotItem.
| graphicContext | Handle of the device context on which to draw. |
| drawItems | Boolean combination of EPlotItem members, that indicates which items must be displayed. |
| width | Width of the plot. |
| height | Height of the plot. |
The sample path that is taken into considered is the one inspected with the last call to ERectangleGauge.MeasureSample.
| void eVision.Legacy.ERectangleGauge.Plot | ( | System.Drawing.Graphics | graphicContext, |
| eVision.EPlotItem | drawItems, | ||
| float | width, | ||
| float | height, | ||
| float | originX ) |
Draws the profile that is crossed by one of the sample paths of the gauge, as defined by EPlotItem.
| graphicContext | Handle of the device context on which to draw. |
| drawItems | Boolean combination of EPlotItem members, that indicates which items must be displayed. |
| width | Width of the plot. |
| height | Height of the plot. |
| originX | Origin point coordinates of the plot along the X axis. |
The sample path that is taken into considered is the one inspected with the last call to ERectangleGauge.MeasureSample.
| void eVision.Legacy.ERectangleGauge.Plot | ( | System.Drawing.Graphics | graphicContext, |
| eVision.EPlotItem | drawItems, | ||
| float | width, | ||
| float | height, | ||
| float | originX, | ||
| float | originY ) |
Draws the profile that is crossed by one of the sample paths of the gauge, as defined by EPlotItem.
| graphicContext | Handle of the device context on which to draw. |
| drawItems | Boolean combination of EPlotItem members, that indicates which items must be displayed. |
| width | Width of the plot. |
| height | Height of the plot. |
| originX | Origin point coordinates of the plot along the X axis. |
| originY | Origin point coordinates of the plot along the Y axis. |
The sample path that is taken into considered is the one inspected with the last call to ERectangleGauge.MeasureSample.
| void eVision.Legacy.ERectangleGauge.Plot | ( | System.Drawing.Graphics | graphicContext, |
| eVision.ERGBColor | color, | ||
| eVision.EPlotItem | drawItems, | ||
| float | width, | ||
| float | height ) |
Draws the profile that is crossed by one of the sample paths of the gauge, as defined by EPlotItem.
| graphicContext | Handle of the device context on which to draw. |
| color | The color in which to draw the overlay. |
| drawItems | Boolean combination of EPlotItem members, that indicates which items must be displayed. |
| width | Width of the plot. |
| height | Height of the plot. |
The sample path that is taken into considered is the one inspected with the last call to ERectangleGauge.MeasureSample.
| void eVision.Legacy.ERectangleGauge.Plot | ( | System.Drawing.Graphics | graphicContext, |
| eVision.ERGBColor | color, | ||
| eVision.EPlotItem | drawItems, | ||
| float | width, | ||
| float | height, | ||
| float | originX ) |
Draws the profile that is crossed by one of the sample paths of the gauge, as defined by EPlotItem.
| graphicContext | Handle of the device context on which to draw. |
| color | The color in which to draw the overlay. |
| drawItems | Boolean combination of EPlotItem members, that indicates which items must be displayed. |
| width | Width of the plot. |
| height | Height of the plot. |
| originX | Origin point coordinates of the plot along the X axis. |
The sample path that is taken into considered is the one inspected with the last call to ERectangleGauge.MeasureSample.
| void eVision.Legacy.ERectangleGauge.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 one of the sample paths of the gauge, as defined by EPlotItem.
| graphicContext | Handle of the device context on which to draw. |
| color | The color in which to draw the overlay. |
| drawItems | Boolean combination of EPlotItem members, that indicates which items must be displayed. |
| width | Width of the plot. |
| height | Height of the plot. |
| originX | Origin point coordinates of the plot along the X axis. |
| originY | Origin point coordinates of the plot along the Y axis. |
The sample path that is taken into considered is the one inspected with the last call to ERectangleGauge.MeasureSample.
| void eVision.Legacy.ERectangleGauge.PlotWithCurrentPen | ( | IntPtr | graphicContext, |
| eVision.EPlotItem | drawItems, | ||
| float | width, | ||
| float | height ) |
Draws the profile that is crossed by one of the sample paths of the gauge, as defined by EPlotItem.
| graphicContext | Handle of the device context on which to draw. |
| drawItems | Boolean combination of EPlotItem members, that indicates which items must be displayed. |
| width | Width of the plot. |
| height | Height of the plot. |
The sample path that is taken into considered is the one inspected with the last call to ERectangleGauge.MeasureSample.
| void eVision.Legacy.ERectangleGauge.PlotWithCurrentPen | ( | IntPtr | graphicContext, |
| eVision.EPlotItem | drawItems, | ||
| float | width, | ||
| float | height, | ||
| float | originX ) |
Draws the profile that is crossed by one of the sample paths of the gauge, as defined by EPlotItem.
| graphicContext | Handle of the device context on which to draw. |
| drawItems | Boolean combination of EPlotItem members, that indicates which items must be displayed. |
| width | Width of the plot. |
| height | Height of the plot. |
| originX | Origin point coordinates of the plot along the X axis. |
The sample path that is taken into considered is the one inspected with the last call to ERectangleGauge.MeasureSample.
| void eVision.Legacy.ERectangleGauge.PlotWithCurrentPen | ( | IntPtr | graphicContext, |
| eVision.EPlotItem | drawItems, | ||
| float | width, | ||
| float | height, | ||
| float | originX, | ||
| float | originY ) |
Draws the profile that is crossed by one of the sample paths of the gauge, as defined by EPlotItem.
| graphicContext | Handle of the device context on which to draw. |
| drawItems | Boolean combination of EPlotItem members, that indicates which items must be displayed. |
| width | Width of the plot. |
| height | Height of the plot. |
| originX | Origin point coordinates of the plot along the X axis. |
| originY | Origin point coordinates of the plot along the Y axis. |
The sample path that is taken into considered is the one inspected with the last call to ERectangleGauge.MeasureSample.
|
virtual |
Triggers the process pertaining to a shape or gauge and all the daughter gauges attach to it.
| sourceImage | Pointer 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.
|
virtual |
Triggers the process pertaining to a shape or gauge and all the daughter gauges attach to it.
| sourceImage | Pointer to the source image. |
| daughters | Flag 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.
|
virtual |
Triggers the process pertaining to a shape or gauge and all the daughter gauges attach to it.
| sourceImage | Pointer to the source image. |
| region | Region 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.
|
virtual |
Triggers the process pertaining to a shape or gauge and all the daughter gauges attach to it.
| sourceImage | Pointer to the source image. |
| region | Region to use with the source image. |
| daughters | Flag 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.
| void eVision.Legacy.ERectangleGauge.RemoveAllSkipRanges | ( | ) |
Removes all the skip ranges previously created by a call to ERectangleGauge.AddSkipRange.
| void eVision.Legacy.ERectangleGauge.RemoveSkipRange | ( | uint | index | ) |
After a call to ERectangleGauge.AddSkipRange, removes the skip range with the given index.
| index | Index of the skip range to remove, as returned by ERectangleGauge.AddSkipRange. |
| void eVision.Legacy.ERectangleGauge.SetMinNumFitSamples | ( | int | side0 | ) |
Sets the minimum number of samples required for fitting on each side of the shape.
| side0 | Minimum number of samples on the top side of the rectangle. The default value is 2. |
When the ERectangleGauge.Measure 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.
| void eVision.Legacy.ERectangleGauge.SetMinNumFitSamples | ( | int | side0, |
| int | side1 ) |
Sets the minimum number of samples required for fitting on each side of the shape.
| side0 | Minimum number of samples on the top side of the rectangle. The default value is 2. |
| side1 | Minimum number of samples on the left side of the rectangle. If this value is not specified, it is equal to n32Side0. The default value is 2. |
When the ERectangleGauge.Measure 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.
| void eVision.Legacy.ERectangleGauge.SetMinNumFitSamples | ( | int | side0, |
| int | side1, | ||
| int | side2 ) |
Sets the minimum number of samples required for fitting on each side of the shape.
| side0 | Minimum number of samples on the top side of the rectangle. The default value is 2. |
| side1 | Minimum number of samples on the left side of the rectangle. If this value is not specified, it is equal to n32Side0. The default value is 2. |
| side2 | Minimum number of samples on the bottom side of the rectangle. If this value is not specified, it is equal to n32Side0. The default value is 2. |
When the ERectangleGauge.Measure 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.
| void eVision.Legacy.ERectangleGauge.SetMinNumFitSamples | ( | int | side0, |
| int | side1, | ||
| int | side2, | ||
| int | side3 ) |
Sets the minimum number of samples required for fitting on each side of the shape.
| side0 | Minimum number of samples on the top side of the rectangle. The default value is 2. |
| side1 | Minimum number of samples on the left side of the rectangle. If this value is not specified, it is equal to n32Side0. The default value is 2. |
| side2 | Minimum number of samples on the bottom side of the rectangle. If this value is not specified, it is equal to n32Side0. The default value is 2. |
| side3 | Minimum number of samples on the right side of the rectangle. If this value is not specified, it is equal to n32Side1. The default value is 2. |
When the ERectangleGauge.Measure 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.
|
getset |
Sets the flag indicating whether the gauge is active or not.
When complex gauging is required, several gauges can be grouped together. Applying ERectangleGauge.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).
|
getset |
Active edges as defined in EDragHandle.
In the case of a rectangle fitting gauge, each edge can have its own transition detection parameters. Updating the transition parameters only affect the current active edges. By default, all edges are active.
|
get |
Average distance between the sampled points and the fitted model.
Irrelevant in case of a point location operation.
|
getset |
Relative filtering threshold, that is the fraction of the average distance between the sampled points and the fitted model above which a point is filtered out.
Irrelevant in case of a point location operation.
During a model fitting operation, the "filtering" process can be invoked to remove outliers, i.e. points that were located significantly far away from the fitted model (so that their position is dubious).
|
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.
|
get |
Getter method for the GetInnerFilteringEnabled property. This property is the flag indicating if the inner sampled point filtering is enabled (true).
The inner sampled point filtering is activated as soon as the corresponding threshold is set, getting the ERectangleGauge.InnerFilteringThreshold property. To disable inner filtering, use the ERectangleGauge.DisableInnerFiltering method.
|
getset |
Sampled point inner filtering threshold.
If inner filtering is enabled, the sampled points that have been found inside the measured rectangle are filtered in regard of their distance to it. If this distance is greater than the threshold, the sampled point is set as invalid, and removed from the measure. This distance is in physical units.
The inner sampled point filtering is activated as soon as the corresponding threshold is set. To disable inner filtering, use the DisableInnerFiltering method.
|
getset |
Flag indicating whether the rotation angle of the rectangle to be fitted is known or not.
A rectangle model to be fitted may have a well-known orientation. It is possible to impose the value of this rotation angle, thus removing one degree of freedom.
The sign of the rotation angle depends whether the field of view is calibrated or not.
|
get |
Information pertaining to the fitted rectangle.
Use method EShape.GetFound to get the status of the measurement. ERectangleGauge.MeasuredRectangle returns a successful fitted rectangle if EShape.GetFound is true, otherwise it returns the orginal (nominal) rectangle.
|
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.
|
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.
|
getset |
Sets/Gets the minimum number of samples required for fitting the shape.
In case of a ERectangleGauge, 4 values are used, one for each side of the rectangle. When the ERectangleGauge.Measure 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.
|
getset |
Number of filtering passes for a model fitting operation.
Irrelevant in case of a point location operation.
During a filtering pass, the points that are too distant from the model are discarded. During a model fitting operation, the "filtering" process can be invoked to remove outliers, i.e. points that were located significantly far away from the fitted model (so that their position is dubious).
By default (the number of filtering passes is 0), the outliers rejection process is disabled.
|
get |
Number of sampled points during the model fitting operation.
Irrelevant in case of a point location operation.
After a model fitting operation, a number of points have been fitted along the model. Among them, some are not reliable because of their Area value. Among the remaining ones, some are filtered out (NumFilteringPasses, FilteringThreshold).
|
get |
Number of sampled points found on leftmost edge during the measure operation.
|
get |
Number of sampled points found on lower edge during the measure operation.
|
get |
Number of sampled points found on rightmost edge during the measure operation.
|
get |
Number of sampled points found on upper edge during the measure operation.
|
get |
Number of sampled points found on edge X during the measure operation.
Use ERectangleGauge.NumSamplesRightEdge instead.
Deprecated in version 24.2. Scheduled to be removed in version 27.6.
|
get |
Number of sampled points found on edge x during the measure operation.
Use ERectangleGauge.NumSamplesLeftEdge instead.
Deprecated in version 24.2. Scheduled to be removed in version 27.6.
|
get |
Number of sampled points found on edge Y during the measure operation.
Use ERectangleGauge.NumSamplesUpperEdge instead.
Deprecated in version 24.2. Scheduled to be removed in version 27.6.
|
get |
Number of sampled points found on edge y during the measure operation.
Use ERectangleGauge.NumSamplesLowerEdge instead.
Deprecated in version 24.2. Scheduled to be removed in version 27.6.
|
get |
Number of skip ranges in the gauge after a call to ERectangleGauge.AddSkipRange.
|
get |
Number of valid sample points remaining after a model fitting operation.
Irrelevant in case of a point location operation.
After a model fitting operation, a number of points have been fitted along the model. Among them, some are not reliable because of their Area value. Among the remaining ones, some are filtered out (NumFilteringPasses, FilteringThreshold).
|
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.
|
getset |
Approximate distance between sampled points during a model fitting operation.
Irrelevant in case of a point location operation.
To fit a model, a series of point location operations are performed along the model. The point location gauges spacing is given by the sampling step.
By default, the sampling step is set to 5, which means 5 pixels when the field of view is not calibrated, and 5 physical units in case of a calibrated field of view.
Be aware that if the sampling step is too large, the number of sampled points along the model will not be sufficient enough to accurately locate it.
|
get |
|
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.
|
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.
|
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.
|
getset |
Searching area half thickness of the rectangle fitting gauge.
A rectangle fitting gauge is fully defined knowing its nominal position (its center coordinates), its nominal size, its rotation angle, and its outline tolerance.
By default, the searching area thickness of the rectangle fitting 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.
|
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 ERectangleGauge.TransitionIndex to specify the desired transition.
By default, the selected transition corresponds to the one with the largest amplitude (ETransitionChoice.ETransitionChoice_LargestAmplitude).
|
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).
|
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).
|
get |
Shape type.
|
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 inspected with the last call to ERectangleGauge.MeasureSample, and thus a point has been measured.