Class TilePainter<V>

  • All Implemented Interfaces:
    GlimpsePainter
    Direct Known Subclasses:
    ShadedReliefTiledPainter, ShorelineTilePainter

    public abstract class TilePainter<V>
    extends DelegatePainter
    Paints a geo with tiled data. The subclass must implement the actual painting of the tiles themselves. This class takes care of identifying the visible tiles (and tiles that are appropriate to paint in the current projection) and providing those to the subclass to paint.
    Author:
    borkholder
    • Constructor Detail

    • Method Detail

      • paintTo

        public void paintTo​(GlimpseContext context)
        Description copied from interface: GlimpsePainter
        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.
        Specified by:
        paintTo in interface GlimpsePainter
        Overrides:
        paintTo in class DelegatePainter