The EROIC24A class is used to represent rectangular regions of interest inside C24A color images. See ROIs. More...
#include <eVision/Easy/EROIC24A.h>
Public Member Functions | |
| EROIC24A () | |
| Constructs the EROIC24A object. | |
| EROIC24A (const eVision::EROIC24A &other) | |
| virtual | ~EROIC24A () throw () |
| eVision::EROIC24A & | operator= (const eVision::EROIC24A &other) |
| Assignment operator. | |
| void | SetPixel (eVision::EC24A value, int32_t x, int32_t y) |
| Allows writing a single pixel value in the ROI or image. | |
| void | SetUncheckedPixel (eVision::EC24A value, int32_t x, int32_t y) |
| eVision::EROIC24A * | GetFirstSubROI () |
| See GetFirstSubROI in the derived classes. | |
| virtual void | Serialize (eVision::ESerializer *serializer) |
| eVision::EROIC24A * | GetNextROI (eVision::EBaseROI *startROI) |
| Returns the next ROI in the list starting at startROI or null if there is no next ROI. | |
| eVision::EROIC24A * | GetNextSiblingROI () |
| This method returns the ROI that is the next sibling of this ROI. | |
| eVision::EROIC24A * | GetParent () |
| Returns the hierarchical parent of this object. | |
| const eVision::EROIC24A * | GetParent () const |
| Returns the hierarchical parent of this object. | |
| eVision::EC24A | GetUncheckedPixel (int32_t x, int32_t y) const |
| eVision::EC24A | GetPixel (int32_t x, int32_t y) const |
| Allows reading a single pixel value in the ROI or image. | |
| eVision::EImageC24A * | GetTopParent () |
| Returns the top parent of this object. | |
| const eVision::EImageC24A * | GetTopParent () const |
| Returns the top parent of this object. | |
| eVision::EImageC24A * | GetImage () |
| Returns the image associated with this ROI, or NULL if there is no image associated. | |
| const eVision::EImageC24A * | GetImage () const |
| Returns the image associated with this ROI, or NULL if there is no image associated. | |
| EROIC24A (CppWrapperInternal::InternalConstructor) | |
| Public Member Functions inherited from eVision::EBaseROI | |
| virtual | ~EBaseROI () throw () |
| eVision::EBaseROI * | GetBaseTopParent () |
| Returns the image at the top of the hierarchy, or NULL if there is no image on top. | |
| const eVision::EBaseROI * | GetBaseTopParent () const |
| Returns the image at the top of the hierarchy, or NULL if there is no image on top. | |
| eVision::EBaseROI * | GetBaseImage () |
| Returns the image associated with this ROI, or NULL if there is no image associated. | |
| const eVision::EBaseROI * | GetBaseImage () const |
| Returns the image associated with this ROI, or NULL if there is no image associated. | |
| eVision::EBaseROI * | GetParent () |
| Returns the hierarchical parent of this object. | |
| const eVision::EBaseROI * | GetParent () const |
| Returns the hierarchical parent of this object. | |
| bool | IsAttached () const |
| Returns true if the ROI is attached to an image. | |
| bool | IsAnROI () const |
| Tests whether this object is an ROI or an image. | |
| bool | HasSubROI (const eVision::EBaseROI *subROI) const |
| Tests whether this object has a given attached ROI. | |
| eVision::EBaseROI * | GetFirstSubROI () |
| See GetFirstSubROI in the derived classes. | |
| eVision::EBaseROI * | GetNextSiblingSubROI (eVision::EBaseROI *subROI) |
| This method returns the ROI that is the next sibling of the supplied ROI in the list of sub-ROIs. | |
| eVision::EBaseROI * | GetNextROI (eVision::EBaseROI *startROI) |
| Returns the next ROI in the list starting at startROI or null if there is no next ROI. | |
| eVision::EBaseROI * | GetNextSiblingROI () |
| This method returns the ROI that is the next sibling of this ROI. | |
| int32_t | GetRowPitch () const |
| Gets the pitch of a row (the number of bytes between two vertically adjacent pixels). This is also valid for BW1 images (one bit per pixel). | |
| int32_t | GetColPitch () const |
| Gets the pitch of a column (number of bytes between two horizontally adjacent pixels). For BW1 (one bit per pixel) images, this value is undefined. | |
| uint32_t | GetBitsPerPixel () const |
| Gets the number of storage bits per pixel. | |
| void | SetImagePtr (int32_t width, int32_t height, void *imagePointer, int32_t bitsPerRow) |
| Sets the pointer to an externally allocated image buffer. | |
| void | SetImagePtr (int32_t width, int32_t height, void *imagePointer) |
| Sets the pointer to an externally allocated image buffer. | |
| void | UseExternalBuffer (int32_t width, int32_t height, void *buffer, int32_t rowPitch) |
| Sets the pointer to an externally allocated image buffer. | |
| void * | GetImagePtr (int32_t x, int32_t y) |
| Returns a pointer to the pixel at given coordinates within the image/ROI. | |
| const void * | GetImagePtr (int32_t x, int32_t y) const |
| Returns a pointer to the pixel at given coordinates within the image/ROI. | |
| void * | GetImagePtr () |
| Returns a pointer to the pixel at given coordinates within the image/ROI. | |
| const void * | GetImagePtr () const |
| Returns a pointer to the pixel at given coordinates within the image/ROI. | |
| int32_t | GetOrgX () const |
| Gets or sets the x-coordinate of the upper left corner of the ROI, relative to its parent ROI/image. | |
| void | SetOrgX (int32_t x) |
| Gets or sets the x-coordinate of the upper left corner of the ROI, relative to its parent ROI/image. | |
| int32_t | GetOrgY () const |
| Gets or sets the y-coordinate of the upper left corner of the ROI, relative to its parent ROI/image. | |
| void | SetOrgY (int32_t y) |
| Gets or sets the y-coordinate of the upper left corner of the ROI, relative to its parent ROI/image. | |
| int32_t | GetWidth () const |
| If EBaseROI is a ROI, gets or sets the width of the ROI. Otherwise, if EBaseROI is an image, gets or sets the width of the image (SetWidth has the same effect as EBaseROI::SetSize). | |
| void | SetWidth (int32_t w) |
| If EBaseROI is a ROI, gets or sets the width of the ROI. Otherwise, if EBaseROI is an image, gets or sets the width of the image (SetWidth has the same effect as EBaseROI::SetSize). | |
| int32_t | GetHeight () const |
| If EBaseROI is a ROI, gets or sets the height of the ROI. Otherwise, if EBaseROI is an image, gets or sets the height of the image (SetHeight has the same effect as EBaseROI::SetSize). | |
| void | SetHeight (int32_t h) |
| If EBaseROI is a ROI, gets or sets the height of the ROI. Otherwise, if EBaseROI is an image, gets or sets the height of the image (SetHeight has the same effect as EBaseROI::SetSize). | |
| void | CropToImage () |
| This method reduces the ROI size so that it is completely contained within its topmost parent image bounds (if such an image exists at the top of the hierarchy). This means that, after calling this method, either the ROI has a zero size, or all of its pixels map to valid pixels of the underlying image buffer. If the ROI is already contained within its parent image bounds, then this method does nothing. | |
| bool | IsVoid () const |
| Tests if the topmost parent image of this hierarchy has a zero size. | |
| void | SetPlacement (int32_t originX, int32_t originY, int32_t width, int32_t height) |
| Sets the placement of an ROI, relative to its parent ROI/image. | |
| void | SetPlacement (const eVision::ERegion ®ion, int32_t paddingTop, int32_t paddingBottom, int32_t paddingLeft, int32_t paddingRight) |
| Sets the placement of an ROI, relative to its parent ROI/image. | |
| void | SetPlacement (const eVision::ERegion ®ion, int32_t paddingTop, int32_t paddingBottom, int32_t paddingLeft) |
| Sets the placement of an ROI, relative to its parent ROI/image. | |
| void | SetPlacement (const eVision::ERegion ®ion, int32_t paddingTop, int32_t paddingBottom) |
| Sets the placement of an ROI, relative to its parent ROI/image. | |
| void | SetPlacement (const eVision::ERegion ®ion, int32_t paddingTop) |
| Sets the placement of an ROI, relative to its parent ROI/image. | |
| void | SetPlacement (const eVision::ERegion ®ion) |
| Sets the placement of an ROI, relative to its parent ROI/image. | |
| void | SetPlacement (const eVision::ERegion ®ion, const eVision::EFrame &frame, int32_t paddingTop, int32_t paddingBottom, int32_t paddingLeft, int32_t paddingRight) |
| Sets the placement of an ROI, relative to its parent ROI/image. | |
| void | SetPlacement (const eVision::ERegion ®ion, const eVision::EFrame &frame, int32_t paddingTop, int32_t paddingBottom, int32_t paddingLeft) |
| Sets the placement of an ROI, relative to its parent ROI/image. | |
| void | SetPlacement (const eVision::ERegion ®ion, const eVision::EFrame &frame, int32_t paddingTop, int32_t paddingBottom) |
| Sets the placement of an ROI, relative to its parent ROI/image. | |
| void | SetPlacement (const eVision::ERegion ®ion, const eVision::EFrame &frame, int32_t paddingTop) |
| Sets the placement of an ROI, relative to its parent ROI/image. | |
| void | SetPlacement (const eVision::ERegion ®ion, const eVision::EFrame &frame) |
| Sets the placement of an ROI, relative to its parent ROI/image. | |
| std::vector< eVision::EBaseROI * > | GetSubBaseROIs (bool recursive) |
| Returns all the children, and possibly recursively all their children, too. | |
| std::vector< eVision::EBaseROI * > | GetSubBaseROIs () |
| Returns all the children, and possibly recursively all their children, too. | |
| std::vector< const eVision::EBaseROI * > | GetSubBaseROIs (bool recursive) const |
| Returns all the children, and possibly recursively all their children, too. | |
| std::vector< const eVision::EBaseROI * > | GetSubBaseROIs () const |
| Returns all the children, and possibly recursively all their children, too. | |
| eVision::EDragHandle | 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::EDragHandle | 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::EDragHandle | HitTest (int32_t x, int32_t y, float zoomX, float zoomY) |
| Detects if the cursor is placed over one of the dragging handles. | |
| eVision::EDragHandle | HitTest (int32_t x, int32_t y, float zoomX) |
| Detects if the cursor is placed over one of the dragging handles. | |
| eVision::EDragHandle | HitTest (int32_t x, int32_t y) |
| Detects if the cursor is placed over one of the dragging handles. | |
| bool | IsPointInside (const eVision::EPoint &position) const |
| Detects if the position is inside current ROI. | |
| bool | IsPixelInside (int32_t x, int32_t y) const |
| Detects if a pixel (given its x and y coordinates) is inside current ROI. | |
| int32_t | GetTotalOrgX () const |
| Gets the x-coordinate of the upper left pixel of the ROI, relative to its topmost parent upper left pixel. | |
| int32_t | GetTotalOrgY () const |
| Gets the y-coordinate of the upper left pixel of the ROI, relative to its topmost parent upper left pixel. | |
| int32_t | GetTotalWidth () const |
| Gets the width, in pixels, of the ROI topmost parent. | |
| int32_t | GetTotalHeight () const |
| Gets the height, in pixels, of the ROI topmost parent. | |
| void | Drag (eVision::EDragHandle dragHandle, 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 ROI. | |
| void | Drag (eVision::EDragHandle dragHandle, 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 ROI. | |
| void | Drag (eVision::EDragHandle dragHandle, 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 ROI. | |
| void | Drag (eVision::EDragHandle dragHandle, int32_t x, int32_t y, float zoomX) |
| Moves the specified handle to a new position and updates all placement parameters of the ROI. | |
| void | Drag (eVision::EDragHandle dragHandle, int32_t x, int32_t y) |
| Moves the specified handle to a new position and updates all placement parameters of the ROI. | |
| void | Detach () |
| void | Attach (eVision::EBaseROI *parent) |
| This method attaches the ROI to another ROI or image. | |
| void | Attach (eVision::EBaseROI *parent, int orgX, int orgY, int width, int height) |
| This method attaches the ROI to another ROI or image. | |
| void | Attach (eVision::EBaseROI *parent, int orgX, int orgY, int width) |
| This method attaches the ROI to another ROI or image. | |
| void | Attach (eVision::EBaseROI *parent, int orgX, int orgY) |
| This method attaches the ROI to another ROI or image. | |
| void | Attach (eVision::EBaseROI *parent, const eVision::ERegion ®ion, int32_t paddingTop, int32_t paddingBottom, int32_t paddingLeft, int32_t paddingRight) |
| This method attaches the ROI to another ROI or image. | |
| void | Attach (eVision::EBaseROI *parent, const eVision::ERegion ®ion, int32_t paddingTop, int32_t paddingBottom, int32_t paddingLeft) |
| This method attaches the ROI to another ROI or image. | |
| void | Attach (eVision::EBaseROI *parent, const eVision::ERegion ®ion, int32_t paddingTop, int32_t paddingBottom) |
| This method attaches the ROI to another ROI or image. | |
| void | Attach (eVision::EBaseROI *parent, const eVision::ERegion ®ion, int32_t paddingTop) |
| This method attaches the ROI to another ROI or image. | |
| void | Attach (eVision::EBaseROI *parent, const eVision::ERegion ®ion) |
| This method attaches the ROI to another ROI or image. | |
| void | Attach (eVision::EBaseROI *parent, const eVision::ERegion ®ion, const eVision::EFrame &frame, int32_t paddingTop, int32_t paddingBottom, int32_t paddingLeft, int32_t paddingRight) |
| This method attaches the ROI to another ROI or image. | |
| void | Attach (eVision::EBaseROI *parent, const eVision::ERegion ®ion, const eVision::EFrame &frame, int32_t paddingTop, int32_t paddingBottom, int32_t paddingLeft) |
| This method attaches the ROI to another ROI or image. | |
| void | Attach (eVision::EBaseROI *parent, const eVision::ERegion ®ion, const eVision::EFrame &frame, int32_t paddingTop, int32_t paddingBottom) |
| This method attaches the ROI to another ROI or image. | |
| void | Attach (eVision::EBaseROI *parent, const eVision::ERegion ®ion, const eVision::EFrame &frame, int32_t paddingTop) |
| This method attaches the ROI to another ROI or image. | |
| void | Attach (eVision::EBaseROI *parent, const eVision::ERegion ®ion, const eVision::EFrame &frame) |
| This method attaches the ROI to another ROI or image. | |
| void | CopyTo (eVision::EBaseROI &dest) const |
| Copies all the data of the current EBaseROI object into another EBaseROI object and returns it. | |
| void | CopyTo (eVision::EBaseROI *dest) const |
| Copies all the data of the current EBaseROI object into another EBaseROI object and returns it. | |
| uint32_t | GetPlanesPerPixel () const |
| Gets the number of color components in each pixel of the ROI/image. | |
| eVision::EColorSystem | GetColorSystem () const |
| Gets or sets the color system used by this image, as defined by the EColorSystem enumeration. | |
| void | SetColorSystem (eVision::EColorSystem colorSystem) |
| Gets or sets the color system used by this image, as defined by the EColorSystem enumeration. | |
| eVision::EImageType | GetType () const |
| Gets the ROI/image pixel type, as defined by the EImageType enumeration. | |
| void | SetSize (int32_t width, int32_t height) |
| Sets the width and height of an ROI/image. | |
| void | SetSize (const eVision::EBaseROI *other) |
| Sets the width and height of an ROI/image. | |
| void | DrawFrame (eVision::EDrawAdapter *graphicContext, eVision::EFramePosition framePosition, bool handles, float zoomX, float zoomY, float panX, float panY) const |
| Draws a rectangular frame around an image or ROI. | |
| void | DrawFrame (eVision::EDrawAdapter *graphicContext, eVision::EFramePosition framePosition, bool handles, float zoomX, float zoomY, float panX) const |
| Draws a rectangular frame around an image or ROI. | |
| void | DrawFrame (eVision::EDrawAdapter *graphicContext, eVision::EFramePosition framePosition, bool handles, float zoomX, float zoomY) const |
| Draws a rectangular frame around an image or ROI. | |
| void | DrawFrame (eVision::EDrawAdapter *graphicContext, eVision::EFramePosition framePosition, bool handles, float zoomX) const |
| Draws a rectangular frame around an image or ROI. | |
| void | DrawFrame (eVision::EDrawAdapter *graphicContext, eVision::EFramePosition framePosition, bool handles) const |
| Draws a rectangular frame around an image or ROI. | |
| void | DrawFrame (eVision::EDrawAdapter *graphicContext, bool handles, float zoomX, float zoomY, float panX, float panY) const |
| Draws a rectangular frame around an image or ROI. | |
| void | DrawFrame (eVision::EDrawAdapter *graphicContext, bool handles, float zoomX, float zoomY, float panX) const |
| Draws a rectangular frame around an image or ROI. | |
| void | DrawFrame (eVision::EDrawAdapter *graphicContext, bool handles, float zoomX, float zoomY) const |
| Draws a rectangular frame around an image or ROI. | |
| void | DrawFrame (eVision::EDrawAdapter *graphicContext, bool handles, float zoomX) const |
| Draws a rectangular frame around an image or ROI. | |
| void | DrawFrame (eVision::EDrawAdapter *graphicContext, bool handles) const |
| Draws a rectangular frame around an image or ROI. | |
| void | DrawFrame (HDC graphicContext, bool handles, float zoomX, float zoomY, float panX, float panY) const |
| Draws a rectangular frame around an image or ROI. | |
| void | DrawFrame (HDC graphicContext, bool handles, float zoomX, float zoomY, float panX) const |
| Draws a rectangular frame around an image or ROI. | |
| void | DrawFrame (HDC graphicContext, bool handles, float zoomX, float zoomY) const |
| Draws a rectangular frame around an image or ROI. | |
| void | DrawFrame (HDC graphicContext, bool handles, float zoomX) const |
| Draws a rectangular frame around an image or ROI. | |
| void | DrawFrame (HDC graphicContext, bool handles) const |
| Draws a rectangular frame around an image or ROI. | |
| void | DrawFrame (HDC graphicContext, eVision::EFramePosition framePosition, bool handles, float zoomX, float zoomY, float panX, float panY) const |
| Draws a rectangular frame around an image or ROI. | |
| void | DrawFrame (HDC graphicContext, eVision::EFramePosition framePosition, bool handles, float zoomX, float zoomY, float panX) const |
| Draws a rectangular frame around an image or ROI. | |
| void | DrawFrame (HDC graphicContext, eVision::EFramePosition framePosition, bool handles, float zoomX, float zoomY) const |
| Draws a rectangular frame around an image or ROI. | |
| void | DrawFrame (HDC graphicContext, eVision::EFramePosition framePosition, bool handles, float zoomX) const |
| Draws a rectangular frame around an image or ROI. | |
| void | DrawFrame (HDC graphicContext, eVision::EFramePosition framePosition, bool handles) const |
| Draws a rectangular frame around an image or ROI. | |
| void | DrawFrame (HDC graphicContext, const eVision::ERGBColor &color, bool handles, float zoomX, float zoomY, float panX, float panY) const |
| Draws a rectangular frame around an image or ROI. | |
| void | DrawFrame (HDC graphicContext, const eVision::ERGBColor &color, bool handles, float zoomX, float zoomY, float panX) const |
| Draws a rectangular frame around an image or ROI. | |
| void | DrawFrame (HDC graphicContext, const eVision::ERGBColor &color, bool handles, float zoomX, float zoomY) const |
| Draws a rectangular frame around an image or ROI. | |
| void | DrawFrame (HDC graphicContext, const eVision::ERGBColor &color, bool handles, float zoomX) const |
| Draws a rectangular frame around an image or ROI. | |
| void | DrawFrame (HDC graphicContext, const eVision::ERGBColor &color, bool handles) const |
| Draws a rectangular frame around an image or ROI. | |
| void | Draw (eVision::EDrawAdapter *graphicContext, float zoomX, float zoomY, float panX, float panY) const |
| Draws an ROI/image in a device context. | |
| void | Draw (eVision::EDrawAdapter *graphicContext, float zoomX, float zoomY, float panX) const |
| Draws an ROI/image in a device context. | |
| void | Draw (eVision::EDrawAdapter *graphicContext, float zoomX, float zoomY) const |
| Draws an ROI/image in a device context. | |
| void | Draw (eVision::EDrawAdapter *graphicContext, float zoomX) const |
| Draws an ROI/image in a device context. | |
| void | Draw (eVision::EDrawAdapter *graphicContext) const |
| Draws an ROI/image in a device context. | |
| void | Draw (eVision::EDrawAdapter *graphicContext, eVision::EC24Vector *c24Vector, float zoomX, float zoomY, float panX, float panY) const |
| Draws an ROI/image in a device context. | |
| void | Draw (eVision::EDrawAdapter *graphicContext, eVision::EC24Vector *c24Vector, float zoomX, float zoomY, float panX) const |
| Draws an ROI/image in a device context. | |
| void | Draw (eVision::EDrawAdapter *graphicContext, eVision::EC24Vector *c24Vector, float zoomX, float zoomY) const |
| Draws an ROI/image in a device context. | |
| void | Draw (eVision::EDrawAdapter *graphicContext, eVision::EC24Vector *c24Vector, float zoomX) const |
| Draws an ROI/image in a device context. | |
| void | Draw (eVision::EDrawAdapter *graphicContext, eVision::EC24Vector *c24Vector) const |
| Draws an ROI/image in a device context. | |
| void | Draw (eVision::EDrawAdapter *graphicContext, eVision::EBW8Vector *bw8Vector, float zoomX, float zoomY, float panX, float panY) const |
| Draws an ROI/image in a device context. | |
| void | Draw (eVision::EDrawAdapter *graphicContext, eVision::EBW8Vector *bw8Vector, float zoomX, float zoomY, float panX) const |
| Draws an ROI/image in a device context. | |
| void | Draw (eVision::EDrawAdapter *graphicContext, eVision::EBW8Vector *bw8Vector, float zoomX, float zoomY) const |
| Draws an ROI/image in a device context. | |
| void | Draw (eVision::EDrawAdapter *graphicContext, eVision::EBW8Vector *bw8Vector, float zoomX) const |
| Draws an ROI/image in a device context. | |
| void | Draw (eVision::EDrawAdapter *graphicContext, eVision::EBW8Vector *bw8Vector) const |
| Draws an ROI/image in a device context. | |
| void | Draw (HDC graphicContext, float zoomX, float zoomY, float panX, float panY) const |
| Draws an ROI/image in a device context. | |
| void | Draw (HDC graphicContext, float zoomX, float zoomY, float panX) const |
| Draws an ROI/image in a device context. | |
| void | Draw (HDC graphicContext, float zoomX, float zoomY) const |
| Draws an ROI/image in a device context. | |
| void | Draw (HDC graphicContext, float zoomX) const |
| Draws an ROI/image in a device context. | |
| void | Draw (HDC graphicContext) const |
| Draws an ROI/image in a device context. | |
| void | Draw (HDC graphicContext, eVision::EC24Vector *c24Vector, float zoomX, float zoomY, float panX, float panY) const |
| Draws an ROI/image in a device context. | |
| void | Draw (HDC graphicContext, eVision::EC24Vector *c24Vector, float zoomX, float zoomY, float panX) const |
| Draws an ROI/image in a device context. | |
| void | Draw (HDC graphicContext, eVision::EC24Vector *c24Vector, float zoomX, float zoomY) const |
| Draws an ROI/image in a device context. | |
| void | Draw (HDC graphicContext, eVision::EC24Vector *c24Vector, float zoomX) const |
| Draws an ROI/image in a device context. | |
| void | Draw (HDC graphicContext, eVision::EC24Vector *c24Vector) const |
| Draws an ROI/image in a device context. | |
| void | Draw (HDC graphicContext, eVision::EBW8Vector *bw8Vector, float zoomX, float zoomY, float panX, float panY) const |
| Draws an ROI/image in a device context. | |
| void | Draw (HDC graphicContext, eVision::EBW8Vector *bw8Vector, float zoomX, float zoomY, float panX) const |
| Draws an ROI/image in a device context. | |
| void | Draw (HDC graphicContext, eVision::EBW8Vector *bw8Vector, float zoomX, float zoomY) const |
| Draws an ROI/image in a device context. | |
| void | Draw (HDC graphicContext, eVision::EBW8Vector *bw8Vector, float zoomX) const |
| Draws an ROI/image in a device context. | |
| void | Draw (HDC graphicContext, eVision::EBW8Vector *bw8Vector) const |
| Draws an ROI/image in a device context. | |
| void | DrawFrameWithCurrentPen (HDC graphicContext, bool handles, float zoomX, float zoomY, float panX, float panY) const |
| Draws a rectangular frame around an image or ROI. | |
| void | DrawFrameWithCurrentPen (HDC graphicContext, bool handles, float zoomX, float zoomY, float panX) const |
| Draws a rectangular frame around an image or ROI. | |
| void | DrawFrameWithCurrentPen (HDC graphicContext, bool handles, float zoomX, float zoomY) const |
| Draws a rectangular frame around an image or ROI. | |
| void | DrawFrameWithCurrentPen (HDC graphicContext, bool handles, float zoomX) const |
| Draws a rectangular frame around an image or ROI. | |
| void | DrawFrameWithCurrentPen (HDC graphicContext, bool handles) const |
| Draws a rectangular frame around an image or ROI. | |
| void | DrawFrameWithCurrentPen (HDC graphicContext, eVision::EFramePosition framePosition, bool handles, float zoomX, float zoomY, float panX, float panY) const |
| Draws a rectangular frame around an image or ROI. | |
| void | DrawFrameWithCurrentPen (HDC graphicContext, eVision::EFramePosition framePosition, bool handles, float zoomX, float zoomY, float panX) const |
| Draws a rectangular frame around an image or ROI. | |
| void | DrawFrameWithCurrentPen (HDC graphicContext, eVision::EFramePosition framePosition, bool handles, float zoomX, float zoomY) const |
| Draws a rectangular frame around an image or ROI. | |
| void | DrawFrameWithCurrentPen (HDC graphicContext, eVision::EFramePosition framePosition, bool handles, float zoomX) const |
| Draws a rectangular frame around an image or ROI. | |
| void | DrawFrameWithCurrentPen (HDC graphicContext, eVision::EFramePosition framePosition, bool handles) const |
| Draws a rectangular frame around an image or ROI. | |
| void | Load (const std::string &path) |
| Restores an image stored in the given file. | |
| void | Load (eVision::ESerializer *serializer) |
| Restores an image stored in the given file. | |
| void | Save (const std::string &path, eVision::EImageFileType type) const |
| Saves the EBaseROI object to the given file. | |
| void | Save (const std::string &path) const |
| Saves the EBaseROI object to the given file. | |
| void | Save (eVision::ESerializer *serializer) const |
| Saves the EBaseROI object to the given file. | |
| void | SavePng (const std::string &path, int compression) const |
| Saves the EBaseROI object to the given file, in PNG format. | |
| void | SavePng (const std::string &path) const |
| Saves the EBaseROI object to the given file, in PNG format. | |
| void | SaveJpeg (const std::string &path, int quality) const |
| Saves the EBaseROI object to the given file, in JPEG format. | |
| void | SaveJpeg (const std::string &path) const |
| Saves the EBaseROI object to the given file, in JPEG format. | |
| void | SaveJpeg2K (const std::string &path, int quality) const |
| Saves the EBaseROI object to the given file, in JPEG 2000 format. | |
| void | SaveJpeg2K (const std::string &path) const |
| Saves the EBaseROI object to the given file, in JPEG 2000 format. | |
| std::string | GetAuthor () const |
| Gets or sets the Author attribute of the ROI/image. This is a convenience property that allows storing some information in the ROI/image. Please note that not all file formats preserve this information. | |
| void | SetAuthor (const std::string &author) |
| Gets or sets the Author attribute of the ROI/image. This is a convenience property that allows storing some information in the ROI/image. Please note that not all file formats preserve this information. | |
| std::string | GetComment () const |
| Gets or sets the Comment attribute of the ROI/image. This is a convenience property that allows storing some information in the ROI/image. Please note that not all file formats preserve this information. | |
| void | SetComment (const std::string &comment) |
| Gets or sets the Comment attribute of the ROI/image. This is a convenience property that allows storing some information in the ROI/image. Please note that not all file formats preserve this information. | |
| std::string | GetDate () const |
| Gets or sets the Date attribute of the ROI/image. This is a convenience property that allows storing some information in the ROI/image. Please note that not all file formats preserve this information. | |
| void | SetDate (const std::string &date) |
| Gets or sets the Date attribute of the ROI/image. This is a convenience property that allows storing some information in the ROI/image. Please note that not all file formats preserve this information. | |
| std::string | GetTitle () const |
| Gets or sets the Title attribute of the ROI/image. This is a convenience property that allows storing some information in the ROI/image. Please note that not all file formats preserve this information. | |
| void | SetTitle (const std::string &title) |
| Gets or sets the Title attribute of the ROI/image. This is a convenience property that allows storing some information in the ROI/image. Please note that not all file formats preserve this information. | |
| EBaseROI (CppWrapperInternal::InternalConstructor) | |
Additional Inherited Members | |
| Public Attributes inherited from eVision::EBaseROI | |
| CppWrapperInternal::WrappedClass | wrappedClass_ |
The EROIC24A class is used to represent rectangular regions of interest inside C24A color images. See ROIs.
License(s): BasicTypes
| eVision::EROIC24A::EROIC24A | ( | ) |
Constructs the EROIC24A object.
| eVision::EROIC24A::EROIC24A | ( | const eVision::EROIC24A & | other | ) |
| other | The other EROIC24A that we will copy into this one. |
|
virtual | ||||||||||||
| eVision::EROIC24A::EROIC24A | ( | CppWrapperInternal::InternalConstructor | ) |
| eVision::EROIC24A * eVision::EROIC24A::GetFirstSubROI | ( | ) |
See GetFirstSubROI in the derived classes.
Deprecated due to the high runtime cost on all operations of maintaining a ROI hierarchy.
If a ROI hierarchy is necessary it is now recommended to maintain it outside of ROI and Image classes.
Deprecated in version 26.10. Scheduled to be removed in version 27.10.
| eVision::EImageC24A * eVision::EROIC24A::GetImage | ( | ) |
Returns the image associated with this ROI, or NULL if there is no image associated.
| const eVision::EImageC24A * eVision::EROIC24A::GetImage | ( | ) | const |
Returns the image associated with this ROI, or NULL if there is no image associated.
| eVision::EROIC24A * eVision::EROIC24A::GetNextROI | ( | eVision::EBaseROI * | startROI | ) |
Returns the next ROI in the list starting at startROI or null if there is no next ROI.
| startROI | the first ROI in the list. |
Deprecated due to the high runtime cost on all operations of maintaining a ROI hierarchy.
If a ROI hierarchy is necessary it is now recommended to maintain it outside of ROI and Image classes.
Deprecated in version 26.10. Scheduled to be removed in version 27.10.
| eVision::EROIC24A * eVision::EROIC24A::GetNextSiblingROI | ( | ) |
This method returns the ROI that is the next sibling of this ROI.
Deprecated due to the high runtime cost on all operations of maintaining a ROI hierarchy.
If a ROI hierarchy is necessary it is now recommended to maintain it outside of ROI and Image classes.
Deprecated in version 26.10. Scheduled to be removed in version 27.10.
| eVision::EROIC24A * eVision::EROIC24A::GetParent | ( | ) |
Returns the hierarchical parent of this object.
Deprecated due to the high runtime cost on all operations of maintaining a ROI hierarchy.
If a ROI hierarchy is necessary it is now recommended to maintain it outside of ROI and Image classes.
Deprecated in version 26.10. Scheduled to be removed in version 27.10.
| const eVision::EROIC24A * eVision::EROIC24A::GetParent | ( | ) | const |
Returns the hierarchical parent of this object.
Deprecated due to the high runtime cost on all operations of maintaining a ROI hierarchy.
If a ROI hierarchy is necessary it is now recommended to maintain it outside of ROI and Image classes.
Deprecated in version 26.10. Scheduled to be removed in version 27.10.
| eVision::EC24A eVision::EROIC24A::GetPixel | ( | int32_t | x, |
| int32_t | y ) const |
Allows reading a single pixel value in the ROI or image.
| x | Offset of the pixel on the x axis. |
| y | Offset of the pixel on the y axis. |
Although coordinates outside of the ROI can be supplied, this function will raise an error condition if the coordinates are outside of the top parent image.
It should be noted that calling this function several thousand times can be slow. The recommended way to access pixel content in an image or ROI is to use the EBaseROI::GetImagePtr and EBaseROI::UseExternalBuffer functions. For BW8 images/ROIs, using the C++ API only, it is possible to access pixels data faster through an intermediate object: EBW8PixelAccessor.
| eVision::EImageC24A * eVision::EROIC24A::GetTopParent | ( | ) |
Returns the top parent of this object.
Use EROIC24A::GetImage instead.
Deprecated in version 26.10. Scheduled to be removed in version 27.10.
| const eVision::EImageC24A * eVision::EROIC24A::GetTopParent | ( | ) | const |
Returns the top parent of this object.
Use EROIC24A::GetImage instead.
Deprecated in version 26.10. Scheduled to be removed in version 27.10.
| eVision::EC24A eVision::EROIC24A::GetUncheckedPixel | ( | int32_t | x, |
| int32_t | y ) const |
| eVision::EROIC24A & eVision::EROIC24A::operator= | ( | const eVision::EROIC24A & | other | ) |
Assignment operator.
| other | The other EROIC24A that we will copy into this one. |
|
virtual |
Use EBaseROI::Save or EBaseROI::Load instead.
Deprecated in version 24.10. Scheduled to be removed in version 27.6.
Implements eVision::EBaseROI.
Reimplemented in eVision::EImageC24A.
| void eVision::EROIC24A::SetPixel | ( | eVision::EC24A | value, |
| int32_t | x, | ||
| int32_t | y ) |
Allows writing a single pixel value in the ROI or image.
| value | value to set the pixel to. |
| x | Offset of the pixel on the x axis. |
| y | Offset of the pixel on the y axis. |
Although coordinates outside of the ROI can be supplied, this function will raise an error condition if the coordinates are outside of the top parent image.
It should be noted that calling this function several thousand times can be slow. The recommended way to access pixel content in an image or ROI is to use the EBaseROI::GetImagePtr and EBaseROI::UseExternalBuffer functions. For BW8 images/ROIs, using the C++ API only, it is possible to access pixels data faster through an intermediate object: EBW8PixelAccessor.
| void eVision::EROIC24A::SetUncheckedPixel | ( | eVision::EC24A | value, |
| int32_t | x, | ||
| int32_t | y ) |