public class RocketsRenderer extends StrandsRenderer
Modifier and Type | Field and Description |
---|---|
private static byte[] |
arrowHeadFaces |
private static byte[] |
boxFaces |
protected javajs.util.P3[] |
cordMidPoints |
private javajs.util.P3[] |
corners |
private int |
endIndexPending |
protected boolean |
newRockets |
private ProteinStructure |
proteinstructurePending |
private javajs.util.P3 |
ptC |
private javajs.util.P3 |
ptTip |
protected boolean |
renderArrowHeads |
private javajs.util.P3 |
screenA |
private javajs.util.P3 |
screenB |
private javajs.util.P3 |
screenC |
private javajs.util.P3[] |
screenCorners |
private int |
startIndexPending |
protected boolean |
tPending |
private javajs.util.V3 |
vH |
private javajs.util.V3 |
vtemp |
private javajs.util.V3 |
vTemp |
private javajs.util.V3 |
vW |
baseStrandOffset, strandCount, strandSeparation
bsVisible, cartoonsFancy, colixBack, colixes, colixesBack, controlPoints, controlPointScreens, isCarbohydrate, isNucleic, isPass2, leadAtomIndices, mads, monomerCount, monomers, ribbonBottomScreens, ribbonTopScreens, structureTypes, wingVectors, wireframeOnly
antialias, bsPolygons, bsPolygonsToExport, diameter, exportPass, frontOnly, haveBsDisplay, imageFontScaling, isGhostPass, isTranslucent, isTranslucentInherit, latticeOffset, mesh, meshSlabValue, needTranslucent, normixes, pt1f, pt1i, pt2f, pt2i, pt3i, renderLow, scalePixelsPerMicron, screens, selectedPolyOnly, thePlane, transformedVectors, vertexCount, vertices, volumeRender, width
colix, exportType, g3d, isExport, mad, madBeg, madEnd, madMid, ms, myVisibilityFlag, shape, shapeID, vwr
Constructor and Description |
---|
RocketsRenderer() |
Modifier and Type | Method and Description |
---|---|
private void |
buildBox(javajs.util.P3 pointCorner,
javajs.util.V3 scaledWidthVector,
javajs.util.V3 scaledHeightVector,
javajs.util.V3 lengthVector) |
protected void |
calcRopeMidPoints(boolean isNewStyle) |
protected boolean |
isSheet(int i) |
protected void |
renderBioShape(BioShape bioShape) |
protected void |
renderCone(int i,
javajs.util.P3 pointBegin,
javajs.util.P3 pointEnd,
javajs.util.P3 screenPtBegin,
javajs.util.P3 screenPtEnd) |
protected void |
renderPending() |
private void |
renderPendingRocketSegment(int i,
javajs.util.P3 pointStart,
javajs.util.P3 pointBeforeEnd,
javajs.util.P3 pointEnd,
boolean tEnd) |
private void |
renderPendingSheet(javajs.util.P3 ptStart,
javajs.util.P3 pointBeforeEnd,
javajs.util.P3 ptEnd,
boolean tEnd) |
protected void |
renderRockets() |
protected void |
renderSpecialSegment(Monomer monomer,
short thisColix,
short thisMad) |
private void |
setBox(float w,
float h,
javajs.util.P3 pt) |
renderStrands, renderStrandShape, setStrandCount
adjustCartoonSeamNormals, calcScreenControlPoints, calcScreens, getLeadColix, getLeadColixBack, getScreenControlPoints, isHelix, render, renderHermiteArrowHead, renderHermiteConic, renderHermiteCylinder, renderHermiteRibbon, setBioColix
checkNormals, drawLine, drawTriangle, exportSurface, isPolygonDisplayable, render2, render2b, renderMesh, renderMesh2, renderPoints, renderTriangles, setColix
initRenderer, isVisibleForMe, renderShape, setViewerG3dShapeID
protected boolean newRockets
protected boolean renderArrowHeads
protected javajs.util.P3[] cordMidPoints
protected boolean tPending
private ProteinStructure proteinstructurePending
private int startIndexPending
private int endIndexPending
private javajs.util.P3 screenA
private javajs.util.P3 screenB
private javajs.util.P3 screenC
private javajs.util.V3 vtemp
private final javajs.util.V3 vTemp
private final javajs.util.P3 ptC
private final javajs.util.P3 ptTip
private final javajs.util.V3 vW
private final javajs.util.V3 vH
private final javajs.util.P3[] corners
private final javajs.util.P3[] screenCorners
private static final byte[] boxFaces
private static final byte[] arrowHeadFaces
protected void renderBioShape(BioShape bioShape)
renderBioShape
in class StrandsRenderer
protected boolean isSheet(int i)
protected void calcRopeMidPoints(boolean isNewStyle)
protected void renderRockets()
protected void renderSpecialSegment(Monomer monomer, short thisColix, short thisMad)
protected void renderPending()
private void renderPendingRocketSegment(int i, javajs.util.P3 pointStart, javajs.util.P3 pointBeforeEnd, javajs.util.P3 pointEnd, boolean tEnd)
i
- pointStart
- pointBeforeEnd
- ignored now that arrow heads protrude beyond end of rocketpointEnd
- tEnd
- protected void renderCone(int i, javajs.util.P3 pointBegin, javajs.util.P3 pointEnd, javajs.util.P3 screenPtBegin, javajs.util.P3 screenPtEnd)
i
- IGNOREDpointBegin
- IGNOREDpointEnd
- IGNOREDscreenPtBegin
- screenPtEnd
- private void renderPendingSheet(javajs.util.P3 ptStart, javajs.util.P3 pointBeforeEnd, javajs.util.P3 ptEnd, boolean tEnd)
private void setBox(float w, float h, javajs.util.P3 pt)
private void buildBox(javajs.util.P3 pointCorner, javajs.util.V3 scaledWidthVector, javajs.util.V3 scaledHeightVector, javajs.util.V3 lengthVector)