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

The EROIBW32f class is used to represent rectangular regions of interest inside BW32f gray-level images. See ROIs. More...

#include <eVision/Easy/EROIBW32f.h>

Inheritance diagram for eVision::EROIBW32f:
Collaboration diagram for eVision::EROIBW32f:

Public Member Functions

 EROIBW32f ()
 Constructs the EROIBW32f object.
 EROIBW32f (const eVision::EROIBW32f &other)
virtual ~EROIBW32f () throw ()
eVision::EROIBW32f & operator= (const eVision::EROIBW32f &other)
 Assignment operator.
void SetPixel (eVision::EBW32f value, int32_t x, int32_t y)
 Allows writing a single pixel value in the ROI or image.
void SetUncheckedPixel (eVision::EBW32f value, int32_t x, int32_t y)
eVision::EROIBW32f * GetFirstSubROI ()
 See GetFirstSubROI in the derived classes.
virtual void Serialize (eVision::ESerializer *serializer)
eVision::EROIBW32f * GetNextROI (eVision::EBaseROI *startROI)
 Returns the next ROI in the list starting at startROI or null if there is no next ROI.
eVision::EROIBW32f * GetNextSiblingROI ()
 This method returns the ROI that is the next sibling of this ROI.
eVision::EROIBW32f * GetParent ()
 Returns the hierarchical parent of this object.
const eVision::EROIBW32f * GetParent () const
 Returns the hierarchical parent of this object.
eVision::EBW32f GetUncheckedPixel (int32_t x, int32_t y) const
eVision::EBW32f GetPixel (int32_t x, int32_t y) const
 Allows reading a single pixel value in the ROI or image.
eVision::EImageBW32f * GetTopParent ()
 Returns the top parent of this object.
const eVision::EImageBW32f * GetTopParent () const
 Returns the top parent of this object.
eVision::EImageBW32f * GetImage ()
 Returns the image associated with this ROI, or NULL if there is no image associated.
const eVision::EImageBW32f * GetImage () const
 Returns the image associated with this ROI, or NULL if there is no image associated.
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 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 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 Save (const std::string &path, eVision::EImageFileType type) const
 Saves the EROIBW32f object to the given file.
void Save (const std::string &path) const
 Saves the EROIBW32f object to the given file.
void Save (eVision::ESerializer *serializer) const
 Saves the EROIBW32f object to the given file.
void Load (const std::string &path)
 Loads the EROIBW32f object from the given file.
void Load (eVision::ESerializer *serializer)
 Loads the EROIBW32f object from the given file.
void SavePng (const std::string &path, int compression) const
 As the PNG format does not work with floating point data, calling this function throws an exception.
void SavePng (const std::string &path) const
 As the PNG format does not work with floating point data, calling this function throws an exception.
void SaveJpeg (const std::string &path, int quality) const
 As the JPEG format does not work with floating point data, calling this function throws an exception.
void SaveJpeg (const std::string &path) const
 As the JPEG format does not work with floating point data, calling this function throws an exception.
void SaveJpeg2K (const std::string &path, int quality) const
 As the JPEG 2000 format does not work with floating point data, calling this function throws an exception.
void SaveJpeg2K (const std::string &path) const
 As the JPEG 2000 format does not work with floating point data, calling this function throws an exception.
 EROIBW32f (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 &region, 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 &region, 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 &region, int32_t paddingTop, int32_t paddingBottom)
 Sets the placement of an ROI, relative to its parent ROI/image.
void SetPlacement (const eVision::ERegion &region, int32_t paddingTop)
 Sets the placement of an ROI, relative to its parent ROI/image.
void SetPlacement (const eVision::ERegion &region)
 Sets the placement of an ROI, relative to its parent ROI/image.
void SetPlacement (const eVision::ERegion &region, 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 &region, 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 &region, 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 &region, const eVision::EFrame &frame, int32_t paddingTop)
 Sets the placement of an ROI, relative to its parent ROI/image.
void SetPlacement (const eVision::ERegion &region, 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 &region, 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 &region, 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 &region, int32_t paddingTop, int32_t paddingBottom)
 This method attaches the ROI to another ROI or image.
void Attach (eVision::EBaseROI *parent, const eVision::ERegion &region, int32_t paddingTop)
 This method attaches the ROI to another ROI or image.
void Attach (eVision::EBaseROI *parent, const eVision::ERegion &region)
 This method attaches the ROI to another ROI or image.
void Attach (eVision::EBaseROI *parent, const eVision::ERegion &region, 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 &region, 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 &region, 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 &region, 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 &region, 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_

Detailed Description

The EROIBW32f class is used to represent rectangular regions of interest inside BW32f gray-level images. See ROIs.

License(s): BasicTypes

Constructor & Destructor Documentation

◆ EROIBW32f() [1/3]

eVision::EROIBW32f::EROIBW32f ( )

Constructs the EROIBW32f object.

◆ EROIBW32f() [2/3]

eVision::EROIBW32f::EROIBW32f ( const eVision::EROIBW32f & other)
Parameters
otherThe other EROIBW32f that we will copy into this one.

◆ ~EROIBW32f()

eVision::EROIBW32f::~EROIBW32f ( )
throw ( )
virtual

◆ EROIBW32f() [3/3]

eVision::EROIBW32f::EROIBW32f ( CppWrapperInternal::InternalConstructor )

Member Function Documentation

◆ Draw() [1/30]

void eVision::EROIBW32f::Draw ( eVision::EDrawAdapter * graphicContext) const

Draws an ROI/image in a device context.

Parameters
graphicContextHandle to the device context of the destination window.

An ROI/image can be drawn (its pixels rendered) using a device context.

The horizontal and vertical zooming factors can be different and must be contained in the 1/16..16 range. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)

◆ Draw() [2/30]

void eVision::EROIBW32f::Draw ( eVision::EDrawAdapter * graphicContext,
eVision::EBW8Vector * bw8Vector ) const

Draws an ROI/image in a device context.

Parameters
graphicContextHandle to the device context of the destination window.
bw8VectorWhen supplied, this parameter allows using a LUT that maps from BW8 to BW8 when drawing.

An ROI/image can be drawn (its pixels rendered) using a device context.

The horizontal and vertical zooming factors can be different and must be contained in the 1/16..16 range. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)

◆ Draw() [3/30]

void eVision::EROIBW32f::Draw ( eVision::EDrawAdapter * graphicContext,
eVision::EBW8Vector * bw8Vector,
float zoomX ) const

Draws an ROI/image in a device context.

