![]() |
Maria GDK 5.0.0.738
Documentation of native code in develop branch
|
#include <M3DMapTextureData.h>
Public Member Functions | |
MapTextureData (Maria::TileId tileId, const std::shared_ptr< Maria::SharedCounter > &memCounter) | |
bool | updateTexture (std::shared_ptr< Maria::MapLayer > &mapLayer, const std::shared_ptr< Maria::TileCache > &tileCache, float pixelScale) |
const std::shared_ptr< STK::FBOTexture > & | getTexture () const |
bool | needsRedraw () |
void | clearData () |
![]() | |
TileData (TileId tileId, const std::shared_ptr< Maria::SharedCounter > &memCounter) | |
void | SetState (TileState state) |
TileState | GetState () const |
bool | SetPendingDataRequest () |
void | SetTimestamp (int64_t timestamp) |
int64_t | GetTimestamp () const |
void | SetTileId (TileId tileId) |
TileId | GetTileId () const |
const BasicGeoTypes::GeoRect & | GetGeoRect () const |
void | SetGeoRect (const BasicGeoTypes::GeoRect &grc) |
int | getMemSize () const |
virtual bool | ProcessData (const MariaProtobuf::ProtoMapData &data) |
const std::shared_ptr< MariaProtobuf::Metadata > & | getMetaData () const |
void | setMetaData (const std::shared_ptr< MariaProtobuf::Metadata > &metaData) |
Protected Attributes | |
std::shared_ptr< STK::FBOTexture > | texture_ |
float | _pixelScale |
bool | _needsRedraw |
![]() | |
std::atomic< TileState > | _state |
std::mutex | _requestLock |
TileId | _tile_id |
std::atomic< int64_t > | _timestamp |
int | _memsize |
std::shared_ptr< Maria::SharedCounter > | _cache_mem_counter |
BasicGeoTypes::GeoRect | _grc |
std::shared_ptr< MariaProtobuf::Metadata > | _metaData |
Additional Inherited Members | |
![]() | |
enum | TileState { Empty , Pending , Ready , OutsideArea , OutsideResolution , Error } |
![]() | |
static int | getNumTilesInMemory () |
MapTextureData - Dynamic map texture rendered from Maria::MapRenderer.