eVision Python API
Loading...
Searching...
No Matches
eVision.EFrame Class Reference

Represents a geometrical frame of reference. More...

Public Member Functions

None __init__ (self)
 Constructs a eVision.EFrame object.
None __init__ (self, float centerX, float centerY, float angle, float scaleX, float scaleY)
 Constructs a eVision.EFrame object.
None __init__ (self, float centerX, float centerY, float angle, float scaleX)
 Constructs a eVision.EFrame object.
None __init__ (self, float centerX, float centerY, float angle)
 Constructs a eVision.EFrame object.
None __init__ (self, float centerX, float centerY)
 Constructs a eVision.EFrame object.
None __init__ (self, float centerX, float centerY, float angle, float scaleX, float scaleY, eVision.ECameraCalibration calibration)
 Constructs a eVision.EFrame object.
None __init__ (self, eVision.EFrame parent, float centerX, float centerY, float angle, float scaleX, float scaleY)
 Constructs a eVision.EFrame object.
None __init__ (self, eVision.EPoint center, float angle, float scaleX, float scaleY)
 Constructs a eVision.EFrame object.
None __init__ (self, eVision.EFrame parent, eVision.EPoint center, float angle, float scaleX, float scaleY)
 Constructs a eVision.EFrame object.
None __init__ (self, eVision.EPoint center, float angle, float scaleX, float scaleY, eVision.ECameraCalibration calibration)
 Constructs a eVision.EFrame object.
None __init__ (self, eVision.EFrame other)
 Constructs a eVision.EFrame object.
None __init__ (self, eVision.ECameraCalibration calibration)
 Constructs a eVision.EFrame object.
None CopyTo (self, eVision.EFrame other)
 Copies all the data from the current eVision.EFrame object into another eVision.EFrame object, and returns it.
bool IsCalibrationDirect (self)
 Whether the eVision.EFrame.CameraCalibration is direct or inverse.
bool IsDirect (self)
 Whether the transformation to world coordinates is direct or inverse.
bool IsIdentity (self)
 Whether the frame is center on (0,0) with a scale of (1,1), angle of 0° and no calibration.
bool IsIsotropic (self)
 Whether the frame is isotropic, i.e.
bool IsLocalToSensorAffine (self)
 Whether the transformation to sensor coordinates is affine.
bool IsLocalToSensorIsotropic (self)
 Whether the transformation to sensor coordinates is affine and isotropic (the scale along the X and Y axis have the same absolute value).
bool IsLocalToSensorDirect (self)
 Whether the transformation to sensor coordinates is direct or inverse.
bool IsCalibrated (self)
 Whether the frame has a eVision.ECameraCalibration or not.
eVision.EPoint LocalToWorld (self, eVision.EPoint local)
 Transforms a geometrical element from local to world coordinates.
eVision.EFrame LocalToWorld (self, eVision.EFrame local)
 Transforms a geometrical element from local to world coordinates.
eVision.ELine LocalToWorld (self, eVision.ELine local)
 Transforms a geometrical element from local to world coordinates.
eVision.EEllipse LocalToWorld (self, eVision.ECircle local)
 Transforms a geometrical element from local to world coordinates.
eVision.EEllipse LocalToWorld (self, eVision.EEllipse local)
 Transforms a geometrical element from local to world coordinates.
eVision.EPolygon LocalToWorld (self, eVision.EPolygon local)
 Transforms a geometrical element from local to world coordinates.
eVision.ECircle LocalToWorldIsotropic (self, eVision.ECircle local)
 Transforms an eVision.ECircle or an eVision.EWedge from local to world coordinates in an isotropic eVision.EFrame.
eVision.EWedge LocalToWorldIsotropic (self, eVision.EWedge local)
 Transforms an eVision.ECircle or an eVision.EWedge from local to world coordinates in an isotropic eVision.EFrame.
eVision.EPoint WorldToLocal (self, eVision.EPoint world)
 Transforms a geometrical element from world to local coordinates.
eVision.EFrame WorldToLocal (self, eVision.EFrame world)
 Transforms a geometrical element from world to local coordinates.
eVision.EPolygon WorldToLocal (self, eVision.EPolygon world)
 Transforms a geometrical element from world to local coordinates.
eVision.EPoint LocalToSensor (self, eVision.EPoint local)
 Transforms a geometrical element from local to sensor coordinates.
eVision.ELine LocalToSensor (self, eVision.ELine local)
 Transforms a geometrical element from local to sensor coordinates.
eVision.EEllipse LocalToSensor (self, eVision.ECircle local)
 Transforms a geometrical element from local to sensor coordinates.
eVision.EEllipse LocalToSensor (self, eVision.EEllipse local)
 Transforms a geometrical element from local to sensor coordinates.
eVision.EWedge LocalToSensor (self, eVision.EWedge local)
 Transforms a geometrical element from local to sensor coordinates.
eVision.EPoint SensorToLocal (self, eVision.EPoint sensor)
 Transforms a geometrical element from sensor to local coordinates.
eVision.EPoint SensorToWorld (self, eVision.EPoint sensor)
 Transforms a geometrical element from sensor to local coordinates.
None Load (self, str path)
 Load the eVision.EFrame configuration.
None Load (self, eVision.ESerializer|None serializer)
 Load the eVision.EFrame configuration.
None Save (self, str path)
 Save the eVision.EFrame configuration.
None Save (self, eVision.ESerializer|None serializer)
 Save the eVision.EFrame configuration.
bool IsDisplaySizeSet (self)
 Whether the display size was set using eVision.EFrame.DisplaySize or it is a default value.
eVision.EEditionMode HitTest (self, int x, int y, float zoomX, float zoomY, float panX, float panY)
 Detects if the cursor is placed over one of the handles and returns the edition mode represented by the handle.
eVision.EEditionMode HitTest (self, int x, int y, float zoomX, float zoomY, float panX)
 Detects if the cursor is placed over one of the handles and returns the edition mode represented by the handle.
eVision.EEditionMode HitTest (self, int x, int y, float zoomX, float zoomY)
 Detects if the cursor is placed over one of the handles and returns the edition mode represented by the handle.
eVision.EEditionMode HitTest (self, int x, int y, float zoomX)
 Detects if the cursor is placed over one of the handles and returns the edition mode represented by the handle.
eVision.EEditionMode HitTest (self, int x, int y)
 Detects if the cursor is placed over one of the handles and returns the edition mode represented by the handle.
