Object for a ELocator tool. More...
#include <eVision/EasyDeepLearning/EasyLocate/ELocatorObject.h>
Public Member Functions | |
| ELocatorObject () | |
| Constructs a ELocatorObject. | |
| ELocatorObject (float posX, float posY, const std::string &label) | |
| Constructs a ELocatorObject. | |
| ELocatorObject (float orgX, float orgY, float width, float height, const std::string &label) | |
| Constructs a ELocatorObject. | |
| ELocatorObject (const eVision::EasyDeepLearning::ELocatorObject &other) | |
| Copy constructor of an ELocatorObject object. | |
| virtual | ~ELocatorObject () throw () |
| eVision::EasyDeepLearning::ELocatorObject & | operator= (const eVision::EasyDeepLearning::ELocatorObject &other) |
| Assignment operator. | |
| bool | operator== (const eVision::EasyDeepLearning::ELocatorObject &other) const |
| Equality operator. | |
| bool | operator!= (const eVision::EasyDeepLearning::ELocatorObject &other) const |
| Inequality operator. | |
| bool | IsValid () const |
| Whether the locator object is valid. | |
| std::string | GetLabel () const |
| Label of the object. | |
| void | SetLabel (const std::string &label) |
| Label of the object. | |
| int | GetFeatures () const |
| Features of this locator object. | |
| bool | HasFeature (eVision::EasyDeepLearning::ELocatorFeature feature) const |
| Checks that the object has a locator feature. | |
| eVision::ERectangleRegion | GetRectangleRegion () const |
| Rectangle region for the object. The region must be axis-aligned. | |
| void | SetRectangleRegion (const eVision::ERectangleRegion ®ion) |
| Rectangle region for the object. The region must be axis-aligned. | |
| void | SetOriginAndSize (float orgX, float orgY, float width, float height) |
| Sets the position and size of an object using its top left origin, width, and height. | |
| void | SetWidth (float width) |
| Width of the object. | |
| float | GetWidth () const |
| Width of the object. | |
| void | SetHeight (float height) |
| Height of the object. | |
| float | GetHeight () const |
| Height of the object. | |
| void | SetOrgX (float orgX) |
| Top-left corner X origin of the object. | |
| float | GetOrgX () const |
| Top-left corner X origin of the object. | |
| void | SetOrgY (float orgY) |
| Top-left corner y origin of the object. | |
| float | GetOrgY () const |
| Top-left corner y origin of the object. | |
| void | SetPositionX (float posX) |
| X position of an object. When the object has a size, the position if the center of the bounding box. | |
| float | GetPositionX () const |
| X position of an object. When the object has a size, the position if the center of the bounding box. | |
| void | SetPositionY (float posY) |
| Y position of an object without size. When the object has a size, the position if the center of the bounding box. | |
| float | GetPositionY () const |
| Y position of an object without size. When the object has a size, the position if the center of the bounding box. | |
| int | GetObjectSize () const |
| Object size for EasyLocate Interest points. This property is set by a EDataset or EInterestPointLocator instance. | |
| float | GetAngle () const |
| Angle of the object. Is only set when an EFrame has been used with the ELocator object. | |
| virtual void | Draw (eVision::EDrawAdapter *drawAdapter, float zoomX, float zoomY, float panX, float panY) |
| Draws the object with its label. | |
| virtual void | Draw (eVision::EDrawAdapter *drawAdapter, float zoomX, float zoomY, float panX) |
| Draws the object with its label. | |
| virtual void | Draw (eVision::EDrawAdapter *drawAdapter, float zoomX, float zoomY) |
| Draws the object with its label. | |
| virtual void | Draw (eVision::EDrawAdapter *drawAdapter, float zoomX) |
| Draws the object with its label. | |
| virtual void | Draw (eVision::EDrawAdapter *drawAdapter) |
| Draws the object with its label. | |
| void | Draw (eVision::EDrawAdapter *drawAdapter, bool drawLabel, float zoomX, float zoomY, float panX, float panY) |
| Draws the object with its label. | |
| void | Draw (eVision::EDrawAdapter *drawAdapter, bool drawLabel, float zoomX, float zoomY, float panX) |
| Draws the object with its label. | |
| void | Draw (eVision::EDrawAdapter *drawAdapter, bool drawLabel, float zoomX, float zoomY) |
| Draws the object with its label. | |
| void | Draw (eVision::EDrawAdapter *drawAdapter, bool drawLabel, float zoomX) |
| Draws the object with its label. | |
| void | Draw (eVision::EDrawAdapter *drawAdapter, bool drawLabel) |
| Draws the object with its label. | |
| virtual void | Draw (eVision::EDrawAdapter *drawAdapter, const eVision::EFrame &frame, float zoomX, float zoomY, float panX, float panY) |
| Draws the object with its label. | |
| virtual void | Draw (eVision::EDrawAdapter *drawAdapter, const eVision::EFrame &frame, float zoomX, float zoomY, float panX) |
| Draws the object with its label. | |
| virtual void | Draw (eVision::EDrawAdapter *drawAdapter, const eVision::EFrame &frame, float zoomX, float zoomY) |
| Draws the object with its label. | |
| virtual void | Draw (eVision::EDrawAdapter *drawAdapter, const eVision::EFrame &frame, float zoomX) |
| Draws the object with its label. | |
| virtual void | Draw (eVision::EDrawAdapter *drawAdapter, const eVision::EFrame &frame) |
| Draws the object with its label. | |
| void | Draw (eVision::EDrawAdapter *drawAdapter, const eVision::EFrame &frame, bool drawLabel, float zoomX, float zoomY, float panX, float panY) |
| Draws the object with its label. | |
| void | Draw (eVision::EDrawAdapter *drawAdapter, const eVision::EFrame &frame, bool drawLabel, float zoomX, float zoomY, float panX) |
| Draws the object with its label. | |
| void | Draw (eVision::EDrawAdapter *drawAdapter, const eVision::EFrame &frame, bool drawLabel, float zoomX, float zoomY) |
| Draws the object with its label. | |
| void | Draw (eVision::EDrawAdapter *drawAdapter, const eVision::EFrame &frame, bool drawLabel, float zoomX) |
| Draws the object with its label. | |
| void | Draw (eVision::EDrawAdapter *drawAdapter, const eVision::EFrame &frame, bool drawLabel) |
| Draws the object with its label. | |
| void | Draw (HDC graphicsContext, float zoomX, float zoomY, float panX, float panY) |
| Draws the object with its label. | |
| void | Draw (HDC graphicsContext, float zoomX, float zoomY, float panX) |
| Draws the object with its label. | |
| void | Draw (HDC graphicsContext, float zoomX, float zoomY) |
| Draws the object with its label. | |
| void | Draw (HDC graphicsContext, float zoomX) |
| Draws the object with its label. | |
| void | Draw (HDC graphicsContext) |
| Draws the object with its label. | |
| void | Draw (HDC graphicsContext, bool drawLabel, float zoomX, float zoomY, float panX, float panY) |
| Draws the object with its label. | |
| void | Draw (HDC graphicsContext, bool drawLabel, float zoomX, float zoomY, float panX) |
| Draws the object with its label. | |
| void | Draw (HDC graphicsContext, bool drawLabel, float zoomX, float zoomY) |
| Draws the object with its label. | |
| void | Draw (HDC graphicsContext, bool drawLabel, float zoomX) |
| Draws the object with its label. | |
| void | Draw (HDC graphicsContext, bool drawLabel) |
| Draws the object with its label. | |
| bool | Contains (eVision::EPoint p) const |
| Whether the specified point is inside the object or not. | |
| bool | Contains (float x, float y) const |
| Whether the specified point is inside the object or not. | |
| ELocatorObject (CppWrapperInternal::InternalConstructor) | |
Public Attributes | |
| CppWrapperInternal::WrappedClass | wrappedClass_ |
Object for a ELocator tool.
License(s): BasicTypes
| eVision::EasyDeepLearning::ELocatorObject::ELocatorObject | ( | ) |
Constructs a ELocatorObject.
| eVision::EasyDeepLearning::ELocatorObject::ELocatorObject | ( | float | posX, |
| float | posY, | ||
| const std::string & | label ) |
Constructs a ELocatorObject.
| posX | X position of the object |
| posY | Y position of the object |
| label | Label of the object |
| eVision::EasyDeepLearning::ELocatorObject::ELocatorObject | ( | float | orgX, |
| float | orgY, | ||
| float | width, | ||
| float | height, | ||
| const std::string & | label ) |
Constructs a ELocatorObject.
| orgX | X origin of the object |
| orgY | Y origin of the object |
| width | Width of the object |
| height | Height of the object |
| label | Label of the object |
| eVision::EasyDeepLearning::ELocatorObject::ELocatorObject | ( | const eVision::EasyDeepLearning::ELocatorObject & | other | ) |
Copy constructor of an ELocatorObject object.
| other | Reference to the ELocatorObject object that should be copied |
|
virtual | ||||||||||||
| eVision::EasyDeepLearning::ELocatorObject::ELocatorObject | ( | CppWrapperInternal::InternalConstructor | ) |
| bool eVision::EasyDeepLearning::ELocatorObject::Contains | ( | eVision::EPoint | p | ) | const |
Whether the specified point is inside the object or not.
| p | A point. |
| bool eVision::EasyDeepLearning::ELocatorObject::Contains | ( | float | x, |
| float | y ) const |
Whether the specified point is inside the object or not.
| x | X-coordinate of tested point. |
| y | Y-coordinate of tested point. |
|
virtual |
Draws the object with its label.
| drawAdapter | A pointer to an EDrawAdapter (like the EWindowsDrawAdapter). |
Reimplemented in eVision::EasyDeepLearning::ELocatorPredictedObject.
| void eVision::EasyDeepLearning::ELocatorObject::Draw | ( | eVision::EDrawAdapter * | drawAdapter, |
| bool | drawLabel ) |
Draws the object with its label.
| drawAdapter | A pointer to an EDrawAdapter (like the EWindowsDrawAdapter). |
| drawLabel | Whether to draw the label of the object or not |
| void eVision::EasyDeepLearning::ELocatorObject::Draw | ( | eVision::EDrawAdapter * | drawAdapter, |
| bool | drawLabel, | ||
| float | zoomX ) |
Draws the object with its label.
| drawAdapter | A pointer to an EDrawAdapter (like the EWindowsDrawAdapter). |
| drawLabel | Whether to draw the label of the object or not |
| zoomX | Horizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used. |
| void eVision::EasyDeepLearning::ELocatorObject::Draw | ( | eVision::EDrawAdapter * | drawAdapter, |
| bool | drawLabel, | ||
| float | zoomX, | ||
| float | zoomY ) |
Draws the object with its label.
| drawAdapter | A pointer to an EDrawAdapter (like the EWindowsDrawAdapter). |
| drawLabel | Whether to draw the label of the object or not |
| zoomX | Horizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used. |
| zoomY | Vertical zooming factor. A value greater than 1 means zoom in. If set to 0, the default value, the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| void eVision::EasyDeepLearning::ELocatorObject::Draw | ( | eVision::EDrawAdapter * | drawAdapter, |
| bool | drawLabel, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Draws the object with its label.
| drawAdapter | A pointer to an EDrawAdapter (like the EWindowsDrawAdapter). |
| drawLabel | Whether to draw the label of the object or not |
| zoomX | Horizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used. |
| zoomY | Vertical zooming factor. A value greater than 1 means zoom in. If set to 0, the default value, 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::EasyDeepLearning::ELocatorObject::Draw | ( | eVision::EDrawAdapter * | drawAdapter, |
| bool | drawLabel, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Draws the object with its label.
| drawAdapter | A pointer to an EDrawAdapter (like the EWindowsDrawAdapter). |
| drawLabel | Whether to draw the label of the object or not |
| zoomX | Horizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used. |
| zoomY | Vertical zooming factor. A value greater than 1 means zoom in. If set to 0, the default value, 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. |
|
virtual |
Draws the object with its label.
| drawAdapter | A pointer to an EDrawAdapter (like the EWindowsDrawAdapter). |
| frame | Frame of reference in which this result was computed. |
Reimplemented in eVision::EasyDeepLearning::ELocatorPredictedObject.
| void eVision::EasyDeepLearning::ELocatorObject::Draw | ( | eVision::EDrawAdapter * | drawAdapter, |
| const eVision::EFrame & | frame, | ||
| bool | drawLabel ) |
Draws the object with its label.
| drawAdapter | A pointer to an EDrawAdapter (like the EWindowsDrawAdapter). |
| frame | Frame of reference in which this result was computed. |
| drawLabel | Whether to draw the label of the object or not |
| void eVision::EasyDeepLearning::ELocatorObject::Draw | ( | eVision::EDrawAdapter * | drawAdapter, |
| const eVision::EFrame & | frame, | ||
| bool | drawLabel, | ||
| float | zoomX ) |
Draws the object with its label.
| drawAdapter | A pointer to an EDrawAdapter (like the EWindowsDrawAdapter). |
| frame | Frame of reference in which this result was computed. |
| drawLabel | Whether to draw the label of the object or not |
| zoomX | Horizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used. |
| void eVision::EasyDeepLearning::ELocatorObject::Draw | ( | eVision::EDrawAdapter * | drawAdapter, |
| const eVision::EFrame & | frame, | ||
| bool | drawLabel, | ||
| float | zoomX, | ||
| float | zoomY ) |
Draws the object with its label.
| drawAdapter | A pointer to an EDrawAdapter (like the EWindowsDrawAdapter). |
| frame | Frame of reference in which this result was computed. |
| drawLabel | Whether to draw the label of the object or not |
| zoomX | Horizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used. |
| zoomY | Vertical zooming factor. A value greater than 1 means zoom in. If set to 0, the default value, the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| void eVision::EasyDeepLearning::ELocatorObject::Draw | ( | eVision::EDrawAdapter * | drawAdapter, |
| const eVision::EFrame & | frame, | ||
| bool | drawLabel, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Draws the object with its label.
| drawAdapter | A pointer to an EDrawAdapter (like the EWindowsDrawAdapter). |
| frame | Frame of reference in which this result was computed. |
| drawLabel | Whether to draw the label of the object or not |
| zoomX | Horizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used. |
| zoomY | Vertical zooming factor. A value greater than 1 means zoom in. If set to 0, the default value, 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::EasyDeepLearning::ELocatorObject::Draw | ( | eVision::EDrawAdapter * | drawAdapter, |
| const eVision::EFrame & | frame, | ||
| bool | drawLabel, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Draws the object with its label.
| drawAdapter | A pointer to an EDrawAdapter (like the EWindowsDrawAdapter). |
| frame | Frame of reference in which this result was computed. |
| drawLabel | Whether to draw the label of the object or not |
| zoomX | Horizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used. |
| zoomY | Vertical zooming factor. A value greater than 1 means zoom in. If set to 0, the default value, 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. |
|
virtual |
Draws the object with its label.
| drawAdapter | A pointer to an EDrawAdapter (like the EWindowsDrawAdapter). |
| frame | Frame of reference in which this result was computed. |
| zoomX | Horizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used. |
Reimplemented in eVision::EasyDeepLearning::ELocatorPredictedObject.
|
virtual |
Draws the object with its label.
| drawAdapter | A pointer to an EDrawAdapter (like the EWindowsDrawAdapter). |
| frame | Frame of reference in which this result was computed. |
| zoomX | Horizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used. |
| zoomY | Vertical zooming factor. A value greater than 1 means zoom in. If set to 0, the default value, the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
Reimplemented in eVision::EasyDeepLearning::ELocatorPredictedObject.
|
virtual |
Draws the object with its label.
| drawAdapter | A pointer to an EDrawAdapter (like the EWindowsDrawAdapter). |
| frame | Frame of reference in which this result was computed. |
| zoomX | Horizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used. |
| zoomY | Vertical zooming factor. A value greater than 1 means zoom in. If set to 0, the default value, 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. |
Reimplemented in eVision::EasyDeepLearning::ELocatorPredictedObject.
|
virtual |
Draws the object with its label.
| drawAdapter | A pointer to an EDrawAdapter (like the EWindowsDrawAdapter). |
| frame | Frame of reference in which this result was computed. |
| zoomX | Horizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used. |
| zoomY | Vertical zooming factor. A value greater than 1 means zoom in. If set to 0, the default value, 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. |
Reimplemented in eVision::EasyDeepLearning::ELocatorPredictedObject.
|
virtual |
Draws the object with its label.
| drawAdapter | A pointer to an EDrawAdapter (like the EWindowsDrawAdapter). |
| zoomX | Horizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used. |
Reimplemented in eVision::EasyDeepLearning::ELocatorPredictedObject.
|
virtual |
Draws the object with its label.
| drawAdapter | A pointer to an EDrawAdapter (like the EWindowsDrawAdapter). |
| zoomX | Horizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used. |
| zoomY | Vertical zooming factor. A value greater than 1 means zoom in. If set to 0, the default value, the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
Reimplemented in eVision::EasyDeepLearning::ELocatorPredictedObject.
|
virtual |
Draws the object with its label.
| drawAdapter | A pointer to an EDrawAdapter (like the EWindowsDrawAdapter). |
| zoomX | Horizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used. |
| zoomY | Vertical zooming factor. A value greater than 1 means zoom in. If set to 0, the default value, 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. |
Reimplemented in eVision::EasyDeepLearning::ELocatorPredictedObject.
|
virtual |
Draws the object with its label.
| drawAdapter | A pointer to an EDrawAdapter (like the EWindowsDrawAdapter). |
| zoomX | Horizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used. |
| zoomY | Vertical zooming factor. A value greater than 1 means zoom in. If set to 0, the default value, 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. |
Reimplemented in eVision::EasyDeepLearning::ELocatorPredictedObject.
| void eVision::EasyDeepLearning::ELocatorObject::Draw | ( | HDC | graphicsContext | ) |
Draws the object with its label.
| graphicsContext | Handle of the device context on which to draw. |
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::EasyDeepLearning::ELocatorObject::Draw | ( | HDC | graphicsContext, |
| bool | drawLabel ) |
Draws the object with its label.
| graphicsContext | Handle of the device context on which to draw. |
| drawLabel | Whether to draw the label of the object or not |
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::EasyDeepLearning::ELocatorObject::Draw | ( | HDC | graphicsContext, |
| bool | drawLabel, | ||
| float | zoomX ) |
Draws the object with its label.
| graphicsContext | Handle of the device context on which to draw. |
| drawLabel | Whether to draw the label of the object or not |
| zoomX | Horizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used. |
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::EasyDeepLearning::ELocatorObject::Draw | ( | HDC | graphicsContext, |
| bool | drawLabel, | ||
| float | zoomX, | ||
| float | zoomY ) |
Draws the object with its label.
| graphicsContext | Handle of the device context on which to draw. |
| drawLabel | Whether to draw the label of the object or not |
| zoomX | Horizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used. |
| zoomY | Vertical zooming factor. A value greater than 1 means zoom in. If set to 0, the default value, the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
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::EasyDeepLearning::ELocatorObject::Draw | ( | HDC | graphicsContext, |
| bool | drawLabel, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Draws the object with its label.
| graphicsContext | Handle of the device context on which to draw. |
| drawLabel | Whether to draw the label of the object or not |
| zoomX | Horizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used. |
| zoomY | Vertical zooming factor. A value greater than 1 means zoom in. If set to 0, the default value, 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. |
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::EasyDeepLearning::ELocatorObject::Draw | ( | HDC | graphicsContext, |
| bool | drawLabel, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Draws the object with its label.
| graphicsContext | Handle of the device context on which to draw. |
| drawLabel | Whether to draw the label of the object or not |
| zoomX | Horizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used. |
| zoomY | Vertical zooming factor. A value greater than 1 means zoom in. If set to 0, the default value, 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. |
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::EasyDeepLearning::ELocatorObject::Draw | ( | HDC | graphicsContext, |
| float | zoomX ) |
Draws the object with its label.
| graphicsContext | Handle of the device context on which to draw. |
| zoomX | Horizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used. |
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::EasyDeepLearning::ELocatorObject::Draw | ( | HDC | graphicsContext, |
| float | zoomX, | ||
| float | zoomY ) |
Draws the object with its label.
| graphicsContext | Handle of the device context on which to draw. |
| zoomX | Horizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used. |
| zoomY | Vertical zooming factor. A value greater than 1 means zoom in. If set to 0, the default value, the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
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::EasyDeepLearning::ELocatorObject::Draw | ( | HDC | graphicsContext, |
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Draws the object with its label.
| graphicsContext | Handle of the device context on which to draw. |
| zoomX | Horizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used. |
| zoomY | Vertical zooming factor. A value greater than 1 means zoom in. If set to 0, the default value, 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. |
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::EasyDeepLearning::ELocatorObject::Draw | ( | HDC | graphicsContext, |
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Draws the object with its label.
| graphicsContext | Handle of the device context on which to draw. |
| zoomX | Horizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used. |
| zoomY | Vertical zooming factor. A value greater than 1 means zoom in. If set to 0, the default value, 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. |
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.
| float eVision::EasyDeepLearning::ELocatorObject::GetAngle | ( | ) | const |
| int eVision::EasyDeepLearning::ELocatorObject::GetFeatures | ( | ) | const |
Features of this locator object.
| float eVision::EasyDeepLearning::ELocatorObject::GetHeight | ( | ) | const |
Height of the object.
| std::string eVision::EasyDeepLearning::ELocatorObject::GetLabel | ( | ) | const |
Label of the object.
| int eVision::EasyDeepLearning::ELocatorObject::GetObjectSize | ( | ) | const |
Object size for EasyLocate Interest points. This property is set by a EDataset or EInterestPointLocator instance.
| float eVision::EasyDeepLearning::ELocatorObject::GetOrgX | ( | ) | const |
Top-left corner X origin of the object.
| float eVision::EasyDeepLearning::ELocatorObject::GetOrgY | ( | ) | const |
Top-left corner y origin of the object.
| float eVision::EasyDeepLearning::ELocatorObject::GetPositionX | ( | ) | const |
X position of an object. When the object has a size, the position if the center of the bounding box.
| float eVision::EasyDeepLearning::ELocatorObject::GetPositionY | ( | ) | const |
Y position of an object without size. When the object has a size, the position if the center of the bounding box.
| eVision::ERectangleRegion eVision::EasyDeepLearning::ELocatorObject::GetRectangleRegion | ( | ) | const |
Rectangle region for the object. The region must be axis-aligned.
When the object has not the ELocatorFeature_Size feature, the width and height of the rectangle are equal to ELocatorObject::GetObjectSize property.
| float eVision::EasyDeepLearning::ELocatorObject::GetWidth | ( | ) | const |
Width of the object.
| bool eVision::EasyDeepLearning::ELocatorObject::HasFeature | ( | eVision::EasyDeepLearning::ELocatorFeature | feature | ) | const |
Checks that the object has a locator feature.
| feature | Feature to check. |
| bool eVision::EasyDeepLearning::ELocatorObject::IsValid | ( | ) | const |
Whether the locator object is valid.
| bool eVision::EasyDeepLearning::ELocatorObject::operator!= | ( | const eVision::EasyDeepLearning::ELocatorObject & | other | ) | const |
Inequality operator.
| other | Other object to compare to. |
| eVision::EasyDeepLearning::ELocatorObject & eVision::EasyDeepLearning::ELocatorObject::operator= | ( | const eVision::EasyDeepLearning::ELocatorObject & | other | ) |
Assignment operator.
| other | Reference to the ELocatorObject object used for the assignment |
| bool eVision::EasyDeepLearning::ELocatorObject::operator== | ( | const eVision::EasyDeepLearning::ELocatorObject & | other | ) | const |
Equality operator.
| other | Other object to compare to. |
| void eVision::EasyDeepLearning::ELocatorObject::SetHeight | ( | float | height | ) |
Height of the object.
| height | New height |
| void eVision::EasyDeepLearning::ELocatorObject::SetLabel | ( | const std::string & | label | ) |
Label of the object.
| label | New label for the object |
| void eVision::EasyDeepLearning::ELocatorObject::SetOrgX | ( | float | orgX | ) |
Top-left corner X origin of the object.
| orgX | New x origin |
| void eVision::EasyDeepLearning::ELocatorObject::SetOrgY | ( | float | orgY | ) |
Top-left corner y origin of the object.
| orgY | New y origin |
| void eVision::EasyDeepLearning::ELocatorObject::SetOriginAndSize | ( | float | orgX, |
| float | orgY, | ||
| float | width, | ||
| float | height ) |
Sets the position and size of an object using its top left origin, width, and height.
| orgX | X origin of the object |
| orgY | Y origin of the object |
| width | Width of the object |
| height | Height of the object |
| void eVision::EasyDeepLearning::ELocatorObject::SetPositionX | ( | float | posX | ) |
X position of an object. When the object has a size, the position if the center of the bounding box.
| posX | New x position |
| void eVision::EasyDeepLearning::ELocatorObject::SetPositionY | ( | float | posY | ) |
Y position of an object without size. When the object has a size, the position if the center of the bounding box.
| posY | New y position |
| void eVision::EasyDeepLearning::ELocatorObject::SetRectangleRegion | ( | const eVision::ERectangleRegion & | region | ) |
Rectangle region for the object. The region must be axis-aligned.
When the object has not the ELocatorFeature_Size feature, the width and height of the rectangle are equal to ELocatorObject::GetObjectSize property.
| region | New rectangle region |
| void eVision::EasyDeepLearning::ELocatorObject::SetWidth | ( | float | width | ) |
Width of the object.
| width | New width |
| CppWrapperInternal::WrappedClass eVision::EasyDeepLearning::ELocatorObject::wrappedClass_ |