org.jzy3d.plot3d.primitives.pickable
Class PickableSphere

java.lang.Object
  extended by org.jzy3d.plot3d.primitives.AbstractDrawable
      extended by org.jzy3d.plot3d.primitives.AbstractWireframeable
          extended by org.jzy3d.plot3d.primitives.Sphere
              extended by org.jzy3d.plot3d.primitives.pickable.PickableSphere
All Implemented Interfaces:
ISingleColorable, IGLRenderer, ISortableDraw, Pickable

public class PickableSphere
extends Sphere
implements Pickable


Field Summary
protected  int pid
           
 
Fields inherited from class org.jzy3d.plot3d.primitives.Sphere
color, glut, position, radius, slices, stacks
 
Fields inherited from class org.jzy3d.plot3d.primitives.AbstractWireframeable
facestatus, wfcolor, wfstatus, wfwidth
 
Fields inherited from class org.jzy3d.plot3d.primitives.AbstractDrawable
bbox, displayed, hasListeners, legend, legendDisplayed, listeners, transform
 
Constructor Summary
PickableSphere()
           
PickableSphere(Coord3d position, float radius, int slicing, Color color)
           
 
Method Summary
 int getPickingId()
           
 void setPickingId(int id)
           
 
Methods inherited from class org.jzy3d.plot3d.primitives.Sphere
draw, getColor, getPosition, setColor, setData, setPosition, setSlicing, setVolume, toString, updateBounds
 
Methods inherited from class org.jzy3d.plot3d.primitives.AbstractWireframeable
getFaceDisplayed, getWireframeColor, getWireframeDisplayed, getWireframeWidth, setFaceDisplayed, setWireframeColor, setWireframeDisplayed, setWireframeWidth
 
Methods inherited from class org.jzy3d.plot3d.primitives.AbstractDrawable
addDrawableListener, call, call, callWithAlphaFactor, dispose, fireDrawableChanged, fireDrawableChanged, getBarycentre, getBounds, getDistance, getLegend, getLongestDistance, getShortestDistance, getTransform, hasLegend, isDisplayed, isLegendDisplayed, negative, removeDrawableListener, setDisplayed, setLegend, setLegendDisplayed, setTransform, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jzy3d.plot3d.primitives.pickable.Pickable
setTransform
 
Methods inherited from interface org.jzy3d.plot3d.primitives.IGLRenderer
draw
 

Field Detail

pid

protected int pid
Constructor Detail

PickableSphere

public PickableSphere()

PickableSphere

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

setPickingId

public void setPickingId(int id)
Specified by:
setPickingId in interface Pickable

getPickingId

public int getPickingId()
Specified by:
getPickingId in interface Pickable