This class represents a rotated bounding box. More...
#include <eVision/Easy/ERotatedBoundingBox.h>
Public Member Functions | |
| ERotatedBoundingBox (float centerX, float centerY, float width, float height, float angle) | |
| Constructor of the rotated bounding box. | |
| ERotatedBoundingBox (float centerX, float centerY, float width, float height) | |
| Constructor of the rotated bounding box. | |
| ERotatedBoundingBox () | |
| Constructor of the rotated bounding box. | |
| ERotatedBoundingBox (const eVision::ERotatedBoundingBox &other) | |
| virtual | ~ERotatedBoundingBox () throw () |
| eVision::ERotatedBoundingBox & | operator= (const eVision::ERotatedBoundingBox &other) |
| Assignment operator. | |
| bool | operator== (const eVision::ERotatedBoundingBox &other) const |
| Checks if this ERotatedBoundingBox instance is strictly equal to another. | |
| eVision::EQuadrangle | GetQuadrangle () const |
| Returns the coordinates of the four corners of the bounding box. | |
| float | GetCenterX () const |
| Returns the abscissa of the center of the bounding box. | |
| float | GetCenterY () const |
| Returns the ordinate of the center of the bounding box. | |
| eVision::EPoint | GetCenter () const |
| Returns the coordinate of the center of the bounding box. | |
| float | GetWidth () const |
| Returns the width of the bounding box. | |
| float | GetHeight () const |
| Returns the height of the bounding box. | |
| float | GetAngle () const |
| Returns the angle of the bounding box (in the current angle units). | |
| eVision::EPoint | GetUpperLeftCorner () const |
| Returns the coordinates of the upper left corner of the bounding box (the position with the minimum Y and then minimum X). | |
| eVision::ERotatedBoundingBox | LocalToGlobalBox (const eVision::ERotatedBoundingBox &localBox) const |
| Transforms a (local) rotated bounding box, as another (global) rotated bounding box whose coordinates are defined relatively to the current rotated bounding box. | |
| eVision::EPoint | LocalToGlobalPoint (const eVision::EPoint &localPoint) const |
| Transforms a (local) point, as another (global) point whose coordinates are defined relatively to the current rotated bounding box. | |
| void | Translate (float offsetX, float offsetY) |
| Applies a translation on the center of the bounding box. | |
| void | Scale (float scaleWidth, float scaleHeight) |
| Applies a scale to the size of the bounding box. | |
| void | Rotate (float angle) |
| Applies a rotation to the bounding box. The bounding box center is the center of rotation. | |
| eVision::ELine | GetMajorAxis () const |
| Returns the major axis of the ERotatedBoundingBox as an ELine. | |
| void | Draw (eVision::EDrawAdapter *graphicContext, float zoomX, float zoomY, float panX, float panY, bool drawDiagonals) const |
| Draws the rotated bounding box. | |
| void | Draw (eVision::EDrawAdapter *graphicContext, float zoomX, float zoomY, float panX, float panY) const |
| Draws the rotated bounding box. | |
| void | Draw (eVision::EDrawAdapter *graphicContext, float zoomX, float zoomY, float panX) const |
| Draws the rotated bounding box. | |
| void | Draw (eVision::EDrawAdapter *graphicContext, float zoomX, float zoomY) const |
| Draws the rotated bounding box. | |
| void | Draw (eVision::EDrawAdapter *graphicContext, float zoomX) const |
| Draws the rotated bounding box. | |
| void | Draw (eVision::EDrawAdapter *graphicContext) const |
| Draws the rotated bounding box. | |
| void | Draw (eVision::EDrawAdapter *graphicContext, const eVision::EFrame &frame, float zoomX, float zoomY, float panX, float panY, bool drawDiagonals) const |
| Draws the rotated bounding box. | |
| void | Draw (eVision::EDrawAdapter *graphicContext, const eVision::EFrame &frame, float zoomX, float zoomY, float panX, float panY) const |
| Draws the rotated bounding box. | |
| void | Draw (eVision::EDrawAdapter *graphicContext, const eVision::EFrame &frame, float zoomX, float zoomY, float panX) const |
| Draws the rotated bounding box. | |
| void | Draw (eVision::EDrawAdapter *graphicContext, const eVision::EFrame &frame, float zoomX, float zoomY) const |
| Draws the rotated bounding box. | |
| void | Draw (eVision::EDrawAdapter *graphicContext, const eVision::EFrame &frame, float zoomX) const |
| Draws the rotated bounding box. | |
| void | Draw (eVision::EDrawAdapter *graphicContext, const eVision::EFrame &frame) const |
| Draws the rotated bounding box. | |
| void | Draw (HDC graphicContext, float zoomX, float zoomY, float panX, float panY, bool drawDiagonals) const |
| Draws the rotated bounding box. | |
| void | Draw (HDC graphicContext, float zoomX, float zoomY, float panX, float panY) const |
| Draws the rotated bounding box. | |
| void | Draw (HDC graphicContext, float zoomX, float zoomY, float panX) const |
| Draws the rotated bounding box. | |
| void | Draw (HDC graphicContext, float zoomX, float zoomY) const |
| Draws the rotated bounding box. | |
| void | Draw (HDC graphicContext, float zoomX) const |
| Draws the rotated bounding box. | |
| void | Draw (HDC graphicContext) const |
| Draws the rotated bounding box. | |
| void | Draw (HDC graphicContext, const eVision::ERGBColor &color, float zoomX, float zoomY, float panX, float panY, bool drawDiagonals) const |
| Draws the rotated bounding box. | |
| void | Draw (HDC graphicContext, const eVision::ERGBColor &color, float zoomX, float zoomY, float panX, float panY) const |
| Draws the rotated bounding box. | |
| void | Draw (HDC graphicContext, const eVision::ERGBColor &color, float zoomX, float zoomY, float panX) const |
| Draws the rotated bounding box. | |
| void | Draw (HDC graphicContext, const eVision::ERGBColor &color, float zoomX, float zoomY) const |
| Draws the rotated bounding box. | |
| void | Draw (HDC graphicContext, const eVision::ERGBColor &color, float zoomX) const |
| Draws the rotated bounding box. | |
| void | Draw (HDC graphicContext, const eVision::ERGBColor &color) const |
| Draws the rotated bounding box. | |
| void | DrawWithCurrentPen (HDC graphicContext, float zoomX, float zoomY, float panX, float panY, bool drawDiagonals) const |
| Draws the rotated bounding box. | |
| void | DrawWithCurrentPen (HDC graphicContext, float zoomX, float zoomY, float panX, float panY) const |
| Draws the rotated bounding box. | |
| void | DrawWithCurrentPen (HDC graphicContext, float zoomX, float zoomY, float panX) const |
| Draws the rotated bounding box. | |
| void | DrawWithCurrentPen (HDC graphicContext, float zoomX, float zoomY) const |
| Draws the rotated bounding box. | |
| void | DrawWithCurrentPen (HDC graphicContext, float zoomX) const |
| Draws the rotated bounding box. | |
| void | DrawWithCurrentPen (HDC graphicContext) const |
| Draws the rotated bounding box. | |
| eVision::ERotatedBoundingBox | LocalToSensor (const eVision::EFrame &frame) const |
| Transforms a ERotatedBoundingBox from local to sensor coordinates. | |
| eVision::ERotatedBoundingBox | SensorToLocal (const eVision::EFrame &frame) const |
| Transforms a ERotatedBoundingBox from sensor to local coordinates. | |
| ERotatedBoundingBox (CppWrapperInternal::InternalConstructor) | |
Public Attributes | |
| CppWrapperInternal::WrappedClass | wrappedClass_ |
This class represents a rotated bounding box.
The rotated bounding box is a rotated, rectangular surface. Its coordinates are floating-point, which makes this class appropriate to handle sub-pixel surfaces.
License(s): BasicTypes
| eVision::ERotatedBoundingBox::ERotatedBoundingBox | ( | float | centerX, |
| float | centerY, | ||
| float | width, | ||
| float | height, | ||
| float | angle ) |
Constructor of the rotated bounding box.
| centerX | The abscissa of the center of the bounding box. |
| centerY | The ordinate of the center of the bounding box. |
| width | The width of the bounding box. |
| height | The height of the bounding box. |
| angle | The angle of the bounding box (in the current angle units). |
| eVision::ERotatedBoundingBox::ERotatedBoundingBox | ( | float | centerX, |
| float | centerY, | ||
| float | width, | ||
| float | height ) |
Constructor of the rotated bounding box.
| centerX | The abscissa of the center of the bounding box. |
| centerY | The ordinate of the center of the bounding box. |
| width | The width of the bounding box. |
| height | The height of the bounding box. |
| eVision::ERotatedBoundingBox::ERotatedBoundingBox | ( | ) |
Constructor of the rotated bounding box.
| eVision::ERotatedBoundingBox::ERotatedBoundingBox | ( | const eVision::ERotatedBoundingBox & | other | ) |
| other | The other ERotatedBoundingBox that we will copy into this one. |
|
virtual | ||||||||||||
| eVision::ERotatedBoundingBox::ERotatedBoundingBox | ( | CppWrapperInternal::InternalConstructor | ) |
| void eVision::ERotatedBoundingBox::Draw | ( | eVision::EDrawAdapter * | graphicContext | ) | const |
Draws the rotated bounding box.
| graphicContext | Graphic context on which to draw. |
Drawing is done in the device context associated to the desired window.
| void eVision::ERotatedBoundingBox::Draw | ( | eVision::EDrawAdapter * | graphicContext, |
| const eVision::EFrame & | frame ) const |
Draws the rotated bounding box.
| graphicContext | Graphic context on which to draw. |
| frame | Frame associated with the rectangle. |
Drawing is done in the device context associated to the desired window.
| void eVision::ERotatedBoundingBox::Draw | ( | eVision::EDrawAdapter * | graphicContext, |
| const eVision::EFrame & | frame, | ||
| float | zoomX ) const |
Draws the rotated bounding box.
| graphicContext | Graphic context on which to draw. |
| frame | Frame associated with the rectangle. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
Drawing is done in the device context associated to the desired window.
| void eVision::ERotatedBoundingBox::Draw | ( | eVision::EDrawAdapter * | graphicContext, |
| const eVision::EFrame & | frame, | ||
| float | zoomX, | ||
| float | zoomY ) const |
Draws the rotated bounding box.
| graphicContext | Graphic context on which to draw. |
| frame | Frame associated with the rectangle. |
| 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. |
Drawing is done in the device context associated to the desired window.
| void eVision::ERotatedBoundingBox::Draw | ( | eVision::EDrawAdapter * | graphicContext, |
| const eVision::EFrame & | frame, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) const |
Draws the rotated bounding box.
| graphicContext | Graphic context on which to draw. |
| frame | Frame associated with the rectangle. |
| 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. |
Drawing is done in the device context associated to the desired window.
| void eVision::ERotatedBoundingBox::Draw | ( | eVision::EDrawAdapter * | graphicContext, |
| const eVision::EFrame & | frame, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) const |
Draws the rotated bounding box.
| graphicContext | Graphic context on which to draw. |
| frame | Frame associated with the rectangle. |
| 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 factor. By default, no panning occurs. |
Drawing is done in the device context associated to the desired window.
| void eVision::ERotatedBoundingBox::Draw | ( | eVision::EDrawAdapter * | graphicContext, |
| const eVision::EFrame & | frame, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY, | ||
| bool | drawDiagonals ) const |
Draws the rotated bounding box.
| graphicContext | Graphic context on which to draw. |
| frame | Frame associated with the rectangle. |
| 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 factor. By default, no panning occurs. |
| drawDiagonals | Specifies whether the diagonals of the bounding box are drawn. |
Drawing is done in the device context associated to the desired window.
| void eVision::ERotatedBoundingBox::Draw | ( | eVision::EDrawAdapter * | graphicContext, |
| float | zoomX ) const |
Draws the rotated bounding box.
| graphicContext | Graphic context on which to draw. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
Drawing is done in the device context associated to the desired window.
| void eVision::ERotatedBoundingBox::Draw | ( | eVision::EDrawAdapter * | graphicContext, |
| float | zoomX, | ||
| float | zoomY ) const |
Draws the rotated bounding box.
| graphicContext | Graphic 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. |
Drawing is done in the device context associated to the desired window.
| void eVision::ERotatedBoundingBox::Draw | ( | eVision::EDrawAdapter * | graphicContext, |
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) const |
Draws the rotated bounding box.
| graphicContext | Graphic 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. |
Drawing is done in the device context associated to the desired window.
| void eVision::ERotatedBoundingBox::Draw | ( | eVision::EDrawAdapter * | graphicContext, |
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) const |
Draws the rotated bounding box.
| graphicContext | Graphic 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 factor. By default, no panning occurs. |
Drawing is done in the device context associated to the desired window.
| void eVision::ERotatedBoundingBox::Draw | ( | eVision::EDrawAdapter * | graphicContext, |
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY, | ||
| bool | drawDiagonals ) const |
Draws the rotated bounding box.
| graphicContext | Graphic 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 factor. By default, no panning occurs. |
| drawDiagonals | Specifies whether the diagonals of the bounding box are drawn. |
Drawing is done in the device context associated to the desired window.
| void eVision::ERotatedBoundingBox::Draw | ( | HDC | graphicContext | ) | const |
Draws the rotated bounding box.
| graphicContext | Graphic context on which to draw. |
Drawing is done in the device context associated to the desired window.
Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| void eVision::ERotatedBoundingBox::Draw | ( | HDC | graphicContext, |
| const eVision::ERGBColor & | color ) const |
Draws the rotated bounding box.
| graphicContext | Graphic context on which to draw. |
| color | The color in which to draw the overlay. |
Drawing is done in the device context associated to the desired window.
Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| void eVision::ERotatedBoundingBox::Draw | ( | HDC | graphicContext, |
| const eVision::ERGBColor & | color, | ||
| float | zoomX ) const |
Draws the rotated bounding box.
| graphicContext | Graphic context on which to draw. |
| color | The color in which to draw the overlay. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
Drawing is done in the device context associated to the desired window.
Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| void eVision::ERotatedBoundingBox::Draw | ( | HDC | graphicContext, |
| const eVision::ERGBColor & | color, | ||
| float | zoomX, | ||
| float | zoomY ) const |
Draws the rotated bounding box.
| graphicContext | Graphic context on which to draw. |
| color | The color in which to draw the overlay. |
| 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. |
Drawing is done in the device context associated to the desired window.
Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| void eVision::ERotatedBoundingBox::Draw | ( | HDC | graphicContext, |
| const eVision::ERGBColor & | color, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) const |
Draws the rotated bounding box.
| graphicContext | Graphic context on which to draw. |
| color | The color in which to draw the overlay. |
| 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. |
Drawing is done in the device context associated to the desired window.
Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| void eVision::ERotatedBoundingBox::Draw | ( | HDC | graphicContext, |
| const eVision::ERGBColor & | color, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) const |
Draws the rotated bounding box.
| graphicContext | Graphic context on which to draw. |
| color | The color in which to draw the overlay. |
| 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 factor. By default, no panning occurs. |
Drawing is done in the device context associated to the desired window.
Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| void eVision::ERotatedBoundingBox::Draw | ( | HDC | graphicContext, |
| const eVision::ERGBColor & | color, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY, | ||
| bool | drawDiagonals ) const |
Draws the rotated bounding box.
| graphicContext | Graphic context on which to draw. |
| color | The color in which to draw the overlay. |
| 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 factor. By default, no panning occurs. |
| drawDiagonals | Specifies whether the diagonals of the bounding box are drawn. |
Drawing is done in the device context associated to the desired window.
Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| void eVision::ERotatedBoundingBox::Draw | ( | HDC | graphicContext, |
| float | zoomX ) const |
Draws the rotated bounding box.
| graphicContext | Graphic context on which to draw. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
Drawing is done in the device context associated to the desired window.
Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| void eVision::ERotatedBoundingBox::Draw | ( | HDC | graphicContext, |
| float | zoomX, | ||
| float | zoomY ) const |
Draws the rotated bounding box.
| graphicContext | Graphic 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. |
Drawing is done in the device context associated to the desired window.
Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| void eVision::ERotatedBoundingBox::Draw | ( | HDC | graphicContext, |
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) const |
Draws the rotated bounding box.
| graphicContext | Graphic 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. |
Drawing is done in the device context associated to the desired window.
Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| void eVision::ERotatedBoundingBox::Draw | ( | HDC | graphicContext, |
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) const |
Draws the rotated bounding box.
| graphicContext | Graphic 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 factor. By default, no panning occurs. |
Drawing is done in the device context associated to the desired window.
Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| void eVision::ERotatedBoundingBox::Draw | ( | HDC | graphicContext, |
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY, | ||
| bool | drawDiagonals ) const |
Draws the rotated bounding box.
| graphicContext | Graphic 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 factor. By default, no panning occurs. |
| drawDiagonals | Specifies whether the diagonals of the bounding box are drawn. |
Drawing is done in the device context associated to the desired window.
Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| void eVision::ERotatedBoundingBox::DrawWithCurrentPen | ( | HDC | graphicContext | ) | const |
Draws the rotated bounding box.
| graphicContext | Graphic context on which to draw. |
Drawing is done in the device context associated to the desired window.
Use the overload of ERotatedBoundingBox::Draw taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| void eVision::ERotatedBoundingBox::DrawWithCurrentPen | ( | HDC | graphicContext, |
| float | zoomX ) const |
Draws the rotated bounding box.
| graphicContext | Graphic context on which to draw. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
Drawing is done in the device context associated to the desired window.
Use the overload of ERotatedBoundingBox::Draw taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| void eVision::ERotatedBoundingBox::DrawWithCurrentPen | ( | HDC | graphicContext, |
| float | zoomX, | ||
| float | zoomY ) const |
Draws the rotated bounding box.
| graphicContext | Graphic 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. |
Drawing is done in the device context associated to the desired window.
Use the overload of ERotatedBoundingBox::Draw taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| void eVision::ERotatedBoundingBox::DrawWithCurrentPen | ( | HDC | graphicContext, |
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) const |
Draws the rotated bounding box.
| graphicContext | Graphic 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. |
Drawing is done in the device context associated to the desired window.
Use the overload of ERotatedBoundingBox::Draw taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| void eVision::ERotatedBoundingBox::DrawWithCurrentPen | ( | HDC | graphicContext, |
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) const |
Draws the rotated bounding box.
| graphicContext | Graphic 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 factor. By default, no panning occurs. |
Drawing is done in the device context associated to the desired window.
Use the overload of ERotatedBoundingBox::Draw taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| void eVision::ERotatedBoundingBox::DrawWithCurrentPen | ( | HDC | graphicContext, |
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY, | ||
| bool | drawDiagonals ) const |
Draws the rotated bounding box.
| graphicContext | Graphic 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 factor. By default, no panning occurs. |
| drawDiagonals | Specifies whether the diagonals of the bounding box are drawn. |
Drawing is done in the device context associated to the desired window.
Use the overload of ERotatedBoundingBox::Draw taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| float eVision::ERotatedBoundingBox::GetAngle | ( | ) | const |
Returns the angle of the bounding box (in the current angle units).
| eVision::EPoint eVision::ERotatedBoundingBox::GetCenter | ( | ) | const |
Returns the coordinate of the center of the bounding box.
| float eVision::ERotatedBoundingBox::GetCenterX | ( | ) | const |
Returns the abscissa of the center of the bounding box.
| float eVision::ERotatedBoundingBox::GetCenterY | ( | ) | const |
Returns the ordinate of the center of the bounding box.
| float eVision::ERotatedBoundingBox::GetHeight | ( | ) | const |
Returns the height of the bounding box.
| eVision::ELine eVision::ERotatedBoundingBox::GetMajorAxis | ( | ) | const |
Returns the major axis of the ERotatedBoundingBox as an ELine.
| eVision::EQuadrangle eVision::ERotatedBoundingBox::GetQuadrangle | ( | ) | const |
Returns the coordinates of the four corners of the bounding box.
| eVision::EPoint eVision::ERotatedBoundingBox::GetUpperLeftCorner | ( | ) | const |
Returns the coordinates of the upper left corner of the bounding box (the position with the minimum Y and then minimum X).
| float eVision::ERotatedBoundingBox::GetWidth | ( | ) | const |
Returns the width of the bounding box.
| eVision::ERotatedBoundingBox eVision::ERotatedBoundingBox::LocalToGlobalBox | ( | const eVision::ERotatedBoundingBox & | localBox | ) | const |
Transforms a (local) rotated bounding box, as another (global) rotated bounding box whose coordinates are defined relatively to the current rotated bounding box.
| localBox | The local rotated box. |
| eVision::EPoint eVision::ERotatedBoundingBox::LocalToGlobalPoint | ( | const eVision::EPoint & | localPoint | ) | const |
Transforms a (local) point, as another (global) point whose coordinates are defined relatively to the current rotated bounding box.
| localPoint | The local point. |
| eVision::ERotatedBoundingBox eVision::ERotatedBoundingBox::LocalToSensor | ( | const eVision::EFrame & | frame | ) | const |
Transforms a ERotatedBoundingBox from local to sensor coordinates.
| frame | Reference frame in which the region is defined. Frame must be affine and isotropic. |
| eVision::ERotatedBoundingBox & eVision::ERotatedBoundingBox::operator= | ( | const eVision::ERotatedBoundingBox & | other | ) |
Assignment operator.
| other | The other ERotatedBoundingBox that we will copy into this one. |
| bool eVision::ERotatedBoundingBox::operator== | ( | const eVision::ERotatedBoundingBox & | other | ) | const |
Checks if this ERotatedBoundingBox instance is strictly equal to another.
| other | Reference to the other ERotatedBoundingBox instance |
| void eVision::ERotatedBoundingBox::Rotate | ( | float | angle | ) |
Applies a rotation to the bounding box. The bounding box center is the center of rotation.
| angle | The rotation angle. |
| void eVision::ERotatedBoundingBox::Scale | ( | float | scaleWidth, |
| float | scaleHeight ) |
Applies a scale to the size of the bounding box.
| scaleWidth | The scale to apply to the width. |
| scaleHeight | The scale to apply to the height. |
| eVision::ERotatedBoundingBox eVision::ERotatedBoundingBox::SensorToLocal | ( | const eVision::EFrame & | frame | ) | const |
Transforms a ERotatedBoundingBox from sensor to local coordinates.
| frame | Reference frame in which the region is defined. Frame must be affine and isotropic. |
| void eVision::ERotatedBoundingBox::Translate | ( | float | offsetX, |
| float | offsetY ) |
Applies a translation on the center of the bounding box.
| offsetX | The offset along the X-axis. |
| offsetY | The offset along the Y-axis. |
| CppWrapperInternal::WrappedClass eVision::ERotatedBoundingBox::wrappedClass_ |