Class PointPanel

    • Field Detail

      • x_dim

        protected int x_dim
      • y_dim

        protected int y_dim
      • col

        protected Color col
      • default_color

        protected Color default_color
      • panel_size

        protected int panel_size
      • window_size

        protected int window_size
      • highligted

        protected boolean highligted
      • decayRate

        protected double decayRate
      • decayThreshold

        protected double decayThreshold
      • type

        protected int type
    • Constructor Detail

      • PointPanel

        public PointPanel​(DataPoint point,
                          StreamPanel streamPanel,
                          double decayRate,
                          double decayThreshold)
        Type 1: Possibly be decayed, colored by class label.
        Parameters:
        point -
        streamPanel -
        decayRate -
        decayThreshold -
      • PointPanel

        public PointPanel​(DataPoint point,
                          StreamPanel streamPanel,
                          Color color)
        Type 2: Never be decayed, single color.
        Parameters:
        point -
        streamPanel -
        color -
    • Method Detail

      • updateLocation

        public void updateLocation()
      • getPointColorbyClass

        public static Color getPointColorbyClass​(DataPoint point,
                                                 float numClasses)
      • highlight

        public void highlight​(boolean enabled)
      • getObjectInfo

        public String getObjectInfo()
      • getSVGString

        public String getSVGString​(int width)
      • drawOnCanvas

        public void drawOnCanvas​(Graphics2D imageGraphics)