Class PolygonPainterSimple

  • All Implemented Interfaces:
    GlimpsePainter

    public class PolygonPainterSimple
    extends GlimpsePainterBase
    A simpler/alternate implementation of PolygonPainter which allows arbitrary polygons to be turned on and off.
    Author:
    osborn
    • Constructor Detail

      • PolygonPainterSimple

        public PolygonPainterSimple()
    • Method Detail

      • setShowOn

        public void setShowOn​(int[] ids)
      • setShowOff

        public void setShowOff​(int[] ids)
      • setShowAll

        public void setShowAll()
      • setShowNone

        public void setShowNone()
      • setTimeRangeToDraw

        public void setTimeRangeToDraw​(long startTime,
                                       long endTime)
      • setShowAllTimeRange

        public void setShowAllTimeRange()
      • clear

        public void clear()
      • addPolygon

        public int addPolygon​(long time,
                              float[] dataX,
                              float[] dataY,
                              float[] color)