Maria GDK 5.0.0.850
Documentation of native code in develop branch
Loading...
Searching...
No Matches
Maria::DrawObjectTileRenderer Class Reference

#include <MDrawObjectTileRenderer.h>

Public Member Functions

 DrawObjectTileRenderer (const std::shared_ptr< STK::ShaderProgramManager > &shaderManager, const std::shared_ptr< DrawObjectManager > &drawObjectManager, const std::shared_ptr< Maria::DrawObjectStore > &drawObjectStore, const std::shared_ptr< Maria::SystemTicker > &systemTicker, const std::shared_ptr< Maria::GeoUnitsSetting > &geoUnitsSetting)
 
std::shared_ptr< Maria::CompositeStyleItemgetResolvedStyle (const ItemId &objectId)
 
void setStyleSet (const std::shared_ptr< Maria::StyleSet > &styleSet)
 
void updateStyling (bool forceFullUpdate)
 
bool hasVisibleDrawObjects (const std::shared_ptr< RasterProjector > &rp) const
 
std::vector< int > findVisibleDrawObjects (const std::shared_ptr< RasterProjector > &rp) const
 
const std::shared_ptr< Maria::DrawObjectStore > & getDrawObjectStore () const
 
std::vector< int > renderDrawObjects (const std::shared_ptr< RasterProjector > &rp)
 

Detailed Description

DrawObjectTileRenderer - Simple Mercator tile draw object renderer. This simplified draw object renderer can render area objects into mercator tiles. Does not support point objects, clustering or other projections than simple mercator.

Assumes that all draw object data has been pre-loaded in the draw object store.

This renderer is primarily used for generating texture tiles in the 3D terrain renderer.

Member Function Documentation

◆ renderDrawObjects()

std::vector< int > DrawObjectTileRenderer::renderDrawObjects ( const std::shared_ptr< RasterProjector > &  rp)

Render all draw objects inside the rasterprojector. Will return a vector of internal DrawObject index ID's for all objects that were rendered.


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