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

#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::VertexBufferPquad_vtx_
 

Detailed Description

VolumePolygonsRender - Render 3D volume polygons


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