com.metsci.glimpse.painter.texture
Class HeatMapPainter

java.lang.Object
  extended by com.metsci.glimpse.painter.base.GlimpsePainterImpl
      extended by com.metsci.glimpse.painter.base.GlimpsePainter2D
          extended by com.metsci.glimpse.painter.texture.ShadedTexturePainter
              extended by 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
           
 
Fields inherited from class com.metsci.glimpse.painter.base.GlimpsePainterImpl
BYTES_PER_FLOAT
 
Constructor Summary
HeatMapPainter(Axis1D axis)
           
 
Method Summary
 ColorTexture1D getColorScale()
           
 FloatTextureProjected2D getData()
           
 Projection getProjection()
           
 void setAlpha(float alpha)
           
 void setColorScale(ColorTexture1D texture)
           
 void setData(FloatTextureProjected2D texture)
           
 
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 com.metsci.glimpse.painter.base.GlimpsePainter2D
paintTo
 
Methods inherited from class com.metsci.glimpse.painter.base.GlimpsePainterImpl
dispose, isDisposed, isVisible, paintTo, setErrorHandling, setLookAndFeel, setVisible
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

public static final java.util.logging.Logger logger
Constructor Detail

HeatMapPainter

public HeatMapPainter(Axis1D axis)
Method Detail

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.