65 constexpr BoundingBox(
int xCoord,
int yCoord,
int boxWidth,
int boxHeight)
#define ZIVID_UTILS_EXPORT
Definition UtilsExport.h:56
The main Zivid namespace. All Zivid code is found here.
Definition Application.h:85
std::ostream & operator<<(std::ostream &stream, const Array1D< T > &array)
Serialize array information to a stream.
Definition Array1D.h:183
Defines a 2D rectangular bounding box in image coordinates.
Definition BoundingBox.h:57
ZIVID_UTILS_EXPORT std::string toString() const
Get string representation.
constexpr BoundingBox(int xCoord, int yCoord, int boxWidth, int boxHeight)
Constructor.
Definition BoundingBox.h:65
int ValueType
The type of the coordinate values.
Definition BoundingBox.h:59
ValueType width
Width of the bounding box.
Definition BoundingBox.h:77
ValueType x
Top-left corner x coordinate.
Definition BoundingBox.h:73
ValueType y
Top-left corner y coordinate.
Definition BoundingBox.h:75
ValueType height
Height of the bounding box.
Definition BoundingBox.h:79
ZIVID_UTILS_EXPORT bool operator==(const BoundingBox &rhs) const
Check for equality.
ZIVID_UTILS_EXPORT bool operator!=(const BoundingBox &rhs) const
Check for inequality.