InscoperAPI/API/Base/Roi/RoiCrop.h¶
Namespaces¶
| Name |
|---|
| Inscoper Inscoper namespace. |
Classes¶
| Name | |
|---|---|
| class | Inscoper::RoiCrop RoiCrop class defines a Region Of Interest for cropping. |
Source code¶
#ifndef ROICROP_H
#define ROICROP_H
#include <Global.h>
namespace Inscoper {
class INSCOPER_EXPORT RoiCrop {
public:
RoiCrop() : _x(0), _y(0), _width(0), _height(0) {};
virtual ~RoiCrop() = default;
int getHeight() const {
return _height;
}
void setHeight(int height) {
this->_height = height;
}
int getWidth() const {
return _width;
}
void setWidth(int width) {
this->_width = width;
}
int getX() const {
return _x;
}
void setX(int x) {
this->_x = x;
}
int getY() const {
return _y;
}
void setY(int y) {
this->_y = y;
}
private:
int _x;
int _y;
int _width;
int _height;
};
} // namespace Inscoper
#endif // ROICROP_H
Updated on 2026-09-03 at 12:14:17 +0200