Package cz.fidentis.analyst.rendering
Class HeatmapRenderer
java.lang.Object
cz.fidentis.analyst.rendering.HeatmapRenderer
Heatmap rendering.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
drawMeshModel
(com.jogamp.opengl.GL2 gl, MeshModel model, HeatMap3D heatMap, float transparency) Maps distances of mesh model vertices to colors and renders the taken heatmap.void
renderMeshFacet
(com.jogamp.opengl.GL2 gl, MeshFacet facet, HeatMap3D heatMap, float transparency) Maps distances of mesh facet to colors and renders the taken heatmap.
-
Constructor Details
-
HeatmapRenderer
public HeatmapRenderer()
-
-
Method Details
-
drawMeshModel
public void drawMeshModel(com.jogamp.opengl.GL2 gl, MeshModel model, HeatMap3D heatMap, float transparency) Maps distances of mesh model vertices to colors and renders the taken heatmap.- Parameters:
gl
- OpenGL contextmodel
- Mesh model to be renderedheatMap
- 3D heat maptransparency
- transparency
-
renderMeshFacet
public void renderMeshFacet(com.jogamp.opengl.GL2 gl, MeshFacet facet, HeatMap3D heatMap, float transparency) Maps distances of mesh facet to colors and renders the taken heatmap.- Parameters:
gl
- OpenGL contextfacet
- Mesh facetheatMap
- 3D heat map
-