Parameters
graphicContextHandle to the device context of the destination window.
bw8VectorWhen supplied, this parameter allows using a LUT that maps from BW8 to BW8 when drawing.
zoomXMagnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale.

An ROI/image can be drawn (its pixels rendered) using a device context.

The horizontal and vertical zooming factors can be different and must be contained in the 1/16..16 range. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)

◆ Draw() [4/30]

void eVision::EROIBW32f::Draw ( eVision::EDrawAdapter * graphicContext,
eVision::EBW8Vector * bw8Vector,
float zoomX,
float zoomY ) const

Draws an ROI/image in a device context.

Parameters
graphicContextHandle to the device context of the destination window.
bw8VectorWhen supplied, this parameter allows using a LUT that maps from BW8 to BW8 when drawing.
zoomXMagnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale.
zoomYMagnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors).

An ROI/image can be drawn (its pixels rendered) using a device context.

The horizontal and vertical zooming factors can be different and must be contained in the 1/16..16 range. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)

◆ Draw() [5/30]

void eVision::EROIBW32f::Draw ( eVision::EDrawAdapter * graphicContext,
eVision::EBW8Vector * bw8Vector,
float zoomX,
float zoomY,
float panX ) const

Draws an ROI/image in a device context.

Parameters
graphicContextHandle to the device context of the destination window.
bw8VectorWhen supplied, this parameter allows using a LUT that maps from BW8 to BW8 when drawing.
zoomXMagnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale.
zoomYMagnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors).
panXHorizontal panning value expressed in pixels. By default, no panning occurs.

An ROI/image can be drawn (its pixels rendered) using a device context.

The horizontal and vertical zooming factors can be different and must be contained in the 1/16..16 range. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)

◆ Draw() [6/30]

void eVision::EROIBW32f::Draw ( eVision::EDrawAdapter * graphicContext,
eVision::EBW8Vector * bw8Vector,
float zoomX,
float zoomY,
float panX,
float panY ) const

Draws an ROI/image in a device context.

Parameters
graphicContextHandle to the device context of the destination window.
bw8VectorWhen supplied, this parameter allows using a LUT that maps from BW8 to BW8 when drawing.
zoomXMagnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale.
zoomYMagnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors).
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.

An ROI/image can be drawn (its pixels rendered) using a device context.

The horizontal and vertical zooming factors can be different and must be contained in the 1/16..16 range. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)

◆ Draw() [7/30]

void eVision::EROIBW32f::Draw ( eVision::EDrawAdapter * graphicContext,
eVision::EC24Vector * c24Vector ) const

Draws an ROI/image in a device context.

Parameters
graphicContextHandle to the device context of the destination window.
c24VectorWhen supplied, this parameter allows using a LUT that maps from BW8 to C24 when drawing (false colors).

An ROI/image can be drawn (its pixels rendered) using a device context.

The horizontal and vertical zooming factors can be different and must be contained in the 1/16..16 range. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)

◆ Draw() [8/30]

void eVision::EROIBW32f::Draw ( eVision::EDrawAdapter * graphicContext,
eVision::EC24Vector * c24Vector,
float zoomX ) const

Draws an ROI/image in a device context.

Parameters
graphicContextHandle to the device context of the destination window.
c24VectorWhen supplied, this parameter allows using a LUT that maps from BW8 to C24 when drawing (false colors).
zoomXMagnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale.

An ROI/image can be drawn (its pixels rendered) using a device context.

The horizontal and vertical zooming factors can be different and must be contained in the 1/16..16 range. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)

◆ Draw() [9/30]

void eVision::EROIBW32f::Draw ( eVision::EDrawAdapter * graphicContext,
eVision::EC24Vector * c24Vector,
float zoomX,
float zoomY ) const

Draws an ROI/image in a device context.

Parameters
graphicContextHandle to the device context of the destination window.
c24VectorWhen supplied, this parameter allows using a LUT that maps from BW8 to C24 when drawing (false colors).
zoomXMagnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale.
zoomYMagnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors).

An ROI/image can be drawn (its pixels rendered) using a device context.

The horizontal and vertical zooming factors can be different and must be contained in the 1/16..16 range. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)

◆ Draw() [10/30]

void eVision::EROIBW32f::Draw ( eVision::EDrawAdapter * graphicContext,
eVision::EC24Vector * c24Vector,
float zoomX,
float zoomY,
float panX ) const

Draws an ROI/image in a device context.

Parameters
graphicContextHandle to the device context of the destination window.
c24VectorWhen supplied, this parameter allows using a LUT that maps from BW8 to C24 when drawing (false colors).
zoomXMagnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale.
zoomYMagnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors).
panXHorizontal panning value expressed in pixels. By default, no panning occurs.

An ROI/image can be drawn (its pixels rendered) using a device context.

The horizontal and vertical zooming factors can be different and must be contained in the 1/16..16 range. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)

◆ Draw() [11/30]

void eVision::EROIBW32f::Draw ( eVision::EDrawAdapter * graphicContext,
eVision::EC24Vector * c24Vector,
float zoomX,
float zoomY,
float panX,
float panY ) const

Draws an ROI/image in a device context.

Parameters
graphicContextHandle to the device context of the destination window.
c24VectorWhen supplied, this parameter allows using a LUT that maps from BW8 to C24 when drawing (false colors).
zoomXMagnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale.
zoomYMagnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors).
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.

An ROI/image can be drawn (its pixels rendered) using a device context.

The horizontal and vertical zooming factors can be different and must be contained in the 1/16..16 range. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)

◆ Draw() [12/30]

void eVision::EROIBW32f::Draw ( eVision::EDrawAdapter * graphicContext,
float zoomX ) const

Draws an ROI/image in a device context.

Parameters
graphicContextHandle to the device context of the destination window.
zoomXMagnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale.

An ROI/image can be drawn (its pixels rendered) using a device context.

The horizontal and vertical zooming factors can be different and must be contained in the 1/16..16 range. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)

◆ Draw() [13/30]

void eVision::EROIBW32f::Draw ( eVision::EDrawAdapter * graphicContext,
float zoomX,
float zoomY ) const

Draws an ROI/image in a device context.

Parameters
graphicContextHandle to the device context of the destination window.
zoomXMagnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale.
zoomYMagnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors).

An ROI/image can be drawn (its pixels rendered) using a device context.

The horizontal and vertical zooming factors can be different and must be contained in the 1/16..16 range. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)

◆ Draw() [14/30]

void eVision::EROIBW32f::Draw ( eVision::EDrawAdapter * graphicContext,
float zoomX,
float zoomY,
float panX ) const

