Package ffx.potential.bonded
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
drawLabel
(org.jogamp.java3d.Canvas3D graphics, org.jogamp.java3d.J3DGraphics2D g2d, org.jogamp.java3d.Node node) drawLabeldouble[]
getCenter
(boolean w) getCentergetList<T extends TreeNode>
longgetMSCount
(Class<T> c, long count) getMSCount<T extends TreeNode>
TgetMSNodedouble
getMW()
getMWvoid
setColor
(RendererCache.ColorModel colorModel, org.jogamp.vecmath.Color3f color, org.jogamp.java3d.Material mat) setColorvoid
setView
(RendererCache.ViewModel viewModel, List<org.jogamp.java3d.BranchGroup> newShapes) setViewvoid
update()
update
-
Field Details
-
MaxLengthScale
static final int MaxLengthScaleConstantMaxLengthScale=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
- aCanvas3D
object.g2d
- aJ3DGraphics2D
object.node
- aNode
object.
-
getCenter
double[] getCenter(boolean w) getCenter- Parameters:
w
- a boolean.- Returns:
- an array of double.
-
getList
getList -
getMSCount
getMSCount- Type Parameters:
T
- Node Type to count.- Parameters:
c
- aClass
object.count
- a long.- Returns:
- a long.
-
getMSNode
getMSNode- Type Parameters:
T
- Node Type to look for.- Parameters:
c
- aClass
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
- aRendererCache.ColorModel
object.color
- aColor3f
object.mat
- aMaterial
object.
-
setView
setView- Parameters:
viewModel
- aRendererCache.ViewModel
object.newShapes
- aList
object.
-
update
void update()update
-