![]() |
Maria GDK 5.0.0.760
Documentation of native code in develop branch
|
#include <M3DVolumePolygonsRenderer.h>
Public Member Functions | |
VolumePolygonsRenderer (const std::shared_ptr< LocalOrigin > &localOrigin, const std::shared_ptr< STK::ShaderProgramManager > &shaderManager) | |
void | redraw (const STK::Camera &cam, const STK::Viewport &vp, const std::vector< std::shared_ptr< STK::Uniform > > &uniforms) |
Draw volumes and outlines. | |
void | redrawFootprints (const STK::Camera &cam, const STK::Viewport &vp, const std::vector< std::shared_ptr< STK::Uniform > > &uniforms) |
Draw footprints if enabled. | |
void | addPolygon (Maria::ItemId id, const std::shared_ptr< VolumePolygon > &poly) |
void | removePolygon (Maria::ItemId id) |
Protected Member Functions | |
bool | initShaders () |
Protected Attributes | |
std::shared_ptr< LocalOrigin > | _localOrigin |
std::map< Maria::ItemId, std::shared_ptr< VolumePolygon > > | _polygonRenders |
std::shared_ptr< STK::ShaderProgramManager > | _shaderManager |
std::shared_ptr< STK::ShaderProgram > | _polygonShader |
std::shared_ptr< STK::ShaderProgram > | _footprintShader |
std::shared_ptr< STK::VertexBufferP > | quad_vtx_ |
VolumePolygonsRender - Render 3D volume polygons