org.jmol.shape
Class SticksRenderer

java.lang.Object
  extended by org.jmol.shape.ShapeRenderer
      extended by org.jmol.shape.SticksRenderer
Direct Known Subclasses:
SticksGenerator

public class SticksRenderer
extends ShapeRenderer


Field Summary
protected  Atom atomA
           
protected  Atom atomB
           
protected  Bond bond
           
protected  int bondOrder
           
protected  boolean bondsBackbone
           
protected  short colixA
           
protected  short colixB
           
(package private)  int dx
           
(package private)  int dxStep
           
(package private)  int dy
           
(package private)  int dyStep
           
protected  byte endcaps
           
protected  boolean hbondsBackbone
           
protected  boolean hbondsSolid
           
private  boolean isAntialiased
           
protected  boolean lineBond
           
(package private)  int mag2d
           
protected  byte modeMultipleBond
           
private  boolean renderWireframe
           
protected  boolean showMultipleBonds
           
protected  boolean ssbondsBackbone
           
private static int wideWidthMilliAngstroms
           
protected  int width
           
(package private)  int xA
           
(package private)  int xAxis1
           
(package private)  int xAxis2
           
(package private)  int xB
           
(package private)  int yA
           
(package private)  int yAxis1
           
(package private)  int yAxis2
           
(package private)  int yB
           
(package private)  int zA
           
(package private)  int zB
           
 
Fields inherited from class org.jmol.shape.ShapeRenderer
colix, g3d, isGenerator, mad, madBeg, madEnd, madMid, modelSet, myVisibilityFlag, shape, shapeID, slabbing, viewer
 
Constructor Summary
SticksRenderer()
           
 
Method Summary
(package private)  void drawDashed(int xA, int yA, int zA, int xB, int yB, int zB)
           
protected  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()
           
(package private)  int getRenderBondOrder(int order)
           
protected  void render()
           
protected  void renderBond()
           
protected  void renderBond(int dottedMask)
           
(package private)  void renderHbondDashed()
           
private  void renderTriangle(Bond bond)
           
(package private)  void resetAxisCoordinates()
           
(package private)  void stepAxisCoordinates()
           
 
Methods inherited from class org.jmol.shape.ShapeRenderer
getMad, initRenderer, render, renderLine, setGenerator, setViewerG3dShapeID
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

showMultipleBonds

protected boolean showMultipleBonds

modeMultipleBond

protected byte modeMultipleBond

endcaps

protected byte endcaps

ssbondsBackbone

protected boolean ssbondsBackbone

hbondsBackbone

protected boolean hbondsBackbone

bondsBackbone

protected boolean bondsBackbone

hbondsSolid

protected boolean hbondsSolid

atomA

protected Atom atomA

atomB

protected Atom atomB

bond

protected Bond bond

xA

int xA

yA

int yA

zA

int zA

xB

int xB

yB

int yB

zB

int zB

dx

int dx

dy

int dy

mag2d

int mag2d

colixA

protected short colixA

colixB

protected short colixB

width

protected int width

bondOrder

protected int bondOrder

renderWireframe

private boolean renderWireframe

isAntialiased

private boolean isAntialiased

lineBond

protected boolean lineBond

xAxis1

int xAxis1

yAxis1

int yAxis1

xAxis2

int xAxis2

yAxis2

int yAxis2

dxStep

int dxStep

dyStep

int dyStep

wideWidthMilliAngstroms

private static int wideWidthMilliAngstroms
Constructor Detail

SticksRenderer

public SticksRenderer()
Method Detail

render

protected void render()
Specified by:
render in class ShapeRenderer

renderBond

protected void renderBond()

getRenderBondOrder

int getRenderBondOrder(int order)

renderBond

protected void renderBond(int dottedMask)

resetAxisCoordinates

void resetAxisCoordinates()

stepAxisCoordinates

void stepAxisCoordinates()

renderTriangle

private void renderTriangle(Bond bond)

getAromaticDottedBondMask

private int getAromaticDottedBondMask()

drawDashed

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

renderHbondDashed

void renderHbondDashed()

fillCylinder

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