Package org.jzy3d.plot3d.primitives.axis
Class ContourAxisBox
- java.lang.Object
-
- org.jzy3d.plot3d.primitives.axis.AxisBox
-
- org.jzy3d.plot3d.primitives.axis.ContourAxisBox
-
-
Field Summary
Fields Modifier and Type Field Description protected BufferedImage
contourImg
protected NativeDrawableImage
contourTexture
protected ContourMesh
mesh
protected float
xmax
protected float
xmin
protected float
ymax
protected float
ymin
protected float
zmax
protected float
zmin
-
Fields inherited from class org.jzy3d.plot3d.primitives.axis.AxisBox
annotations, AXE_X, AXE_Y, AXE_Z, axeXquads, axeXx, axeXy, axeXz, axeYquads, axeYx, axeYy, axeYz, axeZquads, axeZx, axeZy, axeZz, boxBounds, center, depthRangeTrick, labels, layout, NO_OVERLAP_DEPTH_RATIO, normx, normy, normz, PRECISION, quadIsHidden, quadx, quady, quadz, rotateLabel, scale, spaceTransformer, textRenderer, ticks, view, wholeBounds, xrange, yrange, zrange
-
-
Constructor Summary
Constructors Constructor Description ContourAxisBox(BoundingBox3d bbox)
ContourAxisBox(BoundingBox3d bbox, AxisLayout layout)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
draw(IPainter painter)
Draws the AxisBox.void
drawMesh(IPainter painter, 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.axis.AxisBox
addAnnotation, cullingDisable, cullingEnable, dispose, doTransform, drawAnnotations, drawCube, drawFace, drawGrid, drawGridOnQuad, drawTicksAndLabels, drawTicksAndLabelsX, drawTicksAndLabelsY, drawTicksAndLabelsZ, findClosestXaxe, findClosestYaxe, findClosestZaxe, getAnnotations, getAxisTicks, getBounds, getCenter, getCorners, getHiddenQuads, getHiddenQuads, getLayout, getQuadIsHidden, getQuadX, getQuadY, getQuadZ, getScale, getSpaceTransformer, getTextRenderer, getView, getWholeBounds, init, isX, isXAxeLabelDisplayed, isY, isYAxeLabelDisplayed, isZ, isZAxeLabelDisplayed, min, setAnnotations, setAxe, setScale, setSpaceTransformer, setTextRenderer, setView, updateHiddenQuads
-
-
-
-
Field Detail
-
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 NativeDrawableImage contourTexture
-
mesh
protected ContourMesh mesh
-
-
Constructor Detail
-
ContourAxisBox
public ContourAxisBox(BoundingBox3d bbox, AxisLayout layout)
-
ContourAxisBox
public ContourAxisBox(BoundingBox3d bbox)
-
-
Method Detail
-
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()
-
setAxeBox
protected void setAxeBox(float xmin, float xmax, float ymin, float ymax, float zmin, float zmax)
Description copied from class:AxisBox
Set the parameters and data of the AxeBox.
-
draw
public void draw(IPainter painter)
Description copied from class:AxisBox
Draws the AxisBox. 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.
-
drawMesh
public void drawMesh(IPainter painter, ContourMesh mesh)
-
-