eVision C++ API 26.10.0-beta.2.dev
Loading...
Searching...
No Matches
eVision::EasyDeepLearning::ELocatorObject Class Reference

Object for a ELocator tool. More...

#include <eVision/EasyDeepLearning/EasyLocate/ELocatorObject.h>

Inheritance diagram for eVision::EasyDeepLearning::ELocatorObject:
Collaboration diagram for eVision::EasyDeepLearning::ELocatorObject:

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 &region)
 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_

Detailed Description

Object for a ELocator tool.

License(s): BasicTypes

Constructor & Destructor Documentation

◆ ELocatorObject() [1/5]

eVision::EasyDeepLearning::ELocatorObject::ELocatorObject ( )

Constructs a ELocatorObject.

◆ ELocatorObject() [2/5]

eVision::EasyDeepLearning::ELocatorObject::ELocatorObject ( float posX,
float posY,
const std::string & label )

Constructs a ELocatorObject.

Parameters
posXX position of the object
posYY position of the object
labelLabel of the object

◆ ELocatorObject() [3/5]

eVision::EasyDeepLearning::ELocatorObject::ELocatorObject ( float orgX,
float orgY,
float width,
float height,
const std::string & label )

Constructs a ELocatorObject.

Parameters
orgXX origin of the object
orgYY origin of the object
widthWidth of the object
heightHeight of the object
labelLabel of the object

◆ ELocatorObject() [4/5]

eVision::EasyDeepLearning::ELocatorObject::ELocatorObject ( const eVision::EasyDeepLearning::ELocatorObject & other)

Copy constructor of an ELocatorObject object.

Parameters
otherReference to the ELocatorObject object that should be copied

◆ ~ELocatorObject()

eVision::EasyDeepLearning::ELocatorObject::~ELocatorObject ( )
throw ( )
virtual

◆ ELocatorObject() [5/5]

eVision::EasyDeepLearning::ELocatorObject::ELocatorObject ( CppWrapperInternal::InternalConstructor )

Member Function Documentation

◆ Contains() [1/2]

bool eVision::EasyDeepLearning::ELocatorObject::Contains ( eVision::EPoint p) const

Whether the specified point is inside the object or not.

Parameters
pA point.

◆ Contains() [2/2]

bool eVision::EasyDeepLearning::ELocatorObject::Contains ( float x,
float y ) const

Whether the specified point is inside the object or not.

Parameters
xX-coordinate of tested point.
yY-coordinate of tested point.

◆ Draw() [1/30]

void eVision::EasyDeepLearning::ELocatorObject::Draw ( eVision::EDrawAdapter * drawAdapter)
virtual

Draws the object with its label.

Parameters
drawAdapterA pointer to an EDrawAdapter (like the EWindowsDrawAdapter).

Reimplemented in eVision::EasyDeepLearning::ELocatorPredictedObject.

◆ Draw() [2/30]

void eVision::EasyDeepLearning::ELocatorObject::Draw ( eVision::EDrawAdapter * drawAdapter,
bool drawLabel )

Draws the object with its label.

Parameters
drawAdapterA pointer to an EDrawAdapter (like the EWindowsDrawAdapter).
drawLabelWhether to draw the label of the object or not

◆ Draw() [3/30]

void eVision::EasyDeepLearning::ELocatorObject::Draw ( eVision::EDrawAdapter * drawAdapter,
bool drawLabel,
float zoomX )

Draws the object with its label.

Parameters
drawAdapterA pointer to an EDrawAdapter (like the EWindowsDrawAdapter).
drawLabelWhether to draw the label of the object or not
zoomXHorizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used.

◆ Draw() [4/30]

void eVision::EasyDeepLearning::ELocatorObject::Draw ( eVision::EDrawAdapter * drawAdapter,
bool drawLabel,
float zoomX,
float zoomY )

Draws the object with its label.

Parameters
drawAdapterA pointer to an EDrawAdapter (like the EWindowsDrawAdapter).
drawLabelWhether to draw the label of the object or not
zoomXHorizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used.
zoomYVertical 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.

◆ Draw() [5/30]

void eVision::EasyDeepLearning::ELocatorObject::Draw ( eVision::EDrawAdapter * drawAdapter,
bool drawLabel,
float zoomX,
float zoomY,
float panX )

Draws the object with its label.

Parameters
drawAdapterA pointer to an EDrawAdapter (like the EWindowsDrawAdapter).
drawLabelWhether to draw the label of the object or not
zoomXHorizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used.
zoomYVertical 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.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.

◆ Draw() [6/30]

void eVision::EasyDeepLearning::ELocatorObject::Draw ( eVision::EDrawAdapter * drawAdapter,
bool drawLabel,
float zoomX,
float zoomY,
float panX,
float panY )

