org.jmol.shapespecial
Class EllipsoidsRenderer
java.lang.Object
org.jmol.shape.ShapeRenderer
org.jmol.shapespecial.EllipsoidsRenderer
public class EllipsoidsRenderer
- extends ShapeRenderer
Fields inherited from class org.jmol.shape.ShapeRenderer |
colix, exportType, g3d, mad, madBeg, madEnd, madMid, modelSet, myVisibilityFlag, shape, shapeID, viewer |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ellipsoids
private Ellipsoids ellipsoids
drawDots
private boolean drawDots
drawArcs
private boolean drawArcs
drawAxes
private boolean drawAxes
drawFill
private boolean drawFill
drawBall
private boolean drawBall
wireframeOnly
private boolean wireframeOnly
dotCount
private int dotCount
coords
private int[] coords
axes
private Vector3f[] axes
factoredLengths
private final float[] factoredLengths
diameter
private int diameter
diameter0
private int diameter0
selectedOctant
private int selectedOctant
selectedPoints
private Point3i[] selectedPoints
iCutout
private int iCutout
mat
private Matrix3f mat
mTemp
private Matrix3f mTemp
mDeriv
private Matrix4f mDeriv
matScreenToCartesian
private Matrix3f matScreenToCartesian
matScreenToEllipsoid
private Matrix3f matScreenToEllipsoid
matEllipsoidToScreen
private Matrix3f matEllipsoidToScreen
coef
private double[] coef
v1
private final Vector3f v1
v2
private final Vector3f v2
v3
private final Vector3f v3
pt1
private final Point3f pt1
pt2
private final Point3f pt2
s0
private final Point3i s0
s1
private final Point3i s1
s2
private final Point3i s2
dotScale
private int dotScale
toRadians
private static final float toRadians
- See Also:
- Constant Field Values
cossin
private static final float[] cossin
screens
private final Point3i[] screens
points
private final Point3f[] points
axisPoints
private static int[] axisPoints
octants
private static int[] octants
dx
private int dx
perspectiveFactor
private float perspectiveFactor
center
private Point3f center
unitVectors
private static final Vector3f[] unitVectors
unitAxisVectors
private static final Vector3f[] unitAxisVectors
fillArc
private boolean fillArc
bsTemp
private BitSet bsTemp
EllipsoidsRenderer
public EllipsoidsRenderer()
render
protected void render()
- Specified by:
render
in class ShapeRenderer
render1
private void render1(Atom atom,
Object[] ellipsoid)
setMatrices
private void setMatrices()
setAxes
private void setAxes(float f)
renderAxes
private void renderAxes()
renderDots
private void renderDots(Point3f ptAtom)
renderArcs
private void renderArcs(Point3f ptAtom)
renderArc
private void renderArc(Point3f ptAtom,
int ptA,
int ptB)
renderEllipsoid
protected void renderEllipsoid(Ellipsoids.Ellipsoid ellipsoid)
renderBall
protected void renderBall()
setSelectedOctant
private void setSelectedOctant()