org.jmol.shapespecial

Class EllipsoidsRenderer

public class EllipsoidsRenderer extends ShapeRenderer

Field Summary
Vector3f[]axes
static int[]axisPoints
double[]coef
int[]coords
static float[]cossin
intdiameter
intdiameter0
intdotCount
booleandrawArcs
booleandrawAxes
booleandrawBall
booleandrawDots
booleandrawFill
intdx
Ellipsoidsellipsoids
float[]factoredLengths
intiCutout
Matrix3fmat
Matrix3fmatEllipsoidToScreen
Matrix3fmatScreenToCartesian
Matrix3fmatScreenToEllipsoid
Matrix4fmDeriv
Matrix3fmTemp
static int[]octants
floatperspectiveFactor
Point3f[]points
Point3fpt1
Point3fpt2
Point3is0
Point3is1
Point3is2
Point3i[]screens
intselectedOctant
Point3i[]selectedPoints
static floattoRadians
static Point3f[]unitAxisPoints
static Vector3f[]unitVectors
Vector3fv1
Vector3fv2
Vector3fv3
booleanwireframeOnly
Method Summary
protected voidrender()
voidrender1(Atom atom, Object[] ellipsoid)
voidrenderArc(Point3f ptAtom, int ptA, int ptB)
voidrenderArcs(Point3f ptAtom)
voidrenderAxes()
voidrenderBall()
voidrenderDots(Point3f ptAtom)
voidrenderEllipsoid(Ellipsoids.Ellipsoid ellipsoid)
voidsetAxes(Point3f center, float f)
voidsetMatrices()
voidsetSelectedOctant()

Field Detail

axes

private Vector3f[] axes

axisPoints

private static int[] axisPoints

coef

private double[] coef

coords

private int[] coords

cossin

private static final float[] cossin

diameter

private int diameter

diameter0

private int diameter0

dotCount

private int dotCount

drawArcs

private boolean drawArcs

drawAxes

private boolean drawAxes

drawBall

private boolean drawBall

drawDots

private boolean drawDots

drawFill

private boolean drawFill

dx

private int dx

ellipsoids

private Ellipsoids ellipsoids

factoredLengths

private final float[] factoredLengths

iCutout

private int iCutout

mat

private Matrix3f mat

matEllipsoidToScreen

private Matrix3f matEllipsoidToScreen

matScreenToCartesian

private Matrix3f matScreenToCartesian

matScreenToEllipsoid

private Matrix3f matScreenToEllipsoid

mDeriv

private Matrix4f mDeriv

mTemp

private Matrix3f mTemp

octants

private static int[] octants

perspectiveFactor

private float perspectiveFactor

points

private final Point3f[] points

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

screens

private final Point3i[] screens

selectedOctant

private int selectedOctant

selectedPoints

private Point3i[] selectedPoints

toRadians

private static final float toRadians

unitAxisPoints

private static final Point3f[] unitAxisPoints

unitVectors

private static final Vector3f[] unitVectors

v1

private final Vector3f v1

v2

private final Vector3f v2

v3

private final Vector3f v3

wireframeOnly

private boolean wireframeOnly

Method Detail

render

protected void render()

render1

private void render1(Atom atom, Object[] ellipsoid)

renderArc

private void renderArc(Point3f ptAtom, int ptA, int ptB)

renderArcs

private void renderArcs(Point3f ptAtom)

renderAxes

private void renderAxes()

renderBall

private void renderBall()

renderDots

private void renderDots(Point3f ptAtom)

renderEllipsoid

private void renderEllipsoid(Ellipsoids.Ellipsoid ellipsoid)

setAxes

private void setAxes(Point3f center, float f)

setMatrices

private void setMatrices()

setSelectedOctant

private void setSelectedOctant()