com.metsci.glimpse.painter.base
Interface GlimpsePainter
- All Known Implementing Classes:
- AbstractTreeMapPainter, AnnotationPainter, BackgroundPainter, BorderPainter, ColorAxisPlot2D, ColorRightYAxisPainter, ColorXAxisPainter, ColorYAxisPainter, ContourPainter, CopyrightPainter, CrosshairPainter, CursorTextPainter, CursorTextZPainter, DelegatePainter, EncChartPainter, FpsPainter, FunctionPlotExample.Function1DPainter, GlimpseAxisLayout1D, GlimpseAxisLayout2D, GlimpseAxisLayoutX, GlimpseAxisLayoutY, GlimpseDataPainter2D, GlimpseLayout, GlimpsePainter1D, GlimpsePainter2D, GlimpsePainterImpl, GLSimpleListenerPainter, GridPainter, HeatMapPainter, HistogramPainter, LandShapePainter, LatLonTrackPainter, LegendPainter, LegendPainter.BlockLegendPainter, LegendPainter.LineLegendPainter, LineSetPainter, MapBorderPainter, MapPlot2D, MeasurementPainter, MinimapLayout, MinimapLayout.MiniMapBoundsPainter, MultiAxisPlot2D, NdgcLandPainter, NumericAxisPainter, NumericRightYAxisPainter, NumericRotatedRightYAxisPainter, NumericRotatedYAxisPainter, NumericTopXAxisPainter, NumericXAxisPainter, NumericXYAxisPainter, NumericYAxisPainter, Plot2D, PointSetPainter, PolygonPainter, PolygonPainterSimple, ScalePainter, SelectedTimeRegionPainter, ShadedPointPainter, ShadedTexturePainter, SimplePlot2D, SimpleSelectedTimeRegionPainter, SimpleTextPainter, SimpleTreeMapPainter, StackedPlot2D, StackedTimePlot2D, TaggedColorXAxisPainter, TaggedColorYAxisPainter, TaggedHeatMapPainter, TaggedNumericXAxisPainter, TaggedNumericYAxisPainter, TaggedPartialColorXAxisPainter, TaggedPartialColorYAxisPainter, TimeAxisPainter, TimeXAxisPainter, TimeYAxisPainter, TrackPainter, XYLinePainter
public interface GlimpsePainter
GlimpsePainter is the base class for all Glimpse OpenGL drawing code. A GlimsePainter
defines a "layer" which can be painted to a given GlimpseContext.
- Author:
- ulman
paintTo
void paintTo(GlimpseContext context)
- Renders this GlimpsePainter to the provided GlimpseContext. The context defines
the GLContext to use. The GlimpseContext also specifies where this GlimpsePainter
should be rendered via the RenderTarget contained in the GlimpseContext.
setLookAndFeel
void setLookAndFeel(LookAndFeel laf)
- Sets display options for the painter based on the provided LookAndFeel.
- Parameters:
laf
-
dispose
void dispose(GlimpseContext context)
- Free GPU and CPU memory associated with this this GlimpsePainter.
After this call returns, the results of calling other GlimpsePainter
methods besides isDisposed( ) are undefined.
isDisposed
boolean isDisposed()
Copyright © 2012 Metron, Inc.. All Rights Reserved.