![]() |
Maria GDK 5.0.0.915
Documentation of native code in develop branch
|
#include <MMapRenderTile.h>
Public Member Functions | |
| MapRenderTile (std::shared_ptr< STK::ShaderProgramManager > shaderManager, std::shared_ptr< STK::FontManager > fontManager, Maria::TileId tileId, std::shared_ptr< Maria::MapTileData > texture, std::shared_ptr< RasterProjector > rp, std::shared_ptr< GridIndexBuffer > idxBuffer) | |
| Maria::TileId | tileId () const |
| const std::shared_ptr< Maria::MapTileData > & | texture () const |
| void | setTexture (std::shared_ptr< Maria::MapTileData > texture) |
| void | renderTexture (const std::shared_ptr< RasterProjector > &vp, const STK::Matrix4x4f &vm, STK::ShaderProgram &shader) |
| bool | initLabels (const std::shared_ptr< RasterProjector > &viewport) |
| void | renderLabels (const std::shared_ptr< RasterProjector > &vp, const STK::Matrix4x4f &vm, const STK::Matrix4x4f &pj, const STK::Viewport &glViewport, float opacity) |
| const std::shared_ptr< Maria::LabelRenderer > & | getLabels () const |
| std::shared_ptr< Maria::RasterProjector > | rasterProjector () const |
| bool | isTransparent () const |
| bool | isOpaque () const |
| bool | hasVisiblePixels () const |
| void | insertDebugGraphics (std::shared_ptr< STK::GraphicsRender2D > gfxRender, const std::shared_ptr< STK::FontManager > &fontManager, const std::shared_ptr< RasterProjector > &vp) |
Protected Member Functions | |
| void | calcTextureTransform (STK::Vector4f &xfm) |
| void | initGeometry (const std::shared_ptr< RasterProjector > &vp) |
| bool | checkGeometry (const std::shared_ptr< RasterProjector > &vp) |
| void | calcTileBounds () |
| std::vector< std::shared_ptr< std::vector< BasicGeoTypes::GeoPos > > > | clipLabelGeometry (const std::vector< BasicGeoTypes::GeoPos > &path) |
Protected Attributes | |
| std::shared_ptr< STK::ShaderProgramManager > | _shaderManager |
| std::shared_ptr< STK::FontManager > | _fontManager |
| Maria::TileId | _tileId |
| std::shared_ptr< Maria::MapTileData > | _texture |
| std::shared_ptr< STK::VertexBufferPT > | _vertexBuffer |
| std::shared_ptr< GridIndexBuffer > | _idxBuffer |
| std::shared_ptr< Maria::RasterProjector > | _rasterProjector |
| BasicGeoTypes::DblTransform2D | _tileXfm |
| int | _projectorGeneration = 0 |
| std::string | _vpType |
| double | _xMin |
| double | _xMax |
| double | _yMin |
| double | _yMax |
| std::shared_ptr< Maria::LabelRenderer > | _labels |
| bool | _labelProjectionDirty |
| std::shared_ptr< STK::TextRenderItemSDF > | _dbgTileLabel |
MapRenderTile - Short description. Detailed description.