12 constexpr Range() : min(0), max(0) {}
13 constexpr Range(T min, T max) : min(min), max(max) {}
23 constexpr Size() : width(0), height(0) {}
24 constexpr Size(
size_t width,
size_t height) : width(width), height(height) {}
25 bool operator==(
const Size& other) {
return width == other.width && height == other.height; }
41 bool operator==(
const ROI& other) {
return width == other.width && height == other.height; }
52enum struct IpAssignmentMethod { Unknown, DHCP = 4, Static, LLA };
54inline static std::string ipAssignmentMethodToString(IpAssignmentMethod type)
57 case IpAssignmentMethod::Static:
59 case IpAssignmentMethod::DHCP:
61 case IpAssignmentMethod::LLA:
63 case IpAssignmentMethod::Unknown:
Describes a region of interest (ROI).
unsigned upperLeftY
The row coordinate of the upper-left corner of the ROI.
unsigned upperLeftX
The column coordinate of the upper-left corner of the ROI.
Describes a two-dimensional size with a width and a height.