org.jzy3d.plot3d.primitives.axes
Class ContourAxeBox
java.lang.Object
org.jzy3d.plot3d.primitives.axes.AxeBox
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
Fields inherited from class org.jzy3d.plot3d.primitives.axes.AxeBox |
AXE_X, AXE_Y, AXE_Z, axeXquads, axeXx, axeXy, axeXz, axeYquads, axeYx, axeYy, axeYz, axeZquads, axeZx, axeZy, axeZz, boxBounds, center, layout, normx, normy, normz, PRECISION, quadIsHidden, quadx, quady, quadz, scale, txt, view, wholeBounds, xrange, yrange, zrange |
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)
|
BufferedImage |
getContourImage()
|
ContourMesh |
getContourMesh()
|
protected List<Coord2d> |
getDefaultTextureMapping()
|
protected void |
rebuildTexture()
|
protected void |
setAxeBox(float xmin,
float xmax,
float ymin,
float ymax,
float zmin,
float zmax)
Set the parameters and data of the AxeBox. |
void |
setContourImg(BufferedImage contourImage,
Range xrange,
Range yrange)
|
void |
setContourMesh(ContourMesh contour)
|
Methods inherited from class org.jzy3d.plot3d.primitives.axes.AxeBox |
dispose, drawCube, drawGridOnQuad, drawTicks, drawTicks, findClosestXaxe, findClosestYaxe, findClosestZaxe, getBoxBounds, getCenter, getHiddenQuads, getLayout, getTextRenderer, getView, getWholeBounds, init, min, print3DcolorVertex, printHiddenQuads, setAxe, setScale, setTextRenderer, setView |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
xmin
protected float xmin
xmax
protected float xmax
ymin
protected float ymin
ymax
protected float ymax
zmin
protected float zmin
zmax
protected float zmax
contourImg
protected BufferedImage contourImg
contourTexture
protected DrawableTexture contourTexture
mesh
protected ContourMesh mesh
ContourAxeBox
public ContourAxeBox(BoundingBox3d bbox,
IAxeLayout layout)
ContourAxeBox
public ContourAxeBox(BoundingBox3d bbox)
getContourImage
public BufferedImage getContourImage()
setContourImg
public void setContourImg(BufferedImage contourImage,
Range xrange,
Range yrange)
getContourMesh
public ContourMesh getContourMesh()
setContourMesh
public void setContourMesh(ContourMesh contour)
rebuildTexture
protected void rebuildTexture()
getDefaultTextureMapping
protected List<Coord2d> getDefaultTextureMapping()
setAxeBox
protected void setAxeBox(float xmin,
float xmax,
float ymin,
float ymax,
float zmin,
float zmax)
- Description copied from class:
AxeBox
- Set the parameters and data of the AxeBox.
- Overrides:
setAxeBox
in class AxeBox
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)
Copyright © 2013. All rights reserved.