|
Grok 15.1.0
|
#include <TileSet.h>
Public Member Functions | |
| TileSet () | |
| virtual | ~TileSet ()=default |
| uint16_t | numScheduled (void) |
| void | init (grk_rect16 allTiles) |
| void | schedule (grk_rect16 tiles) |
| void | schedule (grk_pt16 tile) |
| void | schedule (uint16_t tile_index) |
| bool | isScheduled (uint16_t tile_index) |
| bool | isScheduled (grk_pt16 tile) |
| void | setComplete (uint16_t tile_index) |
| bool | isComplete (uint16_t tile_index) |
| bool | allComplete (void) |
| uint16_t | getSingle (void) |
Private Member Functions | |
| uint16_t | index (uint16_t x, uint16_t y) |
| uint16_t | index (grk_pt16 tile) |
Private Attributes | |
| std::set< uint16_t > | tilesToDecompress_ |
| std::set< uint16_t > | tilesDecompressed_ |
| grk_rect16 | allTiles_ |
| uint16_t | lastTileToDecompress_ |
| grk::TileSet::TileSet | ( | ) |
References lastTileToDecompress_.
|
virtualdefault |
| bool grk::TileSet::allComplete | ( | void | ) |
References tilesDecompressed_, and tilesToDecompress_.
| uint16_t grk::TileSet::getSingle | ( | void | ) |
References tilesToDecompress_.
|
private |
References allTiles_, grk::grk_pt< T >::x, and grk::grk_pt< T >::y.
|
private |
References allTiles_.
Referenced by isScheduled(), and schedule().
| void grk::TileSet::init | ( | grk_rect16 | allTiles | ) |
References allTiles_, grk::grk_rect< T >::empty(), and schedule().
| bool grk::TileSet::isComplete | ( | uint16_t | tile_index | ) |
References tilesDecompressed_.
| bool grk::TileSet::isScheduled | ( | grk_pt16 | tile | ) |
References index(), and isScheduled().
| bool grk::TileSet::isScheduled | ( | uint16_t | tile_index | ) |
References tilesToDecompress_.
Referenced by isScheduled(), and setComplete().
| uint16_t grk::TileSet::numScheduled | ( | void | ) |
References tilesToDecompress_.
| void grk::TileSet::schedule | ( | grk_pt16 | tile | ) |
References index(), schedule(), grk::grk_pt< T >::x, and grk::grk_pt< T >::y.
| void grk::TileSet::schedule | ( | grk_rect16 | tiles | ) |
References allTiles_, grk::grk_rect< T >::empty(), lastTileToDecompress_, tilesToDecompress_, grk::grk_rect< T >::x0, grk::grk_rect< T >::x1, grk::grk_rect< T >::y0, and grk::grk_rect< T >::y1.
Referenced by init(), and schedule().
| void grk::TileSet::schedule | ( | uint16_t | tile_index | ) |
References lastTileToDecompress_, and tilesToDecompress_.
| void grk::TileSet::setComplete | ( | uint16_t | tile_index | ) |
References isScheduled(), and tilesDecompressed_.
|
private |
Referenced by index(), index(), init(), and schedule().
|
private |
Referenced by schedule(), schedule(), and TileSet().
|
private |
Referenced by allComplete(), isComplete(), and setComplete().
|
private |
Referenced by allComplete(), getSingle(), isScheduled(), numScheduled(), schedule(), and schedule().