org.jmol.shape
public abstract class MeshRenderer extends ShapeRenderer
Modifier and Type | Field and Description |
---|---|
protected boolean |
antialias |
protected BitSet |
bsPolygons |
protected BitSet |
bsSlab |
protected int |
diameter |
private boolean |
doRender |
protected int |
exportPass |
protected boolean |
frontOnly |
protected boolean |
haveBsDisplay |
protected boolean |
haveBsSlabDisplay |
protected boolean |
haveBsSlabGhost |
protected float |
imageFontScaling |
protected boolean |
isTranslucent |
protected Point3f |
latticeOffset |
protected Mesh |
mesh |
protected short[] |
normixes |
protected Point3f |
pt1f |
protected Point3i |
pt1i |
protected Point3f |
pt2f |
protected Point3i |
pt2i |
protected Point3i |
pt3i |
protected float |
scalePixelsPerMicron |
protected Point3i[] |
screens |
protected Point4f |
thePlane |
protected Vector3f[] |
transformedVectors |
protected int |
vertexCount |
protected Point3f[] |
vertices |
protected boolean |
volumeRender |
protected float |
width |
colix, exportType, g3d, isExport, mad, madBeg, madEnd, madMid, modelSet, myVisibilityFlag, shape, shapeID, viewer
Constructor and Description |
---|
MeshRenderer() |
Modifier and Type | Method and Description |
---|---|
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(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() |
initRenderer, render, setViewerG3dShapeID
protected Mesh mesh
protected Point3f[] vertices
protected short[] normixes
protected Point3i[] screens
protected Vector3f[] transformedVectors
protected int vertexCount
protected float imageFontScaling
protected float scalePixelsPerMicron
protected int diameter
protected float width
protected boolean isTranslucent
protected boolean frontOnly
protected boolean antialias
protected boolean haveBsDisplay
protected boolean haveBsSlabDisplay
protected boolean haveBsSlabGhost
protected Point4f thePlane
protected Point3f latticeOffset
protected final Point3f pt1f
protected final Point3f pt2f
protected final Point3i pt1i
protected final Point3i pt2i
protected final Point3i pt3i
protected int exportPass
private boolean doRender
protected boolean volumeRender
protected BitSet bsSlab
protected BitSet bsPolygons
protected void render()
render
in class ShapeRenderer
public boolean render1(Mesh mesh)
private boolean setVariables()
protected boolean setColix(short colix)
protected boolean isPolygonDisplayable(int i)
i
- protected void render2(boolean generateSet)
protected void renderPoints()
protected void renderTriangles(boolean fill, boolean iShowTriangles, boolean generateSet)
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(short colix)