Draws an ROI/image in a device context.

Parameters
graphicContextHandle to the device context of the destination window.
zoomXMagnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale.
zoomYMagnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors).
panXHorizontal panning value expressed in pixels. By default, no panning occurs.

An ROI/image can be drawn (its pixels rendered) using a device context.

The horizontal and vertical zooming factors can be different and must be contained in the 1/16..16 range. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)

◆ Draw() [15/30]

void eVision::EROIBW32f::Draw ( eVision::EDrawAdapter * graphicContext,
float zoomX,
float zoomY,
float panX,
float panY ) const

Draws an ROI/image in a device context.

Parameters
graphicContextHandle to the device context of the destination window.
zoomXMagnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale.
zoomYMagnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors).
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.

An ROI/image can be drawn (its pixels rendered) using a device context.

The horizontal and vertical zooming factors can be different and must be contained in the 1/16..16 range. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)

◆ Draw() [16/30]

void eVision::EROIBW32f::Draw ( HDC graphicContext) const

Draws an ROI/image in a device context.

Parameters
graphicContextHandle to the device context of the destination window.

An ROI/image can be drawn (its pixels rendered) using a device context.

The horizontal and vertical zooming factors can be different and must be contained in the 1/16..16 range. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)

◆ Draw() [17/30]

void eVision::EROIBW32f::Draw ( HDC graphicContext,
eVision::EBW8Vector * bw8Vector ) const

Draws an ROI/image in a device context.

Parameters
graphicContextHandle to the device context of the destination window.
bw8VectorWhen supplied, this parameter allows using a LUT that maps from BW8 to BW8 when drawing.

An ROI/image can be drawn (its pixels rendered) using a device context.

The horizontal and vertical zooming factors can be different and must be contained in the 1/16..16 range. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)

◆ Draw() [18/30]

void eVision::EROIBW32f::Draw ( HDC graphicContext,
eVision::EBW8Vector * bw8Vector,
float zoomX ) const

Draws an ROI/image in a device context.

Parameters
graphicContextHandle to the device context of the destination window.
bw8VectorWhen supplied, this parameter allows using a LUT that maps from BW8 to BW8 when drawing.
zoomXMagnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale.

An ROI/image can be drawn (its pixels rendered) using a device context.

The horizontal and vertical zooming factors can be different and must be contained in the 1/16..16 range. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)

◆ Draw() [19/30]

void eVision::EROIBW32f::Draw ( HDC graphicContext,
eVision::EBW8Vector * bw8Vector,
float zoomX,
float zoomY ) const

Draws an ROI/image in a device context.

Parameters
graphicContextHandle to the device context of the destination window.
bw8VectorWhen supplied, this parameter allows using a LUT that maps from BW8 to BW8 when drawing.
zoomXMagnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale.
zoomYMagnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors).

An ROI/image can be drawn (its pixels rendered) using a device context.

The horizontal and vertical zooming factors can be different and must be contained in the 1/16..16 range. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)

◆ Draw() [20/30]

void eVision::EROIBW32f::Draw ( HDC graphicContext,
eVision::EBW8Vector * bw8Vector,
float zoomX,
float zoomY,
float panX ) const

Draws an ROI/image in a device context.

Parameters
graphicContextHandle to the device context of the destination window.
bw8VectorWhen supplied, this parameter allows using a LUT that maps from BW8 to BW8 when drawing.
zoomXMagnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale.
zoomYMagnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors).
panXHorizontal panning value expressed in pixels. By default, no panning occurs.

An ROI/image can be drawn (its pixels rendered) using a device context.

The horizontal and vertical zooming factors can be different and must be contained in the 1/16..16 range. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)

◆ Draw() [21/30]

void eVision::EROIBW32f::Draw ( HDC graphicContext,
eVision::EBW8Vector * bw8Vector,
float zoomX,
float zoomY,
float panX,
float panY ) const

Draws an ROI/image in a device context.

Parameters
graphicContextHandle to the device context of the destination window.
bw8VectorWhen supplied, this parameter allows using a LUT that maps from BW8 to BW8 when drawing.
zoomXMagnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale.
zoomYMagnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors).
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.

An ROI/image can be drawn (its pixels rendered) using a device context.

The horizontal and vertical zooming factors can be different and must be contained in the 1/16..16 range. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)

◆ Draw() [22/30]

void eVision::EROIBW32f::Draw ( HDC graphicContext,
eVision::EC24Vector * c24Vector ) const

Draws an ROI/image in a device context.

Parameters
graphicContextHandle to the device context of the destination window.
c24VectorWhen supplied, this parameter allows using a LUT that maps from BW8 to C24 when drawing (false colors).

An ROI/image can be drawn (its pixels rendered) using a device context.

The horizontal and vertical zooming factors can be different and must be contained in the 1/16..16 range. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)

◆ Draw() [23/30]

void eVision::EROIBW32f::Draw ( HDC graphicContext,
eVision::EC24Vector * c24Vector,
float zoomX ) const

Draws an ROI/image in a device context.

Parameters
graphicContextHandle to the device context of the destination window.
c24VectorWhen supplied, this parameter allows using a LUT that maps from BW8 to C24 when drawing (false colors).
zoomXMagnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale.

An ROI/image can be drawn (its pixels rendered) using a device context.

The horizontal and vertical zooming factors can be different and must be contained in the 1/16..16 range. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)

◆ Draw() [24/30]

void eVision::EROIBW32f::Draw ( HDC graphicContext,
eVision::EC24Vector * c24Vector,
float zoomX,
float zoomY ) const

Draws an ROI/image in a device context.

Parameters
graphicContextHandle to the device context of the destination window.
c24VectorWhen supplied, this parameter allows using a LUT that maps from BW8 to C24 when drawing (false colors).
zoomXMagnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale.
zoomYMagnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors).

An ROI/image can be drawn (its pixels rendered) using a device context.

The horizontal and vertical zooming factors can be different and must be contained in the 1/16..16 range. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)

◆ Draw() [25/30]

void eVision::EROIBW32f::Draw ( HDC graphicContext,
eVision::EC24Vector * c24Vector,
float zoomX,
float zoomY,
float panX ) const

Draws an ROI/image in a device context.

Parameters
graphicContextHandle to the device context of the destination window.
c24VectorWhen supplied, this parameter allows using a LUT that maps from BW8 to C24 when drawing (false colors).
zoomXMagnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale.
zoomYMagnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors).
panXHorizontal panning value expressed in pixels. By default, no panning occurs.

An ROI/image can be drawn (its pixels rendered) using a device context.

