Manages a complete context for an ERegion shaped like a rectangle. More...
#include <eVision/Easy/ERectangleRegion.h>
Public Member Functions | |
| ERectangleRegion () | |
| Constructs an ERectangleRegion context. | |
| ERectangleRegion (float originX, float originY, float width, float height) | |
| Constructs an ERectangleRegion context. | |
| ERectangleRegion (const eVision::EPoint &origin, float width, float height) | |
| Constructs an ERectangleRegion context. | |
| ERectangleRegion (float centerX, float centerY, float width, float height, float angle) | |
| Constructs an ERectangleRegion context. | |
| ERectangleRegion (const eVision::EPoint ¢er, float width, float height, float angle) | |
| Constructs an ERectangleRegion context. | |
| ERectangleRegion (const eVision::ERectangle &rectangle) | |
| Constructs an ERectangleRegion context. | |
| ERectangleRegion (const eVision::ERectangleRegion &other) | |
| Constructs an ERectangleRegion context. | |
| virtual | ~ERectangleRegion () throw () |
| eVision::ERectangleRegion & | operator= (const eVision::ERectangleRegion &other) |
| Assignment operator. | |
| bool | operator== (const eVision::ERectangleRegion &other) const |
| Checks if this ERectangleRegion instance is strictly equal to another. | |
| bool | operator!= (const eVision::ERectangleRegion &other) const |
| Checks if this ERectangleRegion instance is not strictly equal to another. | |
| eVision::EPoint | GetCenter () const |
| Center of the region. | |
| void | SetCenter (const eVision::EPoint ¢er) |
| Center of the region. | |
| float | GetWidth () const |
| Width of the region. | |
| void | SetWidth (float width) |
| Width of the region. | |
| float | GetHeight () const |
| Height of the region. | |
| void | SetHeight (float height) |
| Height of the region. | |
| float | GetAngle () const |
| Angle of the region. | |
| void | SetAngle (float angle) |
| Angle of the region. | |
| std::vector< eVision::EPoint > | GetCorners () const |
| Corners of the region. | |
| virtual std::unique_ptr< eVision::ERegion > | Translate (float dx, float dy) const |
| Creates a new region by translating the ERectangleRegion. | |
| virtual std::unique_ptr< eVision::ERegion > | Scale (float scale) const |
| Creates a new region by scaling the ERectangleRegion. The center of the ERectangleRegion remains at the same place. | |
| virtual std::unique_ptr< eVision::ERegion > | Scale (float scaleX, float scaleY) const |
| Creates a new region by scaling the ERectangleRegion. The center of the ERectangleRegion remains at the same place. | |
| virtual std::unique_ptr< eVision::ERegion > | Rotate (float angle) const |
| Creates a new region by rotating the ERectangleRegion around its center. | |
| virtual std::unique_ptr< eVision::ERegion > | Transform (float scaleX, float scaleY, float angle, float dx, float dy) const |
| Creates a new ERectangleRegion by scaling, rotating and then translating the ERectangleRegion. | |
| virtual eVision::EEditionMode | HitTest (int32_t x, int32_t y, const eVision::EFrame &frame, float zoomX, float zoomY, float panX, float panY) const |
| Detects if the cursor is placed over one of the dragging handles. | |
| virtual eVision::EEditionMode | HitTest (int32_t x, int32_t y, const eVision::EFrame &frame, float zoomX, float zoomY, float panX) const |
| Detects if the cursor is placed over one of the dragging handles. | |
| virtual eVision::EEditionMode | HitTest (int32_t x, int32_t y, const eVision::EFrame &frame, float zoomX, float zoomY) const |
| Detects if the cursor is placed over one of the dragging handles. | |
| virtual eVision::EEditionMode | HitTest (int32_t x, int32_t y, const eVision::EFrame &frame, float zoomX) const |
| Detects if the cursor is placed over one of the dragging handles. | |
| virtual eVision::EEditionMode | HitTest (int32_t x, int32_t y, const eVision::EFrame &frame) const |
| Detects if the cursor is placed over one of the dragging handles. | |
| virtual 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. | |
| virtual 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. | |
| virtual 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. | |
| virtual 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. | |
| virtual 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. | |
| virtual eVision::EEditionMode | GetAvailableEditionModes () const |
| Returns all possible edition modes of the region. | |
| virtual bool | IsPointInRegion (const eVision::EPoint &point) const |
| Checks if a point is inside the rasterized region. | |
| virtual void | Load (const std::string &path) |
| Loads the ERectangleRegion. The given ESerializer must have been created for reading. | |
| virtual void | Load (eVision::ESerializer *serializer) |
| Loads the ERectangleRegion. The given ESerializer must have been created for reading. | |
| virtual void | Save (const std::string &path) |
| Saves the ERectangleRegion. The given ESerializer must have been created for writing. | |
| virtual void | Save (eVision::ESerializer *serializer) |
| Saves the ERectangleRegion. The given ESerializer must have been created for writing. | |
| virtual std::unique_ptr< eVision::ERegion > | Clone () const |
| Clones the ERegion, the cloned Region will be an ERectangleRegion as well. | |
| eVision::EEditionMode | HitTest (int32_t x, int32_t y, float zoomX, float zoomY, float panX, float panY) const |
| 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) const |
| 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) const |
| Detects if the cursor is placed over one of the dragging handles. | |
| eVision::EEditionMode | HitTest (int32_t x, int32_t y, float zoomX) const |
| Detects if the cursor is placed over one of the dragging handles. | |
| eVision::EEditionMode | HitTest (int32_t x, int32_t y) const |
| 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 | Draw (eVision::EDrawAdapter *drawAdapter, const eVision::EFrame &frame, float zoomX, float zoomY, float panX, float panY) const |
| Draws the ERectangleRegion shape. | |
| void | Draw (eVision::EDrawAdapter *drawAdapter, const eVision::EFrame &frame, float zoomX, float zoomY, float panX) const |
| Draws the ERectangleRegion shape. | |
| void | Draw (eVision::EDrawAdapter *drawAdapter, const eVision::EFrame &frame, float zoomX, float zoomY) const |
| Draws the ERectangleRegion shape. | |
| void | Draw (eVision::EDrawAdapter *drawAdapter, const eVision::EFrame &frame, float zoomX) const |
| Draws the ERectangleRegion shape. | |
| void | Draw (eVision::EDrawAdapter *drawAdapter, const eVision::EFrame &frame) const |
| Draws the ERectangleRegion shape. | |
| void | Draw (eVision::EDrawAdapter *drawAdapter, const eVision::EFrame &frame, const eVision::ERGBColor &color, float opacity, float zoomX, float zoomY, float panX, float panY) const |
| Draws the ERectangleRegion shape. | |
| void | Draw (eVision::EDrawAdapter *drawAdapter, const eVision::EFrame &frame, const eVision::ERGBColor &color, float opacity, float zoomX, float zoomY, float panX) const |
| Draws the ERectangleRegion shape. | |
| void | Draw (eVision::EDrawAdapter *drawAdapter, const eVision::EFrame &frame, const eVision::ERGBColor &color, float opacity, float zoomX, float zoomY) const |
| Draws the ERectangleRegion shape. | |
| void | Draw (eVision::EDrawAdapter *drawAdapter, const eVision::EFrame &frame, const eVision::ERGBColor &color, float opacity, float zoomX) const |
| Draws the ERectangleRegion shape. | |
| void | Draw (eVision::EDrawAdapter *drawAdapter, const eVision::EFrame &frame, const eVision::ERGBColor &color, float opacity) const |
| Draws the ERectangleRegion shape. | |
| void | Draw (eVision::EDrawAdapter *drawAdapter, const eVision::EFrame &frame, const eVision::ERGBColor &color) const |
| Draws the ERectangleRegion shape. | |
| void | Draw (eVision::EDrawAdapter *drawAdapter, float zoomX, float zoomY, float panX, float panY) const |
| Draws the ERectangleRegion shape. | |
| void | Draw (eVision::EDrawAdapter *drawAdapter, float zoomX, float zoomY, float panX) const |
| Draws the ERectangleRegion shape. | |
| void | Draw (eVision::EDrawAdapter *drawAdapter, float zoomX, float zoomY) const |
| Draws the ERectangleRegion shape. | |
| void | Draw (eVision::EDrawAdapter *drawAdapter, float zoomX) const |
| Draws the ERectangleRegion shape. | |
| void | Draw (eVision::EDrawAdapter *drawAdapter) const |
| Draws the ERectangleRegion shape. | |
| void | Draw (eVision::EDrawAdapter *drawAdapter, const eVision::ERGBColor &color, float opacity, float zoomX, float zoomY, float panX, float panY) const |
| Draws the ERectangleRegion shape. | |
| void | Draw (eVision::EDrawAdapter *drawAdapter, const eVision::ERGBColor &color, float opacity, float zoomX, float zoomY, float panX) const |
| Draws the ERectangleRegion shape. | |
| void | Draw (eVision::EDrawAdapter *drawAdapter, const eVision::ERGBColor &color, float opacity, float zoomX, float zoomY) const |
| Draws the ERectangleRegion shape. | |
| void | Draw (eVision::EDrawAdapter *drawAdapter, const eVision::ERGBColor &color, float opacity, float zoomX) const |
| Draws the ERectangleRegion shape. | |
| void | Draw (eVision::EDrawAdapter *drawAdapter, const eVision::ERGBColor &color, float opacity) const |
| Draws the ERectangleRegion shape. | |
| void | Draw (eVision::EDrawAdapter *drawAdapter, const eVision::ERGBColor &color) const |
| Draws the ERectangleRegion shape. | |
| void | Draw (HDC graphicContext, float opacity, float zoomX, float zoomY, float panX, float panY) const |
| Draws the ERectangleRegion shape. | |
| void | Draw (HDC graphicContext, float opacity, float zoomX, float zoomY, float panX) const |
| Draws the ERectangleRegion shape. | |
| void | Draw (HDC graphicContext, float opacity, float zoomX, float zoomY) const |
| Draws the ERectangleRegion shape. | |
| void | Draw (HDC graphicContext, float opacity, float zoomX) const |
| Draws the ERectangleRegion shape. | |
| void | Draw (HDC graphicContext, float opacity) const |
| Draws the ERectangleRegion shape. | |
| void | Draw (HDC graphicContext) const |
| Draws the ERectangleRegion shape. | |
| void | Draw (HDC graphicContext, const eVision::ERGBColor &color, float opacity, float zoomX, float zoomY, float panX, float panY) const |
| Draws the ERectangleRegion shape. | |
| void | Draw (HDC graphicContext, const eVision::ERGBColor &color, float opacity, float zoomX, float zoomY, float panX) const |
| Draws the ERectangleRegion shape. | |
| void | Draw (HDC graphicContext, const eVision::ERGBColor &color, float opacity, float zoomX, float zoomY) const |
| Draws the ERectangleRegion shape. | |
| void | Draw (HDC graphicContext, const eVision::ERGBColor &color, float opacity, float zoomX) const |
| Draws the ERectangleRegion shape. | |
| void | Draw (HDC graphicContext, const eVision::ERGBColor &color, float opacity) const |
| Draws the ERectangleRegion shape. | |
| void | Draw (HDC graphicContext, const eVision::ERGBColor &color) const |
| Draws the ERectangleRegion shape. | |
| ERectangleRegion (CppWrapperInternal::InternalConstructor) | |
| Public Member Functions inherited from eVision::ERegion | |
| ERegion () | |
| Constructs an ERegion context. | |
| ERegion (const eVision::ERegion &other) | |
| Constructs an ERegion context. | |
| ERegion (const eVision::EROIBW8 &roi, eVision::EBW8 threshold) | |
| Constructs an ERegion context. | |
| ERegion (const eVision::EROIBW16 &roi, eVision::EBW16 threshold) | |
| Constructs an ERegion context. | |
| ERegion (const std::vector< eVision::ERun > &runs) | |
| Constructs an ERegion context. | |
| virtual | ~ERegion () throw () |
| eVision::ERegion & | operator= (const eVision::ERegion &other) |
| Assignment operator. | |
| bool | operator== (const eVision::ERegion &other) const |
| Checks if this ERegion instance is strictly equal to another (order of the runs included). | |
| bool | operator!= (const eVision::ERegion &other) const |
| Checks if this ERegion instance is not strictly equal to another (order of the runs included). | |
| std::vector< eVision::ERun > | GetRuns () const |
| Runs of the region. | |
| void | SetRuns (const std::vector< eVision::ERun > &runs) |
| Runs of the region. | |
| eVision::ERegion | FillHoles () const |
| Returns a new ERegion::ERegion whose holes are filled. | |
| virtual int32_t | GetBoundingBoxOrgX () const |
| Bounding box origin abscissa. | |
| virtual int32_t | GetBoundingBoxOrgY () const |
| Bounding box origin ordinate. | |
| virtual int32_t | GetBoundingBoxWidth () const |
| Bounding box width. | |
| virtual int32_t | GetBoundingBoxHeight () const |
| Bounding box height. | |
| virtual int32_t | GetArea () const |
| Area of the ERegion. | |
| void | Prepare (const eVision::EROIBW8 &roi) const |
| Computes the values necessary for the ERegion to be used during processing. | |
| void | Prepare (const eVision::EROIBW16 &roi) const |
| Computes the values necessary for the ERegion to be used during processing. | |
| void | Prepare (const eVision::EROIBW32 &roi) const |
| Computes the values necessary for the ERegion to be used during processing. | |
| void | Prepare (const eVision::EROIBW32f &roi) const |
| Computes the values necessary for the ERegion to be used during processing. | |
| void | Prepare (const eVision::EROIC24 &roi) const |
| Computes the values necessary for the ERegion to be used during processing. | |
| void | Prepare (const eVision::EROIC24A &roi) const |
| Computes the values necessary for the ERegion to be used during processing. | |
| void | Prepare (const eVision::EROIC48 &roi) const |
| Computes the values necessary for the ERegion to be used during processing. | |
| void | Prepare (int width, int height) const |
| Computes the values necessary for the ERegion to be used during processing. | |
| void | Prepare (int orgX, int orgY, int width, int height) const |
| Computes the values necessary for the ERegion to be used during processing. | |
| void | Prepare () const |
| Computes the values necessary for the ERegion to be used during processing. | |
| eVision::ERegion | LocalToSensor (const eVision::EFrame &frame) const |
| Converts the region from the local reference frame to the sensor reference frame. | |
| eVision::ERegion | SensorToLocal (const eVision::EFrame &frame) const |
| Converts the region from the sensor reference frame to the local reference frame. | |
| void | ToImage (eVision::EImageC24 &img, eVision::EC24 background, eVision::EC24 foreground) const |
| Exports the ERegion to a mask-type image. | |
| void | ToImage (eVision::EImageC24A &img, eVision::EC24A background, eVision::EC24A foreground) const |
| Exports the ERegion to a mask-type image. | |
| void | ToImage (eVision::EImageBW8 &img, eVision::EBW8 background, eVision::EBW8 foreground) const |
| Exports the ERegion to a mask-type image. | |
| void | ToImage (eVision::EImageBW16 &img, eVision::EBW16 background, eVision::EBW16 foreground) const |
| Exports the ERegion to a mask-type image. | |
| eVision::ERegion | TranslateRuns (int dx, int dy) const |
| Creates a new ERegion by translating the region runs. | |
| eVision::ERegion | CropRuns (int orgX, int orgY, int width, int height) const |
| Creates a new ERegion by cropping the ERegion runs within a given area. | |
| eVision::ERegion | Grow (int radius) const |
| Creates a new ERegion by growing the ERegion runs with a dilation using a circular structuring element. | |
| eVision::ERegion | Shrink (int radius) const |
| Creates a new ERegion by shrinking the ERegion runs with an erosion using a circular structuring element. | |
| eVision::ERegion | Contour (int thickness, bool centered) const |
| Creates a new ERegion containing the contour of the ERegion. | |
| eVision::ERegion | Contour (int thickness) const |
| Creates a new ERegion containing the contour of the ERegion. | |
| void | Draw (eVision::EDrawAdapter *drawAdapter, const eVision::EFrame &frame, float zoomX, float zoomY, float panX, float panY) const |
| Draws the ERegion shape. | |
| void | Draw (eVision::EDrawAdapter *drawAdapter, const eVision::EFrame &frame, float zoomX, float zoomY, float panX) const |
| Draws the ERegion shape. | |
| void | Draw (eVision::EDrawAdapter *drawAdapter, const eVision::EFrame &frame, float zoomX, float zoomY) const |
| Draws the ERegion shape. | |
| void | Draw (eVision::EDrawAdapter *drawAdapter, const eVision::EFrame &frame, float zoomX) const |
| Draws the ERegion shape. | |
| void | Draw (eVision::EDrawAdapter *drawAdapter, const eVision::EFrame &frame) const |
| Draws the ERegion shape. | |
| void | Draw (eVision::EDrawAdapter *drawAdapter, const eVision::EFrame &frame, const eVision::ERGBColor &color, float opacity, float zoomX, float zoomY, float panX, float panY) const |
| Draws the ERegion shape. | |
| void | Draw (eVision::EDrawAdapter *drawAdapter, const eVision::EFrame &frame, const eVision::ERGBColor &color, float opacity, float zoomX, float zoomY, float panX) const |
| Draws the ERegion shape. | |
| void | Draw (eVision::EDrawAdapter *drawAdapter, const eVision::EFrame &frame, const eVision::ERGBColor &color, float opacity, float zoomX, float zoomY) const |
| Draws the ERegion shape. | |
| void | Draw (eVision::EDrawAdapter *drawAdapter, const eVision::EFrame &frame, const eVision::ERGBColor &color, float opacity, float zoomX) const |
| Draws the ERegion shape. | |
| void | Draw (eVision::EDrawAdapter *drawAdapter, const eVision::EFrame &frame, const eVision::ERGBColor &color, float opacity) const |
| Draws the ERegion shape. | |
| void | Draw (eVision::EDrawAdapter *drawAdapter, const eVision::EFrame &frame, const eVision::ERGBColor &color) const |
| Draws the ERegion shape. | |
| void | Draw (eVision::EDrawAdapter *drawAdapter, float zoomX, float zoomY, float panX, float panY) const |
| Draws the ERegion shape. | |
| void | Draw (eVision::EDrawAdapter *drawAdapter, float zoomX, float zoomY, float panX) const |
| Draws the ERegion shape. | |
| void | Draw (eVision::EDrawAdapter *drawAdapter, float zoomX, float zoomY) const |
| Draws the ERegion shape. | |
| void | Draw (eVision::EDrawAdapter *drawAdapter, float zoomX) const |
| Draws the ERegion shape. | |
| void | Draw (eVision::EDrawAdapter *drawAdapter) const |
| Draws the ERegion shape. | |
| void | Draw (eVision::EDrawAdapter *drawAdapter, const eVision::ERGBColor &color, float opacity, float zoomX, float zoomY, float panX, float panY) const |
| Draws the ERegion shape. | |
| void | Draw (eVision::EDrawAdapter *drawAdapter, const eVision::ERGBColor &color, float opacity, float zoomX, float zoomY, float panX) const |
| Draws the ERegion shape. | |
| void | Draw (eVision::EDrawAdapter *drawAdapter, const eVision::ERGBColor &color, float opacity, float zoomX, float zoomY) const |
| Draws the ERegion shape. | |
| void | Draw (eVision::EDrawAdapter *drawAdapter, const eVision::ERGBColor &color, float opacity, float zoomX) const |
| Draws the ERegion shape. | |
| void | Draw (eVision::EDrawAdapter *drawAdapter, const eVision::ERGBColor &color, float opacity) const |
| Draws the ERegion shape. | |
| void | Draw (eVision::EDrawAdapter *drawAdapter, const eVision::ERGBColor &color) const |
| Draws the ERegion shape. | |
| void | Draw (HDC graphicContext, float opacity, float zoomX, float zoomY, float panX, float panY) const |
| Draws the ERegion shape. | |
| void | Draw (HDC graphicContext, float opacity, float zoomX, float zoomY, float panX) const |
| Draws the ERegion shape. | |
| void | Draw (HDC graphicContext, float opacity, float zoomX, float zoomY) const |
| Draws the ERegion shape. | |
| void | Draw (HDC graphicContext, float opacity, float zoomX) const |
| Draws the ERegion shape. | |
| void | Draw (HDC graphicContext, float opacity) const |
| Draws the ERegion shape. | |
| void | Draw (HDC graphicContext) const |
| Draws the ERegion shape. | |
| void | Draw (HDC graphicContext, const eVision::ERGBColor &color, float opacity, float zoomX, float zoomY, float panX, float panY) const |
| Draws the ERegion shape. | |
| void | Draw (HDC graphicContext, const eVision::ERGBColor &color, float opacity, float zoomX, float zoomY, float panX) const |
| Draws the ERegion shape. | |
| void | Draw (HDC graphicContext, const eVision::ERGBColor &color, float opacity, float zoomX, float zoomY) const |
| Draws the ERegion shape. | |
| void | Draw (HDC graphicContext, const eVision::ERGBColor &color, float opacity, float zoomX) const |
| Draws the ERegion shape. | |
| void | Draw (HDC graphicContext, const eVision::ERGBColor &color, float opacity) const |
| Draws the ERegion shape. | |
| void | Draw (HDC graphicContext, const eVision::ERGBColor &color) const |
| Draws the ERegion shape. | |
| void | DrawWithCurrentPen (HDC graphicContext, float opacity, float zoomX, float zoomY, float panX, float panY) const |
| Draws the ERegion area. | |
| void | DrawWithCurrentPen (HDC graphicContext, float opacity, float zoomX, float zoomY, float panX) const |
| Draws the ERegion area. | |
| void | DrawWithCurrentPen (HDC graphicContext, float opacity, float zoomX, float zoomY) const |
| Draws the ERegion area. | |
| void | DrawWithCurrentPen (HDC graphicContext, float opacity, float zoomX) const |
| Draws the ERegion area. | |
| void | DrawWithCurrentPen (HDC graphicContext, float opacity) const |
| Draws the ERegion area. | |
| void | DrawWithCurrentPen (HDC graphicContext) const |
| Draws the ERegion area. | |
| void | DrawContour (eVision::EDrawAdapter *drawAdapter, const eVision::EFrame &frame, float zoomX, float zoomY, float panX, float panY) const |
| Draws the ERegion contour. | |
| void | DrawContour (eVision::EDrawAdapter *drawAdapter, const eVision::EFrame &frame, float zoomX, float zoomY, float panX) const |
| Draws the ERegion contour. | |
| void | DrawContour (eVision::EDrawAdapter *drawAdapter, const eVision::EFrame &frame, float zoomX, float zoomY) const |
| Draws the ERegion contour. | |
| void | DrawContour (eVision::EDrawAdapter *drawAdapter, const eVision::EFrame &frame, float zoomX) const |
| Draws the ERegion contour. | |
| void | DrawContour (eVision::EDrawAdapter *drawAdapter, const eVision::EFrame &frame) const |
| Draws the ERegion contour. | |
| void | DrawContour (eVision::EDrawAdapter *drawAdapter, const eVision::EFrame &frame, const eVision::ERGBColor &color, float zoomX, float zoomY, float panX, float panY) const |
| Draws the ERegion contour. | |
| void | DrawContour (eVision::EDrawAdapter *drawAdapter, const eVision::EFrame &frame, const eVision::ERGBColor &color, float zoomX, float zoomY, float panX) const |
| Draws the ERegion contour. | |
| void | DrawContour (eVision::EDrawAdapter *drawAdapter, const eVision::EFrame &frame, const eVision::ERGBColor &color, float zoomX, float zoomY) const |
| Draws the ERegion contour. | |
| void | DrawContour (eVision::EDrawAdapter *drawAdapter, const eVision::EFrame &frame, const eVision::ERGBColor &color, float zoomX) const |
| Draws the ERegion contour. | |
| void | DrawContour (eVision::EDrawAdapter *drawAdapter, const eVision::EFrame &frame, const eVision::ERGBColor &color) const |
| Draws the ERegion contour. | |
| void | DrawContour (eVision::EDrawAdapter *drawAdapter, float zoomX, float zoomY, float panX, float panY) const |
| Draws the ERegion contour. | |
| void | DrawContour (eVision::EDrawAdapter *drawAdapter, float zoomX, float zoomY, float panX) const |
| Draws the ERegion contour. | |
| void | DrawContour (eVision::EDrawAdapter *drawAdapter, float zoomX, float zoomY) const |
| Draws the ERegion contour. | |
| void | DrawContour (eVision::EDrawAdapter *drawAdapter, float zoomX) const |
| Draws the ERegion contour. | |
| void | DrawContour (eVision::EDrawAdapter *drawAdapter) const |
| Draws the ERegion contour. | |
| void | DrawContour (eVision::EDrawAdapter *drawAdapter, const eVision::ERGBColor &color, float zoomX, float zoomY, float panX, float panY) const |
| Draws the ERegion contour. | |
| void | DrawContour (eVision::EDrawAdapter *drawAdapter, const eVision::ERGBColor &color, float zoomX, float zoomY, float panX) const |
| Draws the ERegion contour. | |
| void | DrawContour (eVision::EDrawAdapter *drawAdapter, const eVision::ERGBColor &color, float zoomX, float zoomY) const |
| Draws the ERegion contour. | |
| void | DrawContour (eVision::EDrawAdapter *drawAdapter, const eVision::ERGBColor &color, float zoomX) const |
| Draws the ERegion contour. | |
| void | DrawContour (eVision::EDrawAdapter *drawAdapter, const eVision::ERGBColor &color) const |
| Draws the ERegion contour. | |
| void | DrawContour (HDC graphicContext, float zoomX, float zoomY, float panX, float panY) const |
| Draws the ERegion contour. | |
| void | DrawContour (HDC graphicContext, float zoomX, float zoomY, float panX) const |
| Draws the ERegion contour. | |
| void | DrawContour (HDC graphicContext, float zoomX, float zoomY) const |
| Draws the ERegion contour. | |
| void | DrawContour (HDC graphicContext, float zoomX) const |
| Draws the ERegion contour. | |
| void | DrawContour (HDC graphicContext) const |
| Draws the ERegion contour. | |
| void | DrawContour (HDC graphicContext, const eVision::ERGBColor &color, float zoomX, float zoomY, float panX, float panY) const |
| Draws the ERegion contour. | |
| void | DrawContour (HDC graphicContext, const eVision::ERGBColor &color, float zoomX, float zoomY, float panX) const |
| Draws the ERegion contour. | |
| void | DrawContour (HDC graphicContext, const eVision::ERGBColor &color, float zoomX, float zoomY) const |
| Draws the ERegion contour. | |
| void | DrawContour (HDC graphicContext, const eVision::ERGBColor &color, float zoomX) const |
| Draws the ERegion contour. | |
| void | DrawContour (HDC graphicContext, const eVision::ERGBColor &color) const |
| Draws the ERegion contour. | |
| void | DrawContourWithCurrentPen (HDC hdc, float zoomX, float zoomY, float panX, float panY) const |
| Draws the ERegion contour with the current pen. | |
| void | DrawHandles (eVision::EDrawAdapter *drawAdapter, const eVision::EFrame &frame, float zoomX, float zoomY, float panX, float panY) const |
| Draws the region handles. | |
| void | DrawHandles (eVision::EDrawAdapter *drawAdapter, const eVision::EFrame &frame, float zoomX, float zoomY, float panX) const |
| Draws the region handles. | |
| void | DrawHandles (eVision::EDrawAdapter *drawAdapter, const eVision::EFrame &frame, float zoomX, float zoomY) const |
| Draws the region handles. | |
| void | DrawHandles (eVision::EDrawAdapter *drawAdapter, const eVision::EFrame &frame, float zoomX) const |
| Draws the region handles. | |
| void | DrawHandles (eVision::EDrawAdapter *drawAdapter, const eVision::EFrame &frame) const |
| Draws the region handles. | |
| void | DrawHandles (eVision::EDrawAdapter *drawAdapter, const eVision::EFrame &frame, const eVision::ERGBColor &color, float zoomX, float zoomY, float panX, float panY) const |
| Draws the region handles. | |
| void | DrawHandles (eVision::EDrawAdapter *drawAdapter, const eVision::EFrame &frame, const eVision::ERGBColor &color, float zoomX, float zoomY, float panX) const |
| Draws the region handles. | |
| void | DrawHandles (eVision::EDrawAdapter *drawAdapter, const eVision::EFrame &frame, const eVision::ERGBColor &color, float zoomX, float zoomY) const |
| Draws the region handles. | |
| void | DrawHandles (eVision::EDrawAdapter *drawAdapter, const eVision::EFrame &frame, const eVision::ERGBColor &color, float zoomX) const |
| Draws the region handles. | |
| void | DrawHandles (eVision::EDrawAdapter *drawAdapter, const eVision::EFrame &frame, const eVision::ERGBColor &color) const |
| Draws the region handles. | |
| void | DrawHandles (eVision::EDrawAdapter *drawAdapter, float zoomX, float zoomY, float panX, float panY) const |
| Draws the region handles. | |
| void | DrawHandles (eVision::EDrawAdapter *drawAdapter, float zoomX, float zoomY, float panX) const |
| Draws the region handles. | |
| void | DrawHandles (eVision::EDrawAdapter *drawAdapter, float zoomX, float zoomY) const |
| Draws the region handles. | |
| void | DrawHandles (eVision::EDrawAdapter *drawAdapter, float zoomX) const |
| Draws the region handles. | |
| void | DrawHandles (eVision::EDrawAdapter *drawAdapter) const |
| Draws the region handles. | |
| void | DrawHandles (eVision::EDrawAdapter *drawAdapter, const eVision::ERGBColor &color, float zoomX, float zoomY, float panX, float panY) const |
| Draws the region handles. | |
| void | DrawHandles (eVision::EDrawAdapter *drawAdapter, const eVision::ERGBColor &color, float zoomX, float zoomY, float panX) const |
| Draws the region handles. | |
| void | DrawHandles (eVision::EDrawAdapter *drawAdapter, const eVision::ERGBColor &color, float zoomX, float zoomY) const |
| Draws the region handles. | |
| void | DrawHandles (eVision::EDrawAdapter *drawAdapter, const eVision::ERGBColor &color, float zoomX) const |
| Draws the region handles. | |
| void | DrawHandles (eVision::EDrawAdapter *drawAdapter, const eVision::ERGBColor &color) const |
| Draws the region handles. | |
| void | DrawHandles (HDC hdc, float zoomX, float zoomY, float panX, float panY) const |
| Draws the region handles. | |
| void | DrawHandles (HDC hdc, float zoomX, float zoomY, float panX) const |
| Draws the region handles. | |
| void | DrawHandles (HDC hdc, float zoomX, float zoomY) const |
| Draws the region handles. | |
| void | DrawHandles (HDC hdc, float zoomX) const |
| Draws the region handles. | |
| void | DrawHandles (HDC hdc) const |
| Draws the region handles. | |
| void | DrawHandles (HDC hdc, const eVision::ERGBColor &color, float zoomX, float zoomY, float panX, float panY) const |
| Draws the region handles. | |
| void | DrawHandles (HDC hdc, const eVision::ERGBColor &color, float zoomX, float zoomY, float panX) const |
| Draws the region handles. | |
| void | DrawHandles (HDC hdc, const eVision::ERGBColor &color, float zoomX, float zoomY) const |
| Draws the region handles. | |
| void | DrawHandles (HDC hdc, const eVision::ERGBColor &color, float zoomX) const |
| Draws the region handles. | |
| void | DrawHandles (HDC hdc, const eVision::ERGBColor &color) const |
| Draws the region handles. | |
| void | DrawHandlesWithCurrentPen (HDC hdc, float zoomX, float zoomY, float panX, float panY) const |
| Draws the region handles with the current pen. | |
| void | DrawHandlesWithCurrentPen (HDC hdc, float zoomX, float zoomY, float panX) const |
| Draws the region handles with the current pen. | |
| void | DrawHandlesWithCurrentPen (HDC hdc, float zoomX, float zoomY) const |
| Draws the region handles with the current pen. | |
| void | DrawHandlesWithCurrentPen (HDC hdc, float zoomX) const |
| Draws the region handles with the current pen. | |
| void | DrawHandlesWithCurrentPen (HDC hdc) const |
| Draws the region handles with the current pen. | |
| eVision::EEditionMode | HitTest (int32_t x, int32_t y, float zoomX, float zoomY, float panX, float panY) const |
| 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) const |
| 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) const |
| Detects if the cursor is placed over one of the dragging handles. | |
| eVision::EEditionMode | HitTest (int32_t x, int32_t y, float zoomX) const |
| Detects if the cursor is placed over one of the dragging handles. | |
| eVision::EEditionMode | HitTest (int32_t x, int32_t y) const |
| 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 | SetEditionMode (eVision::EEditionMode mode) |
| Graphical edition mode. | |
| eVision::EEditionMode | GetEditionMode () const |
| Graphical edition mode. | |
| ERegion (CppWrapperInternal::InternalConstructor) | |
Additional Inherited Members | |
| Static Public Member Functions inherited from eVision::ERegion | |
| static eVision::ERegion | Union (const eVision::ERegion ®ion1, const eVision::ERegion ®ion2) |
| Creates a new ERegion by combining two ERegion. | |
| static eVision::ERegion | Intersection (const eVision::ERegion ®ion1, const eVision::ERegion ®ion2) |
| Creates a new ERegion by intersecting two ERegion. | |
| static eVision::ERegion | Subtraction (const eVision::ERegion ®ion1, const eVision::ERegion ®ion2) |
| Creates a new ERegion by subtracting one ERegion from another. | |
| static std::unique_ptr< eVision::ERegion > | Make (const std::string &file) |
| Makes a typed region based on the serialized file. | |
| static std::unique_ptr< eVision::ERegion > | Make (eVision::ESerializer *serializer) |
| Makes a typed region based on the serialized file. | |
| Public Attributes inherited from eVision::ERegion | |
| CppWrapperInternal::WrappedClass | wrappedClass_ |
Manages a complete context for an ERegion shaped like a rectangle.
License(s): BasicTypes
| eVision::ERectangleRegion::ERectangleRegion | ( | ) |
Constructs an ERectangleRegion context.
A ERectangleRegion aligned with the image axes is defined from the top left corner. Otherwise, an oriented ERectangleRegion is defined from its center point.
| eVision::ERectangleRegion::ERectangleRegion | ( | float | originX, |
| float | originY, | ||
| float | width, | ||
| float | height ) |
Constructs an ERectangleRegion context.
| originX | The abscissa of the ERectangleRegion's top left corner. |
| originY | The ordinate of the ERectangleRegion's top left corner. |
| width | The width of the ERectangleRegion. |
| height | The height of the ERectangleRegion. |
A ERectangleRegion aligned with the image axes is defined from the top left corner. Otherwise, an oriented ERectangleRegion is defined from its center point.
| eVision::ERectangleRegion::ERectangleRegion | ( | const eVision::EPoint & | origin, |
| float | width, | ||
| float | height ) |
Constructs an ERectangleRegion context.
| origin | The top left corner of the ERectangleRegion. |
| width | The width of the ERectangleRegion. |
| height | The height of the ERectangleRegion. |
A ERectangleRegion aligned with the image axes is defined from the top left corner. Otherwise, an oriented ERectangleRegion is defined from its center point.
| eVision::ERectangleRegion::ERectangleRegion | ( | float | centerX, |
| float | centerY, | ||
| float | width, | ||
| float | height, | ||
| float | angle ) |
Constructs an ERectangleRegion context.
| centerX | The abscissa of the ERectangleRegion center. |
| centerY | The ordinate of the ERectangleRegion center. |
| width | The width of the ERectangleRegion. |
| height | The height of the ERectangleRegion. |
| angle | The angle of the ERectangleRegion. |
A ERectangleRegion aligned with the image axes is defined from the top left corner. Otherwise, an oriented ERectangleRegion is defined from its center point.
| eVision::ERectangleRegion::ERectangleRegion | ( | const eVision::EPoint & | center, |
| float | width, | ||
| float | height, | ||
| float | angle ) |
Constructs an ERectangleRegion context.
| center | The center of the ERectangleRegion. |
| width | The width of the ERectangleRegion. |
| height | The height of the ERectangleRegion. |
| angle | The angle of the ERectangleRegion. |
A ERectangleRegion aligned with the image axes is defined from the top left corner. Otherwise, an oriented ERectangleRegion is defined from its center point.
| eVision::ERectangleRegion::ERectangleRegion | ( | const eVision::ERectangle & | rectangle | ) |
Constructs an ERectangleRegion context.
| rectangle | The result of an ERectangleGauge object. |
A ERectangleRegion aligned with the image axes is defined from the top left corner. Otherwise, an oriented ERectangleRegion is defined from its center point.
| eVision::ERectangleRegion::ERectangleRegion | ( | const eVision::ERectangleRegion & | other | ) |
Constructs an ERectangleRegion context.
| other | ERectangleRegion context to copy. |
A ERectangleRegion aligned with the image axes is defined from the top left corner. Otherwise, an oriented ERectangleRegion is defined from its center point.
|
virtual | ||||||||||||
| eVision::ERectangleRegion::ERectangleRegion | ( | CppWrapperInternal::InternalConstructor | ) |
|
virtual |
Clones the ERegion, the cloned Region will be an ERectangleRegion as well.
Reimplemented from eVision::ERegion.
| void eVision::ERectangleRegion::Drag | ( | int32_t | x, |
| int32_t | y ) |
Moves the specified handle to a new position and updates all placement parameters of the region.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
If zooming and/or panning were used when drawing the region, the same values must be used with ERectangleRegion::HitTest and ERectangleRegion::Drag.
|
virtual |
Moves the specified handle to a new position and updates all placement parameters of the region.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| frame | Frame to transform coordinates with. |
If zooming and/or panning were used when drawing the region, the same values must be used with ERectangleRegion::HitTest and ERectangleRegion::Drag.
Reimplemented from eVision::ERegion.
|
virtual |
Moves the specified handle to a new position and updates all placement parameters of the region.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| frame | Frame to transform coordinates with. |
| zoomX | Horizontal zoom factor. By default, true scale is used. |
If zooming and/or panning were used when drawing the region, the same values must be used with ERectangleRegion::HitTest and ERectangleRegion::Drag.
Reimplemented from eVision::ERegion.
|
virtual |
Moves the specified handle to a new position and updates all placement parameters of the region.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| frame | Frame to transform coordinates with. |
| zoomX | Horizontal zoom factor. By default, true scale is used. |
| zoomY | Vertical zoom factor. By default, true scale is used. |
If zooming and/or panning were used when drawing the region, the same values must be used with ERectangleRegion::HitTest and ERectangleRegion::Drag.
Reimplemented from eVision::ERegion.
|
virtual |
Moves the specified handle to a new position and updates all placement parameters of the region.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| frame | Frame to transform coordinates with. |
| zoomX | Horizontal zoom factor. By default, true scale is used. |
| zoomY | Vertical zoom factor. By default, true scale is used. |
| panX | Horizontal pan offset. By default, no pan is added. |
If zooming and/or panning were used when drawing the region, the same values must be used with ERectangleRegion::HitTest and ERectangleRegion::Drag.
Reimplemented from eVision::ERegion.
|
virtual |
Moves the specified handle to a new position and updates all placement parameters of the region.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| frame | Frame to transform coordinates with. |
| zoomX | Horizontal zoom factor. By default, true scale is used. |
| zoomY | Vertical zoom factor. By default, true scale is used. |
| panX | Horizontal pan offset. By default, no pan is added. |
| panY | Vertical pan offset. By default, no pan is added. |
If zooming and/or panning were used when drawing the region, the same values must be used with ERectangleRegion::HitTest and ERectangleRegion::Drag.
Reimplemented from eVision::ERegion.
| void eVision::ERectangleRegion::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.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| zoomX | Horizontal zoom factor. By default, true scale is used. |
If zooming and/or panning were used when drawing the region, the same values must be used with ERectangleRegion::HitTest and ERectangleRegion::Drag.
| void eVision::ERectangleRegion::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.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| zoomX | Horizontal zoom factor. By default, true scale is used. |
| zoomY | Vertical zoom factor. By default, true scale is used. |
If zooming and/or panning were used when drawing the region, the same values must be used with ERectangleRegion::HitTest and ERectangleRegion::Drag.
| void eVision::ERectangleRegion::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.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| zoomX | Horizontal zoom factor. By default, true scale is used. |
| zoomY | Vertical zoom factor. By default, true scale is used. |
| panX | Horizontal pan offset. By default, no pan is added. |
If zooming and/or panning were used when drawing the region, the same values must be used with ERectangleRegion::HitTest and ERectangleRegion::Drag.
| void eVision::ERectangleRegion::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.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| zoomX | Horizontal zoom factor. By default, true scale is used. |
| zoomY | Vertical zoom factor. By default, true scale is used. |
| panX | Horizontal pan offset. By default, no pan is added. |
| panY | Vertical pan offset. By default, no pan is added. |
If zooming and/or panning were used when drawing the region, the same values must be used with ERectangleRegion::HitTest and ERectangleRegion::Drag.
| void eVision::ERectangleRegion::Draw | ( | eVision::EDrawAdapter * | drawAdapter | ) | const |
Draws the ERectangleRegion shape.
| drawAdapter | A pointer to an EDrawAdapter (like the EWindowsDrawAdapter). |
| void eVision::ERectangleRegion::Draw | ( | eVision::EDrawAdapter * | drawAdapter, |
| const eVision::EFrame & | frame ) const |
Draws the ERectangleRegion shape.
| drawAdapter | A pointer to an EDrawAdapter (like the EWindowsDrawAdapter). |
| frame | Frame on which to draw the shape. |
| void eVision::ERectangleRegion::Draw | ( | eVision::EDrawAdapter * | drawAdapter, |
| const eVision::EFrame & | frame, | ||
| const eVision::ERGBColor & | color ) const |
Draws the ERectangleRegion shape.
| drawAdapter | A pointer to an EDrawAdapter (like the EWindowsDrawAdapter). |
| frame | Frame on which to draw the shape. |
| color | The color in which to draw the ERectangleRegion. |
| void eVision::ERectangleRegion::Draw | ( | eVision::EDrawAdapter * | drawAdapter, |
| const eVision::EFrame & | frame, | ||
| const eVision::ERGBColor & | color, | ||
| float | opacity ) const |
Draws the ERectangleRegion shape.
| drawAdapter | A pointer to an EDrawAdapter (like the EWindowsDrawAdapter). |
| frame | Frame on which to draw the shape. |
| color | The color in which to draw the ERectangleRegion. |
| opacity | Opacity of the drawn area (range: 0.0 to 1.0). |
| void eVision::ERectangleRegion::Draw | ( | eVision::EDrawAdapter * | drawAdapter, |
| const eVision::EFrame & | frame, | ||
| const eVision::ERGBColor & | color, | ||
| float | opacity, | ||
| float | zoomX ) const |
Draws the ERectangleRegion shape.
| drawAdapter | A pointer to an EDrawAdapter (like the EWindowsDrawAdapter). |
| frame | Frame on which to draw the shape. |
| color | The color in which to draw the ERectangleRegion. |
| opacity | Opacity of the drawn area (range: 0.0 to 1.0). |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| void eVision::ERectangleRegion::Draw | ( | eVision::EDrawAdapter * | drawAdapter, |
| const eVision::EFrame & | frame, | ||
| const eVision::ERGBColor & | color, | ||
| float | opacity, | ||
| float | zoomX, | ||
| float | zoomY ) const |
Draws the ERectangleRegion shape.
| drawAdapter | A pointer to an EDrawAdapter (like the EWindowsDrawAdapter). |
| frame | Frame on which to draw the shape. |
| color | The color in which to draw the ERectangleRegion. |
| opacity | Opacity of the drawn area (range: 0.0 to 1.0). |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| void eVision::ERectangleRegion::Draw | ( | eVision::EDrawAdapter * | drawAdapter, |
| const eVision::EFrame & | frame, | ||
| const eVision::ERGBColor & | color, | ||
| float | opacity, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) const |
Draws the ERectangleRegion shape.
| drawAdapter | A pointer to an EDrawAdapter (like the EWindowsDrawAdapter). |
| frame | Frame on which to draw the shape. |
| color | The color in which to draw the ERectangleRegion. |
| opacity | Opacity of the drawn area (range: 0.0 to 1.0). |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| void eVision::ERectangleRegion::Draw | ( | eVision::EDrawAdapter * | drawAdapter, |
| const eVision::EFrame & | frame, | ||
| const eVision::ERGBColor & | color, | ||
| float | opacity, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) const |
Draws the ERectangleRegion shape.
| drawAdapter | A pointer to an EDrawAdapter (like the EWindowsDrawAdapter). |
| frame | Frame on which to draw the shape. |
| color | The color in which to draw the ERectangleRegion. |
| opacity | Opacity of the drawn area (range: 0.0 to 1.0). |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| panY | Vertical panning value expressed in pixels. By default, no panning occurs. |
| void eVision::ERectangleRegion::Draw | ( | eVision::EDrawAdapter * | drawAdapter, |
| const eVision::EFrame & | frame, | ||
| float | zoomX ) const |
Draws the ERectangleRegion shape.
| drawAdapter | A pointer to an EDrawAdapter (like the EWindowsDrawAdapter). |
| frame | Frame on which to draw the shape. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| void eVision::ERectangleRegion::Draw | ( | eVision::EDrawAdapter * | drawAdapter, |
| const eVision::EFrame & | frame, | ||
| float | zoomX, | ||
| float | zoomY ) const |
Draws the ERectangleRegion shape.
| drawAdapter | A pointer to an EDrawAdapter (like the EWindowsDrawAdapter). |
| frame | Frame on which to draw the shape. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| void eVision::ERectangleRegion::Draw | ( | eVision::EDrawAdapter * | drawAdapter, |
| const eVision::EFrame & | frame, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) const |
Draws the ERectangleRegion shape.
| drawAdapter | A pointer to an EDrawAdapter (like the EWindowsDrawAdapter). |
| frame | Frame on which to draw the shape. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| void eVision::ERectangleRegion::Draw | ( | eVision::EDrawAdapter * | drawAdapter, |
| const eVision::EFrame & | frame, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) const |
Draws the ERectangleRegion shape.
| drawAdapter | A pointer to an EDrawAdapter (like the EWindowsDrawAdapter). |
| frame | Frame on which to draw the shape. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| panY | Vertical panning value expressed in pixels. By default, no panning occurs. |
| void eVision::ERectangleRegion::Draw | ( | eVision::EDrawAdapter * | drawAdapter, |
| const eVision::ERGBColor & | color ) const |
Draws the ERectangleRegion shape.
| drawAdapter | A pointer to an EDrawAdapter (like the EWindowsDrawAdapter). |
| color | The color in which to draw the ERectangleRegion. |
| void eVision::ERectangleRegion::Draw | ( | eVision::EDrawAdapter * | drawAdapter, |
| const eVision::ERGBColor & | color, | ||
| float | opacity ) const |
Draws the ERectangleRegion shape.
| drawAdapter | A pointer to an EDrawAdapter (like the EWindowsDrawAdapter). |
| color | The color in which to draw the ERectangleRegion. |
| opacity | Opacity of the drawn area (range: 0.0 to 1.0). |
| void eVision::ERectangleRegion::Draw | ( | eVision::EDrawAdapter * | drawAdapter, |
| const eVision::ERGBColor & | color, | ||
| float | opacity, | ||
| float | zoomX ) const |
Draws the ERectangleRegion shape.
| drawAdapter | A pointer to an EDrawAdapter (like the EWindowsDrawAdapter). |
| color | The color in which to draw the ERectangleRegion. |
| opacity | Opacity of the drawn area (range: 0.0 to 1.0). |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| void eVision::ERectangleRegion::Draw | ( | eVision::EDrawAdapter * | drawAdapter, |
| const eVision::ERGBColor & | color, | ||
| float | opacity, | ||
| float | zoomX, | ||
| float | zoomY ) const |
Draws the ERectangleRegion shape.
| drawAdapter | A pointer to an EDrawAdapter (like the EWindowsDrawAdapter). |
| color | The color in which to draw the ERectangleRegion. |
| opacity | Opacity of the drawn area (range: 0.0 to 1.0). |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| void eVision::ERectangleRegion::Draw | ( | eVision::EDrawAdapter * | drawAdapter, |
| const eVision::ERGBColor & | color, | ||
| float | opacity, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) const |
Draws the ERectangleRegion shape.
| drawAdapter | A pointer to an EDrawAdapter (like the EWindowsDrawAdapter). |
| color | The color in which to draw the ERectangleRegion. |
| opacity | Opacity of the drawn area (range: 0.0 to 1.0). |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| void eVision::ERectangleRegion::Draw | ( | eVision::EDrawAdapter * | drawAdapter, |
| const eVision::ERGBColor & | color, | ||
| float | opacity, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) const |
Draws the ERectangleRegion shape.
| drawAdapter | A pointer to an EDrawAdapter (like the EWindowsDrawAdapter). |
| color | The color in which to draw the ERectangleRegion. |
| opacity | Opacity of the drawn area (range: 0.0 to 1.0). |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| panY | Vertical panning value expressed in pixels. By default, no panning occurs. |
| void eVision::ERectangleRegion::Draw | ( | eVision::EDrawAdapter * | drawAdapter, |
| float | zoomX ) const |
Draws the ERectangleRegion shape.
| drawAdapter | A pointer to an EDrawAdapter (like the EWindowsDrawAdapter). |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| void eVision::ERectangleRegion::Draw | ( | eVision::EDrawAdapter * | drawAdapter, |
| float | zoomX, | ||
| float | zoomY ) const |
Draws the ERectangleRegion shape.
| drawAdapter | A pointer to an EDrawAdapter (like the EWindowsDrawAdapter). |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| void eVision::ERectangleRegion::Draw | ( | eVision::EDrawAdapter * | drawAdapter, |
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) const |
Draws the ERectangleRegion shape.
| drawAdapter | A pointer to an EDrawAdapter (like the EWindowsDrawAdapter). |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| void eVision::ERectangleRegion::Draw | ( | eVision::EDrawAdapter * | drawAdapter, |
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) const |
Draws the ERectangleRegion shape.
| drawAdapter | A pointer to an EDrawAdapter (like the EWindowsDrawAdapter). |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| panY | Vertical panning value expressed in pixels. By default, no panning occurs. |
| void eVision::ERectangleRegion::Draw | ( | HDC | graphicContext | ) | const |
Draws the ERectangleRegion shape.
| graphicContext | Handle of the device context on which to draw. |
| void eVision::ERectangleRegion::Draw | ( | HDC | graphicContext, |
| const eVision::ERGBColor & | color ) const |
Draws the ERectangleRegion shape.
| graphicContext | Handle of the device context on which to draw. |
| color | The color in which to draw the ERectangleRegion. |
| void eVision::ERectangleRegion::Draw | ( | HDC | graphicContext, |
| const eVision::ERGBColor & | color, | ||
| float | opacity ) const |
Draws the ERectangleRegion shape.
| graphicContext | Handle of the device context on which to draw. |
| color | The color in which to draw the ERectangleRegion. |
| opacity | Opacity of the drawn area (range: 0.0 to 1.0). |
| void eVision::ERectangleRegion::Draw | ( | HDC | graphicContext, |
| const eVision::ERGBColor & | color, | ||
| float | opacity, | ||
| float | zoomX ) const |
Draws the ERectangleRegion shape.
| graphicContext | Handle of the device context on which to draw. |
| color | The color in which to draw the ERectangleRegion. |
| opacity | Opacity of the drawn area (range: 0.0 to 1.0). |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| void eVision::ERectangleRegion::Draw | ( | HDC | graphicContext, |
| const eVision::ERGBColor & | color, | ||
| float | opacity, | ||
| float | zoomX, | ||
| float | zoomY ) const |
Draws the ERectangleRegion shape.
| graphicContext | Handle of the device context on which to draw. |
| color | The color in which to draw the ERectangleRegion. |
| opacity | Opacity of the drawn area (range: 0.0 to 1.0). |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| void eVision::ERectangleRegion::Draw | ( | HDC | graphicContext, |
| const eVision::ERGBColor & | color, | ||
| float | opacity, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) const |
Draws the ERectangleRegion shape.
| graphicContext | Handle of the device context on which to draw. |
| color | The color in which to draw the ERectangleRegion. |
| opacity | Opacity of the drawn area (range: 0.0 to 1.0). |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| void eVision::ERectangleRegion::Draw | ( | HDC | graphicContext, |
| const eVision::ERGBColor & | color, | ||
| float | opacity, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) const |
Draws the ERectangleRegion shape.
| graphicContext | Handle of the device context on which to draw. |
| color | The color in which to draw the ERectangleRegion. |
| opacity | Opacity of the drawn area (range: 0.0 to 1.0). |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| panY | Vertical panning value expressed in pixels. By default, no panning occurs. |
| void eVision::ERectangleRegion::Draw | ( | HDC | graphicContext, |
| float | opacity ) const |
Draws the ERectangleRegion shape.
| graphicContext | Handle of the device context on which to draw. |
| opacity | Opacity of the drawn area (range: 0.0 to 1.0). |
| void eVision::ERectangleRegion::Draw | ( | HDC | graphicContext, |
| float | opacity, | ||
| float | zoomX ) const |
Draws the ERectangleRegion shape.
| graphicContext | Handle of the device context on which to draw. |
| opacity | Opacity of the drawn area (range: 0.0 to 1.0). |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| void eVision::ERectangleRegion::Draw | ( | HDC | graphicContext, |
| float | opacity, | ||
| float | zoomX, | ||
| float | zoomY ) const |
Draws the ERectangleRegion shape.
| graphicContext | Handle of the device context on which to draw. |
| opacity | Opacity of the drawn area (range: 0.0 to 1.0). |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| void eVision::ERectangleRegion::Draw | ( | HDC | graphicContext, |
| float | opacity, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) const |
Draws the ERectangleRegion shape.
| graphicContext | Handle of the device context on which to draw. |
| opacity | Opacity of the drawn area (range: 0.0 to 1.0). |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| void eVision::ERectangleRegion::Draw | ( | HDC | graphicContext, |
| float | opacity, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) const |
Draws the ERectangleRegion shape.
| graphicContext | Handle of the device context on which to draw. |
| opacity | Opacity of the drawn area (range: 0.0 to 1.0). |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| panY | Vertical panning value expressed in pixels. By default, no panning occurs. |
| float eVision::ERectangleRegion::GetAngle | ( | ) | const |
Angle of the region.
|
virtual |
Returns all possible edition modes of the region.
Reimplemented from eVision::ERegion.
| eVision::EPoint eVision::ERectangleRegion::GetCenter | ( | ) | const |
Center of the region.
| std::vector< eVision::EPoint > eVision::ERectangleRegion::GetCorners | ( | ) | const |
Corners of the region.
| float eVision::ERectangleRegion::GetHeight | ( | ) | const |
Height of the region.
| float eVision::ERectangleRegion::GetWidth | ( | ) | const |
Width of the region.
| eVision::EEditionMode eVision::ERectangleRegion::HitTest | ( | int32_t | x, |
| int32_t | y ) const |
Detects if the cursor is placed over one of the dragging handles.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
Returns a handle identifier, as defined by EEditionMode.
If zooming and/or panning were used when drawing the region, the same values must be used with ERectangleRegion::HitTest and ERectangleRegion::Drag.
|
virtual |
Detects if the cursor is placed over one of the dragging handles.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| frame | Frame to transform coordinates with. |
Returns a handle identifier, as defined by EEditionMode.
If zooming and/or panning were used when drawing the region, the same values must be used with ERectangleRegion::HitTest and ERectangleRegion::Drag.
Reimplemented from eVision::ERegion.
|
virtual |
Detects if the cursor is placed over one of the dragging handles.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| frame | Frame to transform coordinates with. |
| zoomX | Horizontal zoom factor. By default, true scale is used. |
Returns a handle identifier, as defined by EEditionMode.
If zooming and/or panning were used when drawing the region, the same values must be used with ERectangleRegion::HitTest and ERectangleRegion::Drag.
Reimplemented from eVision::ERegion.
|
virtual |
Detects if the cursor is placed over one of the dragging handles.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| frame | Frame to transform coordinates with. |
| zoomX | Horizontal zoom factor. By default, true scale is used. |
| zoomY | Vertical zoom factor. By default, true scale is used. |
Returns a handle identifier, as defined by EEditionMode.
If zooming and/or panning were used when drawing the region, the same values must be used with ERectangleRegion::HitTest and ERectangleRegion::Drag.
Reimplemented from eVision::ERegion.
|
virtual |
Detects if the cursor is placed over one of the dragging handles.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| frame | Frame to transform coordinates with. |
| zoomX | Horizontal zoom factor. By default, true scale is used. |
| zoomY | Vertical zoom factor. By default, true scale is used. |
| panX | Horizontal pan offset. By default, no pan is added. |
Returns a handle identifier, as defined by EEditionMode.
If zooming and/or panning were used when drawing the region, the same values must be used with ERectangleRegion::HitTest and ERectangleRegion::Drag.
Reimplemented from eVision::ERegion.
|
virtual |
Detects if the cursor is placed over one of the dragging handles.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| frame | Frame to transform coordinates with. |
| zoomX | Horizontal zoom factor. By default, true scale is used. |
| zoomY | Vertical zoom factor. By default, true scale is used. |
| panX | Horizontal pan offset. By default, no pan is added. |
| panY | Vertical pan offset. By default, no pan is added. |
Returns a handle identifier, as defined by EEditionMode.
If zooming and/or panning were used when drawing the region, the same values must be used with ERectangleRegion::HitTest and ERectangleRegion::Drag.
Reimplemented from eVision::ERegion.
| eVision::EEditionMode eVision::ERectangleRegion::HitTest | ( | int32_t | x, |
| int32_t | y, | ||
| float | zoomX ) const |
Detects if the cursor is placed over one of the dragging handles.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| zoomX | Horizontal zoom factor. By default, true scale is used. |
Returns a handle identifier, as defined by EEditionMode.
If zooming and/or panning were used when drawing the region, the same values must be used with ERectangleRegion::HitTest and ERectangleRegion::Drag.
| eVision::EEditionMode eVision::ERectangleRegion::HitTest | ( | int32_t | x, |
| int32_t | y, | ||
| float | zoomX, | ||
| float | zoomY ) const |
Detects if the cursor is placed over one of the dragging handles.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| zoomX | Horizontal zoom factor. By default, true scale is used. |
| zoomY | Vertical zoom factor. By default, true scale is used. |
Returns a handle identifier, as defined by EEditionMode.
If zooming and/or panning were used when drawing the region, the same values must be used with ERectangleRegion::HitTest and ERectangleRegion::Drag.
| eVision::EEditionMode eVision::ERectangleRegion::HitTest | ( | int32_t | x, |
| int32_t | y, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) const |
Detects if the cursor is placed over one of the dragging handles.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| zoomX | Horizontal zoom factor. By default, true scale is used. |
| zoomY | Vertical zoom factor. By default, true scale is used. |
| panX | Horizontal pan offset. By default, no pan is added. |
Returns a handle identifier, as defined by EEditionMode.
If zooming and/or panning were used when drawing the region, the same values must be used with ERectangleRegion::HitTest and ERectangleRegion::Drag.
| eVision::EEditionMode eVision::ERectangleRegion::HitTest | ( | int32_t | x, |
| int32_t | y, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) const |
Detects if the cursor is placed over one of the dragging handles.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| zoomX | Horizontal zoom factor. By default, true scale is used. |
| zoomY | Vertical zoom factor. By default, true scale is used. |
| panX | Horizontal pan offset. By default, no pan is added. |
| panY | Vertical pan offset. By default, no pan is added. |
Returns a handle identifier, as defined by EEditionMode.
If zooming and/or panning were used when drawing the region, the same values must be used with ERectangleRegion::HitTest and ERectangleRegion::Drag.
|
virtual |
Checks if a point is inside the rasterized region.
| point | The point to check. |
The coordinates of the point are floored to integer values and we check if they would be present in the rasterized region. This can have unexpected consequences, like (10, 10) not being contained in a ERectangleRegion of width/height 10 centered on (5.1, 5.1) but it guarantees the equivalence with successor classes.
Reimplemented from eVision::ERegion.
|
virtual |
Loads the ERectangleRegion. The given ESerializer must have been created for reading.
| path | The file path. |
Reimplemented from eVision::ERegion.
|
virtual |
Loads the ERectangleRegion. The given ESerializer must have been created for reading.
| serializer | The serializer. |
Reimplemented from eVision::ERegion.
| bool eVision::ERectangleRegion::operator!= | ( | const eVision::ERectangleRegion & | other | ) | const |
Checks if this ERectangleRegion instance is not strictly equal to another.
| other | Reference to the other ERectangleRegion instance |
| eVision::ERectangleRegion & eVision::ERectangleRegion::operator= | ( | const eVision::ERectangleRegion & | other | ) |
Assignment operator.
| other | Reference to the ERectangleRegion used for the assignment |
| bool eVision::ERectangleRegion::operator== | ( | const eVision::ERectangleRegion & | other | ) | const |
Checks if this ERectangleRegion instance is strictly equal to another.
| other | Reference to the other ERectangleRegion instance |
|
virtual |
Creates a new region by rotating the ERectangleRegion around its center.
| angle | rotation angle |
Reimplemented from eVision::ERegion.
|
virtual |
Saves the ERectangleRegion. The given ESerializer must have been created for writing.
| path | The file path. |
Reimplemented from eVision::ERegion.
|
virtual |
Saves the ERectangleRegion. The given ESerializer must have been created for writing.
| serializer | The ESerializer object that is written to. |
Reimplemented from eVision::ERegion.
|
virtual |
Creates a new region by scaling the ERectangleRegion. The center of the ERectangleRegion remains at the same place.
| scale | Isotropic scale |
For anisotropic scaling and a rectangle with an orientation not aligned with the axes, the returned region will not be a rectangle.
Reimplemented from eVision::ERegion.
|
virtual |
Creates a new region by scaling the ERectangleRegion. The center of the ERectangleRegion remains at the same place.
| scaleX | Horizontal scale |
| scaleY | Vertical scale |
For anisotropic scaling and a rectangle with an orientation not aligned with the axes, the returned region will not be a rectangle.
Reimplemented from eVision::ERegion.
| void eVision::ERectangleRegion::SetAngle | ( | float | angle | ) |
Angle of the region.
| void eVision::ERectangleRegion::SetCenter | ( | const eVision::EPoint & | center | ) |
Center of the region.
| void eVision::ERectangleRegion::SetHeight | ( | float | height | ) |
Height of the region.
| void eVision::ERectangleRegion::SetWidth | ( | float | width | ) |
Width of the region.
|
virtual |
Creates a new ERectangleRegion by scaling, rotating and then translating the ERectangleRegion.
| scaleX | x component of the scaling factor applied to the region. |
| scaleY | y component of the scaling factor applied to the region. |
| angle | rotation angle applied to the region. |
| dx | x component of the translation vector. |
| dy | y component of the translation vector. |
Reimplemented from eVision::ERegion.
|
virtual |
Creates a new region by translating the ERectangleRegion.
| dx | Horizontal translation in pixel value |
| dy | Vertical translation in pixel value |
Reimplemented from eVision::ERegion.