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
Modifier and TypeClassDescriptionstatic enum
static enum
-
Field Summary
Modifier and TypeFieldDescriptionstatic final org.jogamp.vecmath.Color3f
ConstantBLACK
static int
Constantbondwidth=3
static final Hashtable
<String, RendererCache.ColorModel> ConstantcolorModelHash
static int
Constantdetail=3
static boolean
ConstanthighlightSelections=false
static boolean
ConstantlabelAtoms=false
static boolean
ConstantlabelResidues=false
static org.jogamp.vecmath.Color3f
ConstantpickingColor
static double
Constantradius=1.0d
static org.jogamp.vecmath.Color3f
ConstantselectionColor
static org.jogamp.vecmath.Color3f
ConstantuserColor
static final Hashtable
<String, RendererCache.ViewModel> ConstantviewModelHash
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static org.jogamp.java3d.Shape3D
coneFactory
(org.jogamp.java3d.Appearance ap, int res) coneFactoryprotected static org.jogamp.java3d.Geometry
getPolarGeom
(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
- aAppearance
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.
-