Mech-Eye API 2.5.1
API reference documentation for Mech-Eye Industrial 3D Camera
Loading...
Searching...
No Matches
Public Member Functions | Data Fields
ROI Struct Reference

Describes a region of interest (ROI). More...

#include <CommonTypes.h>

Public Member Functions

constexpr ROI ()
 
constexpr ROI (unsigned upperLeftX, unsigned upperLeftY, size_t width, size_t height)
 
bool operator== (const ROI &other)
 

Data Fields

unsigned upperLeftX
 The column coordinate of the upper-left corner of the ROI.
 
unsigned upperLeftY
 The row coordinate of the upper-left corner of the ROI.
 
size_t width
 
size_t height
 

Detailed Description

Describes a region of interest (ROI).

Constructor & Destructor Documentation

◆ ROI() [1/2]

constexpr ROI ( )
inlineconstexpr

◆ ROI() [2/2]

constexpr ROI ( unsigned  upperLeftX,
unsigned  upperLeftY,
size_t  width,
size_t  height 
)
inlineconstexpr

Member Function Documentation

◆ operator==()

bool operator== ( const ROI other)
inline

Field Documentation

◆ height

size_t height

◆ upperLeftX

unsigned upperLeftX

The column coordinate of the upper-left corner of the ROI.

◆ upperLeftY

unsigned upperLeftY

The row coordinate of the upper-left corner of the ROI.

◆ width

size_t width

The documentation for this struct was generated from the following file: