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). | |
Represents a geometrical frame of reference.
In the context of a frame, we have the following 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
| 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.
| 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.
| centerX | Abscissa of the center point of the frame. |
| centerY | Ordinate of the center point of the frame. |
| angle | Orientation of the frame. |
| scaleX | Horizontal sensor resolution. |
| scaleY | Vertical sensor resolution. |
| 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.
| centerX | Abscissa of the center point of the frame. |
| centerY | Ordinate of the center point of the frame. |
| angle | Orientation of the frame. |
| scaleX | Horizontal sensor resolution. |
| 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.
| centerX | Abscissa of the center point of the frame. |
| centerY | Ordinate of the center point of the frame. |
| angle | Orientation of the frame. |
| 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.
| centerX | Abscissa of the center point of the frame. |
| centerY | Ordinate of the center point of the frame. |
| 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.
| centerX | Abscissa of the center point of the frame. |
| centerY | Ordinate of the center point of the frame. |
| angle | Orientation of the frame. |
| scaleX | Horizontal sensor resolution. |
| scaleY | Vertical sensor resolution. |
| calibration | Camera calibration |
| 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.
| parent | Frame in which the center, angle and scales are expressed. |
| centerX | Abscissa of the center point of the frame. |
| centerY | Ordinate of the center point of the frame. |
| angle | Orientation of the frame. |
| scaleX | Horizontal sensor resolution. |
| scaleY | Vertical sensor resolution. |
| 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.
| center | Coordinates of the center point of the frame. |
| angle | Orientation of the frame. |
| scaleX | Horizontal sensor resolution. |
| scaleY | Vertical sensor resolution. |
| 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.
| parent | Frame in which the center, angle and scales are expressed. |
| center | Coordinates of the center point of the frame. |
| angle | Orientation of the frame. |
| scaleX | Horizontal sensor resolution. |
| scaleY | Vertical sensor resolution. |
| 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.
| center | Coordinates of the center point of the frame. |
| angle | Orientation of the frame. |
| scaleX | Horizontal sensor resolution. |
| scaleY | Vertical sensor resolution. |
| calibration | Camera calibration |
| 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.
| other | Other eVision.EFrame object to copy from. |
| 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.
| calibration | Camera calibration |
| float eVision.EFrame.Angle | ( | self | ) |
Orientation of the frame.
| eVision.EFrame.Angle | ( | self, | |
| float | value ) |
Orientation of the frame.
| eVision.ECameraCalibration | None eVision.EFrame.CameraCalibration | ( | self | ) |
Camera calibration of the frame.
| eVision.EFrame.CameraCalibration | ( | self, | |
| eVision.ECameraCalibration | None | value ) |
Camera calibration of the frame.
| eVision.EPoint eVision.EFrame.Center | ( | self | ) |
Center coordinates of a eVision.EFrame object.
| eVision.EFrame.Center | ( | self, | |
| eVision.EPoint | value ) |
Center coordinates of a eVision.EFrame object.
| float eVision.EFrame.CenterX | ( | self | ) |
Abscissa of the origin point of the frame.
| eVision.EFrame.CenterX | ( | self, | |
| float | value ) |
Abscissa of the origin point of the frame.
| float eVision.EFrame.CenterY | ( | self | ) |
Ordinate of the origin point of the frame.
| eVision.EFrame.CenterY | ( | self, | |
| float | value ) |
Ordinate of the origin point of the frame.
| 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.
| other | Pointer to the eVision.EFrame object in which the current eVision.EFrame object data have to be copied. |
| float eVision.EFrame.DisplaySize | ( | self | ) |
Display size of the axis of the frame (in world unit).
The default value is
| eVision.EFrame.DisplaySize | ( | self, | |
| float | value ) |
Display size of the axis of the frame (in world unit).
The default value is
| 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.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| 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.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| frame | Frame of reference in which the shape is defined. |
| 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.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| frame | Frame of reference in which the shape is defined. |
| zoomX | Horizontal zoom factor. By default, true scale is used. |
| 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.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| frame | Frame of reference in which the shape is defined. |
| zoomX | Horizontal zoom factor. By default, true scale is used. |
| zoomY | Vertical zoom factor. By default, true scale is used. |
| 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.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| frame | Frame of reference in which the shape is defined. |
| zoomX | Horizontal zoom factor. By default, true scale is used. |
| zoomY | Vertical zoom factor. By default, true scale is used. |
| panX | Horizontal pan offset. By default, no pan is added. |
| 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.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| frame | Frame of reference in which the shape is defined. |
| zoomX | Horizontal zoom factor. By default, true scale is used. |
| zoomY | Vertical zoom factor. By default, true scale is used. |
| panX | Horizontal pan offset. By default, no pan is added. |
| panY | Vertical pan offset. By default, no pan is added. |
| 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.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| zoomX | Horizontal zoom factor. By default, true scale is used. |
| 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.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| zoomX | Horizontal zoom factor. By default, true scale is used. |
| zoomY | Vertical zoom factor. By default, true scale is used. |
| 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.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| zoomX | Horizontal zoom factor. By default, true scale is used. |
| zoomY | Vertical zoom factor. By default, true scale is used. |
| panX | Horizontal pan offset. By default, no pan is added. |
| 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.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| zoomX | Horizontal zoom factor. By default, true scale is used. |
| zoomY | Vertical zoom factor. By default, true scale is used. |
| panX | Horizontal pan offset. By default, no pan is added. |
| panY | Vertical pan offset. By default, no pan is added. |
| None eVision.EFrame.Draw | ( | self, | |
| eVision.EDrawAdapter | None | graphicContext ) |
Draws the world coordinate axis.
| graphicContext | Handle of the device context on which to draw. |
| None eVision.EFrame.Draw | ( | self, | |
| eVision.EDrawAdapter | None | graphicContext, | ||
| eVision.EFrame | frame ) |
Draws the world coordinate axis.
| graphicContext | Handle of the device context on which to draw. |
| frame | Frame of reference in which the shape is defined. |
| None eVision.EFrame.Draw | ( | self, | |
| eVision.EDrawAdapter | None | graphicContext, | ||
| eVision.EFrame | frame, | ||
| float | zoomX ) |
Draws the world coordinate axis.
| graphicContext | Handle of the device context on which to draw. |
| frame | Frame of reference in which the shape is defined. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| None eVision.EFrame.Draw | ( | self, | |
| eVision.EDrawAdapter | None | graphicContext, | ||
| eVision.EFrame | frame, | ||
| float | zoomX, | ||
| float | zoomY ) |
Draws the world coordinate axis.
| graphicContext | Handle of the device context on which to draw. |
| frame | Frame of reference in which the shape is defined. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| None eVision.EFrame.Draw | ( | self, | |
| eVision.EDrawAdapter | None | graphicContext, | ||
| eVision.EFrame | frame, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Draws the world coordinate axis.
| graphicContext | Handle of the device context on which to draw. |
| frame | Frame of reference in which the shape is defined. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| 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.
| graphicContext | Handle of the device context on which to draw. |
| frame | Frame of reference in which the shape is defined. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| panY | Vertical panning value expressed in pixels. By default, no panning occurs. |
| 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.
| graphicContext | Handle of the device context on which to draw. |
| xAxisColor | Color with which to draw the X axis (default: red) |
| yAxisColor | Color with which to draw the Y axis (default: blue) |
| frame | Frame of reference in which the shape is defined. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| 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.
| graphicContext | Handle of the device context on which to draw. |
| xAxisColor | Color with which to draw the X axis (default: red) |
| yAxisColor | Color with which to draw the Y axis (default: blue) |
| frame | Frame of reference in which the shape is defined. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| 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.
| graphicContext | Handle of the device context on which to draw. |
| xAxisColor | Color with which to draw the X axis (default: red) |
| yAxisColor | Color with which to draw the Y axis (default: blue) |
| frame | Frame of reference in which the shape is defined. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| 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.
| graphicContext | Handle of the device context on which to draw. |
| xAxisColor | Color with which to draw the X axis (default: red) |
| yAxisColor | Color with which to draw the Y axis (default: blue) |
| frame | Frame of reference in which the shape is defined. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| panY | Vertical panning value expressed in pixels. By default, no panning occurs. |
| None eVision.EFrame.Draw | ( | self, | |
| eVision.EDrawAdapter | None | graphicContext, | ||
| eVision.ERGBColor | xAxisColor, | ||
| eVision.ERGBColor | yAxisColor, | ||
| float | zoomX ) |
Draws the world coordinate axis.
| graphicContext | Handle of the device context on which to draw. |
| xAxisColor | Color with which to draw the X axis (default: red) |
| yAxisColor | Color with which to draw the Y axis (default: blue) |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| None eVision.EFrame.Draw | ( | self, | |
| eVision.EDrawAdapter | None | graphicContext, | ||
| eVision.ERGBColor | xAxisColor, | ||
| eVision.ERGBColor | yAxisColor, | ||
| float | zoomX, | ||
| float | zoomY ) |
Draws the world coordinate axis.
| graphicContext | Handle of the device context on which to draw. |
| xAxisColor | Color with which to draw the X axis (default: red) |
| yAxisColor | Color with which to draw the Y axis (default: blue) |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| 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.
| graphicContext | Handle of the device context on which to draw. |
| xAxisColor | Color with which to draw the X axis (default: red) |
| yAxisColor | Color with which to draw the Y axis (default: blue) |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| 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.
| graphicContext | Handle of the device context on which to draw. |
| xAxisColor | Color with which to draw the X axis (default: red) |
| yAxisColor | Color with which to draw the Y axis (default: blue) |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| panY | Vertical panning value expressed in pixels. By default, no panning occurs. |
| None eVision.EFrame.Draw | ( | self, | |
| eVision.EDrawAdapter | None | graphicContext, | ||
| float | zoomX ) |
Draws the world coordinate axis.
| graphicContext | Handle of the device context on which to draw. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| None eVision.EFrame.Draw | ( | self, | |
| eVision.EDrawAdapter | None | graphicContext, | ||
| float | zoomX, | ||
| float | zoomY ) |
Draws the world coordinate axis.
| graphicContext | Handle of the device context on which to draw. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| None eVision.EFrame.Draw | ( | self, | |
| eVision.EDrawAdapter | None | graphicContext, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Draws the world coordinate axis.
| graphicContext | Handle of the device context on which to draw. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| None eVision.EFrame.Draw | ( | self, | |
| eVision.EDrawAdapter | None | graphicContext, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Draws the world coordinate axis.
| graphicContext | Handle of the device context on which to draw. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| panY | Vertical panning value expressed in pixels. By default, no panning occurs. |
| eVision.EEditionMode eVision.EFrame.EditionMode | ( | self | ) |
Graphical edition modes.
| eVision.EFrame.EditionMode | ( | self, | |
| eVision.EEditionMode | value ) |
Graphical edition modes.
| 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.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| 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.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| frame | Frame of reference in which the shape is defined. |
| 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.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| frame | Frame of reference in which the shape is defined. |
| zoomX | Horizontal zoom factor. By default, true scale is used. |
| 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.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| frame | Frame of reference in which the shape is defined. |
| zoomX | Horizontal zoom factor. By default, true scale is used. |
| zoomY | Vertical zoom factor. By default, true scale is used. |
| 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.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| frame | Frame of reference in which the shape is defined. |
| zoomX | Horizontal zoom factor. By default, true scale is used. |
| zoomY | Vertical zoom factor. By default, true scale is used. |
| panX | Horizontal pan offset. By default, no pan is added. |
| 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.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| frame | Frame of reference in which the shape is defined. |
| zoomX | Horizontal zoom factor. By default, true scale is used. |
| zoomY | Vertical zoom factor. By default, true scale is used. |
| panX | Horizontal pan offset. By default, no pan is added. |
| panY | Vertical pan offset. By default, no pan is added. |
| 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.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| zoomX | Horizontal zoom factor. By default, true scale is used. |
| 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.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| zoomX | Horizontal zoom factor. By default, true scale is used. |
| zoomY | Vertical zoom factor. By default, true scale is used. |
| 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.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| zoomX | Horizontal zoom factor. By default, true scale is used. |
| zoomY | Vertical zoom factor. By default, true scale is used. |
| panX | Horizontal pan offset. By default, no pan is added. |
| 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.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| zoomX | Horizontal zoom factor. By default, true scale is used. |
| zoomY | Vertical zoom factor. By default, true scale is used. |
| panX | Horizontal pan offset. By default, no pan is added. |
| panY | Vertical pan offset. By default, no pan is added. |
| 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.
| 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.
| 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.
| bool eVision.EFrame.IsDisplaySizeSet | ( | self | ) |
Whether the display size was set using eVision.EFrame.DisplaySize or it is a default value.
| bool eVision.EFrame.IsEqual | ( | self, | |
| eVision.EFrame | other ) |
Compares this frame with the other.
| other | Other eVision.EFrame object. |
| 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.
| 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.
| 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.
| 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.
| 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).
| None eVision.EFrame.Load | ( | self, | |
| eVision.ESerializer | None | serializer ) |
Load the eVision.EFrame configuration.
The given eVision.ESerializer must have been created for reading.
| serializer | The serializer. |
| None eVision.EFrame.Load | ( | self, | |
| str | path ) |
Load the eVision.EFrame configuration.
The given eVision.ESerializer must have been created for reading.
| path | The file path. |
| eVision.EEllipse eVision.EFrame.LocalToSensor | ( | self, | |
| eVision.ECircle | local ) |
Transforms a geometrical element from local to sensor coordinates.
| local | The element, expressed in local coordinates. |
| eVision.EEllipse eVision.EFrame.LocalToSensor | ( | self, | |
| eVision.EEllipse | local ) |
Transforms a geometrical element from local to sensor coordinates.
| local | The element, expressed in local coordinates. |
| eVision.ELine eVision.EFrame.LocalToSensor | ( | self, | |
| eVision.ELine | local ) |
Transforms a geometrical element from local to sensor coordinates.
| local | The element, expressed in local coordinates. |
| eVision.EPoint eVision.EFrame.LocalToSensor | ( | self, | |
| eVision.EPoint | local ) |
Transforms a geometrical element from local to sensor coordinates.
| local | The element, expressed in local coordinates. |
| eVision.EWedge eVision.EFrame.LocalToSensor | ( | self, | |
| eVision.EWedge | local ) |
Transforms a geometrical element from local to sensor coordinates.
| local | The element, expressed in local coordinates. |
| eVision.EEllipse eVision.EFrame.LocalToWorld | ( | self, | |
| eVision.ECircle | local ) |
Transforms a geometrical element from local to world coordinates.
| local | The element, expressed in local coordinates. |
| eVision.EEllipse eVision.EFrame.LocalToWorld | ( | self, | |
| eVision.EEllipse | local ) |
Transforms a geometrical element from local to world coordinates.
| local | The element, expressed in local coordinates. |
| eVision.EFrame eVision.EFrame.LocalToWorld | ( | self, | |
| eVision.EFrame | local ) |
Transforms a geometrical element from local to world coordinates.
| local | The element, expressed in local coordinates. |
| eVision.ELine eVision.EFrame.LocalToWorld | ( | self, | |
| eVision.ELine | local ) |
Transforms a geometrical element from local to world coordinates.
| local | The element, expressed in local coordinates. |
| eVision.EPoint eVision.EFrame.LocalToWorld | ( | self, | |
| eVision.EPoint | local ) |
Transforms a geometrical element from local to world coordinates.
| local | The element, expressed in local coordinates. |
| eVision.EPolygon eVision.EFrame.LocalToWorld | ( | self, | |
| eVision.EPolygon | local ) |
Transforms a geometrical element from local to world coordinates.
| local | The element, expressed in local coordinates. |
| 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.
| local | The element, expressed in local coordinates. |
| 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.
| local | The element, expressed in local coordinates. |
| None eVision.EFrame.Save | ( | self, | |
| eVision.ESerializer | None | serializer ) |
Save the eVision.EFrame configuration.
The given eVision.ESerializer must have been created for writing.
| serializer | The serializer. |
| None eVision.EFrame.Save | ( | self, | |
| str | path ) |
Save the eVision.EFrame configuration.
The given eVision.ESerializer must have been created for writing.
| path | The file path. |
| float eVision.EFrame.ScaleX | ( | self | ) |
Scale along the X axis.
| eVision.EFrame.ScaleX | ( | self, | |
| float | value ) |
Scale along the X axis.
| float eVision.EFrame.ScaleY | ( | self | ) |
Scale along the Y axis.
| eVision.EFrame.ScaleY | ( | self, | |
| float | value ) |
Scale along the Y axis.
| float eVision.EFrame.SensorAngle | ( | self | ) |
Orientation of the frame in the sensor frame.
| eVision.EPoint eVision.EFrame.SensorCenter | ( | self | ) |
Coordinates of the center of the frame in the sensor frame.
| float eVision.EFrame.SensorCenterX | ( | self | ) |
X coordinate of the center of the frame in the sensor frame.
| float eVision.EFrame.SensorCenterY | ( | self | ) |
Y coordinate of the center of the frame in the sensor frame.
| 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.
| 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.
| eVision.EPoint eVision.EFrame.SensorToLocal | ( | self, | |
| eVision.EPoint | sensor ) |
Transforms a geometrical element from sensor to local coordinates.
| sensor | The element, expressed in sensor coordinates. |
| eVision.EPoint eVision.EFrame.SensorToWorld | ( | self, | |
| eVision.EPoint | sensor ) |
Transforms a geometrical element from sensor to local coordinates.
| sensor | The element, expressed in sensor coordinates. |
| eVision.EFrame eVision.EFrame.WorldToLocal | ( | self, | |
| eVision.EFrame | world ) |
Transforms a geometrical element from world to local coordinates.
| world | The element, expressed in world coordinates. |
| eVision.EPoint eVision.EFrame.WorldToLocal | ( | self, | |
| eVision.EPoint | world ) |
Transforms a geometrical element from world to local coordinates.
| world | The element, expressed in world coordinates. |
| eVision.EPolygon eVision.EFrame.WorldToLocal | ( | self, | |
| eVision.EPolygon | world ) |
Transforms a geometrical element from world to local coordinates.
| world | The element, expressed in world coordinates. |