Image resolution about width and height. More...
Public Member Functions | |
Resolution (const std::int32_t &w=0, const std::int32_t &h=0) | |
Constructor. More... | |
~Resolution () | |
Destructor. More... | |
std::int32_t | Area () const |
Returns the area of the image. More... | |
bool | operator== (const Resolution &that) const |
Tests if the given Resolution has the same properties. More... | |
bool | operator!= (const Resolution &that) const |
Tests if the given Resolution has different properties. More... | |
Public Attributes | |
std::int32_t | width |
image width in pixels | |
std::int32_t | height |
image height in pixels | |
Image resolution about width and height.
mynteye::Resolution::Resolution | ( | const std::int32_t & | w = 0 , |
const std::int32_t & | h = 0 |
||
) |
Constructor.
mynteye::Resolution::~Resolution | ( | ) |
Destructor.
std::int32_t mynteye::Resolution::Area | ( | ) | const |
Returns the area of the image.
bool mynteye::Resolution::operator!= | ( | const Resolution & | that | ) | const |
Tests if the given Resolution has different properties.
that | the given Resolution. |
bool mynteye::Resolution::operator== | ( | const Resolution & | that | ) | const |
Tests if the given Resolution has the same properties.
that | the given Resolution. |