public class DrawRenderer extends MeshRenderer
Modifier and Type | Field and Description |
---|---|
private BS |
bsHandles |
private P3[] |
controlHermites |
private DrawMesh |
dmesh |
private Draw.EnumDrawType |
drawType |
protected P3 |
pt0 |
private P3 |
pt0f |
protected P3i |
pt0i |
protected P3 |
pt1 |
protected P3i |
pt1i |
protected P3 |
pt2 |
protected V3 |
vTemp |
protected V3 |
vTemp2 |
antialias, bsPolygons, bsPolygonsToExport, diameter, exportPass, frontOnly, haveBsDisplay, imageFontScaling, isGhostPass, isTranslucent, isTranslucentInherit, latticeOffset, mesh, needTranslucent, normixes, pt1f, pt2f, pt2i, pt3i, scalePixelsPerMicron, screens, selectedPolyOnly, thePlane, transformedVectors, vertexCount, vertices, volumeRender, width, wireframeOnly
colix, exportType, g3d, isExport, mad, madBeg, madEnd, madMid, modelSet, myVisibilityFlag, shape, shapeID, viewer
Constructor and Description |
---|
DrawRenderer() |
Modifier and Type | Method and Description |
---|---|
private void |
drawLineData(JmolList<P3[]> lineData) |
private float |
getArrowScale() |
private void |
getConnectionPoints() |
protected boolean |
isPolygonDisplayable(int i) |
protected boolean |
render() |
protected void |
render2(boolean isExport) |
private void |
renderArrowHead(P3 pt1,
P3 pt2,
float factor2,
boolean isTransformed,
boolean withShaft,
boolean isBarb) |
private void |
renderHandles() |
private void |
renderInfo() |
boolean |
renderMesh(Mesh mesh) |
private void |
renderXyArrow(int ptXY) |
checkNormals, drawLine, drawTriangle, exportSurface, render2b, renderMesh2, renderPoints, renderTriangles, setColix
initRenderer, renderShape, setViewerG3dShapeID
private Draw.EnumDrawType drawType
private DrawMesh dmesh
private P3[] controlHermites
protected P3 pt0
protected P3 pt1
protected P3 pt2
protected final V3 vTemp
protected final V3 vTemp2
private final P3 pt0f
protected P3i pt0i
protected P3i pt1i
private final BS bsHandles
protected boolean render()
render
in class MeshRenderer
protected boolean isPolygonDisplayable(int i)
isPolygonDisplayable
in class MeshRenderer
public boolean renderMesh(Mesh mesh)
renderMesh
in class MeshRenderer
protected void render2(boolean isExport)
render2
in class MeshRenderer
private void getConnectionPoints()
private void renderXyArrow(int ptXY)
private void renderArrowHead(P3 pt1, P3 pt2, float factor2, boolean isTransformed, boolean withShaft, boolean isBarb)
private float getArrowScale()
private void renderHandles()
private void renderInfo()