Draws the object with its label.

Parameters
drawAdapterA pointer to an EDrawAdapter (like the EWindowsDrawAdapter).
drawLabelWhether to draw the label of the object or not
zoomXHorizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used.
zoomYVertical 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.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.

◆ Draw() [7/30]

void eVision::EasyDeepLearning::ELocatorObject::Draw ( eVision::EDrawAdapter * drawAdapter,
const eVision::EFrame & frame )
virtual

Draws the object with its label.

Parameters
drawAdapterA pointer to an EDrawAdapter (like the EWindowsDrawAdapter).
frameFrame of reference in which this result was computed.

Reimplemented in eVision::EasyDeepLearning::ELocatorPredictedObject.

◆ Draw() [8/30]

void eVision::EasyDeepLearning::ELocatorObject::Draw ( eVision::EDrawAdapter * drawAdapter,
const eVision::EFrame & frame,
bool drawLabel )

Draws the object with its label.

Parameters
drawAdapterA pointer to an EDrawAdapter (like the EWindowsDrawAdapter).
frameFrame of reference in which this result was computed.
drawLabelWhether to draw the label of the object or not

◆ Draw() [9/30]

void eVision::EasyDeepLearning::ELocatorObject::Draw ( eVision::EDrawAdapter * drawAdapter,
const eVision::EFrame & frame,
bool drawLabel,
float zoomX )

Draws the object with its label.

Parameters
drawAdapterA pointer to an EDrawAdapter (like the EWindowsDrawAdapter).
frameFrame of reference in which this result was computed.
drawLabelWhether to draw the label of the object or not
zoomXHorizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used.

◆ Draw() [10/30]

void eVision::EasyDeepLearning::ELocatorObject::Draw ( eVision::EDrawAdapter * drawAdapter,
const eVision::EFrame & frame,
bool drawLabel,
float zoomX,
float zoomY )

Draws the object with its label.

Parameters
drawAdapterA pointer to an EDrawAdapter (like the EWindowsDrawAdapter).
frameFrame of reference in which this result was computed.
drawLabelWhether to draw the label of the object or not
zoomXHorizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used.
zoomYVertical 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.

◆ Draw() [11/30]

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.

Parameters
drawAdapterA pointer to an EDrawAdapter (like the EWindowsDrawAdapter).
frameFrame of reference in which this result was computed.
drawLabelWhether to draw the label of the object or not
zoomXHorizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used.
zoomYVertical 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.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.

◆ Draw() [12/30]

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.

Parameters
drawAdapterA pointer to an EDrawAdapter (like the EWindowsDrawAdapter).
frameFrame of reference in which this result was computed.
drawLabelWhether to draw the label of the object or not
zoomXHorizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used.
zoomYVertical 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.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.

◆ Draw() [13/30]

void eVision::EasyDeepLearning::ELocatorObject::Draw ( eVision::EDrawAdapter * drawAdapter,
const eVision::EFrame & frame,
float zoomX )
virtual

Draws the object with its label.

Parameters
drawAdapterA pointer to an EDrawAdapter (like the EWindowsDrawAdapter).
frameFrame of reference in which this result was computed.
zoomXHorizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used.

Reimplemented in eVision::EasyDeepLearning::ELocatorPredictedObject.

◆ Draw() [14/30]

void eVision::EasyDeepLearning::ELocatorObject::Draw ( eVision::EDrawAdapter * drawAdapter,
const eVision::EFrame & frame,
float zoomX,
float zoomY )
virtual

Draws the object with its label.

Parameters
drawAdapterA pointer to an EDrawAdapter (like the EWindowsDrawAdapter).
frameFrame of reference in which this result was computed.
zoomXHorizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used.
zoomYVertical 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.

◆ Draw() [15/30]

void eVision::EasyDeepLearning::ELocatorObject::Draw ( eVision::EDrawAdapter * drawAdapter,
const eVision::EFrame & frame,
float zoomX,
float zoomY,
float panX )
virtual

Draws the object with its label.

Parameters
drawAdapterA pointer to an EDrawAdapter (like the EWindowsDrawAdapter).
frameFrame of reference in which this result was computed.
zoomXHorizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used.
zoomYVertical 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.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.

Reimplemented in eVision::EasyDeepLearning::ELocatorPredictedObject.

◆ Draw() [16/30]

void eVision::EasyDeepLearning::ELocatorObject::Draw ( eVision::EDrawAdapter * drawAdapter,
const eVision::EFrame & frame,
float zoomX,
float zoomY,
float panX,
float panY )
virtual

Draws the object with its label.

