ESA JPIP server
0.1
|
Class that identifies a WOI (Window Of Interest). More...
#include <woi.h>
Public Member Functions | |
WOI () | |
Initializes the resolution level to zero. More... | |
WOI (const Point &position, const Size &size, int resolution) | |
Initializes the object. More... | |
WOI (const WOI &woi) | |
Copy constructor. More... | |
WOI & | operator= (const WOI &woi) |
Copy assignment. More... | |
virtual | ~WOI () |
Public Attributes | |
Size | size |
Size of the WOI (width and height) More... | |
Point | position |
Position of the upper-left corner of the WOI. More... | |
int | resolution |
Resolution level where the WOI is located (0 == the highest) More... | |
Friends | |
bool | operator== (const WOI &a, const WOI &b) |
Returns true if the two given WOIs are equal. More... | |
bool | operator!= (const WOI &a, const WOI &b) |
Returns true if the two given WOIs are not equal. More... | |
ostream & | operator<< (ostream &out, const WOI &woi) |
Class that identifies a WOI (Window Of Interest).
This term refers, from the point of view of the JPIP protocol, to a rectangular region of an image, for a resolution level. This class can be printed.
|
inline |
Initializes the resolution level to zero.
|
inline |
Copy constructor.
|
inlinevirtual |
Returns true
if the two given WOIs are not equal.
|
friend |
Returns true
if the two given WOIs are equal.
int jpip::WOI::resolution |
Resolution level where the WOI is located (0 == the highest)