com.metsci.glimpse.painter.base
Class GlimpseDataPainter2D
java.lang.Object
com.metsci.glimpse.painter.base.GlimpsePainterImpl
com.metsci.glimpse.painter.base.GlimpsePainter2D
com.metsci.glimpse.painter.base.GlimpseDataPainter2D
- All Implemented Interfaces:
- GlimpsePainter
- Direct Known Subclasses:
- AbstractTreeMapPainter, AnnotationPainter, CrosshairPainter, HistogramPainter, LineSetPainter, MeasurementPainter, PointSetPainter, PolygonPainterSimple, ShadedPointPainter, TrackPainter, XYLinePainter
public abstract class GlimpseDataPainter2D
- extends GlimpsePainter2D
Takes care of most of the common setup steps that GlimpsePainters must perform.
It uses the provided Axis2D
to set
the GL Orthographic projection, and sets up a standard blend function to enable
transparency.
Users of GlimpseDataPainter2D should simply be able to start making glVertex(...)
calls using data coordinates and have them display correctly (and be correctly
affected by adjustments to the axis).
- Author:
- ulman
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GlimpseDataPainter2D
public GlimpseDataPainter2D()
paintTo
public abstract void paintTo(javax.media.opengl.GL gl,
GlimpseBounds bounds,
Axis2D axis)
paintTo
public void paintTo(GlimpseContext context,
GlimpseBounds bounds,
Axis2D axis)
- Specified by:
paintTo
in class GlimpsePainter2D
Copyright © 2012 Metron, Inc.. All Rights Reserved.