org.jmol.shape

Class DotsRenderer

public class DotsRenderer extends ShapeRenderer

Field Summary
int[]faceMap
booleaniShowSolid
int[]screenCoordinates
intscreenDotCount
intscreenLevel
Vector3f[]verticesTransformed
Method Summary
intcalcScreenPoints(int[] visibilityMap, float radius, int x, int y, int z)
calculates the screen xy coordinates for the dots or faces
protected voidinitRenderer()
protected voidrender()
protected voidrender1(Dots dots)
protected voidrenderConvex(short colix, int[] map, int nPoints)
generic renderer -- dots and geosurface
protected voidrenderDots(int nPoints)
also called by GeoSurface when in motion

Field Detail

faceMap

public int[] faceMap

iShowSolid

public boolean iShowSolid

screenCoordinates

public int[] screenCoordinates

screenDotCount

public int screenDotCount

screenLevel

public int screenLevel

verticesTransformed

Vector3f[] verticesTransformed

Method Detail

calcScreenPoints

private int calcScreenPoints(int[] 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

initRenderer

protected void initRenderer()

render

protected void render()

render1

protected void render1(Dots dots)

renderConvex

protected void renderConvex(short colix, int[] 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