com.metsci.glimpse.support.shader
Class SampledColorScaleShaderInteger

java.lang.Object
  extended by com.metsci.glimpse.gl.shader.Shader
      extended by com.metsci.glimpse.support.shader.SampledColorScaleShader
          extended by com.metsci.glimpse.support.shader.SampledColorScaleShaderInteger
All Implemented Interfaces:
AxisListener1D

public class SampledColorScaleShaderInteger
extends SampledColorScaleShader


Constructor Summary
SampledColorScaleShaderInteger(Axis1D colorAxis, int targetTexUnit, int colorTexUnit)
           
 
Method Summary
 
Methods inherited from class com.metsci.glimpse.support.shader.SampledColorScaleShader
axisUpdated, postDisplay, preDisplay, preLink, setAlpha, setColorTexUnit, setTargetTexUnit
 
Methods inherited from class com.metsci.glimpse.gl.shader.Shader
dispose, getName, getSource, getType, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SampledColorScaleShaderInteger

public SampledColorScaleShaderInteger(Axis1D colorAxis,
                                      int targetTexUnit,
                                      int colorTexUnit)
                               throws java.io.IOException
Parameters:
colorAxis - color axis producing events
targetTexUnit - 2D texture unit which is the target of color-mapping
colorTexUnit - 1D texture unit containing color-map
Throws:
java.io.IOException - if the shader source file cannot be read


Copyright © 2012 Metron, Inc.. All Rights Reserved.