org.jmol.shapebio
public class RocketsRenderer extends BioShapeRenderer
Modifier and Type | Field and Description |
---|---|
private static byte[] |
arrowHeadFaces |
private static byte[] |
boxFaces |
protected Point3f[] |
cordMidPoints |
private Point3f[] |
corners |
private int |
endIndexPending |
private Vector3f |
lengthVector |
private static float |
MIN_CONE_HEIGHT |
private Point3f |
pointCorner |
private Point3f |
pointTipOffset |
private ProteinStructure |
proteinstructurePending |
protected boolean |
renderArrowHeads |
private Vector3f |
scaledHeightVector |
private Vector3f |
scaledWidthVector |
private Point3f |
screenA |
private Point3f |
screenB |
private Point3f |
screenC |
private Point3f[] |
screenCorners |
private int |
startIndexPending |
protected boolean |
tPending |
bsVisible, colixes, controlPoints, controlPointScreens, isCarbohydrate, isNucleic, leadAtomIndices, mads, monomerCount, monomers, ribbonBottomScreens, ribbonTopScreens, structureTypes, wingVectors
antialias, bsPolygons, bsSlab, diameter, exportPass, frontOnly, haveBsDisplay, haveBsSlabDisplay, haveBsSlabGhost, imageFontScaling, isTranslucent, latticeOffset, mesh, normixes, pt1f, pt1i, pt2f, pt2i, pt3i, scalePixelsPerMicron, screens, thePlane, transformedVectors, vertexCount, vertices, volumeRender, width
colix, exportType, g3d, isExport, mad, madBeg, madEnd, madMid, modelSet, myVisibilityFlag, shape, shapeID, viewer
Constructor and Description |
---|
RocketsRenderer() |
Modifier and Type | Method and Description |
---|---|
(package private) void |
buildArrowHeadBox(Point3f pointCorner,
Vector3f scaledWidthVector,
Vector3f scaledHeightVector,
Point3f pointTip) |
(package private) void |
buildBox(Point3f pointCorner,
Vector3f scaledWidthVector,
Vector3f scaledHeightVector,
Vector3f lengthVector) |
protected void |
calcRopeMidPoints(boolean isNewStyle) |
(package private) void |
drawArrowHeadBox(Point3f base,
Point3f tip) |
(package private) void |
drawBox(Point3f pointA,
Point3f pointB) |
protected boolean |
isSheet(int i) |
protected void |
render1() |
protected void |
renderBioShape(BioShape bioShape) |
protected void |
renderPending() |
private void |
renderPendingRocketSegment(int i,
Point3f pointStart,
Point3f pointBeforeEnd,
Point3f pointEnd,
boolean tEnd) |
private void |
renderPendingSheet(Point3f pointStart,
Point3f pointBeforeEnd,
Point3f pointEnd,
boolean tEnd) |
protected void |
renderSpecialSegment(Monomer monomer,
short thisColix,
short thisMad) |
calcScreenControlPoints, calcScreenControlPoints, calcScreens, getLeadColix, isHelix, render, renderCone, renderHermiteArrowHead, renderHermiteConic, renderHermiteCylinder, renderHermiteRibbon
checkNormals, drawLine, exportSurface, isPolygonDisplayable, render1, render2, renderPoints, renderTriangles, setColix
initRenderer, render, setViewerG3dShapeID
private static final float MIN_CONE_HEIGHT
protected boolean renderArrowHeads
protected Point3f[] cordMidPoints
protected boolean tPending
private ProteinStructure proteinstructurePending
private int startIndexPending
private int endIndexPending
private Point3f screenA
private Point3f screenB
private Point3f screenC
private static final byte[] boxFaces
private final Point3f[] corners
private final Point3f[] screenCorners
private final Point3f pointTipOffset
private final Vector3f scaledWidthVector
private final Vector3f scaledHeightVector
private static final byte[] arrowHeadFaces
private final Vector3f lengthVector
private final Point3f pointCorner
protected void renderBioShape(BioShape bioShape)
renderBioShape
in class BioShapeRenderer
protected boolean isSheet(int i)
protected void calcRopeMidPoints(boolean isNewStyle)
protected void render1()
protected void renderSpecialSegment(Monomer monomer, short thisColix, short thisMad)
protected void renderPending()
private void renderPendingRocketSegment(int i, Point3f pointStart, Point3f pointBeforeEnd, Point3f pointEnd, boolean tEnd)
private void renderPendingSheet(Point3f pointStart, Point3f pointBeforeEnd, Point3f pointEnd, boolean tEnd)
void buildBox(Point3f pointCorner, Vector3f scaledWidthVector, Vector3f scaledHeightVector, Vector3f lengthVector)
void buildArrowHeadBox(Point3f pointCorner, Vector3f scaledWidthVector, Vector3f scaledHeightVector, Point3f pointTip)