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

#include <MPointSymbolRenderLayer.h>

Public Member Functions

 PointSymbolRenderLayer (int rows, int cols)
 
void redraw (const std::shared_ptr< RasterProjector > &viewport, const STK::Matrix4x4f &mv, STK::ShaderProgram &shader, GLuint quadVBO)
 
void circleHitTest (const std::shared_ptr< RasterProjector > &vp, double px, double py, float symbolSize, int pickRadius, std::vector< Maria::ItemId > &items)
 
void hitTest (const std::shared_ptr< RasterProjector > &viewport, const std::shared_ptr< RasterProjector > &pickVp, const STK::Matrix4x4f &mv, STK::ShaderProgram &shader, GLuint quadVBO, STK::FBOTexture &fbo, std::vector< Maria::ItemId > &items)
 
const PointSymbolCellgetPointSymbolCell (int idx) const
 
PointSymbolCellgetPointSymbolCell (int idx)
 
PointSymbolCellgetOrCreatePointSymbolCell (std::uint32_t idx)
 
PointSymbolCellgetOrCreatePointSymbolCell (const BasicGeoTypes::GeoPos &gp)
 
int calcRow (double lat)
 
int calcColumn (double lon)
 
int calcPointSymbolCellIndex (const BasicGeoTypes::GeoPos &gp)
 
int calcPointSymbolCellIndexWrapAround (int row, int col)
 

Detailed Description

PointSymbolRenderLayer - A layer of point symbols A symbol render layer is a lat/lon grid for batching point symbols that are geographically close to each other.

The PointSymbolRenderer organizes layers by texture atlas page so that we can render symbols sorted by texture.


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