org.jmol.shapespecial
Class PolyhedraRenderer

java.lang.Object
  extended by org.jmol.shape.ShapeRenderer
      extended by org.jmol.shapespecial.PolyhedraRenderer

public class PolyhedraRenderer
extends ShapeRenderer


Field Summary
private  int drawEdges
           
private  boolean frontOnly
           
private  boolean isAll
           
 
Fields inherited from class org.jmol.shape.ShapeRenderer
colix, exportType, g3d, mad, madBeg, madEnd, madMid, modelSet, myVisibilityFlag, shape, shapeID, viewer
 
Constructor Summary
PolyhedraRenderer()
           
 
Method Summary
private  void drawCylinderTriangle(int xA, int yA, int zA, int xB, int yB, int zB, int xC, int yC, int zC)
           
private  void drawFace(short normix, javax.vecmath.Point3i A, javax.vecmath.Point3i B, javax.vecmath.Point3i C)
           
private  void fillFace(short normix, javax.vecmath.Point3i A, javax.vecmath.Point3i B, javax.vecmath.Point3i C)
           
protected  void render()
           
private  javax.vecmath.Point3i[] render1(Polyhedra.Polyhedron p, short colix, javax.vecmath.Point3i[] screens)
           
 
Methods inherited from class org.jmol.shape.ShapeRenderer
initRenderer, render, setViewerG3dShapeID
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

drawEdges

private int drawEdges

isAll

private boolean isAll

frontOnly

private boolean frontOnly
Constructor Detail

PolyhedraRenderer

public PolyhedraRenderer()
Method Detail

render

protected void render()
Specified by:
render in class ShapeRenderer

render1

private javax.vecmath.Point3i[] render1(Polyhedra.Polyhedron p,
                                        short colix,
                                        javax.vecmath.Point3i[] screens)

drawFace

private void drawFace(short normix,
                      javax.vecmath.Point3i A,
                      javax.vecmath.Point3i B,
                      javax.vecmath.Point3i C)

drawCylinderTriangle

private void drawCylinderTriangle(int xA,
                                  int yA,
                                  int zA,
                                  int xB,
                                  int yB,
                                  int zB,
                                  int xC,
                                  int yC,
                                  int zC)

fillFace

private void fillFace(short normix,
                      javax.vecmath.Point3i A,
                      javax.vecmath.Point3i B,
                      javax.vecmath.Point3i C)