|
| | ERectangle () |
| | Constructs a ERectangle.
|
| | ERectangle (const eVision::EPoint ¢er, float sizeX, float sizeY, float angle) |
| | Constructs a ERectangle.
|
| | ERectangle (const eVision::EPoint ¢er, float sizeX, float sizeY) |
| | Constructs a ERectangle.
|
| | ERectangle (const eVision::EPoint &origin, const eVision::EPoint &end) |
| | Constructs a ERectangle.
|
| | ERectangle (const eVision::EPoint &origin, const eVision::EPoint &middle, const eVision::EPoint &end) |
| | Constructs a ERectangle.
|
| | ERectangle (const eVision::ERectangle &other) |
| | Constructs a ERectangle.
|
| | ERectangle (const eVision::ERotatedBoundingBox &other) |
| | Constructs a ERectangle.
|
| virtual | ~ERectangle () throw () |
| eVision::ERectangle & | operator= (const eVision::ERectangle &other) |
| | Copies all the data from another ERectangle object into the current ERectangle object.
|
| bool | operator== (const eVision::ERectangle &other) const |
| | Equality operator.
|
| bool | operator!= (const eVision::ERectangle &other) const |
| | Inequality operator.
|
| void | CopyTo (eVision::ERectangle &other) const |
| | Copies all the data from this object to the other object.
|
| eVision::ERectangle | LocalToSensor (const eVision::EFrame &frame) const |
| | Transforms a rectangle from local to sensor coordinates. This method throws an exception if the input frame has an anisotropic scale and if the angle is non-null.
|
| eVision::ERectangle | SensorToLocal (const eVision::EFrame &frame) const |
| | Transforms a rectangle from sensor to local coordinates. This method throws an exception if the input frame has an anisotropic scale and if the angle is non-null.
|
| void | SetCenter (const eVision::EPoint ¢er) |
| | Center of the ERectangle.
|
| eVision::EPoint | GetCenter () const |
| | Center of the ERectangle.
|
| float | GetCenterX () const |
| | Abscissa of the center of the ERectangle.
|
| void | SetCenterX (float centerX) |
| | Abscissa of the center of the ERectangle.
|
| float | GetCenterY () const |
| | Ordinate of the the center of the ERectangle.
|
| void | SetCenterY (float centerY) |
| | Ordinate of the the center of the ERectangle.
|
| float | GetAngle () const |
| | Orientation of the ERectangle.
|
| void | SetAngle (float angle) |
| | Orientation of the ERectangle.
|
| void | SetFromOppositeCorners (const eVision::EPoint &origin, const eVision::EPoint &end) |
| | Sets the geometric parameters (center coordinates, size, and rotation angle) of an ERectangle object.
|
| void | SetFromThreeCorners (const eVision::EPoint &origin, const eVision::EPoint &middle, const eVision::EPoint &end) |
| | Sets the geometric parameters (center coordinates, size, and rotation angle) of an ERectangle object.
|
| void | SetSize (float sizeX, float sizeY) |
| | Sets the size of a ERectangle object.
|
| float | GetSizeX () const |
| | X size of the ERectangle.
|
| void | SetSizeX (float val) |
| | X size of the ERectangle.
|
| float | GetSizeY () const |
| | Y size of the ERectangle.
|
| void | SetSizeY (float val) |
| | Y size of the ERectangle.
|
| eVision::EPoint | GetPoint (float fractionX, float fractionY) |
| | Returns the coordinates of a particular point, specified by its location in the ERectangle area.
|
| void | GetMidEdges (eVision::EPoint &x, eVision::EPoint &XX, eVision::EPoint &y, eVision::EPoint &YY) const |
| | Retrieves the center coordinates of each edge of a ERectangle object.
|
| void | GetCorners (eVision::EPoint &xy, eVision::EPoint &XXy, eVision::EPoint &xYY, eVision::EPoint &XXYY) const |
| | Retrieves the coordinates of each corner of a ERectangle object.
|
| void | GetEdges (eVision::ELine &x, eVision::ELine &XX, eVision::ELine &y, eVision::ELine &YY) const |
| | Retrieves each edge of a ERectangle object.
|
| bool | Contains (eVision::EPoint p) const |
| | Whether the specified point is inside the rectangle or not.
|
| float | ComputeOverlap (const eVision::ERectangle &other) const |
| | Computes the overlap (intersection / min(area1, area2)) of this and the other ERectangle.
|
| bool | IsEqual (const eVision::ERectangle &other) const |
| | Comparison operator.
|
| virtual eVision::EEditionMode | GetAvailableEditionModes () const |
| | Available edition modes for the shape.
|
| virtual std::string | GetDescription () const |
| | Textual description of the shape and its parameters.
|
| | ERectangle (CppWrapperInternal::InternalConstructor) |
| virtual | ~EShape () throw () |
| void | Load (const std::string &path) |
| | Load the EShape configuration. The given ESerializer must have been created for reading.
|
| void | Load (eVision::ESerializer *serializer) |
| | Load the EShape configuration. The given ESerializer must have been created for reading.
|
| void | Save (const std::string &path) |
| | Save the EShape configuration. The given ESerializer must have been created for writing.
|
| void | Save (eVision::ESerializer *serializer) |
| | Save the EShape configuration. The given ESerializer must have been created for writing.
|
| void | Draw (eVision::EDrawAdapter *drawAdapter, float zoomX, float zoomY, float panX, float panY, bool drawDiagonals) const |
| | Draws the EShape shape.
|
| void | Draw (eVision::EDrawAdapter *drawAdapter, float zoomX, float zoomY, float panX, float panY) const |
| | Draws the EShape shape.
|
| void | Draw (eVision::EDrawAdapter *drawAdapter, float zoomX, float zoomY, float panX) const |
| | Draws the EShape shape.
|
| void | Draw (eVision::EDrawAdapter *drawAdapter, float zoomX, float zoomY) const |
| | Draws the EShape shape.
|
| void | Draw (eVision::EDrawAdapter *drawAdapter, float zoomX) const |
| | Draws the EShape shape.
|
| void | Draw (eVision::EDrawAdapter *drawAdapter) const |
| | Draws the EShape shape.
|
| void | Draw (eVision::EDrawAdapter *drawAdapter, const eVision::EFrame &frame, float zoomX, float zoomY, float panX, float panY, bool drawDiagonals) const |
| | Draws the EShape shape.
|
| void | Draw (eVision::EDrawAdapter *drawAdapter, const eVision::EFrame &frame, float zoomX, float zoomY, float panX, float panY) const |
| | Draws the EShape shape.
|
| void | Draw (eVision::EDrawAdapter *drawAdapter, const eVision::EFrame &frame, float zoomX, float zoomY, float panX) const |
| | Draws the EShape shape.
|
| void | Draw (eVision::EDrawAdapter *drawAdapter, const eVision::EFrame &frame, float zoomX, float zoomY) const |
| | Draws the EShape shape.
|
| void | Draw (eVision::EDrawAdapter *drawAdapter, const eVision::EFrame &frame, float zoomX) const |
| | Draws the EShape shape.
|
| void | Draw (eVision::EDrawAdapter *drawAdapter, const eVision::EFrame &frame) const |
| | Draws the EShape shape.
|
| eVision::EEditionMode | HitTest (int32_t x, int32_t y, float zoomX, float zoomY, float panX, float panY) |
| | Detects if the cursor is placed over one of the dragging handles.
|
| eVision::EEditionMode | HitTest (int32_t x, int32_t y, float zoomX, float zoomY, float panX) |
| | Detects if the cursor is placed over one of the dragging handles.
|
| eVision::EEditionMode | HitTest (int32_t x, int32_t y, float zoomX, float zoomY) |
| | Detects if the cursor is placed over one of the dragging handles.
|
| eVision::EEditionMode | HitTest (int32_t x, int32_t y, float zoomX) |
| | Detects if the cursor is placed over one of the dragging handles.
|
| eVision::EEditionMode | HitTest (int32_t x, int32_t y, const eVision::EFrame &frame, float zoomX, float zoomY, float panX, float panY) |
| | Detects if the cursor is placed over one of the dragging handles.
|
| eVision::EEditionMode | HitTest (int32_t x, int32_t y, const eVision::EFrame &frame, float zoomX, float zoomY, float panX) |
| | Detects if the cursor is placed over one of the dragging handles.
|
| eVision::EEditionMode | HitTest (int32_t x, int32_t y, const eVision::EFrame &frame, float zoomX, float zoomY) |
| | Detects if the cursor is placed over one of the dragging handles.
|
| eVision::EEditionMode | HitTest (int32_t x, int32_t y, const eVision::EFrame &frame, float zoomX) |
| | Detects if the cursor is placed over one of the dragging handles.
|
| void | Drag (int32_t x, int32_t 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 (int32_t x, int32_t 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 (int32_t x, int32_t y, float zoomX, float zoomY) |
| | Moves the specified handle to a new position and updates all placement parameters of the region.
|
| void | Drag (int32_t x, int32_t y, float zoomX) |
| | Moves the specified handle to a new position and updates all placement parameters of the region.
|
| void | Drag (int32_t x, int32_t y) |
| | Moves the specified handle to a new position and updates all placement parameters of the region.
|
| void | Drag (int32_t x, int32_t 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 (int32_t x, int32_t 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 (int32_t x, int32_t 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 (int32_t x, int32_t 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 (int32_t x, int32_t y, const eVision::EFrame &frame) |
| | Moves the specified handle to a new position and updates all placement parameters of the region.
|
| void | SetEditionMode (eVision::EEditionMode modes) |
| | Current edition mode for the shape. Default: EEditionMode_None.
|
| eVision::EEditionMode | GetEditionMode () const |
| | Current edition mode for the shape. Default: EEditionMode_None.
|
| eVision::EFrame | ToFrame (bool useAngle, eVision::EFrameScaling frameScaling) const |
| | Converts the shape to a frame.
|
| eVision::EFrame | ToFrame (bool useAngle, eVision::EFrameScaling frameScaling, const eVision::EFrame &shapeFrame) const |
| | Converts the shape to a frame.
|
| | EShape (CppWrapperInternal::InternalConstructor) |