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 BufferedImagecontourImgprotected NativeDrawableImagecontourTextureprotected ContourMeshmeshprotected floatxmaxprotected floatxminprotected floatymaxprotected floatyminprotected floatzmaxprotected floatzmin-
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, labels, layout, 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, IAxisLayout layout)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddraw(IPainter painter)Draws the AxeBox.voiddrawMesh(IPainter painter, ContourMesh mesh)BufferedImagegetContourImage()ContourMeshgetContourMesh()protected List<Coord2d>getDefaultTextureMapping()protected voidrebuildTexture()protected voidsetAxeBox(float xmin, float xmax, float ymin, float ymax, float zmin, float zmax)Set the parameters and data of the AxeBox.voidsetContourImg(BufferedImage contourImage, Range xrange, Range yrange)voidsetContourMesh(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, IAxisLayout 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:AxisBoxSet the parameters and data of the AxeBox.
-
draw
public void draw(IPainter painter)
Description copied from class:AxisBoxDraws 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.
-
drawMesh
public void drawMesh(IPainter painter, ContourMesh mesh)
-
-