org.jmol.shapespecial
Class DipolesRenderer

java.lang.Object
  extended by org.jmol.shape.ShapeRenderer
      extended by org.jmol.shapespecial.DipolesRenderer

public class DipolesRenderer
extends ShapeRenderer


Field Summary
private static int arrowHeadBase
           
private static float arrowHeadOffset
           
private static int arrowHeadTip
           
private static float arrowHeadWidthFactor
           
private static int center
           
private static int cross
           
private  javax.vecmath.Point3f cross0
           
private  javax.vecmath.Point3f cross1
           
private static int crossEnd
           
private static float crossOffset
           
private static float crossWidth
           
private  int crossWidthPixels
           
private static int cylinderBase
           
private  int diameter
           
private  float dipoleVectorScale
           
private  int headWidthPixels
           
private  javax.vecmath.Vector3f offset
           
private  javax.vecmath.Point3f[] points
           
private  javax.vecmath.Point3i[] screens
           
 
Fields inherited from class org.jmol.shape.ShapeRenderer
colix, exportType, g3d, isExport, mad, madBeg, madEnd, madMid, modelSet, myVisibilityFlag, shape, shapeID, viewer
 
Constructor Summary
DipolesRenderer()
           
 
Method Summary
protected  void render()
           
private  void renderDipoleVector(Dipole dipole)
           
private  boolean transform(Dipole dipole)
           
 
Methods inherited from class org.jmol.shape.ShapeRenderer
initRenderer, render, setViewerG3dShapeID
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dipoleVectorScale

private float dipoleVectorScale

offset

private final javax.vecmath.Vector3f offset

screens

private final javax.vecmath.Point3i[] screens

points

private final javax.vecmath.Point3f[] points

cross0

private javax.vecmath.Point3f cross0

cross1

private javax.vecmath.Point3f cross1

cylinderBase

private static final int cylinderBase
See Also:
Constant Field Values

cross

private static final int cross
See Also:
Constant Field Values

crossEnd

private static final int crossEnd
See Also:
Constant Field Values

center

private static final int center
See Also:
Constant Field Values

arrowHeadBase

private static final int arrowHeadBase
See Also:
Constant Field Values

arrowHeadTip

private static final int arrowHeadTip
See Also:
Constant Field Values

diameter

private int diameter

headWidthPixels

private int headWidthPixels

crossWidthPixels

private int crossWidthPixels

arrowHeadOffset

private static final float arrowHeadOffset
See Also:
Constant Field Values

arrowHeadWidthFactor

private static final float arrowHeadWidthFactor
See Also:
Constant Field Values

crossOffset

private static final float crossOffset
See Also:
Constant Field Values

crossWidth

private static final float crossWidth
See Also:
Constant Field Values
Constructor Detail

DipolesRenderer

public DipolesRenderer()
Method Detail

render

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

transform

private boolean transform(Dipole dipole)

renderDipoleVector

private void renderDipoleVector(Dipole dipole)