Documentation of 'org.jzy3d.plot3d.primitives.Scatter' Java class
Scatter
org.jzy3d.plot3d.primitives

Class Scatter

    • Field Detail

      • colors

        public Color[] colors
      • coordinates

        public Coord3d[] coordinates
      • width

        public float width
    • Constructor Detail

      • Scatter

        public Scatter()
      • Scatter

        public Scatter(Coord3d[] coordinates)
      • Scatter

        public Scatter(Coord3d[] coordinates,
                       Color rgb)
      • Scatter

        public Scatter(Coord3d[] coordinates,
                       Color rgb,
                       float width)
      • Scatter

        public Scatter(Coord3d[] coordinates,
                       Color[] colors)
      • Scatter

        public Scatter(Coord3d[] coordinates,
                       Color[] colors,
                       float width)
    • Method Detail

      • clear

        public void clear()
      • draw

        public void draw(com.jogamp.opengl.GL gl,
                         com.jogamp.opengl.glu.GLU glu,
                         Camera cam)
        Description copied from class: AbstractDrawable
        Call OpenGL2 routines for rendering the object.
        Specified by:
        draw in interface IGLRenderer
        Specified by:
        draw in class AbstractDrawable
        Parameters:
        gl - GL2 context
        glu - GLU context
        cam - a reference to a shooting Camera.
      • drawGLES2

        public void drawGLES2()
      • drawGL2

        public void drawGL2(com.jogamp.opengl.GL gl)
      • setData

        public void setData(Coord3d[] coordinates)
        Set the coordinates of the point.
        Parameters:
        xyz - point's coordinates
      • getData

        public Coord3d[] getData()
      • setColors

        public void setColors(Color[] colors)
      • setWidth

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

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.