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
FieldsFields 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 TypeMethodDescriptionvoid
findNearestAtomIndex
(int xMouse, int yMouse, Atom[] closest, BS bsNot) getBioShape
(int i) int
final void
void
void
replaceGroup
(Group g0, Group g1) void
void
setModelVisibilityFlags
(BS bsModels) protected void
setPropBSC
(String propertyName, Object value, BS bsSelected) void
setProperty
(String propertyName, Object value, BS bsSelected) void
setShapeSizeRD
(int size, RadiusData rd, 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, setProperties, setPropS, setSize, setSizeRD, wasClicked
-
Field Details
-
bioShapes
-
-
Constructor Details
-
BioShapeCollection
public BioShapeCollection()
-
-
Method Details
-
initModelSet
public final void initModelSet()- Overrides:
initModelSet
in classShape
-
initShape
public void initShape() -
getSizeG
-
replaceGroup
- Overrides:
replaceGroup
in classShape
-
setShapeSizeRD
- Overrides:
setShapeSizeRD
in classShape
-
setProperty
- Specified by:
setProperty
in classShape
-
setPropBSC
-
getShapeState
- Specified by:
getShapeState
in classShape
-
findNearestAtomIndex
- Overrides:
findNearestAtomIndex
in classShape
-
setModelVisibilityFlags
- Overrides:
setModelVisibilityFlags
in classShape
-
setAtomClickability
public void setAtomClickability()- Overrides:
setAtomClickability
in classShape
-
getBioShape
-