Class SticksRenderer


public class SticksRenderer extends FontLineShapeRenderer
  • 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

      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 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 class ShapeRenderer
    • 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

      private void drawBanana(Atom a, Atom b, javajs.util.V3 x, int deg)