eVision.EEditionMode HitTest (self, int x, int y, eVision.EFrame frame, float zoomX, float zoomY, float panX, float panY)
 Detects if the cursor is placed over one of the handles and returns the edition mode represented by the handle.
eVision.EEditionMode HitTest (self, int x, int y, eVision.EFrame frame, float zoomX, float zoomY, float panX)
 Detects if the cursor is placed over one of the handles and returns the edition mode represented by the handle.
eVision.EEditionMode HitTest (self, int x, int y, eVision.EFrame frame, float zoomX, float zoomY)
 Detects if the cursor is placed over one of the handles and returns the edition mode represented by the handle.
eVision.EEditionMode HitTest (self, int x, int y, eVision.EFrame frame, float zoomX)
 Detects if the cursor is placed over one of the handles and returns the edition mode represented by the handle.
eVision.EEditionMode HitTest (self, int x, int y, eVision.EFrame frame)
 Detects if the cursor is placed over one of the handles and returns the edition mode represented by the handle.
None Drag (self, int x, int y, float zoomX, float zoomY, float panX, float panY)
 Moves the specified handle to a new position and updates all placement parameters of the region.
None Drag (self, int x, int y, float zoomX, float zoomY, float panX)
 Moves the specified handle to a new position and updates all placement parameters of the region.
None Drag (self, int x, int y, float zoomX, float zoomY)
 Moves the specified handle to a new position and updates all placement parameters of the region.
None Drag (self, int x, int y, float zoomX)
 Moves the specified handle to a new position and updates all placement parameters of the region.
None Drag (self, int x, int y)
 Moves the specified handle to a new position and updates all placement parameters of the region.
None Drag (self, int x, int y, eVision.EFrame frame, float zoomX, float zoomY, float panX, float panY)
 Moves the specified handle to a new position and updates all placement parameters of the region.
None Drag (self, int x, int y, eVision.EFrame frame, float zoomX, float zoomY, float panX)
 Moves the specified handle to a new position and updates all placement parameters of the region.
None Drag (self, int x, int y, eVision.EFrame frame, float zoomX, float zoomY)
 Moves the specified handle to a new position and updates all placement parameters of the region.
None Drag (self, int x, int y, eVision.EFrame frame, float zoomX)
 Moves the specified handle to a new position and updates all placement parameters of the region.
None Drag (self, int x, int y, eVision.EFrame frame)
 Moves the specified handle to a new position and updates all placement parameters of the region.
None Draw (self, eVision.EDrawAdapter|None graphicContext, float zoomX, float zoomY, float panX, float panY)
 Draws the world coordinate axis.
None Draw (self, eVision.EDrawAdapter|None graphicContext, float zoomX, float zoomY, float panX)
 Draws the world coordinate axis.
None Draw (self, eVision.EDrawAdapter|None graphicContext, float zoomX, float zoomY)
 Draws the world coordinate axis.
None Draw (self, eVision.EDrawAdapter|None graphicContext, float zoomX)
 Draws the world coordinate axis.
None Draw (self, eVision.EDrawAdapter|None graphicContext)
 Draws the world coordinate axis.
None Draw (self, eVision.EDrawAdapter|None graphicContext, eVision.ERGBColor xAxisColor, eVision.ERGBColor yAxisColor, float zoomX, float zoomY, float panX, float panY)
 Draws the world coordinate axis.
None Draw (self, eVision.EDrawAdapter|None graphicContext, eVision.ERGBColor xAxisColor, eVision.ERGBColor yAxisColor, float zoomX, float zoomY, float panX)
 Draws the world coordinate axis.
None Draw (self, eVision.EDrawAdapter|None graphicContext, eVision.ERGBColor xAxisColor, eVision.ERGBColor yAxisColor, float zoomX, float zoomY)
 Draws the world coordinate axis.
None Draw (self, eVision.EDrawAdapter|None graphicContext, eVision.ERGBColor xAxisColor, eVision.ERGBColor yAxisColor, float zoomX)
 Draws the world coordinate axis.
None Draw (self, eVision.EDrawAdapter|None graphicContext, eVision.EFrame frame, float zoomX, float zoomY, float panX, float panY)
 Draws the world coordinate axis.
None Draw (self, eVision.EDrawAdapter|None graphicContext, eVision.EFrame frame, float zoomX, float zoomY, float panX)
 Draws the world coordinate axis.
None Draw (self, eVision.EDrawAdapter|None graphicContext, eVision.EFrame frame, float zoomX, float zoomY)
 Draws the world coordinate axis.
None Draw (self, eVision.EDrawAdapter|None graphicContext, eVision.EFrame frame, float zoomX)
 Draws the world coordinate axis.
None Draw (self, eVision.EDrawAdapter|None graphicContext, eVision.EFrame frame)
 Draws the world coordinate axis.
None Draw (self, eVision.EDrawAdapter|None graphicContext, eVision.ERGBColor xAxisColor, eVision.ERGBColor yAxisColor, eVision.EFrame frame, float zoomX, float zoomY, float panX, float panY)
 Draws the world coordinate axis.
None Draw (self, eVision.EDrawAdapter|None graphicContext, eVision.ERGBColor xAxisColor, eVision.ERGBColor yAxisColor, eVision.EFrame frame, float zoomX, float zoomY, float panX)
 Draws the world coordinate axis.
None Draw (self, eVision.EDrawAdapter|None graphicContext, eVision.ERGBColor xAxisColor, eVision.ERGBColor yAxisColor, eVision.EFrame frame, float zoomX, float zoomY)
 Draws the world coordinate axis.
None Draw (self, eVision.EDrawAdapter|None graphicContext, eVision.ERGBColor xAxisColor, eVision.ERGBColor yAxisColor, eVision.EFrame frame, float zoomX)
 Draws the world coordinate axis.
bool IsEqual (self, eVision.EFrame other)
 Compares this frame with the other.
float Angle (self)
 Orientation of the frame.
 Angle (self, float value)
 Orientation of the frame.
float ScaleX (self)
 Scale along the X axis.
 ScaleX (self, float value)
 Scale along the X axis.
float ScaleY (self)
 Scale along the Y axis.
 ScaleY (self, float value)
 Scale along the Y axis.
float CenterX (self)
 Abscissa of the origin point of the frame.
 CenterX (self, float value)
 Abscissa of the origin point of the frame.
float CenterY (self)
 Ordinate of the origin point of the frame.
 CenterY (self, float value)
 Ordinate of the origin point of the frame.
eVision.EPoint Center (self)
 Center coordinates of a eVision.EFrame object.
 Center (self, eVision.EPoint value)
 Center coordinates of a eVision.EFrame object.
