public class FeedbackBufferAxeBox extends AxeBox implements IAxe
AxeBox implementation was the first to appear in Jzy3d.
It computes hidden faces via method getHiddenQuads using the
OpenGL feedback buffer, which seems to fail on some laptop GPU.
(especially Lenovo notepads).annotations, 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, spaceTransformer, txt, view, wholeBounds, xrange, yrange, zrange| Constructor and Description |
|---|
FeedbackBufferAxeBox(BoundingBox3d bbox) |
FeedbackBufferAxeBox(BoundingBox3d bbox,
IAxeLayout layout) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean[] |
getEmptyTokens(int ntokens,
float[] buffer,
int size)
This utility function inform wether a GL_PASS_THROUGH_TOKEN was followed
by other OpenGL tokens (GL_POLYGON_TOKEN, GL_LINE_TOKEN, etc), or not.
|
protected boolean[] |
getHiddenQuads(com.jogamp.opengl.GL gl)
Render the cube into the feedback buffer, in order to parse feedback
and determine which quad where displayed or not.
|
protected int |
print3DcolorVertex(int size,
int count,
float[] buffer)
Print out parameters of a gl call in 3dColor mode.
|
protected void |
printHiddenQuads()
Print out display status of quads.
|
addAnnotation, cullingDisable, cullingEnable, dispose, doTransform, draw, drawAxisLabel, drawAxisTickNumericLabel, drawAxisTicks, drawCube, drawFace, drawGrid, drawGridOnQuad, drawTickLine, drawTicks, drawTicks, drawTicksAndLabels, drawTicksAndLabelsX, drawTicksAndLabelsY, drawTicksAndLabelsZ, findClosestXaxe, findClosestYaxe, findClosestZaxe, getAnnotations, getAxisTicks, getBoxBounds, getCenter, getHiddenQuads, getLayout, getScale, getSpaceTransformer, getTextRenderer, getView, getWholeBounds, init, isX, isXDisplayed, isY, isYDisplayed, isZ, isZDisplayed, layoutHorizontal, layoutVertical, min, setAnnotations, setAxe, setAxeBox, setScale, setSpaceTransformer, setTextRenderer, setView, updateHiddenQuads, vertexGL2, vertexGLES2clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdispose, draw, getAnnotations, getBoxBounds, getCenter, getLayout, getScale, getSpaceTransformer, setAnnotations, setAxe, setScale, setSpaceTransformerpublic FeedbackBufferAxeBox(BoundingBox3d bbox)
public FeedbackBufferAxeBox(BoundingBox3d bbox, IAxeLayout layout)
protected boolean[] getHiddenQuads(com.jogamp.opengl.GL gl)
protected boolean[] getEmptyTokens(int ntokens,
float[] buffer,
int size)
a - RuntimeException if a parsed token is either GL_BITMAP_TOKEN, GL_DRAW_PIXEL_TOKEN, or GL_COPY_PIXEL_TOKEN.protected int print3DcolorVertex(int size,
int count,
float[] buffer)
print3DcolorVertex in class AxeBoxprotected void printHiddenQuads()
printHiddenQuads in class AxeBoxCopyright © 2016. All rights reserved.