com.vividsolutions.jump.workbench.imagery.geotiff
Class RasterPainter

java.lang.Object
  extended by com.vividsolutions.jump.workbench.imagery.geotiff.RasterPainter

public class RasterPainter
extends java.lang.Object


Constructor Summary
RasterPainter(GeoReferencedRaster geoRaster)
           
 
Method Summary
 double getRescalingConstant()
           
 double getRescalingOffset()
           
 void paint(java.awt.Graphics2D g, Viewport viewport)
           
 void setEnabled(boolean enabled)
           
 void setRescalingConstant(double x)
           
 void setRescalingOffset(double x)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RasterPainter

public RasterPainter(GeoReferencedRaster geoRaster)
Method Detail

setRescalingConstant

public void setRescalingConstant(double x)

setRescalingOffset

public void setRescalingOffset(double x)

paint

public void paint(java.awt.Graphics2D g,
                  Viewport viewport)
           throws java.lang.Exception
Throws:
java.lang.Exception

setEnabled

public void setEnabled(boolean enabled)

getRescalingConstant

public double getRescalingConstant()
Returns:
Returns the rescalingConstant.

getRescalingOffset

public double getRescalingOffset()
Returns:
Returns the rescalingOffset.