public class RocketsRenderer extends BioShapeRenderer
Modifier and Type | Field and Description |
---|---|
private static byte[] |
arrowHeadFaces |
private static byte[] |
boxFaces |
protected javax.vecmath.Point3f[] |
cordMidPoints |
private javax.vecmath.Point3f[] |
corners |
private int |
endIndexPending |
private javax.vecmath.Vector3f |
lengthVector |
private static float |
MIN_CONE_HEIGHT |
private javax.vecmath.Point3f |
pointCorner |
private javax.vecmath.Point3f |
pointTipOffset |
private ProteinStructure |
proteinstructurePending |
protected boolean |
renderArrowHeads |
private javax.vecmath.Vector3f |
scaledHeightVector |
private javax.vecmath.Vector3f |
scaledWidthVector |
private javax.vecmath.Point3f |
screenA |
private javax.vecmath.Point3f |
screenB |
private javax.vecmath.Point3f |
screenC |
private javax.vecmath.Point3f[] |
screenCorners |
private int |
startIndexPending |
protected boolean |
tPending |
bsVisible, colixes, controlPoints, controlPointScreens, isCarbohydrate, isNucleic, leadAtomIndices, mads, monomerCount, monomers, ribbonBottomScreens, ribbonTopScreens, structureTypes, wingVectors
antialias, bsPolygons, diameter, frontOnly, imageFontScaling, isTranslucent, latticeOffset, mesh, normixes, pt1f, pt1i, pt2f, pt2i, pt3i, scalePixelsPerMicron, screens, thePlane, transformedVectors, vertexCount, vertices, width
colix, exportType, g3d, mad, madBeg, madEnd, madMid, modelSet, myVisibilityFlag, shape, shapeID, viewer
Constructor and Description |
---|
RocketsRenderer() |
Modifier and Type | Method and Description |
---|---|
(package private) void |
buildArrowHeadBox(javax.vecmath.Point3f pointCorner,
javax.vecmath.Vector3f scaledWidthVector,
javax.vecmath.Vector3f scaledHeightVector,
javax.vecmath.Point3f pointTip) |
(package private) void |
buildBox(javax.vecmath.Point3f pointCorner,
javax.vecmath.Vector3f scaledWidthVector,
javax.vecmath.Vector3f scaledHeightVector,
javax.vecmath.Vector3f lengthVector) |
protected void |
calcRopeMidPoints(boolean isNewStyle) |
(package private) void |
drawArrowHeadBox(javax.vecmath.Point3f base,
javax.vecmath.Point3f tip) |
(package private) void |
drawBox(javax.vecmath.Point3f pointA,
javax.vecmath.Point3f pointB) |
protected boolean |
isSheet(int i) |
protected void |
render1() |
protected void |
renderBioShape(BioShape bioShape) |
protected void |
renderPending() |
private void |
renderPendingRocketSegment(int i,
javax.vecmath.Point3f pointStart,
javax.vecmath.Point3f pointBeforeEnd,
javax.vecmath.Point3f pointEnd,
boolean tEnd) |
private void |
renderPendingSheet(javax.vecmath.Point3f pointStart,
javax.vecmath.Point3f pointBeforeEnd,
javax.vecmath.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
initRenderer, render, setViewerG3dShapeID
private static final float MIN_CONE_HEIGHT
protected boolean renderArrowHeads
protected javax.vecmath.Point3f[] cordMidPoints
protected boolean tPending
private ProteinStructure proteinstructurePending
private int startIndexPending
private int endIndexPending
private javax.vecmath.Point3f screenA
private javax.vecmath.Point3f screenB
private javax.vecmath.Point3f screenC
private static final byte[] boxFaces
private final javax.vecmath.Point3f[] corners
private final javax.vecmath.Point3f[] screenCorners
private final javax.vecmath.Point3f pointTipOffset
private final javax.vecmath.Vector3f scaledWidthVector
private final javax.vecmath.Vector3f scaledHeightVector
private static final byte[] arrowHeadFaces
private final javax.vecmath.Vector3f lengthVector
private final javax.vecmath.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, javax.vecmath.Point3f pointStart, javax.vecmath.Point3f pointBeforeEnd, javax.vecmath.Point3f pointEnd, boolean tEnd)
private void renderPendingSheet(javax.vecmath.Point3f pointStart, javax.vecmath.Point3f pointBeforeEnd, javax.vecmath.Point3f pointEnd, boolean tEnd)
void buildBox(javax.vecmath.Point3f pointCorner, javax.vecmath.Vector3f scaledWidthVector, javax.vecmath.Vector3f scaledHeightVector, javax.vecmath.Vector3f lengthVector)
void buildArrowHeadBox(javax.vecmath.Point3f pointCorner, javax.vecmath.Vector3f scaledWidthVector, javax.vecmath.Vector3f scaledHeightVector, javax.vecmath.Point3f pointTip)
void drawBox(javax.vecmath.Point3f pointA, javax.vecmath.Point3f pointB)
void drawArrowHeadBox(javax.vecmath.Point3f base, javax.vecmath.Point3f tip)