org.jzy3d.plot3d.primitives.axes
Class ContourAxeBox

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

public class ContourAxeBox
extends AxeBox

An axe box for displaying a contour map that remains on bottom of the box, whatever the box scale is.

Author:
Martin Pernollet

Constructor Summary
ContourAxeBox(BoundingBox3d bbox)
           
ContourAxeBox(BoundingBox3d bbox, IAxeLayout layout)
           
 
Method Summary
 void draw(javax.media.opengl.GL gl, javax.media.opengl.glu.GLU glu, Camera camera)
          Draws the AxeBox.
 void drawMesh(javax.media.opengl.GL gl, javax.media.opengl.glu.GLU glu, Camera camera, ContourMesh mesh)
           
 java.awt.image.BufferedImage getContourImage()
           
 ContourMesh getContourMesh()
           
 void setContourImg(java.awt.image.BufferedImage contourImage, Range xrange, Range yrange)
           
 void setContourMesh(ContourMesh contour)
           
 
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
 

Constructor Detail

ContourAxeBox

public ContourAxeBox(BoundingBox3d bbox,
                     IAxeLayout layout)

ContourAxeBox

public ContourAxeBox(BoundingBox3d bbox)
Method Detail

getContourImage

public java.awt.image.BufferedImage getContourImage()

setContourImg

public void setContourImg(java.awt.image.BufferedImage contourImage,
                          Range xrange,
                          Range yrange)

getContourMesh

public ContourMesh getContourMesh()

setContourMesh

public void setContourMesh(ContourMesh contour)

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

drawMesh

public void drawMesh(javax.media.opengl.GL gl,
                     javax.media.opengl.glu.GLU glu,
                     Camera camera,
                     ContourMesh mesh)