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

Interface Selectable

  • All Known Implementing Classes:
    SelectableScatter, SelectableSphere, TexturedCube, TexturedCylinder


    public interface Selectable
    An Selectable object is supposed to be able to compute its projection on the screen according to the Camera settings (viewport, viewpoint, etc). The View provides a mean to update the projection of all Selectable held by the scene's Graph. Indeed, interaction sources such as an AWTAbstractMouseSelector are supposed to call view.project() to query an update of all Selectable objects' projections. Projection implementation is rather fast but one should consider projecting only when required, i.e. when the actual scene's Graph projection changes, which is: - when view point changes - when view scaling changes - when the objects data (shape) changes So the user is responsible of handling appropriate calls to view.project()
    • Method Detail

      • project

        void project(com.jogamp.opengl.GL gl,
                     com.jogamp.opengl.glu.GLU glu,
                     Camera cam)
      • getLastProjection

        java.util.List<Coord3d> getLastProjection()

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.