org.jzy3d.plot3d.primitives.selectable
Interface Selectable
-
- All Known Implementing Classes:
- SelectableScatter, SelectableSphere, TexturedCube, TexturedCylinder
public interface SelectableAnSelectableobject is supposed to be able to compute its projection on the screen according to theCamerasettings (viewport, viewpoint, etc). TheViewprovides a mean to update the projection of allSelectableheld by the scene'sGraph. Indeed, interaction sources such as anAWTAbstractMouseSelectorare supposed to callview.project()to query an update of allSelectableobjects' 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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description Polygon2dgetHull2d()java.util.List<Coord3d>getLastProjection()voidproject(com.jogamp.opengl.GL gl, com.jogamp.opengl.glu.GLU glu, Camera cam)
-
DMelt 3.0 © DataMelt by jWork.ORG