| synopsis || return value || arguments || prev |

kdu_serve_target::get_roi_details

Java: Kdu_serve_target::Get_roi_details

virtual const char * get_roi_details( int index, kdu_coords & resolution, kdu_dims & region)

Java: String Get_roi_details( int index, Kdu_coords resolution, Kdu_dims region)

[Declared in "../apps/kdu_server/kdu_serve.h"]

Go to class description.


Synopsis

Supply an index previously recovered via find_roi to retrieve details about that ROI. The supplied index must be non-negative.


Return Value

The name of the ROI. This is identical to the name which was matched by find_roi. If the supplied index is not valid, the function returns NULL.

Arguments

index [int]

resolution [kdu_coords &]

Used to return the resolution (full image size) associated with the ROI. Has the same interpretation as kdu_window::resolution.

region [kdu_dims &]

Used to return the image region associated with the ROI. Has the same interpretation as kdu_window::region.


| top || synopsis || return value || arguments || prev |