com.metsci.glimpse.painter.texture
Class HeatMapPainter
java.lang.Object
com.metsci.glimpse.painter.base.GlimpsePainterImpl
com.metsci.glimpse.painter.base.GlimpsePainter2D
com.metsci.glimpse.painter.texture.ShadedTexturePainter
com.metsci.glimpse.painter.texture.HeatMapPainter
- All Implemented Interfaces:
- GlimpsePainter
- Direct Known Subclasses:
- TaggedHeatMapPainter
public class HeatMapPainter
- extends ShadedTexturePainter
A simplified facade to 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.
- Author:
- ulman
Field Summary |
static java.util.logging.Logger |
logger
|
Methods inherited from class com.metsci.glimpse.painter.texture.ShadedTexturePainter |
addDrawableTexture, addDrawableTexture, addNonDrawableTexture, addNonDrawableTexture, dispose, paintTo, removeAllDrawableTextures, removeAllNonDrawableTextures, removeDrawableTexture, removeNonDrawableTexture, setPipeline |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
public static final java.util.logging.Logger logger
HeatMapPainter
public HeatMapPainter(Axis1D axis)
setAlpha
public void setAlpha(float alpha)
setData
public void setData(FloatTextureProjected2D texture)
setColorScale
public void setColorScale(ColorTexture1D texture)
getColorScale
public ColorTexture1D getColorScale()
getData
public FloatTextureProjected2D getData()
getProjection
public Projection getProjection()
Copyright © 2012 Metron, Inc.. All Rights Reserved.