![]() |
Maria GDK 5.0.0.737
Documentation of native code in develop branch
|
#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 PointSymbolCell * | getPointSymbolCell (int idx) const |
PointSymbolCell * | getPointSymbolCell (int idx) |
PointSymbolCell * | getOrCreatePointSymbolCell (std::uint32_t idx) |
PointSymbolCell * | getOrCreatePointSymbolCell (const BasicGeoTypes::GeoPos &gp) |
int | calcRow (double lat) |
int | calcColumn (double lon) |
int | calcPointSymbolCellIndex (const BasicGeoTypes::GeoPos &gp) |
int | calcPointSymbolCellIndexWrapAround (int row, int col) |
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.