org.jmol.shapebio

Class RocketsRenderer

public class RocketsRenderer extends BioShapeRenderer

Field Summary
static byte[]arrowHeadFaces
static byte[]boxFaces
protected Point3f[]cordMidPoints
Point3f[]corners
intendIndexPending
Vector3flengthVector
static floatMIN_CONE_HEIGHT
Point3fpointCorner
Point3fpointTipOffset
ProteinStructureproteinstructurePending
protected booleanrenderAsBarrels
Vector3fscaledHeightVector
Vector3fscaledWidthVector
Point3fscreenA
Point3fscreenB
Point3fscreenC
Point3f[]screenCorners
intstartIndexPending
protected booleantPending
Method Summary
voidbuildArrowHeadBox(Point3f pointCorner, Vector3f scaledWidthVector, Vector3f scaledHeightVector, Point3f pointTip)
voidbuildBox(Point3f pointCorner, Vector3f scaledWidthVector, Vector3f scaledHeightVector, Vector3f lengthVector)
protected voidcalcRopeMidPoints(boolean isNewStyle)
voiddrawArrowHeadBox(Point3f base, Point3f tip)
voiddrawBox(Point3f pointA, Point3f pointB)
protected booleanisSheet(int i)
protected voidrender1()
protected voidrenderBioShape(BioShape bioShape)
protected voidrenderPending()
voidrenderPendingRocketSegment(int i, Point3f pointStart, Point3f pointBeforeEnd, Point3f pointEnd, boolean tEnd)
voidrenderPendingSheet(Point3f pointStart, Point3f pointBeforeEnd, Point3f pointEnd, boolean tEnd)
protected voidrenderSpecialSegment(Monomer monomer, short thisColix, short thisMad)

Field Detail

arrowHeadFaces

private static final byte[] arrowHeadFaces

boxFaces

private static final byte[] boxFaces

cordMidPoints

protected Point3f[] cordMidPoints

corners

private final Point3f[] corners

endIndexPending

private int endIndexPending

lengthVector

private final Vector3f lengthVector

MIN_CONE_HEIGHT

private static final float MIN_CONE_HEIGHT

pointCorner

private final Point3f pointCorner

pointTipOffset

private final Point3f pointTipOffset

proteinstructurePending

private ProteinStructure proteinstructurePending

renderAsBarrels

protected boolean renderAsBarrels

scaledHeightVector

private final Vector3f scaledHeightVector

scaledWidthVector

private final Vector3f scaledWidthVector

screenA

private Point3f screenA

screenB

private Point3f screenB

screenC

private Point3f screenC

screenCorners

private final Point3f[] screenCorners

startIndexPending

private int startIndexPending

tPending

protected boolean tPending

Method Detail

buildArrowHeadBox

void buildArrowHeadBox(Point3f pointCorner, Vector3f scaledWidthVector, Vector3f scaledHeightVector, Point3f pointTip)

buildBox

void buildBox(Point3f pointCorner, Vector3f scaledWidthVector, Vector3f scaledHeightVector, Vector3f lengthVector)

calcRopeMidPoints

protected void calcRopeMidPoints(boolean isNewStyle)

drawArrowHeadBox

void drawArrowHeadBox(Point3f base, Point3f tip)

drawBox

void drawBox(Point3f pointA, Point3f pointB)

isSheet

protected boolean isSheet(int i)

render1

protected void render1()

renderBioShape

protected void renderBioShape(BioShape bioShape)

renderPending

protected void renderPending()

renderPendingRocketSegment

private void renderPendingRocketSegment(int i, Point3f pointStart, Point3f pointBeforeEnd, Point3f pointEnd, boolean tEnd)

renderPendingSheet

private void renderPendingSheet(Point3f pointStart, Point3f pointBeforeEnd, Point3f pointEnd, boolean tEnd)

renderSpecialSegment

protected void renderSpecialSegment(Monomer monomer, short thisColix, short thisMad)