The horizontal and vertical zooming factors can be different and must be contained in the 1/16..16 range. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)

◆ Draw() [26/30]

void eVision::EROIBW32f::Draw ( HDC graphicContext,
eVision::EC24Vector * c24Vector,
float zoomX,
float zoomY,
float panX,
float panY ) const

Draws an ROI/image in a device context.

Parameters
graphicContextHandle to the device context of the destination window.
c24VectorWhen supplied, this parameter allows using a LUT that maps from BW8 to C24 when drawing (false colors).
zoomXMagnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale.
zoomYMagnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors).
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.

An ROI/image can be drawn (its pixels rendered) using a device context.

The horizontal and vertical zooming factors can be different and must be contained in the 1/16..16 range. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)

◆ Draw() [27/30]

void eVision::EROIBW32f::Draw ( HDC graphicContext,
float zoomX ) const

Draws an ROI/image in a device context.

Parameters
graphicContextHandle to the device context of the destination window.
zoomXMagnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale.

An ROI/image can be drawn (its pixels rendered) using a device context.

The horizontal and vertical zooming factors can be different and must be contained in the 1/16..16 range. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)

◆ Draw() [28/30]

void eVision::EROIBW32f::Draw ( HDC graphicContext,
float zoomX,
float zoomY ) const

Draws an ROI/image in a device context.

Parameters
graphicContextHandle to the device context of the destination window.
zoomXMagnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale.
zoomYMagnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors).

An ROI/image can be drawn (its pixels rendered) using a device context.

The horizontal and vertical zooming factors can be different and must be contained in the 1/16..16 range. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)

◆ Draw() [29/30]

void eVision::EROIBW32f::Draw ( HDC graphicContext,
float zoomX,
float zoomY,
float panX ) const

Draws an ROI/image in a device context.

Parameters
graphicContextHandle to the device context of the destination window.
zoomXMagnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale.
zoomYMagnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors).
panXHorizontal panning value expressed in pixels. By default, no panning occurs.

An ROI/image can be drawn (its pixels rendered) using a device context.

The horizontal and vertical zooming factors can be different and must be contained in the 1/16..16 range. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)

◆ Draw() [30/30]

void eVision::EROIBW32f::Draw ( HDC graphicContext,
float zoomX,
float zoomY,
float panX,
float panY ) const

Draws an ROI/image in a device context.

Parameters
graphicContextHandle to the device context of the destination window.
zoomXMagnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale.
zoomYMagnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors).
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.

An ROI/image can be drawn (its pixels rendered) using a device context.

The horizontal and vertical zooming factors can be different and must be contained in the 1/16..16 range. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)

◆ DrawFrame() [1/25]

void eVision::EROIBW32f::DrawFrame ( eVision::EDrawAdapter * graphicContext,
bool handles ) const

Draws a rectangular frame around an image or ROI.

Parameters
graphicContextHandle to the device context of the destination window.
handlestrue if handles are to be drawn.

A frame can be drawn (using a device context) around an image or ROI, possibly with 9 sizing handles. A suitable default pen is used (see EROIBW32f::DrawFrameWithCurrentPen if you wish to use the pen currently selected into the device context). Zooming and panning are possible. Please note that panning is applied before zooming. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)

◆ DrawFrame() [2/25]

void eVision::EROIBW32f::DrawFrame ( eVision::EDrawAdapter * graphicContext,
bool handles,
float zoomX ) const

Draws a rectangular frame around an image or ROI.

Parameters
graphicContextHandle to the device context of the destination window.
handlestrue if handles are to be drawn.
zoomXMagnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale.

A frame can be drawn (using a device context) around an image or ROI, possibly with 9 sizing handles. A suitable default pen is used (see EROIBW32f::DrawFrameWithCurrentPen if you wish to use the pen currently selected into the device context). Zooming and panning are possible. Please note that panning is applied before zooming. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)

◆ DrawFrame() [3/25]

void eVision::EROIBW32f::DrawFrame ( eVision::EDrawAdapter * graphicContext,
bool handles,
float zoomX,
float zoomY ) const

Draws a rectangular frame around an image or ROI.

Parameters
graphicContextHandle to the device context of the destination window.
handlestrue if handles are to be drawn.
zoomXMagnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale.
zoomYMagnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors).

A frame can be drawn (using a device context) around an image or ROI, possibly with 9 sizing handles. A suitable default pen is used (see EROIBW32f::DrawFrameWithCurrentPen if you wish to use the pen currently selected into the device context). Zooming and panning are possible. Please note that panning is applied before zooming. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)

◆ DrawFrame() [4/25]

void eVision::EROIBW32f::DrawFrame ( eVision::EDrawAdapter * graphicContext,
bool handles,
float zoomX,
float zoomY,
float panX ) const

Draws a rectangular frame around an image or ROI.

Parameters
graphicContextHandle to the device context of the destination window.
handlestrue if handles are to be drawn.
zoomXMagnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale.
zoomYMagnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors).
panXHorizontal panning value expressed in pixels. By default, no panning occurs.

A frame can be drawn (using a device context) around an image or ROI, possibly with 9 sizing handles. A suitable default pen is used (see EROIBW32f::DrawFrameWithCurrentPen if you wish to use the pen currently selected into the device context). Zooming and panning are possible. Please note that panning is applied before zooming. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)

◆ DrawFrame() [5/25]

void eVision::EROIBW32f::DrawFrame ( eVision::EDrawAdapter * graphicContext,
bool handles,
float zoomX,
float zoomY,
float panX,
float panY ) const

Draws a rectangular frame around an image or ROI.

Parameters
graphicContextHandle to the device context of the destination window.
handlestrue if handles are to be drawn.
zoomXMagnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale.
zoomYMagnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors).
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.

A frame can be drawn (using a device context) around an image or ROI, possibly with 9 sizing handles. A suitable default pen is used (see EROIBW32f::DrawFrameWithCurrentPen if you wish to use the pen currently selected into the device context). Zooming and panning are possible. Please note that panning is applied before zooming. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)

◆ DrawFrame() [6/25]

void eVision::EROIBW32f::DrawFrame ( eVision::EDrawAdapter * graphicContext,
eVision::EFramePosition framePosition,
bool handles ) const

Draws a rectangular frame around an image or ROI.

Parameters
graphicContextHandle to the device context of the destination window.
framePositionPositioning of the frame relative to the ROI.
handlestrue if handles are to be drawn.

