org.jmol.shape
Class AxesRenderer

java.lang.Object
  extended by org.jmol.shape.ShapeRenderer
      extended by org.jmol.shape.FontLineShapeRenderer
          extended by org.jmol.shape.AxesRenderer

public class AxesRenderer
extends FontLineShapeRenderer


Field Summary
private static String[] axisLabels
           
private  short[] colixes
           
private  Point3f originScreen
           
private  Point3f[] screens
           
 
Fields inherited from class org.jmol.shape.FontLineShapeRenderer
atomA, atomB, atomC, atomD, box, draw000, endcap, font3d, imageFontScaling, pointT, pointT2, pointT3, pt0, pt1, pt2, tickInfo, vectorT, vectorT2, vectorT3
 
Fields inherited from class org.jmol.shape.ShapeRenderer
colix, exportType, g3d, mad, madBeg, madEnd, madMid, modelSet, myVisibilityFlag, shape, shapeID, viewer
 
Constructor Summary
AxesRenderer()
           
 
Method Summary
protected  void initRenderer()
           
protected  void render()
           
private  void renderLabel(String str, float x, float y, float z, float xCenter, float yCenter)
           
 
Methods inherited from class org.jmol.shape.FontLineShapeRenderer
clearBox, drawLine, drawString, drawTicks, getDiameter, renderLine
 
Methods inherited from class org.jmol.shape.ShapeRenderer
render, setViewerG3dShapeID
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

axisLabels

private static final String[] axisLabels

screens

private final Point3f[] screens

originScreen

private final Point3f originScreen

colixes

private short[] colixes
Constructor Detail

AxesRenderer

public AxesRenderer()
Method Detail

initRenderer

protected void initRenderer()
Overrides:
initRenderer in class ShapeRenderer

render

protected void render()
Specified by:
render in class ShapeRenderer

renderLabel

private void renderLabel(String str,
                         float x,
                         float y,
                         float z,
                         float xCenter,
                         float yCenter)