public class HeatMapPainter extends ShadedTexturePainter
ShadedTexturePainter
which applies
a color scale (adjustable via an Axis1D
to a double[][] rectangular array of data stored as an OpenGL
texture in order to display a two dimensional heat map.Modifier and Type | Field and Description |
---|---|
static Logger |
logger |
BYTES_PER_FLOAT
Constructor and Description |
---|
HeatMapPainter(Axis1D axis) |
Modifier and Type | Method and Description |
---|---|
ColorTexture1D |
getColorScale() |
FloatTextureProjected2D |
getData() |
Projection |
getProjection() |
void |
setAlpha(float alpha) |
void |
setColorScale(ColorTexture1D texture) |
void |
setData(FloatTextureProjected2D texture) |
void |
setDiscardNaN(boolean discard) |
addDrawableTexture, addDrawableTexture, addNonDrawableTexture, addNonDrawableTexture, addNonDrawableTexture, dispose, paintTo, removeAllDrawableTextures, removeAllNonDrawableTextures, removeDrawableTexture, removeNonDrawableTexture, removeNonDrawableTexture, setPipeline
paintTo
dispose, isDisposed, isVisible, paintTo, setErrorHandling, setLookAndFeel, setVisible
public static final Logger logger
public HeatMapPainter(Axis1D axis)
public void setDiscardNaN(boolean discard)
public void setAlpha(float alpha)
public void setData(FloatTextureProjected2D texture)
public void setColorScale(ColorTexture1D texture)
public ColorTexture1D getColorScale()
public FloatTextureProjected2D getData()
public Projection getProjection()
Copyright © 2016 Metron, Inc.. All rights reserved.