Documentation of 'org.jzy3d.plot3d.primitives.selectable.SelectableSphere' Java class
SelectableSphere
org.jzy3d.plot3d.primitives.selectable

Class SelectableSphere

    • Constructor Detail

      • SelectableSphere

        public SelectableSphere()
      • SelectableSphere

        public SelectableSphere(Coord3d position,
                                float radius,
                                int slicing,
                                Color color)
    • Method Detail

      • 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
        Overrides:
        draw in class Sphere
        Parameters:
        gl - GL2 context
        glu - GLU context
        cam - a reference to a shooting Camera.
      • project

        public void project(com.jogamp.opengl.GL gl,
                            com.jogamp.opengl.glu.GLU glu,
                            Camera cam)
        Specified by:
        project in interface Selectable
      • getProjection

        public java.util.List<Coord3d> getProjection()
      • setPosition

        public void setPosition(Coord3d position)
        Description copied from class: Sphere
        Set the position of the Sphere and the dimensions of its boundingbox. Note that this position will be use to translate the object before drawing it (meaning a glTranslate(position) is performed right after the Translate.execute).
        Overrides:
        setPosition in class Sphere
      • setVolume

        public void setVolume(float radius)
        Description copied from class: Sphere
        Set the radius of the sphere, and the dimensions of its boundingbox.
        Overrides:
        setVolume in class Sphere
        Parameters:
        radius - sphere radius
      • setHighlighted

        public void setHighlighted(boolean value)
      • isHighlighted

        public boolean isHighlighted()
      • resetHighlighting

        public void resetHighlighting()

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.