org.jmol.shape
Class DotsRenderer
java.lang.Object
org.jmol.shape.ShapeRenderer
org.jmol.shape.DotsRenderer
- Direct Known Subclasses:
- DotsGenerator, GeoSurfaceRenderer
public class DotsRenderer
- extends ShapeRenderer
Fields inherited from class org.jmol.shape.ShapeRenderer |
colix, g3d, isGenerator, mad, madBeg, madEnd, madMid, modelSet, myVisibilityFlag, shape, shapeID, slabbing, viewer |
Method Summary |
private int |
calcScreenPoints(int[] 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,
int[] map,
int nPoints)
generic renderer -- dots and geosurface |
protected void |
renderDots(int nPoints)
also called by GeoSurface when in motion |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
DotsRenderer
public DotsRenderer()
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(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
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
-