A frame can be drawn (using a device context) around an image or ROI, possibly with 9 sizing handles. A suitable default pen is used (see EROIBW32f::DrawFrameWithCurrentPen if you wish to use the pen currently selected into the device context). Zooming and panning are possible. Please note that panning is applied before zooming. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)

◆ DrawFrame() [7/25]

void eVision::EROIBW32f::DrawFrame ( eVision::EDrawAdapter * graphicContext,
eVision::EFramePosition framePosition,
bool handles,
float zoomX ) const

Draws a rectangular frame around an image or ROI.

Parameters
graphicContextHandle to the device context of the destination window.
framePositionPositioning of the frame relative to the ROI.
handlestrue if handles are to be drawn.
zoomXMagnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale.

A frame can be drawn (using a device context) around an image or ROI, possibly with 9 sizing handles. A suitable default pen is used (see EROIBW32f::DrawFrameWithCurrentPen if you wish to use the pen currently selected into the device context). Zooming and panning are possible. Please note that panning is applied before zooming. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)

◆ DrawFrame() [8/25]

void eVision::EROIBW32f::DrawFrame ( eVision::EDrawAdapter * graphicContext,
eVision::EFramePosition framePosition,
bool handles,
float zoomX,
float zoomY ) const

Draws a rectangular frame around an image or ROI.

Parameters
graphicContextHandle to the device context of the destination window.
framePositionPositioning of the frame relative to the ROI.
handlestrue if handles are to be drawn.
zoomXMagnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale.
zoomYMagnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors).

A frame can be drawn (using a device context) around an image or ROI, possibly with 9 sizing handles. A suitable default pen is used (see EROIBW32f::DrawFrameWithCurrentPen if you wish to use the pen currently selected into the device context). Zooming and panning are possible. Please note that panning is applied before zooming. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)

◆ DrawFrame() [9/25]

void eVision::EROIBW32f::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.

Parameters
graphicContextHandle to the device context of the destination window.
framePositionPositioning of the frame relative to the ROI.
handlestrue if handles are to be drawn.
zoomXMagnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale.
zoomYMagnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors).
panXHorizontal panning value expressed in pixels. By default, no panning occurs.

A frame can be drawn (using a device context) around an image or ROI, possibly with 9 sizing handles. A suitable default pen is used (see EROIBW32f::DrawFrameWithCurrentPen if you wish to use the pen currently selected into the device context). Zooming and panning are possible. Please note that panning is applied before zooming. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)

◆ DrawFrame() [10/25]

void eVision::EROIBW32f::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.

Parameters
graphicContextHandle to the device context of the destination window.
framePositionPositioning of the frame relative to the ROI.
handlestrue if handles are to be drawn.
zoomXMagnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale.
zoomYMagnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors).
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.

A frame can be drawn (using a device context) around an image or ROI, possibly with 9 sizing handles. A suitable default pen is used (see EROIBW32f::DrawFrameWithCurrentPen if you wish to use the pen currently selected into the device context). Zooming and panning are possible. Please note that panning is applied before zooming. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)

◆ DrawFrame() [11/25]

void eVision::EROIBW32f::DrawFrame ( HDC graphicContext,
bool handles ) const

Draws a rectangular frame around an image or ROI.

Parameters
graphicContextHandle to the device context of the destination window.
handlestrue if handles are to be drawn.

A frame can be drawn (using a device context) around an image or ROI, possibly with 9 sizing handles. A suitable default pen is used (see EROIBW32f::DrawFrameWithCurrentPen if you wish to use the pen currently selected into the device context). Zooming and panning are possible. Please note that panning is applied before zooming. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)

◆ DrawFrame() [12/25]

void eVision::EROIBW32f::DrawFrame ( HDC graphicContext,
bool handles,
float zoomX ) const

Draws a rectangular frame around an image or ROI.

Parameters
graphicContextHandle to the device context of the destination window.
handlestrue if handles are to be drawn.
zoomXMagnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale.

A frame can be drawn (using a device context) around an image or ROI, possibly with 9 sizing handles. A suitable default pen is used (see EROIBW32f::DrawFrameWithCurrentPen if you wish to use the pen currently selected into the device context). Zooming and panning are possible. Please note that panning is applied before zooming. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)

◆ DrawFrame() [13/25]

void eVision::EROIBW32f::DrawFrame ( HDC graphicContext,
bool handles,
float zoomX,
float zoomY ) const

Draws a rectangular frame around an image or ROI.

Parameters
graphicContextHandle to the device context of the destination window.
handlestrue if handles are to be drawn.
zoomXMagnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale.
zoomYMagnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors).

A frame can be drawn (using a device context) around an image or ROI, possibly with 9 sizing handles. A suitable default pen is used (see EROIBW32f::DrawFrameWithCurrentPen if you wish to use the pen currently selected into the device context). Zooming and panning are possible. Please note that panning is applied before zooming. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)

◆ DrawFrame() [14/25]

void eVision::EROIBW32f::DrawFrame ( HDC graphicContext,
bool handles,
float zoomX,
float zoomY,
float panX ) const

Draws a rectangular frame around an image or ROI.

Parameters
graphicContextHandle to the device context of the destination window.
handlestrue if handles are to be drawn.
zoomXMagnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale.
zoomYMagnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors).
panXHorizontal panning value expressed in pixels. By default, no panning occurs.

A frame can be drawn (using a device context) around an image or ROI, possibly with 9 sizing handles. A suitable default pen is used (see EROIBW32f::DrawFrameWithCurrentPen if you wish to use the pen currently selected into the device context). Zooming and panning are possible. Please note that panning is applied before zooming. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)

◆ DrawFrame() [15/25]

void eVision::EROIBW32f::DrawFrame ( HDC graphicContext,
bool handles,
float zoomX,
float zoomY,
float panX,
float panY ) const

Draws a rectangular frame around an image or ROI.

Parameters
graphicContextHandle to the device context of the destination window.
handlestrue if handles are to be drawn.
zoomXMagnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale.
zoomYMagnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors).
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.

A frame can be drawn (using a device context) around an image or ROI, possibly with 9 sizing handles. A suitable default pen is used (see EROIBW32f::DrawFrameWithCurrentPen if you wish to use the pen currently selected into the device context). Zooming and panning are possible. Please note that panning is applied before zooming. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)

◆ DrawFrame() [16/25]

void eVision::EROIBW32f::DrawFrame ( HDC graphicContext,
const eVision::ERGBColor & color,
bool handles ) const

Draws a rectangular frame around an image or ROI.

Parameters
graphicContextHandle to the device context of the destination window.
colorColor in which to draw the frame.
handlestrue if handles are to be drawn.

