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, isExport, 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,
javax.vecmath.Point3f vA,
javax.vecmath.Point3f vB,
javax.vecmath.Point3i sA,
javax.vecmath.Point3i sB)
|
protected void |
exportSurface(short colix)
|
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)
|
protected boolean |
setColix(short colix)
|
private boolean |
setVariables()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mesh
protected Mesh mesh
vertices
protected javax.vecmath.Point3f[] vertices
normixes
protected short[] normixes
screens
protected javax.vecmath.Point3i[] screens
transformedVectors
protected javax.vecmath.Vector3f[] transformedVectors
vertexCount
protected int vertexCount
imageFontScaling
protected float imageFontScaling
scalePixelsPerMicron
protected float scalePixelsPerMicron
diameter
protected int diameter
width
protected float width
isTranslucent
protected boolean isTranslucent
frontOnly
protected boolean frontOnly
antialias
protected boolean antialias
haveBsDisplay
protected boolean haveBsDisplay
haveBsSlabDisplay
protected boolean haveBsSlabDisplay
haveBsSlabGhost
protected boolean haveBsSlabGhost
thePlane
protected javax.vecmath.Point4f thePlane
latticeOffset
protected javax.vecmath.Point3f latticeOffset
pt1f
protected final javax.vecmath.Point3f pt1f
pt2f
protected final javax.vecmath.Point3f pt2f
pt1i
protected final javax.vecmath.Point3i pt1i
pt2i
protected final javax.vecmath.Point3i pt2i
pt3i
protected final javax.vecmath.Point3i pt3i
exportPass
protected int exportPass
doRender
private boolean doRender
volumeRender
protected boolean volumeRender
bsSlab
protected java.util.BitSet bsSlab
bsPolygons
protected java.util.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()
setColix
protected boolean setColix(short colix)
isPolygonDisplayable
protected boolean isPolygonDisplayable(int i)
- Parameters:
i
-
- Returns:
- T/F
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,
javax.vecmath.Point3f vA,
javax.vecmath.Point3f vB,
javax.vecmath.Point3i sA,
javax.vecmath.Point3i sB)
exportSurface
protected void exportSurface(short colix)