public class EllipsoidsRenderer extends ShapeRenderer
Modifier and Type | Field and Description |
---|---|
private javax.vecmath.Vector3f[] |
axes |
private static int[] |
axisPoints |
private java.util.BitSet |
bsTemp |
private javax.vecmath.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 javax.vecmath.Matrix3f |
mat |
private javax.vecmath.Matrix3f |
matEllipsoidToScreen |
private javax.vecmath.Matrix3f |
matScreenToCartesian |
private javax.vecmath.Matrix3f |
matScreenToEllipsoid |
private javax.vecmath.Matrix4f |
mDeriv |
private javax.vecmath.Matrix3f |
mTemp |
private static int[] |
octants |
private float |
perspectiveFactor |
private javax.vecmath.Point3f[] |
points |
private javax.vecmath.Point3f |
pt1 |
private javax.vecmath.Point3f |
pt2 |
private javax.vecmath.Point3i |
s0 |
private javax.vecmath.Point3i |
s1 |
private javax.vecmath.Point3i |
s2 |
private javax.vecmath.Point3i[] |
screens |
private int |
selectedOctant |
private javax.vecmath.Point3i[] |
selectedPoints |
private static float |
toRadians |
private static javax.vecmath.Vector3f[] |
unitAxisVectors |
private static javax.vecmath.Vector3f[] |
unitVectors |
private javax.vecmath.Vector3f |
v1 |
private javax.vecmath.Vector3f |
v2 |
private javax.vecmath.Vector3f |
v3 |
private boolean |
wireframeOnly |
colix, exportType, g3d, 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,
java.lang.Object[] ellipsoid) |
private void |
renderArc(javax.vecmath.Point3f ptAtom,
int ptA,
int ptB) |
private void |
renderArcs(javax.vecmath.Point3f ptAtom) |
private void |
renderAxes() |
protected void |
renderBall() |
private void |
renderDots(javax.vecmath.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 javax.vecmath.Vector3f[] axes
private final float[] factoredLengths
private int diameter
private int diameter0
private int selectedOctant
private javax.vecmath.Point3i[] selectedPoints
private int iCutout
private javax.vecmath.Matrix3f mat
private javax.vecmath.Matrix3f mTemp
private javax.vecmath.Matrix4f mDeriv
private javax.vecmath.Matrix3f matScreenToCartesian
private javax.vecmath.Matrix3f matScreenToEllipsoid
private javax.vecmath.Matrix3f matEllipsoidToScreen
private double[] coef
private final javax.vecmath.Vector3f v1
private final javax.vecmath.Vector3f v2
private final javax.vecmath.Vector3f v3
private final javax.vecmath.Point3f pt1
private final javax.vecmath.Point3f pt2
private final javax.vecmath.Point3i s0
private final javax.vecmath.Point3i s1
private final javax.vecmath.Point3i s2
private int dotScale
private static final float toRadians
private static final float[] cossin
private final javax.vecmath.Point3i[] screens
private final javax.vecmath.Point3f[] points
private static int[] axisPoints
private static int[] octants
private int dx
private float perspectiveFactor
private javax.vecmath.Point3f center
private static final javax.vecmath.Vector3f[] unitVectors
private static final javax.vecmath.Vector3f[] unitAxisVectors
private boolean fillArc
private java.util.BitSet bsTemp
protected void render()
render
in class ShapeRenderer
private void render1(Atom atom, java.lang.Object[] ellipsoid)
private void setMatrices()
private void setAxes(float f)
private void renderAxes()
private void renderDots(javax.vecmath.Point3f ptAtom)
private void renderArcs(javax.vecmath.Point3f ptAtom)
private void renderArc(javax.vecmath.Point3f ptAtom, int ptA, int ptB)
protected void renderEllipsoid(Ellipsoids.Ellipsoid ellipsoid)
protected void renderBall()
private void setSelectedOctant()