org.jmol.shapespecial
Class EllipsoidsRenderer
java.lang.Object
org.jmol.shape.ShapeRenderer
org.jmol.shapespecial.EllipsoidsRenderer
- Direct Known Subclasses:
- EllipsoidsGenerator
public class EllipsoidsRenderer
- extends ShapeRenderer
Fields inherited from class org.jmol.shape.ShapeRenderer |
colix, g3d, isGenerator, mad, madBeg, madEnd, madMid, modelSet, myVisibilityFlag, shape, shapeID, slabbing, 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 javax.vecmath.Vector3f[] axes
factoredLengths
private final float[] factoredLengths
diameter
private int diameter
diameter0
private int diameter0
selectedOctant
private int selectedOctant
selectedPoints
private javax.vecmath.Point3i[] selectedPoints
iCutout
private int iCutout
mat
private javax.vecmath.Matrix3f mat
mTemp
private javax.vecmath.Matrix3f mTemp
mDeriv
private javax.vecmath.Matrix4f mDeriv
matScreenToCartesian
private javax.vecmath.Matrix3f matScreenToCartesian
matScreenToEllipsoid
private javax.vecmath.Matrix3f matScreenToEllipsoid
matEllipsoidToScreen
private javax.vecmath.Matrix3f matEllipsoidToScreen
coef
private double[] coef
v1
private final javax.vecmath.Vector3f v1
v2
private final javax.vecmath.Vector3f v2
v3
private final javax.vecmath.Vector3f v3
pt1
private final javax.vecmath.Point3f pt1
pt2
private final javax.vecmath.Point3f pt2
s0
private final javax.vecmath.Point3i s0
s1
private final javax.vecmath.Point3i s1
s2
private final javax.vecmath.Point3i s2
toRadians
private static final float toRadians
- See Also:
- Constant Field Values
cossin
private static final float[] cossin
screens
private final javax.vecmath.Point3i[] screens
points
private final javax.vecmath.Point3f[] points
axisPoints
private static int[] axisPoints
octants
private static int[] octants
dx
private int dx
perspectiveFactor
private float perspectiveFactor
unitVectors
private static final javax.vecmath.Vector3f[] unitVectors
unitAxisPoints
private static final javax.vecmath.Point3f[] unitAxisPoints
EllipsoidsRenderer
public EllipsoidsRenderer()
render
protected void render()
- Specified by:
render
in class ShapeRenderer
render1
private void render1(Atom atom,
java.lang.Object[] ellipsoid)
setMatrices
private void setMatrices()
setAxes
private void setAxes(javax.vecmath.Point3f center,
float f)
renderAxes
private void renderAxes()
renderDots
private void renderDots(javax.vecmath.Point3f ptAtom)
renderArcs
private void renderArcs(javax.vecmath.Point3f ptAtom)
renderArc
private void renderArc(javax.vecmath.Point3f ptAtom,
int ptA,
int ptB)
renderEllipsoid
private void renderEllipsoid(Ellipsoids.Ellipsoid ellipsoid)
renderBall
private void renderBall()
setSelectedOctant
private void setSelectedOctant()