Represents a model of a wedge (disk, ring, sector or curvilinear quadrilateral). More...
#include <eVision/Easy/EWedge.h>
Public Member Functions | |
| EWedge () | |
| Constructs a EWedge object. | |
| EWedge (const eVision::EPoint ¢er, float diameter, float breadth, float originAngle, bool direct) | |
| Constructs a EWedge object. | |
| EWedge (const eVision::EPoint ¢er, float diameter, float breadth, float originAngle) | |
| Constructs a EWedge object. | |
| EWedge (const eVision::EPoint ¢er, float diameter, float breadth) | |
| Constructs a EWedge object. | |
| EWedge (const eVision::EPoint ¢er, float diameter) | |
| Constructs a EWedge object. | |
| EWedge (const eVision::EPoint ¢er, const eVision::EPoint &origin, float breadth, bool direct) | |
| Constructs a EWedge object. | |
| EWedge (const eVision::EPoint ¢er, const eVision::EPoint &origin, float breadth) | |
| Constructs a EWedge object. | |
| EWedge (const eVision::EPoint ¢er, const eVision::EPoint &origin) | |
| Constructs a EWedge object. | |
| EWedge (const eVision::EPoint ¢er, float diameter, float breadth, float originAngle, float amplitude) | |
| Constructs a EWedge object. | |
| EWedge (const eVision::EPoint &origin, const eVision::EPoint &middle, const eVision::EPoint &end, float breadth, bool fullCircle) | |
| Constructs a EWedge object. | |
| EWedge (const eVision::EPoint &origin, const eVision::EPoint &middle, const eVision::EPoint &end, float breadth) | |
| Constructs a EWedge object. | |
| EWedge (const eVision::EPoint &origin, const eVision::EPoint &middle, const eVision::EPoint &end) | |
| Constructs a EWedge object. | |
| EWedge (const eVision::EWedge &other) | |
| Constructs a EWedge object. | |
| virtual | ~EWedge () throw () |
| eVision::EWedge & | operator= (const eVision::EWedge &other) |
| Copies all the data from another EWedge object into the current EWedge object. | |
| void | CopyTo (eVision::EWedge &other) const |
| Copies all the data of the current EWedge object into another EWedge object and returns it. | |
| eVision::EPoint | GetCenter () const |
| Center of the EWedge. | |
| void | SetCenter (const eVision::EPoint ¢er) |
| Center of the EWedge. | |
| float | GetCenterX () const |
| X coordinate of the center of the EWedge. | |
| void | SetCenterX (float value) |
| X coordinate of the center of the EWedge. | |
| float | GetCenterY () const |
| Y coordinate of the center of the EWedge. | |
| void | SetCenterY (float value) |
| Y coordinate of the center of the EWedge. | |
| float | GetAngle () const |
| Starting orientation of the EWedge. | |
| void | SetAngle (float angle) |
| Starting orientation of the EWedge. | |
| void | SetFromCenterAndOrigin (const eVision::EPoint ¢er, const eVision::EPoint &origin, float breadth, bool direct) |
| Sets the geometric parameters (nominal position and diameter, breadth, angular position and amplitude) of an EWedge object. | |
| void | SetFromCenterAndOrigin (const eVision::EPoint ¢er, const eVision::EPoint &origin, float breadth) |
| Sets the geometric parameters (nominal position and diameter, breadth, angular position and amplitude) of an EWedge object. | |
| void | SetFromCenterAndOrigin (const eVision::EPoint ¢er, const eVision::EPoint &origin) |
| Sets the geometric parameters (nominal position and diameter, breadth, angular position and amplitude) of an EWedge object. | |
| void | SetFromOriginMiddleEnd (const eVision::EPoint &origin, const eVision::EPoint &middle, const eVision::EPoint &end, float breadth, bool fullCircle) |
| Sets the geometric parameters (nominal position and diameter, breadth, angular position and amplitude) of an EWedge object. | |
| void | SetFromOriginMiddleEnd (const eVision::EPoint &origin, const eVision::EPoint &middle, const eVision::EPoint &end, float breadth) |
| Sets the geometric parameters (nominal position and diameter, breadth, angular position and amplitude) of an EWedge object. | |
| void | SetFromOriginMiddleEnd (const eVision::EPoint &origin, const eVision::EPoint &middle, const eVision::EPoint &end) |
| Sets the geometric parameters (nominal position and diameter, breadth, angular position and amplitude) of an EWedge object. | |
| void | SetAmplitude (float ampl) |
| Angular amplitude of the EWedge. | |
| float | GetAmplitude () const |
| Angular amplitude of the EWedge. | |
| void | SetRadii (float radius, float breadth) |
| Sets the nominal radius and breadth of the EWedge. | |
| void | SetRadii (float radius) |
| Sets the nominal radius and breadth of the EWedge. | |
| void | SetDiameters (float diameter, float breadth) |
| Sets the nominal inner/outer diameter and breadth of the EWedge. | |
| void | SetDiameters (float diameter) |
| Sets the nominal inner/outer diameter and breadth of the EWedge. | |
| float | GetInnerDiameter () const |
| Inner diameter of the EWedge. | |
| float | GetOuterDiameter () const |
| Outer diameter of the EWedge. | |
| float | GetInnerRadius () const |
| Inner radius of the EWedge. | |
| float | GetOuterRadius () const |
| Outer radius of the EWedge. | |
| float | GetBreadth () const |
| Breadth of the EWedge. | |
| float | GetInnerArcLength () const |
| Inner circle arc length of the EWedge. | |
| float | GetOuterArcLength () const |
| Outer circle arc length of the EWedge. | |
| float | GetOrgAngle () const |
| Angular position from where the EWedge extents. | |
| float | GetApexAngle () const |
| Angular position at the apex of the EWedge. | |
| float | GetEndAngle () const |
| Ending angular position of the EWedge. | |
| eVision::EPoint | GetInnerOrg () const |
| Inner origin point coordinates of the EWedge. | |
| eVision::EPoint | GetInnerApex () const |
| Inner apex point coordinates of the EWedge. | |
| eVision::EPoint | GetInnerEnd () const |
| Inner end point coordinates of the EWedge. | |
| eVision::EPoint | GetOuterOrg () const |
| Outer origin point coordinates of the EWedge. | |
| eVision::EPoint | GetOuterApex () const |
| Outer apex point coordinates of the EWedge. | |
| eVision::EPoint | GetOuterEnd () const |
| Outer end point coordinates of the EWedge. | |
| eVision::EPoint | GetInnerPoint (float fraction) const |
| Returns the coordinates of a particular point specified by its location along the inner circle arc. | |
| eVision::EPoint | GetOuterPoint (float fraction) const |
| Returns the coordinates of a particular point specified by its location along the outter circle arc. | |
| eVision::EPoint | GetPoint (float breadthFraction, float angleFraction) const |
| Returns the coordinates of a particular point specified by its location along the wedge perimeter. | |
| bool | IsFullBreadth () const |
| Flag indicating if the EWedge has a full breadth (breadth = radius). | |
| bool | IsFullCircle () const |
| Flag indicating if the EWedge is a full circle (amplitude = 2 PI). | |
| bool | IsDirect () const |
| Flag indicating whether positive angles correspond to a clockwise or an anticlockwise rotation. | |
| void | GetMidEdges (eVision::EPoint &a, eVision::EPoint &AA, eVision::EPoint &r, eVision::EPoint &RR) const |
| Retrieves the center coordinates of each edge of the wedge fitting gauge. | |
| void | GetCorners (eVision::EPoint &ar, eVision::EPoint &AAr, eVision::EPoint &aRR, eVision::EPoint &AARR) const |
| Retrieves the coordinates of each corner of the EWedge. | |
| void | GetEdges (eVision::ELine &orgEdge, eVision::ELine &endEdge, eVision::ECircle &innerCircle, eVision::ECircle &outerCircle) const |
| Retrieves each edge of the EWedge. | |
| virtual eVision::EEditionMode | GetAvailableEditionModes () const |
| Available edition modes for the shape. | |
| virtual std::string | GetDescription () const |
| Textual description of the shape and its parameters. | |
| EWedge (CppWrapperInternal::InternalConstructor) | |
| Public Member Functions inherited from eVision::EShape | |
| virtual | ~EShape () throw () |
| void | Load (const std::string &path) |
| Load the EShape configuration. The given ESerializer must have been created for reading. | |
| void | Load (eVision::ESerializer *serializer) |
| Load the EShape configuration. The given ESerializer must have been created for reading. | |
| void | Save (const std::string &path) |
| Save the EShape configuration. The given ESerializer must have been created for writing. | |
| void | Save (eVision::ESerializer *serializer) |
| Save the EShape configuration. The given ESerializer must have been created for writing. | |
| void | Draw (eVision::EDrawAdapter *drawAdapter, float zoomX, float zoomY, float panX, float panY, bool drawDiagonals) const |
| Draws the EShape shape. | |
| void | Draw (eVision::EDrawAdapter *drawAdapter, float zoomX, float zoomY, float panX, float panY) const |
| Draws the EShape shape. | |
| void | Draw (eVision::EDrawAdapter *drawAdapter, float zoomX, float zoomY, float panX) const |
| Draws the EShape shape. | |
| void | Draw (eVision::EDrawAdapter *drawAdapter, float zoomX, float zoomY) const |
| Draws the EShape shape. | |
| void | Draw (eVision::EDrawAdapter *drawAdapter, float zoomX) const |
| Draws the EShape shape. | |
| void | Draw (eVision::EDrawAdapter *drawAdapter) const |
| Draws the EShape shape. | |
| void | Draw (eVision::EDrawAdapter *drawAdapter, const eVision::EFrame &frame, float zoomX, float zoomY, float panX, float panY, bool drawDiagonals) const |
| Draws the EShape shape. | |
| void | Draw (eVision::EDrawAdapter *drawAdapter, const eVision::EFrame &frame, float zoomX, float zoomY, float panX, float panY) const |
| Draws the EShape shape. | |
| void | Draw (eVision::EDrawAdapter *drawAdapter, const eVision::EFrame &frame, float zoomX, float zoomY, float panX) const |
| Draws the EShape shape. | |
| void | Draw (eVision::EDrawAdapter *drawAdapter, const eVision::EFrame &frame, float zoomX, float zoomY) const |
| Draws the EShape shape. | |
| void | Draw (eVision::EDrawAdapter *drawAdapter, const eVision::EFrame &frame, float zoomX) const |
| Draws the EShape shape. | |
| void | Draw (eVision::EDrawAdapter *drawAdapter, const eVision::EFrame &frame) const |
| Draws the EShape shape. | |
| eVision::EEditionMode | HitTest (int32_t x, int32_t y, float zoomX, float zoomY, float panX, float panY) |
| Detects if the cursor is placed over one of the dragging handles. | |
| eVision::EEditionMode | HitTest (int32_t x, int32_t y, float zoomX, float zoomY, float panX) |
| Detects if the cursor is placed over one of the dragging handles. | |
| eVision::EEditionMode | HitTest (int32_t x, int32_t y, float zoomX, float zoomY) |
| Detects if the cursor is placed over one of the dragging handles. | |
| eVision::EEditionMode | HitTest (int32_t x, int32_t y, float zoomX) |
| Detects if the cursor is placed over one of the dragging handles. | |
| eVision::EEditionMode | HitTest (int32_t x, int32_t y, const eVision::EFrame &frame, float zoomX, float zoomY, float panX, float panY) |
| Detects if the cursor is placed over one of the dragging handles. | |
| eVision::EEditionMode | HitTest (int32_t x, int32_t y, const eVision::EFrame &frame, float zoomX, float zoomY, float panX) |
| Detects if the cursor is placed over one of the dragging handles. | |
| eVision::EEditionMode | HitTest (int32_t x, int32_t y, const eVision::EFrame &frame, float zoomX, float zoomY) |
| Detects if the cursor is placed over one of the dragging handles. | |
| eVision::EEditionMode | HitTest (int32_t x, int32_t y, const eVision::EFrame &frame, float zoomX) |
| Detects if the cursor is placed over one of the dragging handles. | |
| void | Drag (int32_t x, int32_t y, float zoomX, float zoomY, float panX, float panY) |
| Moves the specified handle to a new position and updates all placement parameters of the region. | |
| void | Drag (int32_t x, int32_t y, float zoomX, float zoomY, float panX) |
| Moves the specified handle to a new position and updates all placement parameters of the region. | |
| void | Drag (int32_t x, int32_t y, float zoomX, float zoomY) |
| Moves the specified handle to a new position and updates all placement parameters of the region. | |
| void | Drag (int32_t x, int32_t y, float zoomX) |
| Moves the specified handle to a new position and updates all placement parameters of the region. | |
| void | Drag (int32_t x, int32_t y) |
| Moves the specified handle to a new position and updates all placement parameters of the region. | |
| void | Drag (int32_t x, int32_t y, const eVision::EFrame &frame, float zoomX, float zoomY, float panX, float panY) |
| Moves the specified handle to a new position and updates all placement parameters of the region. | |
| void | Drag (int32_t x, int32_t y, const eVision::EFrame &frame, float zoomX, float zoomY, float panX) |
| Moves the specified handle to a new position and updates all placement parameters of the region. | |
| void | Drag (int32_t x, int32_t y, const eVision::EFrame &frame, float zoomX, float zoomY) |
| Moves the specified handle to a new position and updates all placement parameters of the region. | |
| void | Drag (int32_t x, int32_t y, const eVision::EFrame &frame, float zoomX) |
| Moves the specified handle to a new position and updates all placement parameters of the region. | |
| void | Drag (int32_t x, int32_t y, const eVision::EFrame &frame) |
| Moves the specified handle to a new position and updates all placement parameters of the region. | |
| void | SetEditionMode (eVision::EEditionMode modes) |
| Current edition mode for the shape. Default: EEditionMode_None. | |
| eVision::EEditionMode | GetEditionMode () const |
| Current edition mode for the shape. Default: EEditionMode_None. | |
| eVision::EFrame | ToFrame (bool useAngle, eVision::EFrameScaling frameScaling) const |
| Converts the shape to a frame. | |
| eVision::EFrame | ToFrame (bool useAngle, eVision::EFrameScaling frameScaling, const eVision::EFrame &shapeFrame) const |
| Converts the shape to a frame. | |
| EShape (CppWrapperInternal::InternalConstructor) | |
Additional Inherited Members | |
| Public Attributes inherited from eVision::EShape | |
| CppWrapperInternal::WrappedClass | wrappedClass_ |
Represents a model of a wedge (disk, ring, sector or curvilinear quadrilateral).
License(s): BasicTypes
| eVision::EWedge::EWedge | ( | ) |
Constructs a EWedge object.
| eVision::EWedge::EWedge | ( | const eVision::EPoint & | center, |
| float | diameter, | ||
| float | breadth, | ||
| float | originAngle, | ||
| bool | direct ) |
Constructs a EWedge object.
| center | Center coordinates of the wedge at its nominal position. The default value is (0,0). |
| diameter | Nominal diameter of the wedge. The default value is 100. |
| breadth | Nominal breadth of the wedge. It must be negative or zero. The default value is 0. |
| originAngle | Origin point coordinates of the wedge. |
| direct | true (default) means that angles increase anticlockwise in a direct coordinate system and clockwise in an inverse coordinate system. |
| eVision::EWedge::EWedge | ( | const eVision::EPoint & | center, |
| float | diameter, | ||
| float | breadth, | ||
| float | originAngle ) |
Constructs a EWedge object.
| center | Center coordinates of the wedge at its nominal position. The default value is (0,0). |
| diameter | Nominal diameter of the wedge. The default value is 100. |
| breadth | Nominal breadth of the wedge. It must be negative or zero. The default value is 0. |
| originAngle | Origin point coordinates of the wedge. |
| eVision::EWedge::EWedge | ( | const eVision::EPoint & | center, |
| float | diameter, | ||
| float | breadth ) |
Constructs a EWedge object.
| center | Center coordinates of the wedge at its nominal position. The default value is (0,0). |
| diameter | Nominal diameter of the wedge. The default value is 100. |
| breadth | Nominal breadth of the wedge. It must be negative or zero. The default value is 0. |
| eVision::EWedge::EWedge | ( | const eVision::EPoint & | center, |
| float | diameter ) |
Constructs a EWedge object.
| center | Center coordinates of the wedge at its nominal position. The default value is (0,0). |
| diameter | Nominal diameter of the wedge. The default value is 100. |
| eVision::EWedge::EWedge | ( | const eVision::EPoint & | center, |
| const eVision::EPoint & | origin, | ||
| float | breadth, | ||
| bool | direct ) |
Constructs a EWedge object.
| center | Center coordinates of the wedge at its nominal position. The default value is (0,0). |
| origin | Origin point coordinates of the wedge. |
| breadth | Nominal breadth of the wedge. It must be negative or zero. The default value is 0. |
| direct | true (default) means that angles increase anticlockwise in a direct coordinate system and clockwise in an inverse coordinate system. |
| eVision::EWedge::EWedge | ( | const eVision::EPoint & | center, |
| const eVision::EPoint & | origin, | ||
| float | breadth ) |
Constructs a EWedge object.
| center | Center coordinates of the wedge at its nominal position. The default value is (0,0). |
| origin | Origin point coordinates of the wedge. |
| breadth | Nominal breadth of the wedge. It must be negative or zero. The default value is 0. |
| eVision::EWedge::EWedge | ( | const eVision::EPoint & | center, |
| const eVision::EPoint & | origin ) |
Constructs a EWedge object.
| center | Center coordinates of the wedge at its nominal position. The default value is (0,0). |
| origin | Origin point coordinates of the wedge. |
| eVision::EWedge::EWedge | ( | const eVision::EPoint & | center, |
| float | diameter, | ||
| float | breadth, | ||
| float | originAngle, | ||
| float | amplitude ) |
Constructs a EWedge object.
| center | Center coordinates of the wedge at its nominal position. The default value is (0,0). |
| diameter | Nominal diameter of the wedge. The default value is 100. |
| breadth | Nominal breadth of the wedge. It must be negative or zero. The default value is 0. |
| originAngle | Origin point coordinates of the wedge. |
| amplitude | Nominal angular amplitude of the wedge. The default value is 360. |
| eVision::EWedge::EWedge | ( | const eVision::EPoint & | origin, |
| const eVision::EPoint & | middle, | ||
| const eVision::EPoint & | end, | ||
| float | breadth, | ||
| bool | fullCircle ) |
Constructs a EWedge object.
| origin | Origin point coordinates of the wedge. |
| middle | Middle point coordinates of the wedge. |
| end | End point coordinates of the wedge. |
| breadth | Nominal breadth of the wedge. It must be negative or zero. The default value is 0. |
| fullCircle | true (default) in case of a full turn wedge. If fullCircle is false, origin and end give the wedge's amplitude. |
| eVision::EWedge::EWedge | ( | const eVision::EPoint & | origin, |
| const eVision::EPoint & | middle, | ||
| const eVision::EPoint & | end, | ||
| float | breadth ) |
Constructs a EWedge object.
| origin | Origin point coordinates of the wedge. |
| middle | Middle point coordinates of the wedge. |
| end | End point coordinates of the wedge. |
| breadth | Nominal breadth of the wedge. It must be negative or zero. The default value is 0. |
| eVision::EWedge::EWedge | ( | const eVision::EPoint & | origin, |
| const eVision::EPoint & | middle, | ||
| const eVision::EPoint & | end ) |
Constructs a EWedge object.
| origin | Origin point coordinates of the wedge. |
| middle | Middle point coordinates of the wedge. |
| end | End point coordinates of the wedge. |
| eVision::EWedge::EWedge | ( | const eVision::EWedge & | other | ) |
|
virtual | ||||||||||||
| eVision::EWedge::EWedge | ( | CppWrapperInternal::InternalConstructor | ) |
| void eVision::EWedge::CopyTo | ( | eVision::EWedge & | other | ) | const |
| float eVision::EWedge::GetAmplitude | ( | ) | const |
Angular amplitude of the EWedge.
A EWedge is fully defined knowing its nominal position (its center coordinates), its nominal radius (diameter), its breadth, the angular position from where it extents, its angular amplitude, and its outline tolerance.
The sign of the rotation angle depends whether the field of view is calibrated or not.
| float eVision::EWedge::GetAngle | ( | ) | const |
Starting orientation of the EWedge.
| float eVision::EWedge::GetApexAngle | ( | ) | const |
Angular position at the apex of the EWedge.
A EWedge is fully defined knowing its nominal position (its center coordinates), its nominal radius (diameter), its breadth, the angular position from where it extents, its angular amplitude, and its outline tolerance.
The sign of the rotation angle depends whether the field of view is calibrated or not.
|
virtual |
Available edition modes for the shape.
Implements eVision::EShape.
| float eVision::EWedge::GetBreadth | ( | ) | const |
| eVision::EPoint eVision::EWedge::GetCenter | ( | ) | const |
Center of the EWedge.
| float eVision::EWedge::GetCenterX | ( | ) | const |
X coordinate of the center of the EWedge.
| float eVision::EWedge::GetCenterY | ( | ) | const |
Y coordinate of the center of the EWedge.
| void eVision::EWedge::GetCorners | ( | eVision::EPoint & | ar, |
| eVision::EPoint & | AAr, | ||
| eVision::EPoint & | aRR, | ||
| eVision::EPoint & | AARR ) const |
|
virtual |
Textual description of the shape and its parameters.
Implements eVision::EShape.
| void eVision::EWedge::GetEdges | ( | eVision::ELine & | orgEdge, |
| eVision::ELine & | endEdge, | ||
| eVision::ECircle & | innerCircle, | ||
| eVision::ECircle & | outerCircle ) const |
| float eVision::EWedge::GetEndAngle | ( | ) | const |
Ending angular position of the EWedge.
A EWedge is fully defined knowing its nominal position (its center coordinates), its nominal radius (diameter), its breadth, the angular position from where it extents, its angular amplitude, and its outline tolerance.
The sign of the rotation angle depends whether the field of view is calibrated or not.
| eVision::EPoint eVision::EWedge::GetInnerApex | ( | ) | const |
Inner apex point coordinates of the EWedge.
| float eVision::EWedge::GetInnerArcLength | ( | ) | const |
Inner circle arc length of the EWedge.
| float eVision::EWedge::GetInnerDiameter | ( | ) | const |
Inner diameter of the EWedge.
| eVision::EPoint eVision::EWedge::GetInnerEnd | ( | ) | const |
Inner end point coordinates of the EWedge.
| eVision::EPoint eVision::EWedge::GetInnerOrg | ( | ) | const |
Inner origin point coordinates of the EWedge.
| eVision::EPoint eVision::EWedge::GetInnerPoint | ( | float | fraction | ) | const |
Returns the coordinates of a particular point specified by its location along the inner circle arc.
| fraction | Point location expressed as a fraction of the circle arc (range [-1, +1]). |
| float eVision::EWedge::GetInnerRadius | ( | ) | const |
Inner radius of the EWedge.
| void eVision::EWedge::GetMidEdges | ( | eVision::EPoint & | a, |
| eVision::EPoint & | AA, | ||
| eVision::EPoint & | r, | ||
| eVision::EPoint & | RR ) const |
| float eVision::EWedge::GetOrgAngle | ( | ) | const |
Angular position from where the EWedge extents.
A EWedge is fully defined knowing its nominal position (its center coordinates), its nominal radius (diameter), its breadth, the angular position from where it extents, its angular amplitude, and its outline tolerance.
The sign of the rotation angle depends whether the field of view is calibrated or not.
| eVision::EPoint eVision::EWedge::GetOuterApex | ( | ) | const |
| float eVision::EWedge::GetOuterArcLength | ( | ) | const |
| float eVision::EWedge::GetOuterDiameter | ( | ) | const |
| eVision::EPoint eVision::EWedge::GetOuterEnd | ( | ) | const |
| eVision::EPoint eVision::EWedge::GetOuterOrg | ( | ) | const |
| eVision::EPoint eVision::EWedge::GetOuterPoint | ( | float | fraction | ) | const |
Returns the coordinates of a particular point specified by its location along the outter circle arc.
| fraction | Point location expressed as a fraction of the circle arc (range [-1, +1]). |
| float eVision::EWedge::GetOuterRadius | ( | ) | const |
| eVision::EPoint eVision::EWedge::GetPoint | ( | float | breadthFraction, |
| float | angleFraction ) const |
Returns the coordinates of a particular point specified by its location along the wedge perimeter.
| breadthFraction | Point location expressed as a fraction of the wedge breadth (range -1, +1). |
| angleFraction | Point location expressed as a fraction of the wedge amplitude (range -1, +1). |
| bool eVision::EWedge::IsDirect | ( | ) | const |
Flag indicating whether positive angles correspond to a clockwise or an anticlockwise rotation.
true (default) means that angles increase anticlockwisely in a direct coordinate system, and clockwisely in an inverse coordinate system.
| bool eVision::EWedge::IsFullBreadth | ( | ) | const |
Flag indicating if the EWedge has a full breadth (breadth = radius).
| bool eVision::EWedge::IsFullCircle | ( | ) | const |
Flag indicating if the EWedge is a full circle (amplitude = 2 PI).
| eVision::EWedge & eVision::EWedge::operator= | ( | const eVision::EWedge & | other | ) |
| void eVision::EWedge::SetAmplitude | ( | float | ampl | ) |
Angular amplitude of the EWedge.
A EWedge is fully defined knowing its nominal position (its center coordinates), its nominal radius (diameter), its breadth, the angular position from where it extents, its angular amplitude, and its outline tolerance.
The sign of the rotation angle depends whether the field of view is calibrated or not.
| void eVision::EWedge::SetAngle | ( | float | angle | ) |
| void eVision::EWedge::SetCenter | ( | const eVision::EPoint & | center | ) |
| void eVision::EWedge::SetCenterX | ( | float | value | ) |
| void eVision::EWedge::SetCenterY | ( | float | value | ) |
| void eVision::EWedge::SetDiameters | ( | float | diameter | ) |
Sets the nominal inner/outer diameter and breadth of the EWedge.
| diameter | Outer diameter of the EWedge. The default value is 100. |
A EWedge is fully defined knowing its nominal position (given by the coordinates of its center), its nominal outer radius (diameter), its breadth, the angular position from where it extents, its angular amplitude and its outline tolerance.
By default, the EWedge diameter value is 100, which means 100 pixels when the field of view is not calibrated and 100 "units" in case of a calibrated field of view.
| void eVision::EWedge::SetDiameters | ( | float | diameter, |
| float | breadth ) |
Sets the nominal inner/outer diameter and breadth of the EWedge.
| diameter | Outer diameter of the EWedge. The default value is 100. |
| breadth | Breadth of the EWedge. It must be negative or zero. Its default value is -50. |
A EWedge is fully defined knowing its nominal position (given by the coordinates of its center), its nominal outer radius (diameter), its breadth, the angular position from where it extents, its angular amplitude and its outline tolerance.
By default, the EWedge diameter value is 100, which means 100 pixels when the field of view is not calibrated and 100 "units" in case of a calibrated field of view.
| void eVision::EWedge::SetFromCenterAndOrigin | ( | const eVision::EPoint & | center, |
| const eVision::EPoint & | origin ) |
Sets the geometric parameters (nominal position and diameter, breadth, angular position and amplitude) of an EWedge object.
| center | Center coordinates of the wedge at its nominal position. The default value is (0,0). |
| origin | Origin point coordinates of the wedge. |
In a direct coordinate system, the abscissa extends rightwards and the ordinate extends upwards. The coordinate system is said to be inverse if the abscissa extends rightwards and the ordinate extends downwards.
| void eVision::EWedge::SetFromCenterAndOrigin | ( | const eVision::EPoint & | center, |
| const eVision::EPoint & | origin, | ||
| float | breadth ) |
Sets the geometric parameters (nominal position and diameter, breadth, angular position and amplitude) of an EWedge object.
| center | Center coordinates of the wedge at its nominal position. The default value is (0,0). |
| origin | Origin point coordinates of the wedge. |
| breadth | Nominal breadth of the wedge. It must be negative or zero. The default value is 0. |
In a direct coordinate system, the abscissa extends rightwards and the ordinate extends upwards. The coordinate system is said to be inverse if the abscissa extends rightwards and the ordinate extends downwards.
| void eVision::EWedge::SetFromCenterAndOrigin | ( | const eVision::EPoint & | center, |
| const eVision::EPoint & | origin, | ||
| float | breadth, | ||
| bool | direct ) |
Sets the geometric parameters (nominal position and diameter, breadth, angular position and amplitude) of an EWedge object.
| center | Center coordinates of the wedge at its nominal position. The default value is (0,0). |
| origin | Origin point coordinates of the wedge. |
| breadth | Nominal breadth of the wedge. It must be negative or zero. The default value is 0. |
| direct | true (default) means that angles increase anticlockwise in a direct coordinate system and clockwise in an inverse coordinate system. |
In a direct coordinate system, the abscissa extends rightwards and the ordinate extends upwards. The coordinate system is said to be inverse if the abscissa extends rightwards and the ordinate extends downwards.
| void eVision::EWedge::SetFromOriginMiddleEnd | ( | const eVision::EPoint & | origin, |
| const eVision::EPoint & | middle, | ||
| const eVision::EPoint & | end ) |
Sets the geometric parameters (nominal position and diameter, breadth, angular position and amplitude) of an EWedge object.
| origin | Origin point coordinates of the wedge. |
| middle | Middle point coordinates of the wedge. |
| end | End point coordinates of the wedge. |
In a direct coordinate system, the abscissa extends rightwards and the ordinate extends upwards. The coordinate system is said to be inverse if the abscissa extends rightwards and the ordinate extends downwards.
| void eVision::EWedge::SetFromOriginMiddleEnd | ( | const eVision::EPoint & | origin, |
| const eVision::EPoint & | middle, | ||
| const eVision::EPoint & | end, | ||
| float | breadth ) |
Sets the geometric parameters (nominal position and diameter, breadth, angular position and amplitude) of an EWedge object.
| origin | Origin point coordinates of the wedge. |
| middle | Middle point coordinates of the wedge. |
| end | End point coordinates of the wedge. |
| breadth | Nominal breadth of the wedge. It must be negative or zero. The default value is 0. |
In a direct coordinate system, the abscissa extends rightwards and the ordinate extends upwards. The coordinate system is said to be inverse if the abscissa extends rightwards and the ordinate extends downwards.
| void eVision::EWedge::SetFromOriginMiddleEnd | ( | const eVision::EPoint & | origin, |
| const eVision::EPoint & | middle, | ||
| const eVision::EPoint & | end, | ||
| float | breadth, | ||
| bool | fullCircle ) |
Sets the geometric parameters (nominal position and diameter, breadth, angular position and amplitude) of an EWedge object.
| origin | Origin point coordinates of the wedge. |
| middle | Middle point coordinates of the wedge. |
| end | End point coordinates of the wedge. |
| breadth | Nominal breadth of the wedge. It must be negative or zero. The default value is 0. |
| fullCircle | true (default) in case of a full turn wedge. If fullCircle is false, origin and end give the wedge's amplitude. |
In a direct coordinate system, the abscissa extends rightwards and the ordinate extends upwards. The coordinate system is said to be inverse if the abscissa extends rightwards and the ordinate extends downwards.
| void eVision::EWedge::SetRadii | ( | float | radius | ) |
Sets the nominal radius and breadth of the EWedge.
| radius | Outer radius of the EWedge. The default value is 50. |
A EWedge is fully defined knowing its nominal position (given by the coordinates of its center), its nominal radius (diameter), its breadth, the angular position from where it extents, its angular amplitude and its outline tolerance.
By default, the EWedge radius value is 50, which means 50 pixels when the field of view is not calibrated and 50 "units" in case of a calibrated field of view.
| void eVision::EWedge::SetRadii | ( | float | radius, |
| float | breadth ) |
Sets the nominal radius and breadth of the EWedge.
| radius | Outer radius of the EWedge. The default value is 50. |
| breadth | Breadth of the EWedge, which must be negative or zero. Its default value is -50. |
A EWedge is fully defined knowing its nominal position (given by the coordinates of its center), its nominal radius (diameter), its breadth, the angular position from where it extents, its angular amplitude and its outline tolerance.
By default, the EWedge radius value is 50, which means 50 pixels when the field of view is not calibrated and 50 "units" in case of a calibrated field of view.