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

Manages a complete context for measuring frame shapes. More...

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

Public Member Functions

 EFrameShape ()
 Construct a EFrameShape object.
 EFrameShape (eVision.Legacy.EFrameShape frameShape)
 Construct a EFrameShape object.
void CopyTo (eVision.Legacy.EFrameShape other, bool recursive)
 Copy operator.
void CopyTo (eVision.Legacy.EFrameShape other)
 Copy operator.
void SetCenterXY (float centerX, float centerY)
 Sets the origin point coordinates of the frame.
void Set (eVision.EPoint center, float angle, float scale)
 Sets the coordinates of the origin point and the orientation of the frame.
void Set (eVision.EPoint center, float angle)
 Sets the coordinates of the origin point and the orientation of the frame.
void Set (eVision.EPoint center)
 Sets the coordinates of the origin point and the orientation of the frame.
void SetSize (float sizeX, float sizeY)
 Sets the frame size.
void SetSize (float sizeX)
 Sets the frame size.
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 daughter)
 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 cursorX, int cursorY)
 Moves a handle to a new position and updates the position parameters of the shape.
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.
void DrawCrossGrid (eVision.EDrawAdapter graphicContext, float f32XMin, float f32XMax, float f32YMin, float f32YMax, uint un32NumXIntervals, uint un32NumYIntervals)
void DrawCrossGrid (eVision.EDrawAdapter graphicContext, float f32XMin, float f32XMax, float f32YMin, float f32YMax, uint un32NumXIntervals)
void DrawCrossGrid (eVision.EDrawAdapter graphicContext, float f32XMin, float f32XMax, float f32YMin, float f32YMax)
void DrawCrossGrid (eVision.EDrawAdapter graphicContext, float f32XMin, float f32XMax, float f32YMin)
void DrawCrossGrid (eVision.EDrawAdapter graphicContext, float f32XMin, float f32XMax)
void DrawCrossGrid (eVision.EDrawAdapter graphicContext, float f32XMin)
void DrawCrossGrid (eVision.EDrawAdapter graphicContext)
void DrawCrossGrid (IntPtr dc, float f32XMin, float f32XMax, float f32YMin, float f32YMax, uint un32NumXIntervals, uint un32NumYIntervals)
void DrawCrossGrid (IntPtr dc, float f32XMin, float f32XMax, float f32YMin, float f32YMax, uint un32NumXIntervals)
void DrawCrossGrid (IntPtr dc, float f32XMin, float f32XMax, float f32YMin, float f32YMax)
void DrawCrossGrid (IntPtr dc, float f32XMin, float f32XMax, float f32YMin)
void DrawCrossGrid (IntPtr dc, float f32XMin, float f32XMax)
void DrawCrossGrid (IntPtr dc, float f32XMin)
void DrawCrossGrid (IntPtr dc)
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.
void DrawCrossGrid (System.Drawing.Graphics dc, float f32XMin, float f32XMax, float f32YMin, float f32YMax, uint un32NumXIntervals, uint un32NumYIntervals)
void DrawCrossGrid (System.Drawing.Graphics dc, float f32XMin, float f32XMax, float f32YMin, float f32YMax, uint un32NumXIntervals)
void DrawCrossGrid (System.Drawing.Graphics dc, float f32XMin, float f32XMax, float f32YMin, float f32YMax)
void DrawCrossGrid (System.Drawing.Graphics dc, float f32XMin, float f32XMax, float f32YMin)
void DrawCrossGrid (System.Drawing.Graphics dc, float f32XMin, float f32XMax)
void DrawCrossGrid (System.Drawing.Graphics dc, float f32XMin)
void DrawCrossGrid (System.Drawing.Graphics dc)
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.
virtual void Process (eVision.EROIBW8 pSrc, bool bDaughters)
virtual void Process (eVision.EROIBW8 pSrc)
virtual void Process (eVision.EROIBW8 pSrc, eVision.ERegion region, bool bDaughters)
virtual void Process (eVision.EROIBW8 pSrc, eVision.ERegion region)
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

override eVision.EShapeType Type [get]
 Type of the frame.
eVision.EPoint Center [get, set]
 Origin point coordinates of the frame.
float CenterX [get]
 Gets the origin point abscissa of the frame.
float CenterY [get]
 Gets the origin point ordinate of the frame.
float Angle [get, set]
 The angle of the frame.
float Scale [get, set]
 The scale of the frame.
