org.jmol.shape
Class MeshRenderer
java.lang.Object
org.jmol.shape.ShapeRenderer
org.jmol.shape.MeshRenderer
- Direct Known Subclasses:
- BioShapeRenderer, DrawRenderer, IsosurfaceRenderer
public abstract class MeshRenderer
- extends ShapeRenderer
Fields inherited from class org.jmol.shape.ShapeRenderer |
colix, exportType, g3d, mad, madBeg, madEnd, madMid, modelSet, myVisibilityFlag, shape, shapeID, viewer |
Method Summary |
protected int |
checkNormals(short nA,
short nB,
short nC)
|
protected void |
drawLine(int iA,
int iB,
boolean fill,
Point3f vA,
Point3f vB,
Point3i sA,
Point3i sB)
|
protected void |
exportSurface()
|
protected boolean |
isPolygonDisplayable(int i)
|
protected void |
render()
|
boolean |
render1(Mesh mesh)
|
protected void |
render2(boolean generateSet)
|
protected void |
renderPoints()
|
protected void |
renderTriangles(boolean fill,
boolean iShowTriangles,
boolean generateSet)
|
private boolean |
setVariables()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
imageFontScaling
protected float imageFontScaling
scalePixelsPerMicron
protected float scalePixelsPerMicron
vertices
protected Point3f[] vertices
normixes
protected short[] normixes
screens
protected Point3i[] screens
transformedVectors
protected Vector3f[] transformedVectors
vertexCount
protected int vertexCount
frontOnly
protected boolean frontOnly
antialias
protected boolean antialias
mesh
protected Mesh mesh
diameter
protected int diameter
width
protected float width
isTranslucent
protected boolean isTranslucent
thePlane
protected Point4f thePlane
latticeOffset
protected Point3f latticeOffset
pt1f
protected final Point3f pt1f
pt2f
protected final Point3f pt2f
pt1i
protected final Point3i pt1i
pt2i
protected final Point3i pt2i
pt3i
protected final Point3i pt3i
bsPolygons
protected BitSet bsPolygons
MeshRenderer
public MeshRenderer()
render
protected void render()
- Specified by:
render
in class ShapeRenderer
render1
public boolean render1(Mesh mesh)
setVariables
private boolean setVariables()
isPolygonDisplayable
protected boolean isPolygonDisplayable(int i)
render2
protected void render2(boolean generateSet)
renderPoints
protected void renderPoints()
renderTriangles
protected void renderTriangles(boolean fill,
boolean iShowTriangles,
boolean generateSet)
checkNormals
protected int checkNormals(short nA,
short nB,
short nC)
drawLine
protected void drawLine(int iA,
int iB,
boolean fill,
Point3f vA,
Point3f vB,
Point3i sA,
Point3i sB)
exportSurface
protected void exportSurface()