org.jmol.shape

Class SticksRenderer

public class SticksRenderer extends ShapeRenderer

Field Summary
protected AtomatomA
protected AtomatomB
protected Bondbond
protected intbondOrder
protected booleanbondsBackbone
protected shortcolixA
protected shortcolixB
intdx
intdxStep
intdy
intdyStep
protected byteendcaps
protected booleanhbondsBackbone
protected booleanhbondsSolid
booleanisAntialiased
protected booleanlineBond
intmag2d
protected bytemodeMultipleBond
booleanrenderWireframe
protected booleanshowMultipleBonds
protected booleanssbondsBackbone
static intwideWidthMilliAngstroms
protected intwidth
intxA
intxAxis1
intxAxis2
intxB
intyA
intyAxis1
intyAxis2
intyB
intzA
intzB
Method Summary
voiddrawDashed(int xA, int yA, int zA, int xB, int yB, int zB)
protected voidfillCylinder(short colixA, short colixB, byte endcaps, int diameter, int xA, int yA, int zA, int xB, int yB, int zB)
intgetAromaticDottedBondMask()
intgetRenderBondOrder(int order)
protected voidrender()
protected voidrenderBond()
protected voidrenderBond(int dottedMask)
voidrenderHbondDashed()
voidrenderTriangle(Bond bond)
voidresetAxisCoordinates()
voidstepAxisCoordinates()

Field Detail

atomA

protected Atom atomA

atomB

protected Atom atomB

bond

protected Bond bond

bondOrder

protected int bondOrder

bondsBackbone

protected boolean bondsBackbone

colixA

protected short colixA

colixB

protected short colixB

dx

int dx

dxStep

int dxStep

dy

int dy

dyStep

int dyStep

endcaps

protected byte endcaps

hbondsBackbone

protected boolean hbondsBackbone

hbondsSolid

protected boolean hbondsSolid

isAntialiased

private boolean isAntialiased

lineBond

protected boolean lineBond

mag2d

int mag2d

modeMultipleBond

protected byte modeMultipleBond

renderWireframe

private boolean renderWireframe

showMultipleBonds

protected boolean showMultipleBonds

ssbondsBackbone

protected boolean ssbondsBackbone

wideWidthMilliAngstroms

private static int wideWidthMilliAngstroms

width

protected int width

xA

int xA

xAxis1

int xAxis1

xAxis2

int xAxis2

xB

int xB

yA

int yA

yAxis1

int yAxis1

yAxis2

int yAxis2

yB

int yB

zA

int zA

zB

int zB

Method Detail

drawDashed

void drawDashed(int xA, int yA, int zA, int xB, int yB, int zB)

fillCylinder

protected void fillCylinder(short colixA, short colixB, byte endcaps, int diameter, int xA, int yA, int zA, int xB, int yB, int zB)

getAromaticDottedBondMask

private int getAromaticDottedBondMask()

getRenderBondOrder

int getRenderBondOrder(int order)

render

protected void render()

renderBond

protected void renderBond()

renderBond

protected void renderBond(int dottedMask)

renderHbondDashed

void renderHbondDashed()

renderTriangle

private void renderTriangle(Bond bond)

resetAxisCoordinates

void resetAxisCoordinates()

stepAxisCoordinates

void stepAxisCoordinates()