| synopsis || functions |

kdu_region_compositor

Java: Kdu_region_compositor

[Declared in "../apps/support/kdu_region_compositor.h"]


Synopsis

An object of this class provides a complete system for managing dynamic decompression, rendering and composition of JPEG2000 compressed imagery. This very powerful object is the workhorse of the "kdu_show" application, abstracting virtually all platform independent functionality.

The object can handle rendering of everything from a single component of a single raw code-stream, to the composition of multiple compositing layers from a JPX file. Moreover, it supports efficient scaling, rotation and dynamic region-based rendering.

The implementation is built on top of kdu_region_decompressor which supports only a single code-stream. Unlike that function, however, this object also abstracts all the machinery required for dynamic panning of a buffered surface over the composited image region.

When working with JPX sources, you may dynamically build up a composited image surface by adding and removing compositing layers. You may re-use layers which were partially decompressed in a previous composition, or you may recycle their resources immediately.


Public Functions

kdu_region_compositor (2 forms) {Java: Kdu_region_compositor}

~kdu_region_compositor [virtual] {Java: Native_destroy}

pre_destroy {Java: Pre_destroy}

set_error_level {Java: Set_error_level}

add_compositing_layer {Java: Add_compositing_layer}

remove_compositing_layer {Java: Remove_compositing_layer}

set_single_component {Java: Set_single_component}

cull_inactive_layers {Java: Cull_inactive_layers}

set_frame

set_scale {Java: Set_scale}

set_buffer_surface {Java: Set_buffer_surface}

map_region {Java: Map_region}

get_total_composition_dims {Java: Get_total_composition_dims}

get_composition_buffer

set_max_quality_layers {Java: Set_max_quality_layers}

get_max_available_quality_layers {Java: Get_max_available_quality_layers}

process {Java: Process}

is_processing_complete {Java: Is_processing_complete}

refresh {Java: Refresh}

halt_processing {Java: Halt_processing}

get_next_codestream

access_codestream

get_codestream_info

configure_overlays {Java: Configure_overlays}

update_overlays {Java: Update_overlays}

search_overlays {Java: Search_overlays}

paint_overlay [virtual] {Java: Paint_overlay}


| top || synopsis || functions |