Class PointSetPainter

  • All Implemented Interfaces:
    GlimpsePainter

    public class PointSetPainter
    extends GlimpsePainterBase
    Efficiently draws a static set of points. Can also efficiently query for the points contained in a particular region of the plot using a QuadTree.
    Author:
    ulman
    • Field Detail

      • SPATIAL_SELECTION_UPDATE_RATE

        public static final long SPATIAL_SELECTION_UPDATE_RATE
        See Also:
        Constant Field Values
    • Constructor Detail

      • PointSetPainter

        public PointSetPainter​(boolean enableSpatialIndex)
    • Method Detail

      • setData

        public void setData​(float[] dataX,
                            float[] dataY)
      • setData

        public void setData​(float[] dataX,
                            float[] dataY,
                            int dataSize)
      • setColor

        public void setColor​(float[] dataZ,
                             ColorMap scale)
      • setPointColor

        public void setPointColor​(float[] rgba)
      • setPointColor

        public void setPointColor​(float r,
                                  float g,
                                  float b,
                                  float a)
      • setFeatherSize

        public void setFeatherSize​(float featherSize)
      • setPointSize

        public void setPointSize​(float pointSize)