Package org.jmol.render
Class SticksRenderer
java.lang.Object
org.jmol.render.ShapeRenderer
org.jmol.render.FontLineShapeRenderer
org.jmol.render.SticksRenderer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Atom
private javajs.util.A4
private Atom
private Bond
private int
private boolean
private boolean
private final javajs.util.BS
private int
private int
private int
private int
private byte
private boolean
private boolean
private boolean
private boolean
private boolean
private int
private byte
private float
private float
private final javajs.util.P3
private final javajs.util.P3
private javajs.util.M3
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private final javajs.util.V3
private int
private int
private int
private int
private final javajs.util.V3
private int
private int
private int
private int
private final javajs.util.V3
private int
private int
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 -
Method Summary
Modifier and TypeMethodDescriptionprivate void
drawBanana
(Atom a, Atom b, javajs.util.V3 x, int deg) private void
drawBond
(int dottedMask) private int
private void
getMultipleBondSettings
(boolean isPymol) protected boolean
render()
private boolean
private void
private void
Methods inherited from class org.jmol.render.FontLineShapeRenderer
checkTickTemps, drawDashedCylinder, drawLine, drawLine2, drawString, drawTicks, fillCylinder, getDiameter, renderLine
Methods inherited from class org.jmol.render.ShapeRenderer
initRenderer, isVisibleForMe, renderShape, setup, setViewerG3dShapeID
-
Field Details
-
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
-
b
-
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 javajs.util.BS bsForPass2 -
isPass2
private boolean isPass2 -
xAxis1
private int xAxis1 -
yAxis1
private int yAxis1 -
xAxis2
private int xAxis2 -
yAxis2
private int yAxis2 -
dxStep
private int dxStep -
dyStep
private int dyStep -
rot
private javajs.util.M3 rot -
a4
private javajs.util.A4 a4
-
-
Constructor Details
-
SticksRenderer
public SticksRenderer()
-
-
Method Details
-
render
protected boolean render()- Specified by:
render
in 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() -
drawBanana
-