The FTiledBlock class provides a mean of storing very large tiled images, powered by a large number of complex algorithms allowing efficient memory usage and performances, as well as disk streaming facilities, compression systems, redundant data reuse by hashing pixel data, low overall rates in memory fragmentation, infinite or unbounded images in space and time, within reasonable range ( depends on the user available disk space and ram space ), and multithreaded operations.
◆ ~FTiledBlock()
FTiledBlock::~FTiledBlock |
( |
| ) |
|
Destructor, cleanup chunks.
◆ FTiledBlock() [1/2]
FTiledBlock::FTiledBlock |
( |
FTilePool & |
iTilePool | ) |
|
Constructor, initialize with zero chunks.
◆ FTiledBlock() [2/2]
Explicitely deleted copy constructor
◆ ChunkCoordinatesFromKey()
FVec2I FTiledBlock::ChunkCoordinatesFromKey |
( |
uint64 |
iKey | ) |
const |
◆ ChunkCoordinatesFromPixelCoordinates()
FVec2I FTiledBlock::ChunkCoordinatesFromPixelCoordinates |
( |
const FVec2I & |
iPos | ) |
const |
◆ Clear()
void FTiledBlock::Clear |
( |
| ) |
|
◆ ExtendOperativeGeometryAfterMutableChange()
void FTiledBlock::ExtendOperativeGeometryAfterMutableChange |
( |
const FRectI & |
iRect | ) |
|
Process operative geometry
◆ GatherChunks()
Gather all chunks in an array
◆ IsValidPixelCoordRange()
static bool FTiledBlock::IsValidPixelCoordRange |
( |
int64 |
iValue | ) |
|
|
static |
check wether the input coordinate is in a valid range
◆ KeyFromChunkCoordinates()
uint64 FTiledBlock::KeyFromChunkCoordinates |
( |
const FVec2I & |
iPos | ) |
const |
◆ KeyFromPixelCoordinates()
uint64 FTiledBlock::KeyFromPixelCoordinates |
( |
const FVec2I & |
iPos | ) |
const |
◆ LeafGeometry()
const FRectI& FTiledBlock::LeafGeometry |
( |
| ) |
const |
Return the rough leaf geometry built from all leafs
◆ NumChunks()
uint64 FTiledBlock::NumChunks |
( |
| ) |
const |
Get the number of chunk entries in the map
◆ OperativeGeometry()
const FRectI& FTiledBlock::OperativeGeometry |
( |
| ) |
const |
Return the operative geometry
◆ operator=()
Explicitely deleted copy assignment operator
◆ PixelCoordinatesFromChunkCoordinates()
FVec2I FTiledBlock::PixelCoordinatesFromChunkCoordinates |
( |
const FVec2I & |
iPos | ) |
const |
◆ PixelCoordinatesFromKey()
FVec2I FTiledBlock::PixelCoordinatesFromKey |
( |
uint64 |
iKey | ) |
const |
◆ QueryConstTile()
const uint8* FTiledBlock::QueryConstTile |
( |
const FVec2I & |
iPos | ) |
const |
Query a tile for Read only
◆ QueryMutableTile()
FTile** FTiledBlock::QueryMutableTile |
( |
const FVec2I & |
iPos | ) |
|
Query a tile for Read Write
◆ RecomputeLeafGeometry()
void FTiledBlock::RecomputeLeafGeometry |
( |
| ) |
|
Manual recompute cached leaf geometry
◆ RecomputeRootGeometry()
void FTiledBlock::RecomputeRootGeometry |
( |
| ) |
|
Manual recompute cached root geometry
◆ RootGeometry()
const FRectI& FTiledBlock::RootGeometry |
( |
| ) |
const |
Return the rough root geometry made up from chunks
◆ SanitizeNow()
void FTiledBlock::SanitizeNow |
( |
| ) |
|
Sanitize map, removing pure empty chunks
◆ SubstractOperativeGeometryAfterMutableChange()
void FTiledBlock::SubstractOperativeGeometryAfterMutableChange |
( |
const FRectI & |
iRect | ) |
|
Process operative geometry