org.jzy3d.plot3d.primitives.axes
Class FeedbackBufferAxeBox

java.lang.Object
  extended by org.jzy3d.plot3d.primitives.axes.AxeBox
      extended by org.jzy3d.plot3d.primitives.axes.FeedbackBufferAxeBox
All Implemented Interfaces:
IAxe

public class FeedbackBufferAxeBox
extends AxeBox
implements IAxe

This AxeBox implementation was the first to appear in Jzy3d. It computes hidden faces using the OpenGL feedback buffer, which seems to fail on some hardware (especially Lenovo notepads). The parent AxeBox doesn't rely anymore one feedback buffer, and this implementation has been kept in order to provide an example of feedback buffer use.

Author:
Martin Pernollet
See Also:
http://code.google.com/p/jzy3d/issues/detail?id=10

Constructor Summary
FeedbackBufferAxeBox(BoundingBox3d bbox)
           
FeedbackBufferAxeBox(BoundingBox3d bbox, IAxeLayout layout)
           
 
Method Summary
 void draw(javax.media.opengl.GL gl, javax.media.opengl.glu.GLU glu, Camera camera)
          Draws the AxeBox.
 
Methods inherited from class org.jzy3d.plot3d.primitives.axes.AxeBox
dispose, getBoxBounds, getCenter, getLayout, getTextRenderer, getView, getWholeBounds, setAxe, setScale, setTextRenderer, setView
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jzy3d.plot3d.primitives.axes.IAxe
dispose, getBoxBounds, getCenter, getLayout, setAxe, setScale
 

Constructor Detail

FeedbackBufferAxeBox

public FeedbackBufferAxeBox(BoundingBox3d bbox)

FeedbackBufferAxeBox

public FeedbackBufferAxeBox(BoundingBox3d bbox,
                            IAxeLayout layout)
Method Detail

draw

public void draw(javax.media.opengl.GL gl,
                 javax.media.opengl.glu.GLU glu,
                 Camera camera)
Description copied from class: AxeBox
Draws the AxeBox. The camera is used to determine which axis is closest to the ur point ov view, in order to decide for an axis on which to diplay the tick values.

Specified by:
draw in interface IAxe
Overrides:
draw in class AxeBox