org.jmol.shape
public class SticksRenderer extends ShapeRenderer
Modifier and Type | Field and Description |
---|---|
private Atom |
atomA |
private Atom |
atomA0 |
private Atom |
atomB |
private Atom |
atomB0 |
private Bond |
bond |
private int |
bondOrder |
private boolean |
bondsBackbone |
private short |
colixA |
private short |
colixB |
private int[] |
dashDots |
private static int[] |
dashes |
private int |
dx |
private int |
dxStep |
private int |
dy |
private int |
dyStep |
private byte |
endcaps |
private static int[] |
fourdots |
private boolean |
hbondsBackbone |
private boolean |
hbondsSolid |
private static int[] |
hDashes |
private boolean |
isAntialiased |
private boolean |
lineBond |
private int |
mag2d |
private byte |
modeMultipleBond |
private float |
multipleBondRadiusFactor |
private float |
multipleBondSpacing |
private Point3f |
p1 |
private Point3f |
p2 |
private boolean |
renderWireframe |
private Point3i |
s1 |
private Point3i |
s2 |
private boolean |
showMultipleBonds |
private static int[] |
sixdots |
private boolean |
slabbing |
private boolean |
slabByAtom |
private boolean |
ssbondsBackbone |
private static int[] |
twodots |
private int |
width |
private Vector3f |
x |
private int |
xA |
private int |
xAxis1 |
private int |
xAxis2 |
private int |
xB |
private Vector3f |
y |
private int |
yA |
private int |
yAxis1 |
private int |
yAxis2 |
private int |
yB |
private Vector3f |
z |
private int |
zA |
private int |
zB |
colix, exportType, g3d, isExport, mad, madBeg, madEnd, madMid, modelSet, myVisibilityFlag, shape, shapeID, viewer
Constructor and Description |
---|
SticksRenderer() |
Modifier and Type | Method and Description |
---|---|
private void |
drawBond(int dottedMask) |
private void |
drawDashed(int xA,
int yA,
int zA,
int xB,
int yB,
int zB,
int[] array) |
private void |
fillCylinder(short colixA,
short colixB,
byte endcaps,
int diameter,
int xA,
int yA,
int zA,
int xB,
int yB,
int zB) |
private int |
getAromaticDottedBondMask() |
protected void |
render() |
private void |
renderBond() |
private void |
resetAxisCoordinates() |
private void |
stepAxisCoordinates() |
initRenderer, render, setViewerG3dShapeID
private boolean showMultipleBonds
private float multipleBondSpacing
private float multipleBondRadiusFactor
private byte modeMultipleBond
private byte endcaps
private boolean ssbondsBackbone
private boolean hbondsBackbone
private boolean bondsBackbone
private boolean hbondsSolid
private Atom atomA
private Atom atomB
private Bond bond
private int xA
private int yA
private int zA
private int xB
private int yB
private int zB
private int dx
private int dy
private int mag2d
private short colixA
private short colixB
private int width
private boolean lineBond
private int bondOrder
private boolean renderWireframe
private boolean isAntialiased
private boolean slabbing
private boolean slabByAtom
private int[] dashDots
private final Vector3f x
private final Vector3f y
private final Vector3f z
private final Point3f p1
private final Point3f p2
private final Point3i s1
private final Point3i s2
private Atom atomA0
private Atom atomB0
private int xAxis1
private int yAxis1
private int xAxis2
private int yAxis2
private int dxStep
private int dyStep
private static final int[] dashes
private static final int[] hDashes
private static final int[] sixdots
private static final int[] fourdots
private static final int[] twodots
protected void render()
render
in class ShapeRenderer
private void renderBond()
private void drawBond(int dottedMask)
private void resetAxisCoordinates()
private void stepAxisCoordinates()
private int getAromaticDottedBondMask()
private void drawDashed(int xA, int yA, int zA, int xB, int yB, int zB, int[] array)
private void fillCylinder(short colixA, short colixB, byte endcaps, int diameter, int xA, int yA, int zA, int xB, int yB, int zB)