Represents a geometrical frame of reference. More...
#include <eVision/Easy/EFrame.h>
Public Member Functions | |
| EFrame () | |
| Constructs a EFrame object. | |
| EFrame (float centerX, float centerY, float angle, float scaleX, float scaleY) | |
| Constructs a EFrame object. | |
| EFrame (float centerX, float centerY, float angle, float scaleX) | |
| Constructs a EFrame object. | |
| EFrame (float centerX, float centerY, float angle) | |
| Constructs a EFrame object. | |
| EFrame (float centerX, float centerY) | |
| Constructs a EFrame object. | |
| EFrame (float centerX, float centerY, float angle, float scaleX, float scaleY, const eVision::ECameraCalibration &calibration) | |
| Constructs a EFrame object. | |
| EFrame (const eVision::EFrame &parent, float centerX, float centerY, float angle, float scaleX, float scaleY) | |
| Constructs a EFrame object. | |
| EFrame (const eVision::EPoint ¢er, float angle, float scaleX, float scaleY) | |
| Constructs a EFrame object. | |
| EFrame (const eVision::EFrame &parent, const eVision::EPoint ¢er, float angle, float scaleX, float scaleY) | |
| Constructs a EFrame object. | |
| EFrame (const eVision::EPoint ¢er, float angle, float scaleX, float scaleY, const eVision::ECameraCalibration &calibration) | |
| Constructs a EFrame object. | |
| EFrame (const eVision::EFrame &other) | |
| Constructs a EFrame object. | |
| EFrame (const eVision::ECameraCalibration &calibration) | |
| Constructs a EFrame object. | |
| virtual | ~EFrame () throw () |
| eVision::EFrame & | operator= (const eVision::EFrame &frame) |
| Copies all the data from another EFrame object into the current EFrame object. | |
| void | CopyTo (eVision::EFrame &other) const |
| Copies all the data from the current EFrame object into another EFrame object, and returns it. | |
| void | SetAngle (float angle) |
| Orientation of the frame. | |
| float | GetAngle () const |
| Orientation of the frame. | |
| void | SetScaleX (float scale) |
| Scale along the X axis. | |
| float | GetScaleX () const |
| Scale along the X axis. | |
| void | SetScaleY (float scale) |
| Scale along the Y axis. | |
| float | GetScaleY () const |
| Scale along the Y axis. | |
| float | GetCenterX () const |
| Abscissa of the origin point of the frame. | |
| void | SetCenterX (float centerX) |
| Abscissa of the origin point of the frame. | |
| float | GetCenterY () const |
| Ordinate of the origin point of the frame. | |
| void | SetCenterY (float centerY) |
| Ordinate of the origin point of the frame. | |
| void | SetCenter (const eVision::EPoint ¢er) |
| Center coordinates of a EFrame object. | |
| eVision::EPoint | GetCenter () const |
| Center coordinates of a EFrame object. | |
| eVision::EPoint | GetSensorCenter () const |
| Coordinates of the center of the frame in the sensor frame. | |
| float | GetSensorCenterX () const |
| X coordinate of the center of the frame in the sensor frame. | |
| float | GetSensorCenterY () const |
| Y coordinate of the center of the frame in the sensor frame. | |
| float | GetSensorScaleX () const |
| Scale along the X axis in the sensor frame at the EFrame::GetSensorCenter. | |
| float | GetSensorScaleY () const |
| Scale along the Y axis in the sensor frame at the EFrame::GetSensorCenter. | |
| float | GetSensorAngle () const |
| Orientation of the frame in the sensor frame. | |
| std::unique_ptr< eVision::ECameraCalibration > | GetCameraCalibration () const |
| Camera calibration of the frame. | |
| void | SetCameraCalibration (const eVision::ECameraCalibration &calibration) |
| Camera calibration of the frame. | |
| bool | IsCalibrationDirect () const |
| Whether the EFrame::GetCameraCalibration is direct or inverse. | |
| bool | IsDirect () const |
| Whether the transformation to world coordinates is direct or inverse. | |
| bool | IsIdentity () const |
| Whether the frame is center on (0,0) with a scale of (1,1), angle of 0° and no calibration. | |
| bool | IsIsotropic () const |
| Whether the frame is isotropic, i.e. has the scales along the X and Y axis have the same absolute value. | |
| bool | IsLocalToSensorAffine () const |
| Whether the transformation to sensor coordinates is affine. | |
| bool | IsLocalToSensorIsotropic () const |
| 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 () const |
| Whether the transformation to sensor coordinates is direct or inverse. | |
| bool | IsCalibrated () const |
| Whether the frame has a ECameraCalibration or not. | |
| eVision::EPoint | LocalToWorld (const eVision::EPoint &local) const |
| Transforms a geometrical element from local to world coordinates. | |
| eVision::EFrame | LocalToWorld (const eVision::EFrame &local) const |
| Transforms a geometrical element from local to world coordinates. | |
| eVision::ELine | LocalToWorld (const eVision::ELine &local) const |
| Transforms a geometrical element from local to world coordinates. | |
| eVision::EEllipse | LocalToWorld (const eVision::ECircle &local) const |
| Transforms a geometrical element from local to world coordinates. | |
| eVision::EEllipse | LocalToWorld (const eVision::EEllipse &local) const |
| Transforms a geometrical element from local to world coordinates. | |
| eVision::EPolygon | LocalToWorld (const eVision::EPolygon &local) const |
| Transforms a geometrical element from local to world coordinates. | |
| eVision::ECircle | LocalToWorldIsotropic (const eVision::ECircle &local) const |
| Transforms an ECircle or an EWedge from local to world coordinates in an isotropic EFrame. | |
| eVision::EWedge | LocalToWorldIsotropic (const eVision::EWedge &local) const |
| Transforms an ECircle or an EWedge from local to world coordinates in an isotropic EFrame. | |
| eVision::EPoint | WorldToLocal (const eVision::EPoint &world) const |
| Transforms a geometrical element from world to local coordinates. | |
| eVision::EFrame | WorldToLocal (const eVision::EFrame &world) const |
| Transforms a geometrical element from world to local coordinates. | |
| eVision::EPolygon | WorldToLocal (const eVision::EPolygon &world) const |
| Transforms a geometrical element from world to local coordinates. | |
| eVision::EPoint | LocalToSensor (const eVision::EPoint &local) const |
| Transforms a geometrical element from local to sensor coordinates. | |
| eVision::ELine | LocalToSensor (const eVision::ELine &local) const |
| Transforms a geometrical element from local to sensor coordinates. | |
| eVision::EEllipse | LocalToSensor (const eVision::ECircle &local) const |
| Transforms a geometrical element from local to sensor coordinates. | |
| eVision::EEllipse | LocalToSensor (const eVision::EEllipse &local) const |
| Transforms a geometrical element from local to sensor coordinates. | |
| eVision::EWedge | LocalToSensor (const eVision::EWedge &local) const |
| Transforms a geometrical element from local to sensor coordinates. | |
| eVision::EPoint | SensorToLocal (const eVision::EPoint &sensor) const |
| Transforms a geometrical element from sensor to local coordinates. | |
| eVision::EPoint | SensorToWorld (const eVision::EPoint &sensor) const |
| Transforms a geometrical element from sensor to local coordinates. | |
| void | Load (const std::string &path) |
| Load the EFrame configuration. The given ESerializer must have been created for reading. | |
| void | Load (eVision::ESerializer *serializer) |
| Load the EFrame configuration. The given ESerializer must have been created for reading. | |
| void | Save (const std::string &path) |
| Save the EFrame configuration. The given ESerializer must have been created for writing. | |
| void | Save (eVision::ESerializer *serializer) |
| Save the EFrame configuration. The given ESerializer must have been created for writing. | |
| void | SetEditionMode (eVision::EEditionMode mode) |
| Graphical edition modes. | |
| eVision::EEditionMode | GetEditionMode () const |
| Graphical edition modes. | |
| void | SetDisplaySize (float size) |
| Display size of the axis of the frame (in world unit). | |
| float | GetDisplaySize () const |
| Display size of the axis of the frame (in world unit). | |
| bool | IsDisplaySizeSet () const |
| Whether the display size was set using EFrame::SetDisplaySize or it is a default value. | |
| eVision::EEditionMode | HitTest (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 (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 (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 (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 (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 (int x, int y, const 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 (int x, int y, const 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 (int x, int y, const 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 (int x, int y, const 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 (int x, int y, const eVision::EFrame &frame) |
| Detects if the cursor is placed over one of the handles and returns the edition mode represented by the handle. | |
| void | Drag (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. | |
| void | Drag (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. | |
| void | Drag (int x, int y, float zoomX, float zoomY) |
| Moves the specified handle to a new position and updates all placement parameters of the region. | |
| void | Drag (int x, int y, float zoomX) |
| Moves the specified handle to a new position and updates all placement parameters of the region. | |
| void | Drag (int x, int y) |
| Moves the specified handle to a new position and updates all placement parameters of the region. | |
| void | Drag (int x, int y, const 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. | |
| void | Drag (int x, int y, const 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. | |
| void | Drag (int x, int y, const eVision::EFrame &frame, float zoomX, float zoomY) |
| Moves the specified handle to a new position and updates all placement parameters of the region. | |
| void | Drag (int x, int y, const eVision::EFrame &frame, float zoomX) |
| Moves the specified handle to a new position and updates all placement parameters of the region. | |
| void | Drag (int x, int y, const eVision::EFrame &frame) |
| Moves the specified handle to a new position and updates all placement parameters of the region. | |
| void | Draw (eVision::EDrawAdapter *graphicContext, float zoomX, float zoomY, float panX, float panY) const |
| Draws the world coordinate axis. | |
| void | Draw (eVision::EDrawAdapter *graphicContext, float zoomX, float zoomY, float panX) const |
| Draws the world coordinate axis. | |
| void | Draw (eVision::EDrawAdapter *graphicContext, float zoomX, float zoomY) const |
| Draws the world coordinate axis. | |
| void | Draw (eVision::EDrawAdapter *graphicContext, float zoomX) const |
| Draws the world coordinate axis. | |
| void | Draw (eVision::EDrawAdapter *graphicContext) const |
| Draws the world coordinate axis. | |
| void | Draw (eVision::EDrawAdapter *graphicContext, const eVision::ERGBColor &xAxisColor, const eVision::ERGBColor &yAxisColor, float zoomX, float zoomY, float panX, float panY) const |
| Draws the world coordinate axis. | |
| void | Draw (eVision::EDrawAdapter *graphicContext, const eVision::ERGBColor &xAxisColor, const eVision::ERGBColor &yAxisColor, float zoomX, float zoomY, float panX) const |
| Draws the world coordinate axis. | |
| void | Draw (eVision::EDrawAdapter *graphicContext, const eVision::ERGBColor &xAxisColor, const eVision::ERGBColor &yAxisColor, float zoomX, float zoomY) const |
| Draws the world coordinate axis. | |
| void | Draw (eVision::EDrawAdapter *graphicContext, const eVision::ERGBColor &xAxisColor, const eVision::ERGBColor &yAxisColor, float zoomX) const |
| Draws the world coordinate axis. | |
| void | Draw (eVision::EDrawAdapter *graphicContext, const eVision::EFrame &frame, float zoomX, float zoomY, float panX, float panY) const |
| Draws the world coordinate axis. | |
| void | Draw (eVision::EDrawAdapter *graphicContext, const eVision::EFrame &frame, float zoomX, float zoomY, float panX) const |
| Draws the world coordinate axis. | |
| void | Draw (eVision::EDrawAdapter *graphicContext, const eVision::EFrame &frame, float zoomX, float zoomY) const |
| Draws the world coordinate axis. | |
| void | Draw (eVision::EDrawAdapter *graphicContext, const eVision::EFrame &frame, float zoomX) const |
| Draws the world coordinate axis. | |
| void | Draw (eVision::EDrawAdapter *graphicContext, const eVision::EFrame &frame) const |
| Draws the world coordinate axis. | |
| void | Draw (eVision::EDrawAdapter *graphicContext, const eVision::ERGBColor &xAxisColor, const eVision::ERGBColor &yAxisColor, const eVision::EFrame &frame, float zoomX, float zoomY, float panX, float panY) const |
| Draws the world coordinate axis. | |
| void | Draw (eVision::EDrawAdapter *graphicContext, const eVision::ERGBColor &xAxisColor, const eVision::ERGBColor &yAxisColor, const eVision::EFrame &frame, float zoomX, float zoomY, float panX) const |
| Draws the world coordinate axis. | |
| void | Draw (eVision::EDrawAdapter *graphicContext, const eVision::ERGBColor &xAxisColor, const eVision::ERGBColor &yAxisColor, const eVision::EFrame &frame, float zoomX, float zoomY) const |
| Draws the world coordinate axis. | |
| void | Draw (eVision::EDrawAdapter *graphicContext, const eVision::ERGBColor &xAxisColor, const eVision::ERGBColor &yAxisColor, const eVision::EFrame &frame, float zoomX) const |
| Draws the world coordinate axis. | |
| bool | IsEqual (const eVision::EFrame &other) const |
| Compares this frame with the other. | |
| EFrame (CppWrapperInternal::InternalConstructor) | |
Public Attributes | |
| CppWrapperInternal::WrappedClass | wrappedClass_ |
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 (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 EFrame::SetCenter, EFrame::SetAngle, EFrame::SetScaleX, and EFrame::SetScaleY are expressed with respect to the world frame. Constructing a frame with a parent is equivalent to doing parent.LocalToWorld(child).
License(s): BasicTypes
| eVision::EFrame::EFrame | ( | ) |
Constructs a EFrame object.
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.
| eVision::EFrame::EFrame | ( | float | centerX, |
| float | centerY, | ||
| float | angle, | ||
| float | scaleX, | ||
| float | scaleY ) |
Constructs a EFrame object.
| 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. |
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.
| eVision::EFrame::EFrame | ( | float | centerX, |
| float | centerY, | ||
| float | angle, | ||
| float | scaleX ) |
Constructs a EFrame object.
| 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. |
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.
| eVision::EFrame::EFrame | ( | float | centerX, |
| float | centerY, | ||
| float | angle ) |
Constructs a EFrame object.
| centerX | Abscissa of the center point of the frame. |
| centerY | Ordinate of the center point of the frame. |
| angle | Orientation of the frame. |
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.
| eVision::EFrame::EFrame | ( | float | centerX, |
| float | centerY ) |
Constructs a EFrame object.
| centerX | Abscissa of the center point of the frame. |
| centerY | Ordinate of the center point of the frame. |
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.
| eVision::EFrame::EFrame | ( | float | centerX, |
| float | centerY, | ||
| float | angle, | ||
| float | scaleX, | ||
| float | scaleY, | ||
| const eVision::ECameraCalibration & | calibration ) |
Constructs a EFrame object.
| 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 |
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.
| eVision::EFrame::EFrame | ( | const eVision::EFrame & | parent, |
| float | centerX, | ||
| float | centerY, | ||
| float | angle, | ||
| float | scaleX, | ||
| float | scaleY ) |
Constructs a EFrame object.
| 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. |
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.
| eVision::EFrame::EFrame | ( | const eVision::EPoint & | center, |
| float | angle, | ||
| float | scaleX, | ||
| float | scaleY ) |
Constructs a EFrame object.
| center | Coordinates of the center point of the frame. |
| angle | Orientation of the frame. |
| scaleX | Horizontal sensor resolution. |
| scaleY | Vertical sensor resolution. |
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.
| eVision::EFrame::EFrame | ( | const eVision::EFrame & | parent, |
| const eVision::EPoint & | center, | ||
| float | angle, | ||
| float | scaleX, | ||
| float | scaleY ) |
Constructs a EFrame object.
| 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. |
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.
| eVision::EFrame::EFrame | ( | const eVision::EPoint & | center, |
| float | angle, | ||
| float | scaleX, | ||
| float | scaleY, | ||
| const eVision::ECameraCalibration & | calibration ) |
Constructs a EFrame object.
| 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 |
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.
| eVision::EFrame::EFrame | ( | const eVision::EFrame & | other | ) |
Constructs a EFrame object.
| other | Other EFrame object to copy from. |
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.
| eVision::EFrame::EFrame | ( | const eVision::ECameraCalibration & | calibration | ) |
Constructs a EFrame object.
| calibration | Camera calibration |
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.
|
virtual | ||||||||||||
| eVision::EFrame::EFrame | ( | CppWrapperInternal::InternalConstructor | ) |
| void eVision::EFrame::CopyTo | ( | eVision::EFrame & | other | ) | const |
Copies all the data from the current EFrame object into another EFrame object, and returns it.
| other | Pointer to the EFrame object in which the current EFrame object data have to be copied. |
In the overload taking a pointer, in case of a NULL pointer, a new EFrame object will be created and returned.
| void eVision::EFrame::Drag | ( | 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. |
| void eVision::EFrame::Drag | ( | int | x, |
| int | y, | ||
| const 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. |
| void eVision::EFrame::Drag | ( | int | x, |
| int | y, | ||
| const 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. |
| void eVision::EFrame::Drag | ( | int | x, |
| int | y, | ||
| const 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. |
| void eVision::EFrame::Drag | ( | int | x, |
| int | y, | ||
| const 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. |
| void eVision::EFrame::Drag | ( | int | x, |
| int | y, | ||
| const 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. |
| void eVision::EFrame::Drag | ( | 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. |
| void eVision::EFrame::Drag | ( | 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. |
| void eVision::EFrame::Drag | ( | 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. |
| void eVision::EFrame::Drag | ( | 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. |
| void eVision::EFrame::Draw | ( | eVision::EDrawAdapter * | graphicContext | ) | const |
Draws the world coordinate axis.
| graphicContext | Handle of the device context on which to draw. |
| void eVision::EFrame::Draw | ( | eVision::EDrawAdapter * | graphicContext, |
| const eVision::EFrame & | frame ) const |
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. |
| void eVision::EFrame::Draw | ( | eVision::EDrawAdapter * | graphicContext, |
| const eVision::EFrame & | frame, | ||
| float | zoomX ) const |
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. |
| void eVision::EFrame::Draw | ( | eVision::EDrawAdapter * | graphicContext, |
| const eVision::EFrame & | frame, | ||
| float | zoomX, | ||
| float | zoomY ) const |
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. |
| void eVision::EFrame::Draw | ( | eVision::EDrawAdapter * | graphicContext, |
| const eVision::EFrame & | frame, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) const |
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. |
| void eVision::EFrame::Draw | ( | eVision::EDrawAdapter * | graphicContext, |
| const eVision::EFrame & | frame, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) const |
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. |
| void eVision::EFrame::Draw | ( | eVision::EDrawAdapter * | graphicContext, |
| const eVision::ERGBColor & | xAxisColor, | ||
| const eVision::ERGBColor & | yAxisColor, | ||
| const eVision::EFrame & | frame, | ||
| float | zoomX ) const |
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. |
| void eVision::EFrame::Draw | ( | eVision::EDrawAdapter * | graphicContext, |
| const eVision::ERGBColor & | xAxisColor, | ||
| const eVision::ERGBColor & | yAxisColor, | ||
| const eVision::EFrame & | frame, | ||
| float | zoomX, | ||
| float | zoomY ) const |
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. |
| void eVision::EFrame::Draw | ( | eVision::EDrawAdapter * | graphicContext, |
| const eVision::ERGBColor & | xAxisColor, | ||
| const eVision::ERGBColor & | yAxisColor, | ||
| const eVision::EFrame & | frame, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) const |
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. |
| void eVision::EFrame::Draw | ( | eVision::EDrawAdapter * | graphicContext, |
| const eVision::ERGBColor & | xAxisColor, | ||
| const eVision::ERGBColor & | yAxisColor, | ||
| const eVision::EFrame & | frame, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) const |
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. |
| void eVision::EFrame::Draw | ( | eVision::EDrawAdapter * | graphicContext, |
| const eVision::ERGBColor & | xAxisColor, | ||
| const eVision::ERGBColor & | yAxisColor, | ||
| float | zoomX ) const |
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. |
| void eVision::EFrame::Draw | ( | eVision::EDrawAdapter * | graphicContext, |
| const eVision::ERGBColor & | xAxisColor, | ||
| const eVision::ERGBColor & | yAxisColor, | ||
| float | zoomX, | ||
| float | zoomY ) const |
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. |
| void eVision::EFrame::Draw | ( | eVision::EDrawAdapter * | graphicContext, |
| const eVision::ERGBColor & | xAxisColor, | ||
| const eVision::ERGBColor & | yAxisColor, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) const |
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. |
| void eVision::EFrame::Draw | ( | eVision::EDrawAdapter * | graphicContext, |
| const eVision::ERGBColor & | xAxisColor, | ||
| const eVision::ERGBColor & | yAxisColor, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) const |
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. |
| void eVision::EFrame::Draw | ( | eVision::EDrawAdapter * | graphicContext, |
| float | zoomX ) const |
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. |
| void eVision::EFrame::Draw | ( | eVision::EDrawAdapter * | graphicContext, |
| float | zoomX, | ||
| float | zoomY ) const |
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. |
| void eVision::EFrame::Draw | ( | eVision::EDrawAdapter * | graphicContext, |
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) const |
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. |
| void eVision::EFrame::Draw | ( | eVision::EDrawAdapter * | graphicContext, |
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) const |
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. |
| float eVision::EFrame::GetAngle | ( | ) | const |
Orientation of the frame.
| std::unique_ptr< eVision::ECameraCalibration > eVision::EFrame::GetCameraCalibration | ( | ) | const |
Camera calibration of the frame.
| eVision::EPoint eVision::EFrame::GetCenter | ( | ) | const |
Center coordinates of a EFrame object.
| float eVision::EFrame::GetCenterX | ( | ) | const |
Abscissa of the origin point of the frame.
| float eVision::EFrame::GetCenterY | ( | ) | const |
Ordinate of the origin point of the frame.
| float eVision::EFrame::GetDisplaySize | ( | ) | const |
Display size of the axis of the frame (in world unit).
The default value is
| eVision::EEditionMode eVision::EFrame::GetEditionMode | ( | ) | const |
Graphical edition modes.
| float eVision::EFrame::GetScaleX | ( | ) | const |
Scale along the X axis.
| float eVision::EFrame::GetScaleY | ( | ) | const |
Scale along the Y axis.
| float eVision::EFrame::GetSensorAngle | ( | ) | const |
Orientation of the frame in the sensor frame.
| eVision::EPoint eVision::EFrame::GetSensorCenter | ( | ) | const |
Coordinates of the center of the frame in the sensor frame.
| float eVision::EFrame::GetSensorCenterX | ( | ) | const |
X coordinate of the center of the frame in the sensor frame.
| float eVision::EFrame::GetSensorCenterY | ( | ) | const |
Y coordinate of the center of the frame in the sensor frame.
| float eVision::EFrame::GetSensorScaleX | ( | ) | const |
Scale along the X axis in the sensor frame at the EFrame::GetSensorCenter.
If 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::GetSensorScaleY | ( | ) | const |
Scale along the Y axis in the sensor frame at the EFrame::GetSensorCenter.
If 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::EEditionMode eVision::EFrame::HitTest | ( | int | x, |
| int | y ) |
Detects if the cursor is placed over one of the handles and returns the edition mode represented by the handle.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
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 EFrame::Drag.
| eVision::EEditionMode eVision::EFrame::HitTest | ( | int | x, |
| int | y, | ||
| const eVision::EFrame & | frame ) |
Detects if the cursor is placed over one of the handles and returns the edition mode represented by the handle.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| frame | Frame of reference in which the shape is defined. |
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 EFrame::Drag.
| eVision::EEditionMode eVision::EFrame::HitTest | ( | int | x, |
| int | y, | ||
| const 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.
| 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. |
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 EFrame::Drag.
| eVision::EEditionMode eVision::EFrame::HitTest | ( | int | x, |
| int | y, | ||
| const 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.
| 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. |
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 EFrame::Drag.
| eVision::EEditionMode eVision::EFrame::HitTest | ( | int | x, |
| int | y, | ||
| const 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.
| 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. |
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 EFrame::Drag.
| eVision::EEditionMode eVision::EFrame::HitTest | ( | int | x, |
| int | y, | ||
| const 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.
| 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. |
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 EFrame::Drag.
| eVision::EEditionMode eVision::EFrame::HitTest | ( | 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.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| zoomX | Horizontal zoom factor. By default, true scale is used. |
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 EFrame::Drag.
| eVision::EEditionMode eVision::EFrame::HitTest | ( | 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.
| 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. |
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 EFrame::Drag.
| eVision::EEditionMode eVision::EFrame::HitTest | ( | 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.
| 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. |
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 EFrame::Drag.
| eVision::EEditionMode eVision::EFrame::HitTest | ( | 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.
| 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. |
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 EFrame::Drag.
| bool eVision::EFrame::IsCalibrated | ( | ) | const |
Whether the frame has a ECameraCalibration or not.
A non-calibrated frame means that its world and sensor frame are the same.
| bool eVision::EFrame::IsCalibrationDirect | ( | ) | const |
Whether the EFrame::GetCameraCalibration 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 | ( | ) | const |
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 | ( | ) | const |
Whether the display size was set using EFrame::SetDisplaySize or it is a default value.
| bool eVision::EFrame::IsEqual | ( | const eVision::EFrame & | other | ) | const |
Compares this frame with the other.
| other | Other EFrame object. |
| bool eVision::EFrame::IsIdentity | ( | ) | const |
Whether the frame is center on (0,0) with a scale of (1,1), angle of 0° and no calibration.
| bool eVision::EFrame::IsIsotropic | ( | ) | const |
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 | ( | ) | const |
Whether the transformation to sensor coordinates is affine.
The transformation is not affine when the frame is calibrated and the calibration modes includes ECalibrationMode::ECalibrationMode_Radial, ECalibrationMode::ECalibrationMode_Advanced, ECalibrationMode::ECalibrationMode_Tilted or ECalibrationMode::ECalibrationMode_Quadratic.
| bool eVision::EFrame::IsLocalToSensorDirect | ( | ) | const |
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 | ( | ) | const |
Whether the transformation to sensor coordinates is affine and isotropic (the scale along the X and Y axis have the same absolute value).
| void eVision::EFrame::Load | ( | const std::string & | path | ) |
Load the EFrame configuration. The given ESerializer must have been created for reading.
| path | The file path. |
| void eVision::EFrame::Load | ( | eVision::ESerializer * | serializer | ) |
Load the EFrame configuration. The given ESerializer must have been created for reading.
| serializer | The serializer. |
| eVision::EEllipse eVision::EFrame::LocalToSensor | ( | const eVision::ECircle & | local | ) | const |
Transforms a geometrical element from local to sensor coordinates.
| local | The element, expressed in local coordinates. |
| eVision::EEllipse eVision::EFrame::LocalToSensor | ( | const eVision::EEllipse & | local | ) | const |
Transforms a geometrical element from local to sensor coordinates.
| local | The element, expressed in local coordinates. |
| eVision::ELine eVision::EFrame::LocalToSensor | ( | const eVision::ELine & | local | ) | const |
Transforms a geometrical element from local to sensor coordinates.
| local | The element, expressed in local coordinates. |
| eVision::EPoint eVision::EFrame::LocalToSensor | ( | const eVision::EPoint & | local | ) | const |
Transforms a geometrical element from local to sensor coordinates.
| local | The element, expressed in local coordinates. |
| eVision::EWedge eVision::EFrame::LocalToSensor | ( | const eVision::EWedge & | local | ) | const |
Transforms a geometrical element from local to sensor coordinates.
| local | The element, expressed in local coordinates. |
| eVision::EEllipse eVision::EFrame::LocalToWorld | ( | const eVision::ECircle & | local | ) | const |
Transforms a geometrical element from local to world coordinates.
| local | The element, expressed in local coordinates. |
| eVision::EEllipse eVision::EFrame::LocalToWorld | ( | const eVision::EEllipse & | local | ) | const |
Transforms a geometrical element from local to world coordinates.
| local | The element, expressed in local coordinates. |
| eVision::EFrame eVision::EFrame::LocalToWorld | ( | const eVision::EFrame & | local | ) | const |
Transforms a geometrical element from local to world coordinates.
| local | The element, expressed in local coordinates. |
| eVision::ELine eVision::EFrame::LocalToWorld | ( | const eVision::ELine & | local | ) | const |
Transforms a geometrical element from local to world coordinates.
| local | The element, expressed in local coordinates. |
| eVision::EPoint eVision::EFrame::LocalToWorld | ( | const eVision::EPoint & | local | ) | const |
Transforms a geometrical element from local to world coordinates.
| local | The element, expressed in local coordinates. |
| eVision::EPolygon eVision::EFrame::LocalToWorld | ( | const eVision::EPolygon & | local | ) | const |
Transforms a geometrical element from local to world coordinates.
| local | The element, expressed in local coordinates. |
| eVision::ECircle eVision::EFrame::LocalToWorldIsotropic | ( | const eVision::ECircle & | local | ) | const |
| eVision::EWedge eVision::EFrame::LocalToWorldIsotropic | ( | const eVision::EWedge & | local | ) | const |
| eVision::EFrame & eVision::EFrame::operator= | ( | const eVision::EFrame & | frame | ) |
| void eVision::EFrame::Save | ( | const std::string & | path | ) |
Save the EFrame configuration. The given ESerializer must have been created for writing.
| path | The file path. |
| void eVision::EFrame::Save | ( | eVision::ESerializer * | serializer | ) |
Save the EFrame configuration. The given ESerializer must have been created for writing.
| serializer | The serializer. |
| eVision::EPoint eVision::EFrame::SensorToLocal | ( | const eVision::EPoint & | sensor | ) | const |
Transforms a geometrical element from sensor to local coordinates.
| sensor | The element, expressed in sensor coordinates. |
| eVision::EPoint eVision::EFrame::SensorToWorld | ( | const eVision::EPoint & | sensor | ) | const |
Transforms a geometrical element from sensor to local coordinates.
| sensor | The element, expressed in sensor coordinates. |
| void eVision::EFrame::SetAngle | ( | float | angle | ) |
Orientation of the frame.
| angle | Rotation angle of the frame. The default value is 0. |
| void eVision::EFrame::SetCameraCalibration | ( | const eVision::ECameraCalibration & | calibration | ) |
Camera calibration of the frame.
| void eVision::EFrame::SetCenter | ( | const eVision::EPoint & | center | ) |
Center coordinates of a EFrame object.
| void eVision::EFrame::SetCenterX | ( | float | centerX | ) |
Abscissa of the origin point of the frame.
| centerX | X coordinate of the origin point of the frame |
| void eVision::EFrame::SetCenterY | ( | float | centerY | ) |
Ordinate of the origin point of the frame.
| centerY | Y coordinate of the origin point of the frame |
| void eVision::EFrame::SetDisplaySize | ( | float | size | ) |
Display size of the axis of the frame (in world unit).
The default value is
| size | New display size in world unit. |
| void eVision::EFrame::SetEditionMode | ( | eVision::EEditionMode | mode | ) |
Graphical edition modes.
| mode | EEditionMode flags |
| void eVision::EFrame::SetScaleX | ( | float | scale | ) |
Scale along the X axis.
| scale | New value for the property. |
| void eVision::EFrame::SetScaleY | ( | float | scale | ) |
Scale along the Y axis.
| scale | New value for the property. |
| eVision::EFrame eVision::EFrame::WorldToLocal | ( | const eVision::EFrame & | world | ) | const |
Transforms a geometrical element from world to local coordinates.
| world | The element, expressed in world coordinates. |
| eVision::EPoint eVision::EFrame::WorldToLocal | ( | const eVision::EPoint & | world | ) | const |
Transforms a geometrical element from world to local coordinates.
| world | The element, expressed in world coordinates. |
| eVision::EPolygon eVision::EFrame::WorldToLocal | ( | const eVision::EPolygon & | world | ) | const |
Transforms a geometrical element from world to local coordinates.
| world | The element, expressed in world coordinates. |
| CppWrapperInternal::WrappedClass eVision::EFrame::wrappedClass_ |