float SizeX [get]
 Frame X-axis length.
float SizeY [get]
 Frame Y-axis length.
Properties inherited from eVision.Legacy.EShape
eVision.EShapeType Type [get]
 Shape type.
string Name [get, set]
 Name of the EShape object.
bool Visible [get, set]
 Flag indicating whether the shape is visible or not.
bool VisibleRecursive [set]
 Sets the flag indicating whether the shape and its daughter shapes are visible or not.
bool Selected [get, set]
 Flag indicating whether the shape is selected or not.
bool SelectedRecursive [set]
 Sets the flag indicating whether the shape and all its daughters are selected or not.
bool Selectable [get, set]
 Flag indicating whether the shape can be selected or not.
bool SelectableRecursive [set]
 Sets the flag indicating whether the shape and all its daughters can be selected or not.
bool Dragable [get, set]
 Flag indicating whether the shape can be dragged or not.
bool DragableRecursive [set]
 Sets the flag indicating whether the shape and all its daughters can be dragged or not.
bool Resizable [get, set]
 Flag indicating whether the shape can be resized or not.
bool ResizableRecursive [set]
 Sets the flag indicating whether the shape and all its daughters can be resized or not.
bool Rotatable [get, set]
 Flag indicating whether the shape can be rotated or not.
bool RotatableRecursive [set]
 Sets the flag indicating whether the shape and all its daughters can be rotated or not.
bool Labeled [get, set]
 Flag indicating whether the shape label should be displayed or not.
bool LabeledRecursive [set]
 Sets the flag indicating whether the shape label should be displayed or not. The flag is set in this shape and all its daughters.
virtual bool Active [get, set]
 Flag indicating whether the shape is active or not.
virtual bool ActiveRecursive [set]
 Sets the flag indicating whether the shape and all its daughters are active or not.
bool ActualShape [get, set]
 Flag indicating whether an inquiry returns a result pertaining to the nominal gauge (false, default) or the fitted model (true).
bool ActualShapeRecursive [set]
 Sets the flag indicating whether an inquiry returns a result pertaining to the nominal gauge (false, default) or the fitted model (true). The flag is set in this shape and all its daughters.
uint NumDaughters [get]
 Number of daughters attached to the shape.
eVision.Legacy.EShape Mother [get]
 Pointer to the mother shape.
eVision.Legacy.EWorldShape WorldShape [get]
 World ancestor.
virtual float ZoomX [get]
 Current horizontal zooming factor for drawing operations.
virtual float ZoomY [get]
 Current vertical zooming factor for drawing operations.
virtual float PanX [get]
 Current horizontal panning value for drawing operations, expressed in pixels. By default, no panning occurs.
virtual float PanY [get]
 Current vertical panning value for drawing operations, expressed in pixels. By default, no panning occurs.
eVision.EDragHandle HitHandle [get]
 Handle currently under the cursor.
eVision.Legacy.EShape HitShape [get]
 Pointer to the shape currently under the cursor.
eVision.Legacy.EShape ClosestShape [get]
 Closest shape among the daughters.

Detailed Description

Manages a complete context for measuring frame shapes.

This class allows the grouping of several gauges or other frames.

License(s): BasicTypes

Constructor & Destructor Documentation

◆ EFrameShape() [1/2]

eVision.Legacy.EFrameShape.EFrameShape ( )

Construct a EFrameShape object.

With the default constructor, all parameters are initialized to their respective default value. With the copy constructor, the constructed frame shape measurement context is based on a pre-existing EFrameShape object. By default, the daughter shapes are also copied. Use the EFrameShape.CopyTo method to disable explicitly the daughter shapes copy.

◆ EFrameShape() [2/2]

eVision.Legacy.EFrameShape.EFrameShape ( eVision.Legacy.EFrameShape frameShape)

Construct a EFrameShape object.

Parameters
frameShapePre-existing EFrameShape object used by the copy constructor.

With the default constructor, all parameters are initialized to their respective default value. With the copy constructor, the constructed frame shape measurement context is based on a pre-existing EFrameShape object. By default, the daughter shapes are also copied. Use the EFrameShape.CopyTo method to disable explicitly the daughter shapes copy.

Member Function Documentation

◆ Closest()

override void eVision.Legacy.EFrameShape.Closest ( )

Find the daughter shape that is the closest to this shape. To retrieve the closest shape, use EShape.ClosestShape.

