org.jmol.shapespecial
public class EllipsoidsRenderer extends ShapeRenderer
Modifier and Type | Field and Description |
---|---|
private Vector3f[] |
axes |
private static int[] |
axisPoints |
private BitSet |
bsTemp |
private Point3f |
center |
private double[] |
coef |
private int[] |
coords |
private static float[] |
cossin |
private int |
diameter |
private int |
diameter0 |
private int |
dotCount |
private int |
dotScale |
private boolean |
drawArcs |
private boolean |
drawAxes |
private boolean |
drawBall |
private boolean |
drawDots |
private boolean |
drawFill |
private int |
dx |
private Ellipsoids |
ellipsoids |
private float[] |
factoredLengths |
private boolean |
fillArc |
private int |
iCutout |
private Matrix3f |
mat |
private Matrix3f |
matEllipsoidToScreen |
private Matrix3f |
matScreenToCartesian |
private Matrix3f |
matScreenToEllipsoid |
private Matrix4f |
mDeriv |
private Matrix3f |
mTemp |
private static int[] |
octants |
private float |
perspectiveFactor |
private Point3f[] |
points |
private Point3f |
pt1 |
private Point3f |
pt2 |
private Point3i |
s0 |
private Point3i |
s1 |
private Point3i |
s2 |
private Point3i[] |
screens |
private int |
selectedOctant |
private Point3i[] |
selectedPoints |
private static float |
toRadians |
private static Vector3f[] |
unitAxisVectors |
private static Vector3f[] |
unitVectors |
private Vector3f |
v1 |
private Vector3f |
v2 |
private Vector3f |
v3 |
private boolean |
wireframeOnly |
colix, exportType, g3d, isExport, mad, madBeg, madEnd, madMid, modelSet, myVisibilityFlag, shape, shapeID, viewer
Constructor and Description |
---|
EllipsoidsRenderer() |
Modifier and Type | Method and Description |
---|---|
protected void |
render() |
private void |
render1(Atom atom,
Object[] ellipsoid) |
private void |
renderArc(Point3f ptAtom,
int ptA,
int ptB) |
private void |
renderArcs(Point3f ptAtom) |
private void |
renderAxes() |
protected void |
renderBall() |
private void |
renderDots(Point3f ptAtom) |
protected void |
renderEllipsoid(Ellipsoids.Ellipsoid ellipsoid) |
private void |
setAxes(float f) |
private void |
setMatrices() |
private void |
setSelectedOctant() |
initRenderer, render, setViewerG3dShapeID
private Ellipsoids ellipsoids
private boolean drawDots
private boolean drawArcs
private boolean drawAxes
private boolean drawFill
private boolean drawBall
private boolean wireframeOnly
private int dotCount
private int[] coords
private Vector3f[] axes
private final float[] factoredLengths
private int diameter
private int diameter0
private int selectedOctant
private Point3i[] selectedPoints
private int iCutout
private Matrix3f mat
private Matrix3f mTemp
private Matrix4f mDeriv
private Matrix3f matScreenToCartesian
private Matrix3f matScreenToEllipsoid
private Matrix3f matEllipsoidToScreen
private double[] coef
private final Vector3f v1
private final Vector3f v2
private final Vector3f v3
private final Point3f pt1
private final Point3f pt2
private final Point3i s0
private final Point3i s1
private final Point3i s2
private int dotScale
private static final float toRadians
private static final float[] cossin
private final Point3i[] screens
private final Point3f[] points
private static int[] axisPoints
private static int[] octants
private int dx
private float perspectiveFactor
private Point3f center
private static final Vector3f[] unitVectors
private static final Vector3f[] unitAxisVectors
private boolean fillArc
private BitSet bsTemp
protected void render()
render
in class ShapeRenderer
private void setMatrices()
private void setAxes(float f)
private void renderAxes()
private void renderDots(Point3f ptAtom)
private void renderArcs(Point3f ptAtom)
private void renderArc(Point3f ptAtom, int ptA, int ptB)
protected void renderEllipsoid(Ellipsoids.Ellipsoid ellipsoid)
protected void renderBall()
private void setSelectedOctant()