Package ffx.potential.bonded
Class RendererCache
java.lang.Object
ffx.potential.bonded.RendererCache
The RendererCache class defines constants related to rendering modes and caches primitives for
the Renderer.
- Since:
- 1.0
- Author:
- Michael J. Schnieders
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic enum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.jogamp.vecmath.Color3fConstantBLACKstatic intConstantbondwidth=3static final Hashtable<String, RendererCache.ColorModel> ConstantcolorModelHashstatic intConstantdetail=3static booleanConstanthighlightSelections=falsestatic booleanConstantlabelAtoms=falsestatic booleanConstantlabelResidues=falsestatic org.jogamp.vecmath.Color3fConstantpickingColorstatic doubleConstantradius=1.0dstatic org.jogamp.vecmath.Color3fConstantselectionColorstatic org.jogamp.vecmath.Color3fConstantuserColorstatic final Hashtable<String, RendererCache.ViewModel> ConstantviewModelHash -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static org.jogamp.java3d.Shape3DconeFactory(org.jogamp.java3d.Appearance ap, int res) coneFactoryprotected static org.jogamp.java3d.GeometrygetPolarGeom(int res) getPolarGeom
-
Field Details
-
BLACK
public static final org.jogamp.vecmath.Color3f BLACKConstantBLACK -
viewModelHash
ConstantviewModelHash -
colorModelHash
ConstantcolorModelHash -
detail
public static int detailConstantdetail=3 -
radius
public static double radiusConstantradius=1.0d -
bondwidth
public static int bondwidthConstantbondwidth=3 -
highlightSelections
public static boolean highlightSelectionsConstanthighlightSelections=false -
labelAtoms
public static boolean labelAtomsConstantlabelAtoms=false -
labelResidues
public static boolean labelResiduesConstantlabelResidues=false -
pickingColor
public static org.jogamp.vecmath.Color3f pickingColorConstantpickingColor -
selectionColor
public static org.jogamp.vecmath.Color3f selectionColorConstantselectionColor -
userColor
public static org.jogamp.vecmath.Color3f userColorConstantuserColor
-
-
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- aAppearanceobject.res- a int.- Returns:
- a
Shape3Dobject.
-
getPolarGeom
protected static org.jogamp.java3d.Geometry getPolarGeom(int res) getPolarGeom- Parameters:
res- a int.- Returns:
- a
Geometryobject.
-