Class RendererCache

java.lang.Object
ffx.potential.bonded.RendererCache

public class RendererCache extends Object
The RendererCache class defines constants related to rendering modes and caches primitives for the Renderer.
Since:
1.0
Author:
Michael J. Schnieders
  • Field Details

    • BLACK

      public static final org.jogamp.vecmath.Color3f BLACK
      Constant BLACK
    • viewModelHash

      public static final Hashtable<String,RendererCache.ViewModel> viewModelHash
      Constant viewModelHash
    • colorModelHash

      public static final Hashtable<String,RendererCache.ColorModel> colorModelHash
      Constant colorModelHash
    • detail

      public static int detail
      Constant detail=3
    • radius

      public static double radius
      Constant radius=1.0d
    • bondwidth

      public static int bondwidth
      Constant bondwidth=3
    • highlightSelections

      public static boolean highlightSelections
      Constant highlightSelections=false
    • labelAtoms

      public static boolean labelAtoms
      Constant labelAtoms=false
    • labelResidues

      public static boolean labelResidues
      Constant labelResidues=false
    • pickingColor

      public static org.jogamp.vecmath.Color3f pickingColor
      Constant pickingColor
    • selectionColor

      public static org.jogamp.vecmath.Color3f selectionColor
      Constant selectionColor
    • userColor

      public static org.jogamp.vecmath.Color3f userColor
      Constant userColor
  • Constructor Details

    • RendererCache

      public RendererCache()
      Constructor for RendererCache.
  • Method Details

    • coneFactory

      protected static org.jogamp.java3d.Shape3D coneFactory(org.jogamp.java3d.Appearance ap, int res)
      coneFactory
      Parameters:
      ap - a Appearance object.
      res - a int.
      Returns:
      a Shape3D object.
    • getPolarGeom

      protected static org.jogamp.java3d.Geometry getPolarGeom(int res)
      getPolarGeom
      Parameters:
      res - a int.
      Returns:
      a Geometry object.