Parameters
drawAdapterA pointer to an EDrawAdapter (like the EWindowsDrawAdapter).
frameFrame of reference in which this result was computed.
zoomXHorizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used.
zoomYVertical 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.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.

Reimplemented in eVision::EasyDeepLearning::ELocatorPredictedObject.

◆ Draw() [17/30]

void eVision::EasyDeepLearning::ELocatorObject::Draw ( eVision::EDrawAdapter * drawAdapter,
float zoomX )
virtual

Draws the object with its label.

Parameters
drawAdapterA pointer to an EDrawAdapter (like the EWindowsDrawAdapter).
zoomXHorizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used.

Reimplemented in eVision::EasyDeepLearning::ELocatorPredictedObject.

◆ Draw() [18/30]

void eVision::EasyDeepLearning::ELocatorObject::Draw ( eVision::EDrawAdapter * drawAdapter,
float zoomX,
float zoomY )
virtual

Draws the object with its label.

Parameters
drawAdapterA pointer to an EDrawAdapter (like the EWindowsDrawAdapter).
zoomXHorizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used.
zoomYVertical 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.

◆ Draw() [19/30]

void eVision::EasyDeepLearning::ELocatorObject::Draw ( eVision::EDrawAdapter * drawAdapter,
float zoomX,
float zoomY,
float panX )
virtual

Draws the object with its label.

Parameters
drawAdapterA pointer to an EDrawAdapter (like the EWindowsDrawAdapter).
zoomXHorizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used.
zoomYVertical 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.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.

Reimplemented in eVision::EasyDeepLearning::ELocatorPredictedObject.

◆ Draw() [20/30]

void eVision::EasyDeepLearning::ELocatorObject::Draw ( eVision::EDrawAdapter * drawAdapter,
float zoomX,
float zoomY,
float panX,
float panY )
virtual

Draws the object with its label.

Parameters
drawAdapterA pointer to an EDrawAdapter (like the EWindowsDrawAdapter).
zoomXHorizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used.
zoomYVertical 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.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.

Reimplemented in eVision::EasyDeepLearning::ELocatorPredictedObject.

◆ Draw() [21/30]

void eVision::EasyDeepLearning::ELocatorObject::Draw ( HDC graphicsContext)

Draws the object with its label.

Parameters
graphicsContextHandle of the device context on which to draw.
Deprecated

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.

◆ Draw() [22/30]

void eVision::EasyDeepLearning::ELocatorObject::Draw ( HDC graphicsContext,
bool drawLabel )

Draws the object with its label.

Parameters
graphicsContextHandle of the device context on which to draw.
drawLabelWhether to draw the label of the object or not
Deprecated

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.

◆ Draw() [23/30]

void eVision::EasyDeepLearning::ELocatorObject::Draw ( HDC graphicsContext,
bool drawLabel,
float zoomX )

Draws the object with its label.

Parameters
graphicsContextHandle of the device context on which to draw.
drawLabelWhether to draw the label of the object or not
zoomXHorizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used.
Deprecated

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.

◆ Draw() [24/30]

void eVision::EasyDeepLearning::ELocatorObject::Draw ( HDC graphicsContext,
bool drawLabel,
float zoomX,
float zoomY )

Draws the object with its label.

Parameters
graphicsContextHandle of the device context on which to draw.
drawLabelWhether to draw the label of the object or not
zoomXHorizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used.
zoomYVertical 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.
Deprecated

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.

◆ Draw() [25/30]

void eVision::EasyDeepLearning::ELocatorObject::Draw ( HDC graphicsContext,
bool drawLabel,
float zoomX,
float zoomY,
float panX )

Draws the object with its label.

Parameters
graphicsContextHandle of the device context on which to draw.
drawLabelWhether to draw the label of the object or not
zoomXHorizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used.
zoomYVertical 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.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
Deprecated

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.

◆ Draw() [26/30]

void eVision::EasyDeepLearning::ELocatorObject::Draw ( HDC graphicsContext,
bool drawLabel,
float zoomX,
float zoomY,
float panX,
float panY )

Draws the object with its label.

Parameters
graphicsContextHandle of the device context on which to draw.
drawLabelWhether to draw the label of the object or not
zoomXHorizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used.
zoomYVertical 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.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.
Deprecated

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.

◆ Draw() [27/30]

void eVision::EasyDeepLearning::ELocatorObject::Draw ( HDC graphicsContext,
float zoomX )

Draws the object with its label.

Parameters
graphicsContextHandle of the device context on which to draw.
zoomXHorizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used.
Deprecated

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.

◆ Draw() [28/30]

void eVision::EasyDeepLearning::ELocatorObject::Draw ( HDC graphicsContext,
float zoomX,
float zoomY )

Draws the object with its label.