A frame can be drawn (using a device context) around an image or ROI, possibly with 9 sizing handles. A suitable default pen is used (see EROIBW32f::DrawFrameWithCurrentPen if you wish to use the pen currently selected into the device context). Zooming and panning are possible. Please note that panning is applied before zooming. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)

◆ DrawFrame() [17/25]

void eVision::EROIBW32f::DrawFrame ( HDC graphicContext,
const eVision::ERGBColor & color,
bool handles,
float zoomX ) const

Draws a rectangular frame around an image or ROI.

Parameters
graphicContextHandle to the device context of the destination window.
colorColor in which to draw the frame.
handlestrue if handles are to be drawn.
zoomXMagnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale.

A frame can be drawn (using a device context) around an image or ROI, possibly with 9 sizing handles. A suitable default pen is used (see EROIBW32f::DrawFrameWithCurrentPen if you wish to use the pen currently selected into the device context). Zooming and panning are possible. Please note that panning is applied before zooming. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)

◆ DrawFrame() [18/25]

void eVision::EROIBW32f::DrawFrame ( HDC graphicContext,
const eVision::ERGBColor & color,
bool handles,
float zoomX,
float zoomY ) const

Draws a rectangular frame around an image or ROI.

Parameters
graphicContextHandle to the device context of the destination window.
colorColor in which to draw the frame.
handlestrue if handles are to be drawn.
zoomXMagnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale.
zoomYMagnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors).

A frame can be drawn (using a device context) around an image or ROI, possibly with 9 sizing handles. A suitable default pen is used (see EROIBW32f::DrawFrameWithCurrentPen if you wish to use the pen currently selected into the device context). Zooming and panning are possible. Please note that panning is applied before zooming. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)

◆ DrawFrame() [19/25]

void eVision::EROIBW32f::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.

Parameters
graphicContextHandle to the device context of the destination window.
colorColor in which to draw the frame.
handlestrue if handles are to be drawn.
zoomXMagnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale.
zoomYMagnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors).
panXHorizontal panning value expressed in pixels. By default, no panning occurs.

A frame can be drawn (using a device context) around an image or ROI, possibly with 9 sizing handles. A suitable default pen is used (see EROIBW32f::DrawFrameWithCurrentPen if you wish to use the pen currently selected into the device context). Zooming and panning are possible. Please note that panning is applied before zooming. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)

◆ DrawFrame() [20/25]

void eVision::EROIBW32f::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.

Parameters
graphicContextHandle to the device context of the destination window.
colorColor in which to draw the frame.
handlestrue if handles are to be drawn.
zoomXMagnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale.
zoomYMagnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors).
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.

A frame can be drawn (using a device context) around an image or ROI, possibly with 9 sizing handles. A suitable default pen is used (see EROIBW32f::DrawFrameWithCurrentPen if you wish to use the pen currently selected into the device context). Zooming and panning are possible. Please note that panning is applied before zooming. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)

◆ DrawFrame() [21/25]

void eVision::EROIBW32f::DrawFrame ( HDC graphicContext,
eVision::EFramePosition framePosition,
bool handles ) const

Draws a rectangular frame around an image or ROI.

Parameters
graphicContextHandle to the device context of the destination window.
framePositionPositioning of the frame relative to the ROI.
handlestrue if handles are to be drawn.

A frame can be drawn (using a device context) around an image or ROI, possibly with 9 sizing handles. A suitable default pen is used (see EROIBW32f::DrawFrameWithCurrentPen if you wish to use the pen currently selected into the device context). Zooming and panning are possible. Please note that panning is applied before zooming. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)

◆ DrawFrame() [22/25]

void eVision::EROIBW32f::DrawFrame ( HDC graphicContext,
eVision::EFramePosition framePosition,
bool handles,
float zoomX ) const

Draws a rectangular frame around an image or ROI.

Parameters
graphicContextHandle to the device context of the destination window.
framePositionPositioning of the frame relative to the ROI.
handlestrue if handles are to be drawn.
zoomXMagnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale.

A frame can be drawn (using a device context) around an image or ROI, possibly with 9 sizing handles. A suitable default pen is used (see EROIBW32f::DrawFrameWithCurrentPen if you wish to use the pen currently selected into the device context). Zooming and panning are possible. Please note that panning is applied before zooming. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)

◆ DrawFrame() [23/25]

void eVision::EROIBW32f::DrawFrame ( HDC graphicContext,
eVision::EFramePosition framePosition,
bool handles,
float zoomX,
float zoomY ) const

Draws a rectangular frame around an image or ROI.

Parameters
graphicContextHandle to the device context of the destination window.
framePositionPositioning of the frame relative to the ROI.
handlestrue if handles are to be drawn.
zoomXMagnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale.
zoomYMagnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors).

A frame can be drawn (using a device context) around an image or ROI, possibly with 9 sizing handles. A suitable default pen is used (see EROIBW32f::DrawFrameWithCurrentPen if you wish to use the pen currently selected into the device context). Zooming and panning are possible. Please note that panning is applied before zooming. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)

◆ DrawFrame() [24/25]

void eVision::EROIBW32f::DrawFrame ( HDC graphicContext,
eVision::EFramePosition framePosition,
bool handles,
float zoomX,
float zoomY,
float panX ) const

Draws a rectangular frame around an image or ROI.

Parameters
graphicContextHandle to the device context of the destination window.
framePositionPositioning of the frame relative to the ROI.
handlestrue if handles are to be drawn.
zoomXMagnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale.
zoomYMagnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors).
panXHorizontal panning value expressed in pixels. By default, no panning occurs.

A frame can be drawn (using a device context) around an image or ROI, possibly with 9 sizing handles. A suitable default pen is used (see EROIBW32f::DrawFrameWithCurrentPen if you wish to use the pen currently selected into the device context). Zooming and panning are possible. Please note that panning is applied before zooming. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)

◆ DrawFrame() [25/25]

void eVision::EROIBW32f::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.

Parameters
graphicContextHandle to the device context of the destination window.
framePositionPositioning of the frame relative to the ROI.
handlestrue if handles are to be drawn.
zoomXMagnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale.
zoomYMagnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors).
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.

A frame can be drawn (using a device context) around an image or ROI, possibly with 9 sizing handles. A suitable default pen is used (see EROIBW32f::DrawFrameWithCurrentPen if you wish to use the pen currently selected into the device context). Zooming and panning are possible. Please note that panning is applied before zooming. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)

◆ DrawFrameWithCurrentPen() [1/10]

