ESA JPIP server
0.1
|
By means of this class it is possible to find out the which packets of an image are associated to a WOI. More...
#include <woi_composer.h>
Public Member Functions | |
WOIComposer () | |
Initializes the object. More... | |
WOIComposer (const WOIComposer &composer) | |
Copy constructor. More... | |
WOIComposer (CodingParameters::Ptr coding_parameters) | |
Initializes the object. More... | |
void | Reset (const WOI &woi, CodingParameters::Ptr coding_parameters) |
Resets the packets navigation and starts a new one. More... | |
WOIComposer & | operator= (const WOIComposer &composer) |
Copy assignment. More... | |
Packet | GetCurrentPacket () const |
Returns the current packet. More... | |
bool | GetNextPacket (Packet *packet=NULL) |
Moves to the next packet of the WOI. More... | |
virtual | ~WOIComposer () |
Private Attributes | |
Point | pxy1 |
Upper-left corner of the WOI. More... | |
Point | pxy2 |
Bottom-right corner of the WOI. More... | |
bool | more_packets |
Flag to control the last packet. More... | |
int | max_resolution |
Maximum resolution. More... | |
Size | min_precinct_xy |
Minimum precinct. More... | |
Size | max_precinct_xy |
Maximum precinct. More... | |
Packet | current_packet |
Current packet. More... | |
CodingParameters::Ptr | coding_parameters |
Pointer to the associated coding parameters. More... | |
By means of this class it is possible to find out the which packets of an image are associated to a WOI.
Given a WOI and the coding parameters of an image, the code of this class allows to navigate, following the LRCP order, through all the associated packets.
|
inline |
Initializes the object.
No packets are available.
|
inline |
Copy constructor.
|
inline |
Initializes the object.
No packets are available.
coding_parameters | Pointer to the coding parameters. |
|
inlinevirtual |
|
inline |
Returns the current packet.
|
inline |
Moves to the next packet of the WOI.
packet | Pointer to store the current packet (not the next one). |
true
if successful.
|
inline |
Copy assignment.
|
inline |
|
private |
Pointer to the associated coding parameters.
|
private |
Current packet.
|
private |
Maximum precinct.
|
private |
Maximum resolution.
|
private |
Minimum precinct.
|
private |
Flag to control the last packet.