Class representating a rectangle. More...
#include <ROIinfo.hpp>
Public Member Functions | |
| ROIinfo () | |
| Default constructor. | |
| ROIinfo (unsigned int setX, unsigned int setY, unsigned int setSizeX, unsigned int setSizeY, int setMipmapLevel) | |
| A constructor. More... | |
Public Attributes | |
| unsigned int | x |
| x coordinate of the upper left corner. | |
| unsigned int | y |
| y coordinate of the upper left corner. | |
| unsigned int | sizeX |
| The length of the horizontal side of the ROI. | |
| unsigned int | sizeY |
| The length of the vertical side of the ROI. | |
| int | mipmapLevel |
| The mipmap level for which the ROI applies. More... | |
Class representating a rectangle.
The class represents a 2D rectangle whose sides are parallel to the axes.
|
inline |
A constructor.
| setX | x coordinate of the upper left corner (origin) |
| setY | y coordinate of the upper left corner |
| setSizeX | length of the x edge |
| setSizeY | legth of the y edge |
| setMipmapLevel | mipmap level for which the ROIinfo is applied |
| int FotoSHOCKcore::ROIinfo::mipmapLevel |
The mipmap level for which the ROI applies.
The numbering starts from 0, where 0 is the full resolution image and higher numbers represent smaller versions of the image.
1.8.4