void eVision::EROIBW32f::DrawFrameWithCurrentPen ( HDC graphicContext,
bool handles ) const

Draws a rectangular frame around an image or ROI.

Parameters
graphicContextHandle to the device context of the destination window.
handlestrue if handles are to be drawn.

A frame can be drawn (using a device context) around an image or ROI, possibly with 9 sizing handles.

The current device context pen is used. Zooming and panning are possible. Please note that panning is applied before zooming.

(MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)

◆ DrawFrameWithCurrentPen() [2/10]

void eVision::EROIBW32f::DrawFrameWithCurrentPen ( HDC graphicContext,
bool handles,
float zoomX ) const

Draws a rectangular frame around an image or ROI.

Parameters
graphicContextHandle to the device context of the destination window.
handlestrue if handles are to be drawn.
zoomXMagnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale.

A frame can be drawn (using a device context) around an image or ROI, possibly with 9 sizing handles.

The current device context pen is used. Zooming and panning are possible. Please note that panning is applied before zooming.

(MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)

◆ DrawFrameWithCurrentPen() [3/10]

void eVision::EROIBW32f::DrawFrameWithCurrentPen ( HDC graphicContext,
bool handles,
float zoomX,
float zoomY ) const

Draws a rectangular frame around an image or ROI.

Parameters
graphicContextHandle to the device context of the destination window.
handlestrue if handles are to be drawn.
zoomXMagnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale.
zoomYMagnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors).

A frame can be drawn (using a device context) around an image or ROI, possibly with 9 sizing handles.

The current device context pen is used. Zooming and panning are possible. Please note that panning is applied before zooming.

(MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)

◆ DrawFrameWithCurrentPen() [4/10]

void eVision::EROIBW32f::DrawFrameWithCurrentPen ( HDC graphicContext,
bool handles,
float zoomX,
float zoomY,
float panX ) const

Draws a rectangular frame around an image or ROI.

Parameters
graphicContextHandle to the device context of the destination window.
handlestrue if handles are to be drawn.
zoomXMagnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale.
zoomYMagnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors).
panXHorizontal panning value expressed in pixels. By default, no panning occurs.

A frame can be drawn (using a device context) around an image or ROI, possibly with 9 sizing handles.

The current device context pen is used. Zooming and panning are possible. Please note that panning is applied before zooming.

(MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)

◆ DrawFrameWithCurrentPen() [5/10]

void eVision::EROIBW32f::DrawFrameWithCurrentPen ( HDC graphicContext,
bool handles,
float zoomX,
float zoomY,
float panX,
float panY ) const

Draws a rectangular frame around an image or ROI.

Parameters
graphicContextHandle to the device context of the destination window.
handlestrue if handles are to be drawn.
zoomXMagnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale.
zoomYMagnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors).
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.

A frame can be drawn (using a device context) around an image or ROI, possibly with 9 sizing handles.

The current device context pen is used. Zooming and panning are possible. Please note that panning is applied before zooming.

(MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)

◆ DrawFrameWithCurrentPen() [6/10]

void eVision::EROIBW32f::DrawFrameWithCurrentPen ( HDC graphicContext,
eVision::EFramePosition framePosition,
bool handles ) const

Draws a rectangular frame around an image or ROI.

Parameters
graphicContextHandle to the device context of the destination window.
framePositionPositioning of the frame relative to the ROI.
handlestrue if handles are to be drawn.

A frame can be drawn (using a device context) around an image or ROI, possibly with 9 sizing handles.

The current device context pen is used. Zooming and panning are possible. Please note that panning is applied before zooming.

(MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)

◆ DrawFrameWithCurrentPen() [7/10]

void eVision::EROIBW32f::DrawFrameWithCurrentPen ( HDC graphicContext,
eVision::EFramePosition framePosition,
bool handles,
float zoomX ) const

Draws a rectangular frame around an image or ROI.

Parameters
graphicContextHandle to the device context of the destination window.
framePositionPositioning of the frame relative to the ROI.
handlestrue if handles are to be drawn.
zoomXMagnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale.

A frame can be drawn (using a device context) around an image or ROI, possibly with 9 sizing handles.

The current device context pen is used. Zooming and panning are possible. Please note that panning is applied before zooming.

(MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)

◆ DrawFrameWithCurrentPen() [8/10]

void eVision::EROIBW32f::DrawFrameWithCurrentPen ( HDC graphicContext,
eVision::EFramePosition framePosition,
bool handles,
float zoomX,
float zoomY ) const

Draws a rectangular frame around an image or ROI.

Parameters
graphicContextHandle to the device context of the destination window.
framePositionPositioning of the frame relative to the ROI.
handlestrue if handles are to be drawn.
zoomXMagnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale.
zoomYMagnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors).

A frame can be drawn (using a device context) around an image or ROI, possibly with 9 sizing handles.

The current device context pen is used. Zooming and panning are possible. Please note that panning is applied before zooming.

(MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)

◆ DrawFrameWithCurrentPen() [9/10]

void eVision::EROIBW32f::DrawFrameWithCurrentPen ( HDC graphicContext,
eVision::EFramePosition framePosition,
bool handles,
float zoomX,
float zoomY,
float panX ) const

Draws a rectangular frame around an image or ROI.

Parameters
graphicContextHandle to the device context of the destination window.
framePositionPositioning of the frame relative to the ROI.
handlestrue if handles are to be drawn.
zoomXMagnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale.
zoomYMagnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors).
panXHorizontal panning value expressed in pixels. By default, no panning occurs.

A frame can be drawn (using a device context) around an image or ROI, possibly with 9 sizing handles.

The current device context pen is used. Zooming and panning are possible. Please note that panning is applied before zooming.

(MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)

◆ DrawFrameWithCurrentPen() [10/10]

void eVision::EROIBW32f::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.

Parameters
graphicContextHandle to the device context of the destination window.
framePositionPositioning of the frame relative to the ROI.
handlestrue if handles are to be drawn.
zoomXMagnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale.
zoomYMagnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors).
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.

A frame can be drawn (using a device context) around an image or ROI, possibly with 9 sizing handles.

The current device context pen is used. Zooming and panning are possible. Please note that panning is applied before zooming.

(MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)

◆ GetFirstSubROI()

eVision::EROIBW32f * eVision::EROIBW32f::GetFirstSubROI ( )

See GetFirstSubROI in the derived classes.

Deprecated

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.

◆ GetImage() [1/2]

eVision::EImageBW32f * eVision::EROIBW32f::GetImage ( )

Returns the image associated with this ROI, or NULL if there is no image associated.

