public class LogAxeBox extends AxeBox
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 |
---|
LogAxeBox(BoundingBox3d bbox,
IAxeLayout layout,
SpaceTransformer transformers) |
LogAxeBox(BoundingBox3d bbox,
SpaceTransformer transformers) |
Modifier and Type | Method and Description |
---|---|
void |
drawAxisTicks(com.jogamp.opengl.GL gl,
com.jogamp.opengl.glu.GLU glu,
Camera cam,
int direction,
Color color,
Halign hal,
Valign val,
float tickLength,
BoundingBox3d ticksTxtBounds,
double xpos,
double ypos,
double zpos,
float xdir,
float ydir,
float zdir,
double[] ticks) |
protected void |
drawCube(com.jogamp.opengl.GL gl,
int mode)
Make all GL2 calls allowing to build a cube with 6 separate quads.
|
protected void |
drawGridOnQuad(com.jogamp.opengl.GL gl,
int quad)
Draw a grid on the desired quad.
|
protected BoundingBox3d |
drawTicks(com.jogamp.opengl.GL gl,
com.jogamp.opengl.glu.GLU glu,
Camera cam,
int axis,
int direction,
Color color,
Halign hal,
Valign val)
Draws axis labels, tick lines and tick label
|
addAnnotation, cullingDisable, cullingEnable, dispose, doTransform, draw, drawAxisLabel, drawAxisTickNumericLabel, drawFace, drawGrid, drawTickLine, 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, print3DcolorVertex, printHiddenQuads, setAnnotations, setAxe, setAxeBox, setScale, setSpaceTransformer, setTextRenderer, setView, updateHiddenQuads, vertexGL2, vertexGLES2
public LogAxeBox(BoundingBox3d bbox, SpaceTransformer transformers)
public LogAxeBox(BoundingBox3d bbox, IAxeLayout layout, SpaceTransformer transformers)
protected void drawCube(com.jogamp.opengl.GL gl, int mode)
protected void drawGridOnQuad(com.jogamp.opengl.GL gl, int quad)
drawGridOnQuad
in class AxeBox
protected BoundingBox3d drawTicks(com.jogamp.opengl.GL gl, com.jogamp.opengl.glu.GLU glu, Camera cam, int axis, int direction, Color color, Halign hal, Valign val)
AxeBox
public void drawAxisTicks(com.jogamp.opengl.GL gl, com.jogamp.opengl.glu.GLU glu, Camera cam, int direction, Color color, Halign hal, Valign val, float tickLength, BoundingBox3d ticksTxtBounds, double xpos, double ypos, double zpos, float xdir, float ydir, float zdir, double[] ticks)
drawAxisTicks
in class AxeBox
Copyright © 2016. All rights reserved.