public class VectorsRenderer extends ShapeRenderer
Modifier and Type | Field and Description |
---|---|
private static float |
arrowHeadOffset |
private int |
diameter |
private boolean |
doShaft |
private javax.vecmath.Vector3f |
headOffsetVector |
private float |
headScale |
private int |
headWidthPixels |
private javax.vecmath.Point3f |
pointArrowHead |
private javax.vecmath.Point3f |
pointVectorEnd |
private javax.vecmath.Point3i |
screenArrowHead |
private javax.vecmath.Point3i |
screenVectorEnd |
private javax.vecmath.Vector3f |
vector2 |
private float |
vectorScale |
private boolean |
vectorSymmetry |
colix, exportType, g3d, isExport, mad, madBeg, madEnd, madMid, modelSet, myVisibilityFlag, shape, shapeID, viewer
Constructor and Description |
---|
VectorsRenderer() |
Modifier and Type | Method and Description |
---|---|
protected void |
render() |
private void |
renderVector(Atom atom) |
private boolean |
transform(short mad,
Atom atom,
javax.vecmath.Vector3f vibrationVector) |
initRenderer, render, setViewerG3dShapeID
private static final float arrowHeadOffset
private final javax.vecmath.Vector3f vector2
private final javax.vecmath.Point3f pointVectorEnd
private final javax.vecmath.Point3f pointArrowHead
private final javax.vecmath.Point3i screenVectorEnd
private final javax.vecmath.Point3i screenArrowHead
private final javax.vecmath.Vector3f headOffsetVector
private int diameter
private int headWidthPixels
private float vectorScale
private boolean vectorSymmetry
private float headScale
private boolean doShaft
protected void render()
render
in class ShapeRenderer
private boolean transform(short mad, Atom atom, javax.vecmath.Vector3f vibrationVector)
private void renderVector(Atom atom)