Interface ROLS

All Known Implementing Classes:
Angle, AngleTorsion, Atom, Bond, BondedTerm, FFXSystem, ImproperTorsion, Joint, MolecularAssembly, Molecule, MSGroup, MSNode, MSRoot, MultiResidue, OutOfPlaneBend, PiOrbitalTorsion, Polymer, Residue, RestrainDistance, RestrainPosition, RestraintTorsion, ROLSP, StretchBend, StretchTorsion, Torsion, TorsionTorsion, UreyBradley

public interface ROLS
The ROLS Interace defines "Recursive Over Length Scales" (ROLS) Methods.
Since:
1.0
Author:
Michael J. Schnieders
  • Field Details

    • MaxLengthScale

      static final int MaxLengthScale
      Constant MaxLengthScale=5
      See Also:
  • Method Details

    • drawLabel

      void drawLabel(org.jogamp.java3d.Canvas3D graphics, org.jogamp.java3d.J3DGraphics2D g2d, org.jogamp.java3d.Node node)
      drawLabel
      Parameters:
      graphics - a Canvas3D object.
      g2d - a J3DGraphics2D object.
      node - a Node object.
    • getCenter

      double[] getCenter(boolean w)
      getCenter
      Parameters:
      w - a boolean.
      Returns:
      an array of double.
    • getList

      <T extends TreeNode> List<T> getList(Class<T> c, List<T> nodes)
      getList
      Type Parameters:
      T - Node Type to collect.
      Parameters:
      c - a Class object.
      nodes - a List object.
      Returns:
      a List object.
    • getMSCount

      <T extends TreeNode> long getMSCount(Class<T> c, long count)
      getMSCount
      Type Parameters:
      T - Node Type to count.
      Parameters:
      c - a Class object.
      count - a long.
      Returns:
      a long.
    • getMSNode

      <T extends TreeNode> T getMSNode(Class<T> c)
      getMSNode
      Type Parameters:
      T - Node Type to look for.
      Parameters:
      c - a Class object.
      Returns:
      The node.
    • getMW

      double getMW()
      getMW
      Returns:
      a double.
    • setColor

      void setColor(RendererCache.ColorModel colorModel, org.jogamp.vecmath.Color3f color, org.jogamp.java3d.Material mat)
      setColor
      Parameters:
      colorModel - a RendererCache.ColorModel object.
      color - a Color3f object.
      mat - a Material object.
    • setView

      void setView(RendererCache.ViewModel viewModel, List<org.jogamp.java3d.BranchGroup> newShapes)
      setView
      Parameters:
      viewModel - a RendererCache.ViewModel object.
      newShapes - a List object.
    • update

      void update()
      update