com.metsci.glimpse.charts.bathy
Class ContourPainter

java.lang.Object
  extended by com.metsci.glimpse.painter.base.GlimpsePainterImpl
      extended by com.metsci.glimpse.painter.base.GlimpsePainter2D
          extended by com.metsci.glimpse.charts.bathy.ContourPainter
All Implemented Interfaces:
GlimpsePainter

public class ContourPainter
extends GlimpsePainter2D

Author:
ulman

Field Summary
 
Fields inherited from class com.metsci.glimpse.painter.base.GlimpsePainterImpl
BYTES_PER_FLOAT, logger
 
Constructor Summary
ContourPainter(ContourData data)
           
ContourPainter(float[] coordsX, float[] coordsY)
           
 
Method Summary
 void dispose(javax.media.opengl.GLContext context)
           
 void paintTo(GlimpseContext context, GlimpseBounds bounds, Axis2D axis)
           
 void setLineColor(float r, float g, float b, float a)
           
 void setLineWidth(float width)
           
 
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
 

Constructor Detail

ContourPainter

public ContourPainter(ContourData data)

ContourPainter

public ContourPainter(float[] coordsX,
                      float[] coordsY)
Method Detail

paintTo

public void paintTo(GlimpseContext context,
                    GlimpseBounds bounds,
                    Axis2D axis)
Specified by:
paintTo in class GlimpsePainter2D

setLineColor

public void setLineColor(float r,
                         float g,
                         float b,
                         float a)

setLineWidth

public void setLineWidth(float width)

dispose

public void dispose(javax.media.opengl.GLContext context)


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