◆ CopyTo() [1/2]

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

Copy operator.

Parameters
otherEFrameShape object to copy to.

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

◆ CopyTo() [2/2]

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

Copy operator.

Parameters
otherEFrameShape object to copy to.
recursivetrue if the daughter shapes have to be copied as well, false otherwise.

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

◆ Drag()

override void eVision.Legacy.EFrameShape.Drag ( int cursorX,
int cursorY )

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

Parameters
cursorXCurrent cursor coordinates.
cursorYCurrent cursor coordinates.

◆ Draw() [1/15]

override void eVision.Legacy.EFrameShape.Draw ( eVision.EDrawAdapter graphicContext)

Draws a graphical representation of a shape, as defined by EDrawingMode.

Parameters
graphicContextHandle of the device context on which to draw.

◆ Draw() [2/15]

override void eVision.Legacy.EFrameShape.Draw ( eVision.EDrawAdapter graphicContext,
eVision.EDrawingMode drawingMode )

Draws a graphical representation of a shape, as defined by EDrawingMode.

Parameters
graphicContextHandle of the device context on which to draw.
drawingModeIndicates how the shape must be displayed, as defined by EDrawingMode.

◆ Draw() [3/15]

override void eVision.Legacy.EFrameShape.Draw ( eVision.EDrawAdapter graphicContext,
eVision.EDrawingMode drawingMode,
bool daughters )

Draws a graphical representation of a shape, as defined by EDrawingMode.

Parameters
graphicContextHandle of the device context on which to draw.
drawingModeIndicates how the shape must be displayed, as defined by EDrawingMode.
daughterstrue if the daughter shapes are to be displayed also.

◆ Draw() [4/15]

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

Draws a graphical representation of a shape, as defined by EDrawingMode.

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

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

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

◆ Draw() [5/15]

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

Draws a graphical representation of a shape, as defined by EDrawingMode.

Parameters
graphicContextHandle of the device context on which to draw.
drawingModeIndicates how the shape must be displayed, as defined by EDrawingMode.
Deprecated

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

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

◆ Draw() [6/15]

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

Draws a graphical representation of a shape, as defined by EDrawingMode.

Parameters
graphicContextHandle of the device context on which to draw.
drawingModeIndicates how the shape must be displayed, as defined by EDrawingMode.
daughterstrue if the daughter shapes are to be displayed also.
Deprecated

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

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

◆ Draw() [7/15]

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

Draws a graphical representation of a shape, as defined by EDrawingMode.

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

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

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

◆ Draw() [8/15]

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

Draws a graphical representation of a shape, as defined by EDrawingMode.

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color in which to draw the overlay.
drawingModeIndicates how the shape must be displayed, as defined by EDrawingMode.
Deprecated

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

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

◆ Draw() [9/15]

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

Draws a graphical representation of a shape, as defined by EDrawingMode.

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color in which to draw the overlay.
drawingModeIndicates how the shape must be displayed, as defined by EDrawingMode.
daughterstrue if the daughter shapes are to be displayed also.
Deprecated

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

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

◆ Draw() [10/15]

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

Draws a graphical representation of a shape, as defined by EDrawingMode.

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

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

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

◆ Draw() [11/15]

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

Draws a graphical representation of a shape, as defined by EDrawingMode.

Parameters
graphicContextHandle of the device context on which to draw.
drawingModeIndicates how the shape must be displayed, as defined by EDrawingMode.
Deprecated

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

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

◆ Draw() [12/15]

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

Draws a graphical representation of a shape, as defined by EDrawingMode.

Parameters
graphicContextHandle of the device context on which to draw.
drawingModeIndicates how the shape must be displayed, as defined by EDrawingMode.
daughterstrue if the daughter shapes are to be displayed also.
Deprecated

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

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

◆ Draw() [13/15]

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

Draws a graphical representation of a shape, as defined by EDrawingMode.

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

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

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

◆ Draw() [14/15]

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

Draws a graphical representation of a shape, as defined by EDrawingMode.

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color in which to draw the overlay.
drawingModeIndicates how the shape must be displayed, as defined by EDrawingMode.
Deprecated

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

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

◆ Draw() [15/15]

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

Draws a graphical representation of a shape, as defined by EDrawingMode.

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color in which to draw the overlay.
drawingModeIndicates how the shape must be displayed, as defined by EDrawingMode.
daughterstrue if the daughter shapes are to be displayed also.
Deprecated

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

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

