13 using namespace jpeg2000;
49 this->position = position;
50 this->resolution = resolution;
66 this->size = woi.
size;
WOI(const WOI &woi)
Copy constructor.
Definition: woi.h:56
Class that identifies a WOI (Window Of Interest).
Definition: woi.h:24
WOI()
Initializes the resolution level to zero.
Definition: woi.h:35
WOI & operator=(const WOI &woi)
Copy assignment.
Definition: woi.h:64
friend bool operator!=(const WOI &a, const WOI &b)
Returns true if the two given WOIs are not equal.
Definition: woi.h:86
Represents a couple of integer values that can be used to identify a coordinate as well as a size...
Definition: point.h:18
Size size
Size of the WOI (width and height)
Definition: woi.h:27
friend bool operator==(const WOI &a, const WOI &b)
Returns true if the two given WOIs are equal.
Definition: woi.h:77
int y
Value Y.
Definition: point.h:22
int x
Value X.
Definition: point.h:21
virtual ~WOI()
Definition: woi.h:99
WOI(const Point &position, const Size &size, int resolution)
Initializes the object.
Definition: woi.h:46
int resolution
Resolution level where the WOI is located (0 == the highest)
Definition: woi.h:29
Point position
Position of the upper-left corner of the WOI.
Definition: woi.h:28
ostream & operator<<(ostream &out, const Request &request)
Definition: request.cc:65