org.jmol.shapespecial
Class DotsRenderer

java.lang.Object
  extended by org.jmol.shape.ShapeRenderer
      extended by org.jmol.shapespecial.DotsRenderer
Direct Known Subclasses:
GeoSurfaceRenderer

public class DotsRenderer
extends ShapeRenderer


Field Summary
private  int dotScale
           
 int[] faceMap
           
 boolean iShowSolid
           
 int[] screenCoordinates
           
 int screenDotCount
           
 int screenLevel
           
protected  float testRadiusAdjust
           
(package private)  javax.vecmath.Vector3f[] verticesTransformed
           
 
Fields inherited from class org.jmol.shape.ShapeRenderer
colix, exportType, g3d, isExport, mad, madBeg, madEnd, madMid, modelSet, myVisibilityFlag, shape, shapeID, viewer
 
Constructor Summary
DotsRenderer()
           
 
Method Summary
private  int calcScreenPoints(FastBitSet visibilityMap, float radius, int x, int y, int z)
          calculates the screen xy coordinates for the dots or faces
protected  void initRenderer()
           
protected  void render()
           
protected  void render1(Dots dots)
           
protected  void renderConvex(short colix, FastBitSet map, int nPoints)
          generic renderer -- dots and geosurface
protected  void renderDots(int nPoints)
          also called by GeoSurface when in motion
 
Methods inherited from class org.jmol.shape.ShapeRenderer
render, setViewerG3dShapeID
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

iShowSolid

public boolean iShowSolid

verticesTransformed

javax.vecmath.Vector3f[] verticesTransformed

screenLevel

public int screenLevel

screenDotCount

public int screenDotCount

screenCoordinates

public int[] screenCoordinates

faceMap

public int[] faceMap

dotScale

private int dotScale

testRadiusAdjust

protected float testRadiusAdjust
Constructor Detail

DotsRenderer

public DotsRenderer()
Method Detail

initRenderer

protected void initRenderer()
Overrides:
initRenderer in class ShapeRenderer

render

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

render1

protected void render1(Dots dots)

calcScreenPoints

private int calcScreenPoints(FastBitSet visibilityMap,
                             float radius,
                             int x,
                             int y,
                             int z)
calculates the screen xy coordinates for the dots or faces

Parameters:
visibilityMap -
radius -
x -
y -
z -
Returns:
number of points

renderConvex

protected void renderConvex(short colix,
                            FastBitSet map,
                            int nPoints)
generic renderer -- dots and geosurface

Parameters:
colix -
map -
nPoints -

renderDots

protected void renderDots(int nPoints)
also called by GeoSurface when in motion

Parameters:
nPoints -