◆ DrawCrossGrid() [1/21]

void eVision.Legacy.EFrameShape.DrawCrossGrid ( eVision.EDrawAdapter graphicContext)

◆ DrawCrossGrid() [2/21]

void eVision.Legacy.EFrameShape.DrawCrossGrid ( eVision.EDrawAdapter graphicContext,
float f32XMin )

◆ DrawCrossGrid() [3/21]

void eVision.Legacy.EFrameShape.DrawCrossGrid ( eVision.EDrawAdapter graphicContext,
float f32XMin,
float f32XMax )

◆ DrawCrossGrid() [4/21]

void eVision.Legacy.EFrameShape.DrawCrossGrid ( eVision.EDrawAdapter graphicContext,
float f32XMin,
float f32XMax,
float f32YMin )

◆ DrawCrossGrid() [5/21]

void eVision.Legacy.EFrameShape.DrawCrossGrid ( eVision.EDrawAdapter graphicContext,
float f32XMin,
float f32XMax,
float f32YMin,
float f32YMax )

◆ DrawCrossGrid() [6/21]

void eVision.Legacy.EFrameShape.DrawCrossGrid ( eVision.EDrawAdapter graphicContext,
float f32XMin,
float f32XMax,
float f32YMin,
float f32YMax,
uint un32NumXIntervals )

◆ DrawCrossGrid() [7/21]

void eVision.Legacy.EFrameShape.DrawCrossGrid ( eVision.EDrawAdapter graphicContext,
float f32XMin,
float f32XMax,
float f32YMin,
float f32YMax,
uint un32NumXIntervals,
uint un32NumYIntervals )

◆ DrawCrossGrid() [8/21]

void eVision.Legacy.EFrameShape.DrawCrossGrid ( IntPtr dc)
Deprecated
Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ DrawCrossGrid() [9/21]

void eVision.Legacy.EFrameShape.DrawCrossGrid ( IntPtr dc,
float f32XMin )
Deprecated
Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ DrawCrossGrid() [10/21]

void eVision.Legacy.EFrameShape.DrawCrossGrid ( IntPtr dc,
float f32XMin,
float f32XMax )
Deprecated
Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ DrawCrossGrid() [11/21]

void eVision.Legacy.EFrameShape.DrawCrossGrid ( IntPtr dc,
float f32XMin,
float f32XMax,
float f32YMin )
Deprecated
Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ DrawCrossGrid() [12/21]

void eVision.Legacy.EFrameShape.DrawCrossGrid ( IntPtr dc,
float f32XMin,
float f32XMax,
float f32YMin,
float f32YMax )
Deprecated
Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ DrawCrossGrid() [13/21]

void eVision.Legacy.EFrameShape.DrawCrossGrid ( IntPtr dc,
float f32XMin,
float f32XMax,
float f32YMin,
float f32YMax,
uint un32NumXIntervals )
Deprecated
Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ DrawCrossGrid() [14/21]

void eVision.Legacy.EFrameShape.DrawCrossGrid ( IntPtr dc,
float f32XMin,
float f32XMax,
float f32YMin,
float f32YMax,
uint un32NumXIntervals,
uint un32NumYIntervals )
Deprecated
Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ DrawCrossGrid() [15/21]

void eVision.Legacy.EFrameShape.DrawCrossGrid ( System.Drawing.Graphics dc)
Deprecated
Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ DrawCrossGrid() [16/21]

void eVision.Legacy.EFrameShape.DrawCrossGrid ( System.Drawing.Graphics dc,
float f32XMin )
Deprecated
Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ DrawCrossGrid() [17/21]

void eVision.Legacy.EFrameShape.DrawCrossGrid ( System.Drawing.Graphics dc,
float f32XMin,
float f32XMax )
Deprecated
Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ DrawCrossGrid() [18/21]

void eVision.Legacy.EFrameShape.DrawCrossGrid ( System.Drawing.Graphics dc,
float f32XMin,
float f32XMax,
float f32YMin )
Deprecated
Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ DrawCrossGrid() [19/21]

void eVision.Legacy.EFrameShape.DrawCrossGrid ( System.Drawing.Graphics dc,
float f32XMin,
float f32XMax,
float f32YMin,
float f32YMax )
Deprecated
Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ DrawCrossGrid() [20/21]

