Package org.jmol.shapebio
Class BioShapeCollection
java.lang.Object
org.jmol.shape.Shape
org.jmol.shapebio.BioShapeCollection
Mps stands for Model-Polymer-Shape
When a Cartoon is instantiated with a call to setSize(),
it creates an MpsShape for each BioPolymer in the model set.
It is these shapes that are the real "shapes". Unlike other
shapes, which are indexed by atom and throughout the entire
model set, these shapes are indexed by residue and are
restricted to a given BioPolymer within a given Model.
Model
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) Atom[]BioShape[](package private) boolean(package private) short(package private) short(package private) short(package private) shortFields inherited from class org.jmol.shape.Shape
bsColixSet, bsSizeSet, isBioShape, ms, myType, RADIUS_MAX, shapeID, translucentAllowed, translucentLevel, vf, vwr -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidfindNearestAtomIndex(int xMouse, int yMouse, Atom[] closest, javajs.util.BS bsNot) getBioShape(int i) (package private) intint(package private) voidfinal voidvoidvoidreplaceGroup(Group g0, Group g1) voidvoidsetModelVisibilityFlags(javajs.util.BS bsModels) protected voidsetPropBSC(String propertyName, Object value, javajs.util.BS bsSelected) voidsetProperty(String propertyName, Object value, javajs.util.BS bsSelected) voidsetShapeSizeRD(int size, RadiusData rd, javajs.util.BS bsSelected) Methods inherited from class org.jmol.shape.Shape
appendCmd, checkBoundsMinMax, checkObjectClicked, checkObjectDragged, checkObjectHovered, coordinateInRange, encodeColor, getColix, getColixA, getColixB, getColixI, getColorCommand, getColorCommandUnk, getFontCommand, getIndexFromName, getProperty, getPropertyData, getPropShape, getShapeDetail, getSize, getTranslucentLabel, initializeShape, setModelSet, setPropS, setSize, setSizeRD, wasClicked
-
Field Details
-
atoms
Atom[] atoms -
madOn
short madOn -
madHelixSheet
short madHelixSheet -
madTurnRandom
short madTurnRandom -
madDnaRna
short madDnaRna -
isActive
boolean isActive -
bioShapes
-
-
Constructor Details
-
BioShapeCollection
public BioShapeCollection()
-
-
Method Details
-
initModelSet
public final void initModelSet()- Overrides:
initModelSetin classShape
-
initShape
public void initShape() -
getSizeG
-
replaceGroup
- Overrides:
replaceGroupin classShape
-
setShapeSizeRD
- Overrides:
setShapeSizeRDin classShape
-
setProperty
- Specified by:
setPropertyin classShape
-
setPropBSC
-
getShapeState
- Specified by:
getShapeStatein classShape
-
initialize
void initialize() -
findNearestAtomIndex
- Overrides:
findNearestAtomIndexin classShape
-
setModelVisibilityFlags
public void setModelVisibilityFlags(javajs.util.BS bsModels) - Overrides:
setModelVisibilityFlagsin classShape
-
setAtomClickability
public void setAtomClickability()- Overrides:
setAtomClickabilityin classShape
-
getMpsShapeCount
int getMpsShapeCount() -
getBioShape
-