Class ScatterMultiColorList

    • Constructor Detail

      • ScatterMultiColorList

        public ScatterMultiColorList​(ColorMapper mapper)
      • ScatterMultiColorList

        public ScatterMultiColorList​(List<Coord3d> coordinates,
                                     ColorMapper mapper,
                                     float width)
    • Method Detail

      • clear

        public void clear()
      • draw

        public void draw​(IPainter painter)
        Description copied from class: Drawable
        Call OpenGL2 routines for rendering the object.
        Specified by:
        draw in interface IGLRenderer
        Specified by:
        draw in class Drawable
      • doDrawPoints

        protected void doDrawPoints​(IPainter painter)
      • setData

        public void setData​(List<Coord3d> coordinates)
        Set the coordinates of the point.
        Parameters:
        xyz - point's coordinates
      • add

        public void add​(Coord3d c)
      • setWidth

        public void setWidth​(float width)
        Set the width of the point.
        Parameters:
        width - point's width