eVision.EPoint SensorCenter (self)
 Coordinates of the center of the frame in the sensor frame.
float SensorCenterX (self)
 X coordinate of the center of the frame in the sensor frame.
float SensorCenterY (self)
 Y coordinate of the center of the frame in the sensor frame.
float SensorScaleX (self)
 Scale along the X axis in the sensor frame at the eVision.EFrame.SensorCenter.
float SensorScaleY (self)
 Scale along the Y axis in the sensor frame at the eVision.EFrame.SensorCenter.
float SensorAngle (self)
 Orientation of the frame in the sensor frame.
eVision.ECameraCalibration|None CameraCalibration (self)
 Camera calibration of the frame.
 CameraCalibration (self, eVision.ECameraCalibration|None value)
 Camera calibration of the frame.
eVision.EEditionMode EditionMode (self)
 Graphical edition modes.
 EditionMode (self, eVision.EEditionMode value)
 Graphical edition modes.
float DisplaySize (self)
 Display size of the axis of the frame (in world unit).
 DisplaySize (self, float value)
 Display size of the axis of the frame (in world unit).

Detailed Description

Represents a geometrical frame of reference.

In the context of a frame, we have the following coordinates:

  • local: coordinates expressed in the frame of reference represented by the object.
  • world: the coordinate systems of the calibrated field of view, represented by a eVision.ECameraCalibration object.
  • sensor: the coordinate systems of the image (representing the pixel's coordinates)

The frame of reference can be calibrated or not. When it is calibrated (eVision.EFrame.IsCalibrated), the frame is defined with respect to the world frame of reference. In this case, going from a local coordinate to a sensor coordinate (LocalToSensor(x)) is equivalent to WorldToSensor(LocalToWorld(x)). When the frame is not calibrated, we assume that the world and sensor frame are the same.

A frame can be built using a parent frame. The specified parameters are related to the parent frame. However, the frame center, angle and scale will be different from those specified because eVision.EFrame.Center, eVision.EFrame.Angle, eVision.EFrame.ScaleX, and eVision.EFrame.ScaleY are expressed with respect to the world frame. Constructing a frame with a parent is equivalent to doing parent.LocalToWorld(child).

Remarks:

License(s): BasicTypes

Constructor & Destructor Documentation

◆ __init__() [1/12]

None eVision.EFrame.__init__ ( self)

Constructs a eVision.EFrame object.

Remarks:

When constructing a frame using a parent frame, the specified center, angle and scales are expressed in the parent local frame. The center, angle, and scales of the resulting frame will be computed to be expressed with respect to the world frame.

◆ __init__() [2/12]

None eVision.EFrame.__init__ ( self,
float centerX,
float centerY,
float angle,
float scaleX,
float scaleY )

Constructs a eVision.EFrame object.

Remarks:

When constructing a frame using a parent frame, the specified center, angle and scales are expressed in the parent local frame. The center, angle, and scales of the resulting frame will be computed to be expressed with respect to the world frame.

Parameters
centerXAbscissa of the center point of the frame.
centerYOrdinate of the center point of the frame.
angleOrientation of the frame.
scaleXHorizontal sensor resolution.
scaleYVertical sensor resolution.

◆ __init__() [3/12]

None eVision.EFrame.__init__ ( self,
float centerX,
float centerY,
float angle,
float scaleX )

Constructs a eVision.EFrame object.

Remarks:

When constructing a frame using a parent frame, the specified center, angle and scales are expressed in the parent local frame. The center, angle, and scales of the resulting frame will be computed to be expressed with respect to the world frame.

Parameters
centerXAbscissa of the center point of the frame.
centerYOrdinate of the center point of the frame.
angleOrientation of the frame.
scaleXHorizontal sensor resolution.

◆ __init__() [4/12]

None eVision.EFrame.__init__ ( self,
float centerX,
float centerY,
float angle )

Constructs a eVision.EFrame object.

Remarks:

When constructing a frame using a parent frame, the specified center, angle and scales are expressed in the parent local frame. The center, angle, and scales of the resulting frame will be computed to be expressed with respect to the world frame.

Parameters
centerXAbscissa of the center point of the frame.
centerYOrdinate of the center point of the frame.
angleOrientation of the frame.

◆ __init__() [5/12]

None eVision.EFrame.__init__ ( self,
float centerX,
float centerY )

Constructs a eVision.EFrame object.

Remarks:

When constructing a frame using a parent frame, the specified center, angle and scales are expressed in the parent local frame. The center, angle, and scales of the resulting frame will be computed to be expressed with respect to the world frame.

Parameters
centerXAbscissa of the center point of the frame.
centerYOrdinate of the center point of the frame.

◆ __init__() [6/12]

None eVision.EFrame.__init__ ( self,
float centerX,
float centerY,
float angle,
float scaleX,
float scaleY,
eVision.ECameraCalibration calibration )

Constructs a eVision.EFrame object.

Remarks:

When constructing a frame using a parent frame, the specified center, angle and scales are expressed in the parent local frame. The center, angle, and scales of the resulting frame will be computed to be expressed with respect to the world frame.

Parameters
centerXAbscissa of the center point of the frame.
centerYOrdinate of the center point of the frame.
angleOrientation of the frame.
scaleXHorizontal sensor resolution.
scaleYVertical sensor resolution.
calibrationCamera calibration

◆ __init__() [7/12]

None eVision.EFrame.__init__ ( self,
eVision.EFrame parent,
float centerX,
float centerY,
float angle,
float scaleX,
float scaleY )

Constructs a eVision.EFrame object.

Remarks:

When constructing a frame using a parent frame, the specified center, angle and scales are expressed in the parent local frame. The center, angle, and scales of the resulting frame will be computed to be expressed with respect to the world frame.

Parameters
parentFrame in which the center, angle and scales are expressed.
centerXAbscissa of the center point of the frame.
centerYOrdinate of the center point of the frame.
angleOrientation of the frame.
scaleXHorizontal sensor resolution.
scaleYVertical sensor resolution.

◆ __init__() [8/12]

None eVision.EFrame.__init__ ( self,
eVision.EPoint center,
float angle,
float scaleX,
float scaleY )

Constructs a eVision.EFrame object.

Remarks:

When constructing a frame using a parent frame, the specified center, angle and scales are expressed in the parent local frame. The center, angle, and scales of the resulting frame will be computed to be expressed with respect to the world frame.

Parameters
centerCoordinates of the center point of the frame.
angleOrientation of the frame.
scaleXHorizontal sensor resolution.
scaleYVertical sensor resolution.

◆ __init__() [9/12]

None eVision.EFrame.__init__ ( self,
eVision.EFrame parent,
eVision.EPoint center,
float angle,
float scaleX,
float scaleY )

Constructs a eVision.EFrame object.

Remarks:

When constructing a frame using a parent frame, the specified center, angle and scales are expressed in the parent local frame. The center, angle, and scales of the resulting frame will be computed to be expressed with respect to the world frame.

Parameters
parentFrame in which the center, angle and scales are expressed.
centerCoordinates of the center point of the frame.
angleOrientation of the frame.
scaleXHorizontal sensor resolution.
scaleYVertical sensor resolution.

◆ __init__() [10/12]

None eVision.EFrame.__init__ ( self,
eVision.EPoint center,
float angle,
float scaleX,
float scaleY,
eVision.ECameraCalibration calibration )

Constructs a eVision.EFrame object.

Remarks:

When constructing a frame using a parent frame, the specified center, angle and scales are expressed in the parent local frame. The center, angle, and scales of the resulting frame will be computed to be expressed with respect to the world frame.

Parameters
centerCoordinates of the center point of the frame.
angleOrientation of the frame.
scaleXHorizontal sensor resolution.
scaleYVertical sensor resolution.
calibrationCamera calibration

◆ __init__() [11/12]

None eVision.EFrame.__init__ ( self,
eVision.EFrame other )

Constructs a eVision.EFrame object.

Remarks:

When constructing a frame using a parent frame, the specified center, angle and scales are expressed in the parent local frame. The center, angle, and scales of the resulting frame will be computed to be expressed with respect to the world frame.

Parameters
otherOther eVision.EFrame object to copy from.

◆ __init__() [12/12]

None eVision.EFrame.__init__ ( self,
eVision.ECameraCalibration calibration )

Constructs a eVision.EFrame object.

Remarks:

When constructing a frame using a parent frame, the specified center, angle and scales are expressed in the parent local frame. The center, angle, and scales of the resulting frame will be computed to be expressed with respect to the world frame.

Parameters
calibrationCamera calibration

Member Function Documentation

◆ Angle() [1/2]

float eVision.EFrame.Angle ( self)

Orientation of the frame.

◆ Angle() [2/2]

eVision.EFrame.Angle ( self,
float value )

Orientation of the frame.

◆ CameraCalibration() [1/2]

eVision.ECameraCalibration | None eVision.EFrame.CameraCalibration ( self)

Camera calibration of the frame.

◆ CameraCalibration() [2/2]

eVision.EFrame.CameraCalibration ( self,
eVision.ECameraCalibration | None value )

Camera calibration of the frame.

◆ Center() [1/2]

eVision.EPoint eVision.EFrame.Center ( self)

Center coordinates of a eVision.EFrame object.

◆ Center() [2/2]

eVision.EFrame.Center ( self,
eVision.EPoint value )

Center coordinates of a eVision.EFrame object.

◆ CenterX() [1/2]

float eVision.EFrame.CenterX ( self)

Abscissa of the origin point of the frame.

◆ CenterX() [2/2]

eVision.EFrame.CenterX ( self,
float value )

Abscissa of the origin point of the frame.

◆ CenterY() [1/2]

float eVision.EFrame.CenterY ( self)

Ordinate of the origin point of the frame.

◆ CenterY() [2/2]

eVision.EFrame.CenterY ( self,
float value )

Ordinate of the origin point of the frame.

◆ CopyTo()

None eVision.EFrame.CopyTo ( self,
eVision.EFrame other )

Copies all the data from the current eVision.EFrame object into another eVision.EFrame object, and returns it.

Remarks:

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

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

◆ DisplaySize() [1/2]

float eVision.EFrame.DisplaySize ( self)

Display size of the axis of the frame (in world unit).

The default value is

◆ DisplaySize() [2/2]

eVision.EFrame.DisplaySize ( self,
float value )

Display size of the axis of the frame (in world unit).

The default value is

◆ Drag() [1/10]

None eVision.EFrame.Drag ( self,
int x,
int y )

Moves the specified handle to a new position and updates all placement parameters of the region.

Parameters
xx-coordinate of the mouse cursor.
yy-coordinate of the mouse cursor.

◆ Drag() [2/10]

None eVision.EFrame.Drag ( self,
int x,
int y,
eVision.EFrame frame )

Moves the specified handle to a new position and updates all placement parameters of the region.

Parameters
xx-coordinate of the mouse cursor.
yy-coordinate of the mouse cursor.
frameFrame of reference in which the shape is defined.

◆ Drag() [3/10]

None eVision.EFrame.Drag ( self,
int x,
int y,
eVision.EFrame frame,
float zoomX )

Moves the specified handle to a new position and updates all placement parameters of the region.

Parameters
xx-coordinate of the mouse cursor.
yy-coordinate of the mouse cursor.
frameFrame of reference in which the shape is defined.
zoomXHorizontal zoom factor. By default, true scale is used.

◆ Drag() [4/10]

None eVision.EFrame.Drag ( self,
int x,
int y,
eVision.EFrame frame,
float zoomX,
float zoomY )

Moves the specified handle to a new position and updates all placement parameters of the region.

Parameters
xx-coordinate of the mouse cursor.
yy-coordinate of the mouse cursor.
frameFrame of reference in which the shape is defined.
zoomXHorizontal zoom factor. By default, true scale is used.
zoomYVertical zoom factor. By default, true scale is used.

◆ Drag() [5/10]

None eVision.EFrame.Drag ( self,
int x,
int y,
eVision.EFrame frame,
float zoomX,
float zoomY,
float panX )

Moves the specified handle to a new position and updates all placement parameters of the region.

Parameters
xx-coordinate of the mouse cursor.
yy-coordinate of the mouse cursor.
frameFrame of reference in which the shape is defined.
zoomXHorizontal zoom factor. By default, true scale is used.
zoomYVertical zoom factor. By default, true scale is used.
panXHorizontal pan offset. By default, no pan is added.

◆ Drag() [6/10]

None eVision.EFrame.Drag ( self,
int x,
int y,
eVision.EFrame frame,
float zoomX,
float zoomY,
float panX,
float panY )

Moves the specified handle to a new position and updates all placement parameters of the region.

Parameters
xx-coordinate of the mouse cursor.
yy-coordinate of the mouse cursor.
frameFrame of reference in which the shape is defined.
zoomXHorizontal zoom factor. By default, true scale is used.
zoomYVertical zoom factor. By default, true scale is used.
panXHorizontal pan offset. By default, no pan is added.
panYVertical pan offset. By default, no pan is added.

◆ Drag() [7/10]

None eVision.EFrame.Drag ( self,
int x,
int y,
float zoomX )

Moves the specified handle to a new position and updates all placement parameters of the region.

Parameters
xx-coordinate of the mouse cursor.
yy-coordinate of the mouse cursor.
zoomXHorizontal zoom factor. By default, true scale is used.

◆ Drag() [8/10]

None eVision.EFrame.Drag ( self,
int x,
int y,
float zoomX,
float zoomY )

Moves the specified handle to a new position and updates all placement parameters of the region.

Parameters
xx-coordinate of the mouse cursor.
yy-coordinate of the mouse cursor.
zoomXHorizontal zoom factor. By default, true scale is used.
zoomYVertical zoom factor. By default, true scale is used.

◆ Drag() [9/10]

None eVision.EFrame.Drag ( self,
int x,
int y,
float zoomX,
float zoomY,
float panX )

Moves the specified handle to a new position and updates all placement parameters of the region.

Parameters
xx-coordinate of the mouse cursor.
yy-coordinate of the mouse cursor.
zoomXHorizontal zoom factor. By default, true scale is used.
zoomYVertical zoom factor. By default, true scale is used.
panXHorizontal pan offset. By default, no pan is added.

◆ Drag() [10/10]

None eVision.EFrame.Drag ( self,
int x,
int y,
float zoomX,
float zoomY,
float panX,
float panY )

Moves the specified handle to a new position and updates all placement parameters of the region.

Parameters
xx-coordinate of the mouse cursor.
yy-coordinate of the mouse cursor.
zoomXHorizontal zoom factor. By default, true scale is used.
zoomYVertical zoom factor. By default, true scale is used.
panXHorizontal pan offset. By default, no pan is added.
panYVertical pan offset. By default, no pan is added.

◆ Draw() [1/18]

None eVision.EFrame.Draw ( self,
eVision.EDrawAdapter | None graphicContext )

Draws the world coordinate axis.

Parameters
graphicContextHandle of the device context on which to draw.

◆ Draw() [2/18]

None eVision.EFrame.Draw ( self,
eVision.EDrawAdapter | None graphicContext,
eVision.EFrame frame )

Draws the world coordinate axis.

Parameters
graphicContextHandle of the device context on which to draw.
frameFrame of reference in which the shape is defined.

◆ Draw() [3/18]

None eVision.EFrame.Draw ( self,
eVision.EDrawAdapter | None graphicContext,
eVision.EFrame frame,
float zoomX )

Draws the world coordinate axis.

Parameters
graphicContextHandle of the device context on which to draw.
frameFrame of reference in which the shape is defined.
zoomXHorizontal zooming factor. By default, true scale is used.

◆ Draw() [4/18]

None eVision.EFrame.Draw ( self,
eVision.EDrawAdapter | None graphicContext,
eVision.EFrame frame,
float zoomX,
float zoomY )

Draws the world coordinate axis.

Parameters
graphicContextHandle of the device context on which to draw.
frameFrame of reference in which the shape is defined.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.

◆ Draw() [5/18]

None eVision.EFrame.Draw ( self,
eVision.EDrawAdapter | None graphicContext,
eVision.EFrame frame,
float zoomX,
float zoomY,
float panX )

Draws the world coordinate axis.

Parameters
graphicContextHandle of the device context on which to draw.
frameFrame of reference in which the shape is defined.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.

◆ Draw() [6/18]

None eVision.EFrame.Draw ( self,
eVision.EDrawAdapter | None graphicContext,
eVision.EFrame frame,
float zoomX,
float zoomY,
float panX,
float panY )

Draws the world coordinate axis.

Parameters
graphicContextHandle of the device context on which to draw.
frameFrame of reference in which the shape is defined.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.

◆ Draw() [7/18]

None eVision.EFrame.Draw ( self,
eVision.EDrawAdapter | None graphicContext,
eVision.ERGBColor xAxisColor,
eVision.ERGBColor yAxisColor,
eVision.EFrame frame,
float zoomX )

Draws the world coordinate axis.

Parameters
graphicContextHandle of the device context on which to draw.
xAxisColorColor with which to draw the X axis (default: red)
yAxisColorColor with which to draw the Y axis (default: blue)
frameFrame of reference in which the shape is defined.
zoomXHorizontal zooming factor. By default, true scale is used.

◆ Draw() [8/18]

None eVision.EFrame.Draw ( self,
eVision.EDrawAdapter | None graphicContext,
eVision.ERGBColor xAxisColor,
eVision.ERGBColor yAxisColor,
eVision.EFrame frame,
float zoomX,
float zoomY )

Draws the world coordinate axis.

Parameters
graphicContextHandle of the device context on which to draw.
xAxisColorColor with which to draw the X axis (default: red)
yAxisColorColor with which to draw the Y axis (default: blue)
frameFrame of reference in which the shape is defined.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.

◆ Draw() [9/18]

None eVision.EFrame.Draw ( self,
eVision.EDrawAdapter | None graphicContext,
eVision.ERGBColor xAxisColor,
eVision.ERGBColor yAxisColor,
eVision.EFrame frame,
float zoomX,
float zoomY,
float panX )

Draws the world coordinate axis.

Parameters
graphicContextHandle of the device context on which to draw.
xAxisColorColor with which to draw the X axis (default: red)
yAxisColorColor with which to draw the Y axis (default: blue)
frameFrame of reference in which the shape is defined.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.

◆ Draw() [10/18]

None eVision.EFrame.Draw ( self,
eVision.EDrawAdapter | None graphicContext,
eVision.ERGBColor xAxisColor,
eVision.ERGBColor yAxisColor,
eVision.EFrame frame,
float zoomX,
float zoomY,
float panX,
float panY )

Draws the world coordinate axis.

Parameters
graphicContextHandle of the device context on which to draw.
xAxisColorColor with which to draw the X axis (default: red)
yAxisColorColor with which to draw the Y axis (default: blue)
frameFrame of reference in which the shape is defined.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.

◆ Draw() [11/18]

None eVision.EFrame.Draw ( self,
eVision.EDrawAdapter | None graphicContext,
eVision.ERGBColor xAxisColor,
eVision.ERGBColor yAxisColor,
float zoomX )

Draws the world coordinate axis.

Parameters
graphicContextHandle of the device context on which to draw.
xAxisColorColor with which to draw the X axis (default: red)
yAxisColorColor with which to draw the Y axis (default: blue)
zoomXHorizontal zooming factor. By default, true scale is used.

◆ Draw() [12/18]

None eVision.EFrame.Draw ( self,
eVision.EDrawAdapter | None graphicContext,
eVision.ERGBColor xAxisColor,
eVision.ERGBColor yAxisColor,
float zoomX,
float zoomY )

Draws the world coordinate axis.

Parameters
graphicContextHandle of the device context on which to draw.
xAxisColorColor with which to draw the X axis (default: red)
yAxisColorColor with which to draw the Y axis (default: blue)
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.

◆ Draw() [13/18]

None eVision.EFrame.Draw ( self,
eVision.EDrawAdapter | None graphicContext,
eVision.ERGBColor xAxisColor,
eVision.ERGBColor yAxisColor,
float zoomX,
float zoomY,
float panX )

Draws the world coordinate axis.

Parameters
graphicContextHandle of the device context on which to draw.
xAxisColorColor with which to draw the X axis (default: red)
yAxisColorColor with which to draw the Y axis (default: blue)
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.

◆ Draw() [14/18]

None eVision.EFrame.Draw ( self,
eVision.EDrawAdapter | None graphicContext,
eVision.ERGBColor xAxisColor,
eVision.ERGBColor yAxisColor,
float zoomX,
float zoomY,
float panX,
float panY )

Draws the world coordinate axis.

Parameters
graphicContextHandle of the device context on which to draw.
xAxisColorColor with which to draw the X axis (default: red)
yAxisColorColor with which to draw the Y axis (default: blue)
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.

◆ Draw() [15/18]

None eVision.EFrame.Draw ( self,
eVision.EDrawAdapter | None graphicContext,
float zoomX )

Draws the world coordinate axis.

Parameters
graphicContextHandle of the device context on which to draw.
zoomXHorizontal zooming factor. By default, true scale is used.

◆ Draw() [16/18]

None eVision.EFrame.Draw ( self,
eVision.EDrawAdapter | None graphicContext,
float zoomX,
float zoomY )

Draws the world coordinate axis.

Parameters
graphicContextHandle of the device context on which to draw.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.

◆ Draw() [17/18]

None eVision.EFrame.Draw ( self,
eVision.EDrawAdapter | None graphicContext,
float zoomX,
float zoomY,
float panX )

Draws the world coordinate axis.

Parameters
graphicContextHandle of the device context on which to draw.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.

◆ Draw() [18/18]

None eVision.EFrame.Draw ( self,
eVision.EDrawAdapter | None graphicContext,
float zoomX,
float zoomY,
float panX,
float panY )

Draws the world coordinate axis.

Parameters
graphicContextHandle of the device context on which to draw.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.

◆ EditionMode() [1/2]

eVision.EEditionMode eVision.EFrame.EditionMode ( self)

Graphical edition modes.

◆ EditionMode() [2/2]

eVision.EFrame.EditionMode ( self,
eVision.EEditionMode value )

Graphical edition modes.

◆ HitTest() [1/10]

eVision.EEditionMode eVision.EFrame.HitTest ( self,
int x,
int y )

Detects if the cursor is placed over one of the handles and returns the edition mode represented by the handle.

Remarks:

Returns the edition mode corresponding to the handle.

If zooming and/or panning were used when drawing the frame, the same values must be used with eVision.EFrame.Drag.

Parameters
xx-coordinate of the mouse cursor.
yy-coordinate of the mouse cursor.

◆ HitTest() [2/10]

eVision.EEditionMode eVision.EFrame.HitTest ( self,
int x,
int y,
eVision.EFrame frame )

Detects if the cursor is placed over one of the handles and returns the edition mode represented by the handle.

Remarks:

Returns the edition mode corresponding to the handle.

If zooming and/or panning were used when drawing the frame, the same values must be used with eVision.EFrame.Drag.

Parameters
xx-coordinate of the mouse cursor.
yy-coordinate of the mouse cursor.
frameFrame of reference in which the shape is defined.

◆ HitTest() [3/10]

eVision.EEditionMode eVision.EFrame.HitTest ( self,
int x,
int y,
eVision.EFrame frame,
float zoomX )

Detects if the cursor is placed over one of the handles and returns the edition mode represented by the handle.

Remarks:

Returns the edition mode corresponding to the handle.

If zooming and/or panning were used when drawing the frame, the same values must be used with eVision.EFrame.Drag.

Parameters
xx-coordinate of the mouse cursor.
yy-coordinate of the mouse cursor.
frameFrame of reference in which the shape is defined.
zoomXHorizontal zoom factor. By default, true scale is used.

◆ HitTest() [4/10]

eVision.EEditionMode eVision.EFrame.HitTest ( self,
int x,
int y,
eVision.EFrame frame,
float zoomX,
float zoomY )

Detects if the cursor is placed over one of the handles and returns the edition mode represented by the handle.

Remarks:

Returns the edition mode corresponding to the handle.

If zooming and/or panning were used when drawing the frame, the same values must be used with eVision.EFrame.Drag.

Parameters
xx-coordinate of the mouse cursor.
yy-coordinate of the mouse cursor.
frameFrame of reference in which the shape is defined.
zoomXHorizontal zoom factor. By default, true scale is used.
zoomYVertical zoom factor. By default, true scale is used.

◆ HitTest() [5/10]

eVision.EEditionMode eVision.EFrame.HitTest ( self,
int x,
int y,
eVision.EFrame frame,
float zoomX,
float zoomY,
float panX )

Detects if the cursor is placed over one of the handles and returns the edition mode represented by the handle.

Remarks:

Returns the edition mode corresponding to the handle.

If zooming and/or panning were used when drawing the frame, the same values must be used with eVision.EFrame.Drag.

Parameters
xx-coordinate of the mouse cursor.
yy-coordinate of the mouse cursor.
frameFrame of reference in which the shape is defined.
zoomXHorizontal zoom factor. By default, true scale is used.
zoomYVertical zoom factor. By default, true scale is used.
panXHorizontal pan offset. By default, no pan is added.

◆ HitTest() [6/10]

eVision.EEditionMode eVision.EFrame.HitTest ( self,
int x,
int y,
eVision.EFrame frame,
float zoomX,
float zoomY,
float panX,
float panY )

Detects if the cursor is placed over one of the handles and returns the edition mode represented by the handle.

Remarks:

Returns the edition mode corresponding to the handle.

If zooming and/or panning were used when drawing the frame, the same values must be used with eVision.EFrame.Drag.

Parameters
xx-coordinate of the mouse cursor.
yy-coordinate of the mouse cursor.
frameFrame of reference in which the shape is defined.
zoomXHorizontal zoom factor. By default, true scale is used.
zoomYVertical zoom factor. By default, true scale is used.
panXHorizontal pan offset. By default, no pan is added.
panYVertical pan offset. By default, no pan is added.

◆ HitTest() [7/10]

eVision.EEditionMode eVision.EFrame.HitTest ( self,
int x,
int y,
float zoomX )

Detects if the cursor is placed over one of the handles and returns the edition mode represented by the handle.

Remarks:

Returns the edition mode corresponding to the handle.

If zooming and/or panning were used when drawing the frame, the same values must be used with eVision.EFrame.Drag.

Parameters
xx-coordinate of the mouse cursor.
yy-coordinate of the mouse cursor.
zoomXHorizontal zoom factor. By default, true scale is used.

◆ HitTest() [8/10]

eVision.EEditionMode eVision.EFrame.HitTest ( self,
int x,
int y,
float zoomX,
float zoomY )

Detects if the cursor is placed over one of the handles and returns the edition mode represented by the handle.

Remarks:

Returns the edition mode corresponding to the handle.

If zooming and/or panning were used when drawing the frame, the same values must be used with eVision.EFrame.Drag.

Parameters
xx-coordinate of the mouse cursor.
yy-coordinate of the mouse cursor.
zoomXHorizontal zoom factor. By default, true scale is used.
zoomYVertical zoom factor. By default, true scale is used.

◆ HitTest() [9/10]

eVision.EEditionMode eVision.EFrame.HitTest ( self,
int x,
int y,
float zoomX,
float zoomY,
float panX )

Detects if the cursor is placed over one of the handles and returns the edition mode represented by the handle.

Remarks:

Returns the edition mode corresponding to the handle.

If zooming and/or panning were used when drawing the frame, the same values must be used with eVision.EFrame.Drag.

Parameters
xx-coordinate of the mouse cursor.
yy-coordinate of the mouse cursor.
zoomXHorizontal zoom factor. By default, true scale is used.
zoomYVertical zoom factor. By default, true scale is used.
panXHorizontal pan offset. By default, no pan is added.

◆ HitTest() [10/10]

eVision.EEditionMode eVision.EFrame.HitTest ( self,
int x,
int y,
float zoomX,
float zoomY,
float panX,
float panY )

Detects if the cursor is placed over one of the handles and returns the edition mode represented by the handle.

Remarks:

Returns the edition mode corresponding to the handle.

If zooming and/or panning were used when drawing the frame, the same values must be used with eVision.EFrame.Drag.

Parameters
xx-coordinate of the mouse cursor.
yy-coordinate of the mouse cursor.
zoomXHorizontal zoom factor. By default, true scale is used.
zoomYVertical zoom factor. By default, true scale is used.
panXHorizontal pan offset. By default, no pan is added.
panYVertical pan offset. By default, no pan is added.

◆ IsCalibrated()

bool eVision.EFrame.IsCalibrated ( self)

Whether the frame has a eVision.ECameraCalibration or not.

A non-calibrated frame means that its world and sensor frame are the same.

◆ IsCalibrationDirect()

bool eVision.EFrame.IsCalibrationDirect ( self)

Whether the eVision.EFrame.CameraCalibration is direct or inverse.

When the field of view is calibrated, the coordinate system is said to be direct, the abscissa extends rightwards and the ordinate extends upwards.

When the field of view is not calibrated, the coordinate system is said to be inverse the abscissa extends rightwards and the ordinate extends downwards.

◆ IsDirect()

bool eVision.EFrame.IsDirect ( self)

Whether the transformation to world coordinates is direct or inverse.

In a direct transformation, a counter-clockwise rotation is considered positive.

In an inverse transformation, a clockwise rotation is considered positive.

◆ IsDisplaySizeSet()

bool eVision.EFrame.IsDisplaySizeSet ( self)

Whether the display size was set using eVision.EFrame.DisplaySize or it is a default value.

◆ IsEqual()

bool eVision.EFrame.IsEqual ( self,
eVision.EFrame other )

Compares this frame with the other.

Parameters
otherOther eVision.EFrame object.

◆ IsIdentity()

bool eVision.EFrame.IsIdentity ( self)

Whether the frame is center on (0,0) with a scale of (1,1), angle of 0° and no calibration.

◆ IsIsotropic()

bool eVision.EFrame.IsIsotropic ( self)

Whether the frame is isotropic, i.e.

has the scales along the X and Y axis have the same absolute value.

◆ IsLocalToSensorAffine()

bool eVision.EFrame.IsLocalToSensorAffine ( self)

Whether the transformation to sensor coordinates is affine.

The transformation is not affine when the frame is calibrated and the calibration modes includes eVision.ECalibrationMode.Radial, eVision.ECalibrationMode.Advanced, eVision.ECalibrationMode.Tilted or eVision.ECalibrationMode.Quadratic.

◆ IsLocalToSensorDirect()

bool eVision.EFrame.IsLocalToSensorDirect ( self)

Whether the transformation to sensor coordinates is direct or inverse.

In a direct transformation, a counter-clockwise rotation is considered positive. This is the case for a calibrated field of view or the frame of a ZMap.

In an inverse transformation, a clockwise rotation is considered positive. This is the case for a non calibration field of view.

◆ IsLocalToSensorIsotropic()

bool eVision.EFrame.IsLocalToSensorIsotropic ( self)

Whether the transformation to sensor coordinates is affine and isotropic (the scale along the X and Y axis have the same absolute value).

◆ Load() [1/2]

None eVision.EFrame.Load ( self,
eVision.ESerializer | None serializer )

Load the eVision.EFrame configuration.

The given eVision.ESerializer must have been created for reading.

Parameters
serializerThe serializer.

◆ Load() [2/2]

None eVision.EFrame.Load ( self,
str path )

Load the eVision.EFrame configuration.

The given eVision.ESerializer must have been created for reading.

Parameters
pathThe file path.

◆ LocalToSensor() [1/5]

eVision.EEllipse eVision.EFrame.LocalToSensor ( self,
eVision.ECircle local )

Transforms a geometrical element from local to sensor coordinates.

Parameters
localThe element, expressed in local coordinates.

◆ LocalToSensor() [2/5]

eVision.EEllipse eVision.EFrame.LocalToSensor ( self,
eVision.EEllipse local )

Transforms a geometrical element from local to sensor coordinates.

Parameters
localThe element, expressed in local coordinates.

◆ LocalToSensor() [3/5]

eVision.ELine eVision.EFrame.LocalToSensor ( self,
eVision.ELine local )

Transforms a geometrical element from local to sensor coordinates.

Parameters
localThe element, expressed in local coordinates.

◆ LocalToSensor() [4/5]

eVision.EPoint eVision.EFrame.LocalToSensor ( self,
eVision.EPoint local )

Transforms a geometrical element from local to sensor coordinates.

Parameters
localThe element, expressed in local coordinates.

◆ LocalToSensor() [5/5]

eVision.EWedge eVision.EFrame.LocalToSensor ( self,
eVision.EWedge local )

Transforms a geometrical element from local to sensor coordinates.

Parameters
localThe element, expressed in local coordinates.

◆ LocalToWorld() [1/6]

eVision.EEllipse eVision.EFrame.LocalToWorld ( self,
eVision.ECircle local )

Transforms a geometrical element from local to world coordinates.

Parameters
localThe element, expressed in local coordinates.

◆ LocalToWorld() [2/6]

eVision.EEllipse eVision.EFrame.LocalToWorld ( self,
eVision.EEllipse local )

Transforms a geometrical element from local to world coordinates.

Parameters
localThe element, expressed in local coordinates.

◆ LocalToWorld() [3/6]

eVision.EFrame eVision.EFrame.LocalToWorld ( self,
eVision.EFrame local )

Transforms a geometrical element from local to world coordinates.

Parameters
localThe element, expressed in local coordinates.

◆ LocalToWorld() [4/6]

eVision.ELine eVision.EFrame.LocalToWorld ( self,
eVision.ELine local )

Transforms a geometrical element from local to world coordinates.

Parameters
localThe element, expressed in local coordinates.

◆ LocalToWorld() [5/6]

eVision.EPoint eVision.EFrame.LocalToWorld ( self,
eVision.EPoint local )

Transforms a geometrical element from local to world coordinates.

Parameters
localThe element, expressed in local coordinates.

◆ LocalToWorld() [6/6]

eVision.EPolygon eVision.EFrame.LocalToWorld ( self,
eVision.EPolygon local )

Transforms a geometrical element from local to world coordinates.

Parameters
localThe element, expressed in local coordinates.

◆ LocalToWorldIsotropic() [1/2]

eVision.ECircle eVision.EFrame.LocalToWorldIsotropic ( self,
eVision.ECircle local )

Transforms an eVision.ECircle or an eVision.EWedge from local to world coordinates in an isotropic eVision.EFrame.

Parameters
localThe element, expressed in local coordinates.

◆ LocalToWorldIsotropic() [2/2]

eVision.EWedge eVision.EFrame.LocalToWorldIsotropic ( self,
eVision.EWedge local )

Transforms an eVision.ECircle or an eVision.EWedge from local to world coordinates in an isotropic eVision.EFrame.

Parameters
localThe element, expressed in local coordinates.

◆ Save() [1/2]

None eVision.EFrame.Save ( self,
eVision.ESerializer | None serializer )

Save the eVision.EFrame configuration.

The given eVision.ESerializer must have been created for writing.

Parameters
serializerThe serializer.

◆ Save() [2/2]

None eVision.EFrame.Save ( self,
str path )

Save the eVision.EFrame configuration.

The given eVision.ESerializer must have been created for writing.

Parameters
pathThe file path.

◆ ScaleX() [1/2]

float eVision.EFrame.ScaleX ( self)

Scale along the X axis.

◆ ScaleX() [2/2]

eVision.EFrame.ScaleX ( self,
float value )

Scale along the X axis.

◆ ScaleY() [1/2]

float eVision.EFrame.ScaleY ( self)

Scale along the Y axis.

◆ ScaleY() [2/2]

eVision.EFrame.ScaleY ( self,
float value )

Scale along the Y axis.

◆ SensorAngle()

float eVision.EFrame.SensorAngle ( self)

Orientation of the frame in the sensor frame.

◆ SensorCenter()

eVision.EPoint eVision.EFrame.SensorCenter ( self)

Coordinates of the center of the frame in the sensor frame.

◆ SensorCenterX()

float eVision.EFrame.SensorCenterX ( self)

X coordinate of the center of the frame in the sensor frame.

◆ SensorCenterY()

float eVision.EFrame.SensorCenterY ( self)

Y coordinate of the center of the frame in the sensor frame.

◆ SensorScaleX()

float eVision.EFrame.SensorScaleX ( self)

Scale along the X axis in the sensor frame at the eVision.EFrame.SensorCenter.

Remarks:

If eVision.EFrame.IsLocalToSensorAffine is true, then the scale is the same every where in the image. Otherwise, the scale will change according to perspective or distortion effects.

◆ SensorScaleY()

float eVision.EFrame.SensorScaleY ( self)

Scale along the Y axis in the sensor frame at the eVision.EFrame.SensorCenter.

Remarks:

If eVision.EFrame.IsLocalToSensorAffine is true, then the scale is the same every where in the image. Otherwise, the scale will change according to perspective or distortion effects.

◆ SensorToLocal()

eVision.EPoint eVision.EFrame.SensorToLocal ( self,
eVision.EPoint sensor )

Transforms a geometrical element from sensor to local coordinates.

Parameters
sensorThe element, expressed in sensor coordinates.

◆ SensorToWorld()

eVision.EPoint eVision.EFrame.SensorToWorld ( self,
eVision.EPoint sensor )

Transforms a geometrical element from sensor to local coordinates.

Parameters
sensorThe element, expressed in sensor coordinates.

◆ WorldToLocal() [1/3]

eVision.EFrame eVision.EFrame.WorldToLocal ( self,
eVision.EFrame world )

Transforms a geometrical element from world to local coordinates.

Parameters
worldThe element, expressed in world coordinates.

◆ WorldToLocal() [2/3]

eVision.EPoint eVision.EFrame.WorldToLocal ( self,
eVision.EPoint world )

Transforms a geometrical element from world to local coordinates.

Parameters
worldThe element, expressed in world coordinates.

◆ WorldToLocal() [3/3]

eVision.EPolygon eVision.EFrame.WorldToLocal ( self,
eVision.EPolygon world )

Transforms a geometrical element from world to local coordinates.

Parameters
worldThe element, expressed in world coordinates.