Package org.jmol.render
Class SticksRenderer
- java.lang.Object
-
- org.jmol.render.ShapeRenderer
-
- org.jmol.render.FontLineShapeRenderer
-
- org.jmol.render.SticksRenderer
-
public class SticksRenderer extends FontLineShapeRenderer
-
-
Field Summary
Fields Modifier and Type Field Description private Atomaprivate javajs.util.A4a4private Atombprivate Bondbondprivate intbondOrderprivate booleanbondsBackboneprivate booleanbondsPerpprivate BSbsForPass2private intdxprivate intdxStepprivate intdyprivate intdyStepprivate byteendcapsprivate booleanhbondsBackboneprivate booleanhbondsSolidprivate booleanisAntialiasedprivate booleanisCartesianprivate booleanisPass2private intmag2dprivate bytemodeMultipleBondprivate floatmultipleBondRadiusFactorprivate floatmultipleBondSpacingprivate javajs.util.P3p1private javajs.util.P3p2private javajs.util.M3rotprivate booleanshowMultipleBondsprivate booleanslabbingprivate booleanslabByAtomprivate booleanssbondsBackboneprivate booleanuseBananasprivate booleanwireframeOnlyprivate javajs.util.V3xprivate intxAprivate intxAxis1private intxAxis2private intxBprivate javajs.util.V3yprivate intyAprivate intyAxis1private intyAxis2private intyBprivate javajs.util.V3zprivate intzAprivate intzB-
Fields inherited from class org.jmol.render.FontLineShapeRenderer
asLineOnly, colixA, colixB, dashDots, dashes, dotsOrDashes, draw000, endcap, font3d, fourdots, hDashes, imageFontScaling, ndots, pointT, pointT2, pointT3, pt0, pt0i, pt1, pt2i, s1, s2, sixdots, tickA, tickAs, tickB, tickBs, tickInfo, twodots, vectorT, vectorT2, vectorT3, width
-
Fields inherited from class org.jmol.render.ShapeRenderer
colix, exportType, g3d, isExport, mad, ms, myVisibilityFlag, shape, shapeID, tm, vwr
-
-
Constructor Summary
Constructors Constructor Description SticksRenderer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private voiddrawBanana(Atom a, Atom b, javajs.util.V3 x, int deg)private voiddrawBond(int dottedMask)private intgetAromaticDottedBondMask()private voidgetMultipleBondSettings(boolean isPymol)protected booleanrender()private booleanrenderBond()private voidresetAxisCoordinates()private voidstepAxisCoordinates()-
Methods inherited from class org.jmol.render.FontLineShapeRenderer
checkTickTemps, drawDashed, drawLine, drawLine2, drawString, drawTicks, fillCylinder, getDiameter, renderLine
-
Methods inherited from class org.jmol.render.ShapeRenderer
initRenderer, isVisibleForMe, renderShape, setup, setViewerG3dShapeID
-
-
-
-
Field Detail
-
showMultipleBonds
private boolean showMultipleBonds
-
multipleBondSpacing
private float multipleBondSpacing
-
multipleBondRadiusFactor
private float multipleBondRadiusFactor
-
bondsPerp
private boolean bondsPerp
-
useBananas
private boolean useBananas
-
modeMultipleBond
private byte modeMultipleBond
-
isCartesian
private boolean isCartesian
-
endcaps
private byte endcaps
-
ssbondsBackbone
private boolean ssbondsBackbone
-
hbondsBackbone
private boolean hbondsBackbone
-
bondsBackbone
private boolean bondsBackbone
-
hbondsSolid
private boolean hbondsSolid
-
a
private Atom a
-
b
private Atom b
-
bond
private Bond bond
-
xA
private int xA
-
yA
private int yA
-
zA
private int zA
-
xB
private int xB
-
yB
private int yB
-
zB
private int zB
-
dx
private int dx
-
dy
private int dy
-
mag2d
private int mag2d
-
bondOrder
private int bondOrder
-
wireframeOnly
private boolean wireframeOnly
-
isAntialiased
private boolean isAntialiased
-
slabbing
private boolean slabbing
-
slabByAtom
private boolean slabByAtom
-
x
private final javajs.util.V3 x
-
y
private final javajs.util.V3 y
-
z
private final javajs.util.V3 z
-
p1
private final javajs.util.P3 p1
-
p2
private final javajs.util.P3 p2
-
bsForPass2
private final BS bsForPass2
-
isPass2
private boolean isPass2
-
rot
private javajs.util.M3 rot
-
a4
private javajs.util.A4 a4
-
xAxis1
private int xAxis1
-
yAxis1
private int yAxis1
-
xAxis2
private int xAxis2
-
yAxis2
private int yAxis2
-
dxStep
private int dxStep
-
dyStep
private int dyStep
-
-
Method Detail
-
render
protected boolean render()
- Specified by:
renderin classShapeRenderer
-
getMultipleBondSettings
private void getMultipleBondSettings(boolean isPymol)
-
renderBond
private boolean renderBond()
-
drawBond
private void drawBond(int dottedMask)
-
resetAxisCoordinates
private void resetAxisCoordinates()
-
stepAxisCoordinates
private void stepAxisCoordinates()
-
getAromaticDottedBondMask
private int getAromaticDottedBondMask()
-
-