◆ GetImage() [2/2]

const eVision::EImageBW32f * eVision::EROIBW32f::GetImage ( ) const

Returns the image associated with this ROI, or NULL if there is no image associated.

◆ GetNextROI()

eVision::EROIBW32f * eVision::EROIBW32f::GetNextROI ( eVision::EBaseROI * startROI)

Returns the next ROI in the list starting at startROI or null if there is no next ROI.

Parameters
startROIthe first ROI in the list.
Deprecated

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.

◆ GetNextSiblingROI()

eVision::EROIBW32f * eVision::EROIBW32f::GetNextSiblingROI ( )

This method returns the ROI that is the next sibling of this ROI.

Deprecated

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.

◆ GetParent() [1/2]

eVision::EROIBW32f * eVision::EROIBW32f::GetParent ( )

Returns the hierarchical parent of this object.

Deprecated

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.

◆ GetParent() [2/2]

const eVision::EROIBW32f * eVision::EROIBW32f::GetParent ( ) const

Returns the hierarchical parent of this object.

Deprecated

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.

◆ GetPixel()

eVision::EBW32f eVision::EROIBW32f::GetPixel ( int32_t x,
int32_t y ) const

Allows reading a single pixel value in the ROI or image.

Parameters
xOffset of the pixel on the x axis.
yOffset 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.

◆ GetTopParent() [1/2]

eVision::EImageBW32f * eVision::EROIBW32f::GetTopParent ( )

Returns the top parent of this object.

Deprecated

Use EROIBW32f::GetImage instead.

Deprecated in version 26.10. Scheduled to be removed in version 27.10.

◆ GetTopParent() [2/2]

const eVision::EImageBW32f * eVision::EROIBW32f::GetTopParent ( ) const

Returns the top parent of this object.

Deprecated

Use EROIBW32f::GetImage instead.

Deprecated in version 26.10. Scheduled to be removed in version 27.10.

◆ GetUncheckedPixel()

eVision::EBW32f eVision::EROIBW32f::GetUncheckedPixel ( int32_t x,
int32_t y ) const

◆ Load() [1/2]

void eVision::EROIBW32f::Load ( const std::string & path)

Loads the EROIBW32f object from the given file.

Parameters
pathThe full path of the source file.

◆ Load() [2/2]

void eVision::EROIBW32f::Load ( eVision::ESerializer * serializer)

Loads the EROIBW32f object from the given file.

Parameters
serializerThe ESerializer file-like object that is read from.

◆ operator=()

eVision::EROIBW32f & eVision::EROIBW32f::operator= ( const eVision::EROIBW32f & other)

Assignment operator.

Parameters
otherThe other EROIBW32f that we will copy into this one.

◆ Save() [1/3]

void eVision::EROIBW32f::Save ( const std::string & path) const

Saves the EROIBW32f object to the given file.

Parameters
pathThe full path of the destination file.

By default (if no format is specified), the file format is determined from the file extension. If a serializer is used, then the Euresys proprietary file format is used. This format preserves attributes and sub-ROIs. See Supported Image File Types for details about supported files. See Image File Access - Save, Load - for details about file format and compatibility. For floating point images, only tiff and Euresys proprietary file format are supported.

◆ Save() [2/3]

void eVision::EROIBW32f::Save ( const std::string & path,
eVision::EImageFileType type ) const

Saves the EROIBW32f object to the given file.

Parameters
pathThe full path of the destination file.
typeFile format, as defined by EImageFileType. If not specified, the file format is determined from the file extension.

For floating point images, only tiff and Euresys proprietary file format are supported.

By default (if no format is specified), the file format is determined from the file extension. If a serializer is used, then the Euresys proprietary file format is used. This format preserves attributes and sub-ROIs. See Supported Image File Types for details about supported files. See Image File Access - Save, Load - for details about file format and compatibility. For floating point images, only tiff and Euresys proprietary file format are supported.

◆ Save() [3/3]

void eVision::EROIBW32f::Save ( eVision::ESerializer * serializer) const

Saves the EROIBW32f object to the given file.

Parameters
serializerThe ESerializer file-like object that is written to.

By default (if no format is specified), the file format is determined from the file extension. If a serializer is used, then the Euresys proprietary file format is used. This format preserves attributes and sub-ROIs. See Supported Image File Types for details about supported files. See Image File Access - Save, Load - for details about file format and compatibility. For floating point images, only tiff and Euresys proprietary file format are supported.

◆ SaveJpeg() [1/2]

void eVision::EROIBW32f::SaveJpeg ( const std::string & path) const

As the JPEG format does not work with floating point data, calling this function throws an exception.

Parameters
path

◆ SaveJpeg() [2/2]

void eVision::EROIBW32f::SaveJpeg ( const std::string & path,
int quality ) const

As the JPEG format does not work with floating point data, calling this function throws an exception.

Parameters
path
quality

◆ SaveJpeg2K() [1/2]

void eVision::EROIBW32f::SaveJpeg2K ( const std::string & path) const

As the JPEG 2000 format does not work with floating point data, calling this function throws an exception.

Parameters
path

◆ SaveJpeg2K() [2/2]

void eVision::EROIBW32f::SaveJpeg2K ( const std::string & path,
int quality ) const

As the JPEG 2000 format does not work with floating point data, calling this function throws an exception.

Parameters
path
quality

◆ SavePng() [1/2]

void eVision::EROIBW32f::SavePng ( const std::string & path) const

As the PNG format does not work with floating point data, calling this function throws an exception.

Parameters
path

◆ SavePng() [2/2]

void eVision::EROIBW32f::SavePng ( const std::string & path,
int compression ) const

As the PNG format does not work with floating point data, calling this function throws an exception.

Parameters
path
compression

◆ Serialize()

void eVision::EROIBW32f::Serialize ( eVision::ESerializer * serializer)
virtual
Deprecated

Use EBaseROI::Save or EBaseROI::Load instead.

Deprecated in version 24.10. Scheduled to be removed in version 27.6.

Implements eVision::EBaseROI.

◆ SetPixel()

void eVision::EROIBW32f::SetPixel ( eVision::EBW32f value,
int32_t x,
int32_t y )

Allows writing a single pixel value in the ROI or image.

Parameters
valuevalue to set the pixel to.
xOffset of the pixel on the x axis.
yOffset of the pixel on the y axis.

Although coordinates outside the ROI can be supplied, this function will raise an error condition if the coordinates are outside 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.

◆ SetUncheckedPixel()

void eVision::EROIBW32f::SetUncheckedPixel ( eVision::EBW32f value,
int32_t x,
int32_t y )