void eVision.Legacy.EFrameShape.DrawCrossGrid ( System.Drawing.Graphics dc,
float f32XMin,
float f32XMax,
float f32YMin,
float f32YMax,
uint un32NumXIntervals )
Deprecated
Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ DrawCrossGrid() [21/21]

void eVision.Legacy.EFrameShape.DrawCrossGrid ( System.Drawing.Graphics dc,
float f32XMin,
float f32XMax,
float f32YMin,
float f32YMax,
uint un32NumXIntervals,
uint un32NumYIntervals )
Deprecated
Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ DrawWithCurrentPen() [1/3]

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

Draws a graphical representation of a shape, as defined by EDrawingMode.

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

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

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

◆ DrawWithCurrentPen() [2/3]

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

Draws a graphical representation of a shape, as defined by EDrawingMode.

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

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

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

◆ DrawWithCurrentPen() [3/3]

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

Draws a graphical representation of a shape, as defined by EDrawingMode.

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

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

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

◆ HitTest() [1/2]

override bool eVision.Legacy.EFrameShape.HitTest ( )

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

◆ HitTest() [2/2]

override bool eVision.Legacy.EFrameShape.HitTest ( bool daughter)

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

Parameters
daughtertrue if the daughters shapes handles have to be considered as well.

◆ Set() [1/3]

void eVision.Legacy.EFrameShape.Set ( eVision.EPoint center)

Sets the coordinates of the origin point and the orientation of the frame.

Parameters
centerCoordinates of the origin point of the frame. The default value is (0,0).

◆ Set() [2/3]

void eVision.Legacy.EFrameShape.Set ( eVision.EPoint center,
float angle )

Sets the coordinates of the origin point and the orientation of the frame.

Parameters
centerCoordinates of the origin point of the frame. The default value is (0,0).
angleRotation angle of the frame. The default value is 0.

◆ Set() [3/3]

void eVision.Legacy.EFrameShape.Set ( eVision.EPoint center,
float angle,
float scale )

Sets the coordinates of the origin point and the orientation of the frame.

Parameters
centerCoordinates of the origin point of the frame. The default value is (0,0).
angleRotation angle of the frame. The default value is 0.
scaleHorizontal sensor resolution, in pixels per unit

◆ SetCenterXY()

void eVision.Legacy.EFrameShape.SetCenterXY ( float centerX,
float centerY )

Sets the origin point coordinates of the frame.

Parameters
centerXAbscissa of the origin point of the frame. Default value is 0.
centerYOrdinate of the origin point of the frame. Default value is 0.

◆ SetSize() [1/2]

void eVision.Legacy.EFrameShape.SetSize ( float sizeX)

Sets the frame size.

Parameters
sizeXFrame X-axis length. The default value is 100.

By default, both frame axis value are set to 100, which means 100 pixels when the field of view is not calibrated and 100 "units" in case of a calibrated field of view.

◆ SetSize() [2/2]

void eVision.Legacy.EFrameShape.SetSize ( float sizeX,
float sizeY )

Sets the frame size.

Parameters
sizeXFrame X-axis length. The default value is 100.
sizeYFrame Y-axis length. By default, both axes have the same length.

By default, both frame axis value are set to 100, which means 100 pixels when the field of view is not calibrated and 100 "units" in case of a calibrated field of view.

Property Documentation

◆ Angle

float eVision.Legacy.EFrameShape.Angle
getset

The angle of the frame.

◆ Center

eVision.EPoint eVision.Legacy.EFrameShape.Center
getset

Origin point coordinates of the frame.

◆ CenterX

float eVision.Legacy.EFrameShape.CenterX
get

Gets the origin point abscissa of the frame.

◆ CenterY

float eVision.Legacy.EFrameShape.CenterY
get

Gets the origin point ordinate of the frame.

◆ Scale

float eVision.Legacy.EFrameShape.Scale
getset

The scale of the frame.

◆ SizeX

float eVision.Legacy.EFrameShape.SizeX
get

Frame X-axis length.

By default, both frame axis values are set to 100, which means 100 pixels when the field of view is not calibrated, and 100 physical units in case of a calibrated field of view.

◆ SizeY

float eVision.Legacy.EFrameShape.SizeY
get

Frame Y-axis length.

By default, both frame axis values are set to 100, which means 100 pixels when the field of view is not calibrated, and 100 physical units in case of a calibrated field of view.

◆ Type

override eVision.EShapeType eVision.Legacy.EFrameShape.Type
get

Type of the frame.