Parameters
graphicsContextHandle of the device context on which to draw.
zoomXHorizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used.
zoomYVertical 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.
Deprecated

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.

◆ Draw() [29/30]

void eVision::EasyDeepLearning::ELocatorObject::Draw ( HDC graphicsContext,
float zoomX,
float zoomY,
float panX )

Draws the object with its label.

Parameters
graphicsContextHandle of the device context on which to draw.
zoomXHorizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used.
zoomYVertical 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.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
Deprecated

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.

◆ Draw() [30/30]

void eVision::EasyDeepLearning::ELocatorObject::Draw ( HDC graphicsContext,
float zoomX,
float zoomY,
float panX,
float panY )

Draws the object with its label.

Parameters
graphicsContextHandle of the device context on which to draw.
zoomXHorizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used.
zoomYVertical 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.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.
Deprecated

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.

◆ GetAngle()

float eVision::EasyDeepLearning::ELocatorObject::GetAngle ( ) const

Angle of the object. Is only set when an EFrame has been used with the ELocator object.

◆ GetFeatures()

int eVision::EasyDeepLearning::ELocatorObject::GetFeatures ( ) const

Features of this locator object.

◆ GetHeight()

float eVision::EasyDeepLearning::ELocatorObject::GetHeight ( ) const

Height of the object.

◆ GetLabel()

std::string eVision::EasyDeepLearning::ELocatorObject::GetLabel ( ) const

Label of the object.

◆ GetObjectSize()

int eVision::EasyDeepLearning::ELocatorObject::GetObjectSize ( ) const

Object size for EasyLocate Interest points. This property is set by a EDataset or EInterestPointLocator instance.

◆ GetOrgX()

float eVision::EasyDeepLearning::ELocatorObject::GetOrgX ( ) const

Top-left corner X origin of the object.

◆ GetOrgY()

float eVision::EasyDeepLearning::ELocatorObject::GetOrgY ( ) const

Top-left corner y origin of the object.

◆ GetPositionX()

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.

◆ GetPositionY()

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.

◆ GetRectangleRegion()

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.

◆ GetWidth()

float eVision::EasyDeepLearning::ELocatorObject::GetWidth ( ) const

Width of the object.

◆ HasFeature()

bool eVision::EasyDeepLearning::ELocatorObject::HasFeature ( eVision::EasyDeepLearning::ELocatorFeature feature) const

Checks that the object has a locator feature.

Parameters
featureFeature to check.

◆ IsValid()

bool eVision::EasyDeepLearning::ELocatorObject::IsValid ( ) const

Whether the locator object is valid.

◆ operator!=()

bool eVision::EasyDeepLearning::ELocatorObject::operator!= ( const eVision::EasyDeepLearning::ELocatorObject & other) const

Inequality operator.

Parameters
otherOther object to compare to.

◆ operator=()

eVision::EasyDeepLearning::ELocatorObject & eVision::EasyDeepLearning::ELocatorObject::operator= ( const eVision::EasyDeepLearning::ELocatorObject & other)

Assignment operator.

Parameters
otherReference to the ELocatorObject object used for the assignment

◆ operator==()

bool eVision::EasyDeepLearning::ELocatorObject::operator== ( const eVision::EasyDeepLearning::ELocatorObject & other) const

Equality operator.

Parameters
otherOther object to compare to.

◆ SetHeight()

void eVision::EasyDeepLearning::ELocatorObject::SetHeight ( float height)

Height of the object.

Parameters
heightNew height

◆ SetLabel()

void eVision::EasyDeepLearning::ELocatorObject::SetLabel ( const std::string & label)

Label of the object.

Parameters
labelNew label for the object

◆ SetOrgX()

void eVision::EasyDeepLearning::ELocatorObject::SetOrgX ( float orgX)

Top-left corner X origin of the object.

Parameters
orgXNew x origin

◆ SetOrgY()

void eVision::EasyDeepLearning::ELocatorObject::SetOrgY ( float orgY)

Top-left corner y origin of the object.

Parameters
orgYNew y origin

◆ SetOriginAndSize()

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.

Parameters
orgXX origin of the object
orgYY origin of the object
widthWidth of the object
heightHeight of the object

◆ SetPositionX()

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.

Parameters
posXNew x position

◆ SetPositionY()

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.

Parameters
posYNew y position

◆ SetRectangleRegion()

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.

Parameters
regionNew rectangle region

◆ SetWidth()

void eVision::EasyDeepLearning::ELocatorObject::SetWidth ( float width)

Width of the object.

Parameters
widthNew width

Member Data Documentation

◆ wrappedClass_

CppWrapperInternal::WrappedClass eVision::EasyDeepLearning::ELocatorObject::wrappedClass_