public class AxesRenderer3D extends Object implements DataUnitsTransformer<float[],double[],double[]>
| Constructor and Description | 
|---|
| AxesRenderer3D() | 
| Modifier and Type | Method and Description | 
|---|---|
| double[] | calculatePosition(double[] units)For a given coordinate in the units of the data, will calculate
        the render coordinates | 
| double[] | calculateUnitsAt(double[] position)Calculates the data unit coordinate at the given render coordinates | 
| AxisRenderer3D | getxAxisRenderer() | 
| AxisRenderer3D | getyAxisRenderer() | 
| AxisRenderer3D | getzAxisRenderer() | 
| void | precalc()Force a precalculation of the variables required for
        the pixel transformation. | 
| void | renderAxis(javax.media.opengl.GLAutoDrawable glad) | 
| double[] | scaleDimension(double[] dimension)Given a specific data dimension, calculates a render dimension. | 
| void | setAxesRanges(double minX,
             double maxX,
             double minY,
             double maxY,
             double minZ,
             double maxZ) | 
| void | setAxisThickness(double d) | 
| void | setDrawMajorGrid(boolean b) | 
| void | setDrawMinorGrid(boolean b) | 
| void | setGLAutoDrawable(javax.media.opengl.GLAutoDrawable glad) | 
| void | setMaxXValue(double d)Set the maximum x value | 
| void | setMaxYValue(double d)Set the maximum y value | 
| void | setMaxZValue(double d)Set the maximum z value | 
| void | setMinXValue(double d)Set the Minimum x value | 
| void | setMinYValue(double d)Set the Minimum y value | 
| void | setMinZValue(double d)Set the Minimum z value | 
public AxesRenderer3D()
public void setDrawMajorGrid(boolean b)
b - public void setDrawMinorGrid(boolean b)
b - public void setMaxXValue(double d)
d - The new maximumpublic void setMaxYValue(double d)
d - The new maximumpublic void setMaxZValue(double d)
d - The new maximumpublic void setMinXValue(double d)
d - The new Minimumpublic void setMinYValue(double d)
d - The new Minimumpublic void setMinZValue(double d)
d - The new Minimumpublic void setAxesRanges(double minX, double maxX, double minY, double maxY, double minZ, double maxZ)
minX - maxX - minY - maxY - minZ - maxZ - public void renderAxis(javax.media.opengl.GLAutoDrawable glad)
glad - public void setAxisThickness(double d)
d - public void setGLAutoDrawable(javax.media.opengl.GLAutoDrawable glad)
glad - public void precalc()
DataUnitsTransformerprecalc in interface DataUnitsTransformer<float[],double[],double[]>public double[] calculatePosition(double[] units)
DataUnitsTransformercalculatePosition in interface DataUnitsTransformer<float[],double[],double[]>units - The unit to convert to render coordinatespublic double[] calculateUnitsAt(double[] position)
DataUnitsTransformercalculateUnitsAt in interface DataUnitsTransformer<float[],double[],double[]>position - The data rendered position to convertpublic double[] scaleDimension(double[] dimension)
DataUnitsTransformerscaleDimension in interface DataUnitsTransformer<float[],double[],double[]>dimension - The units/data dimensionpublic AxisRenderer3D getxAxisRenderer()
public AxisRenderer3D getyAxisRenderer()
public AxisRenderer3D getzAxisRenderer()