org.jzy3d.plot3d.primitives.axes
Class FeedbackBufferAxeBox
java.lang.Object
org.jzy3d.plot3d.primitives.axes.AxeBox
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
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 |
FeedbackBufferAxeBox
public FeedbackBufferAxeBox(BoundingBox3d bbox)
FeedbackBufferAxeBox
public FeedbackBufferAxeBox(BoundingBox3d bbox,
IAxeLayout layout)
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