Maria GDK 5.0.0.738
Documentation of native code in develop branch
Loading...
Searching...
No Matches
Maria3D::TiledLabelRenderer Class Reference

#include <M3DTiledLabelRenderer.h>

Public Member Functions

 TiledLabelRenderer (const std::shared_ptr< LocalOrigin > &localOrigin, const std::shared_ptr< STK::ShaderProgramManager > &shaderManager, const std::shared_ptr< STK::FontManager > &fontManager, const std::shared_ptr< Maria::SystemTicker > &systemTicker, int gridLevel=5)
 
std::shared_ptr< LabelRenderTilegetRenderTile (const BasicGeoTypes::GeoPos &geoPos)
 
std::shared_ptr< LabelRenderTilegetRenderTile (const Maria::TileId &tileId)
 
void addLabel (const BasicGeoTypes::GeoPos &pos, double alt, const std::string &text, const Maria::FontDescription &font, Maria::RGBA color, Maria::RGBA outlineColor, const Maria::LabelPlacement placement, double placementMargin)
 
void setVisible (bool visible)
 
bool isVisible () const
 
void render (const STK::Camera &cam, const STK::Viewport &vp)
 

Detailed Description

TiledLabelRenderer - Simple tiled grid of label renderers. Uses the same label renderers as the map labels and draw object layers, but has simpler usage and is intended for general geographical labels.


The documentation for this class was generated from the following files: