Package org.jmol.shapebio
Class BioShapeCollection
- java.lang.Object
-
- org.jmol.shape.Shape
-
- org.jmol.shapebio.BioShapeCollection
-
public abstract class BioShapeCollection extends Shape
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
Fields Modifier and Type Field Description (package private) Atom[]atomsBioShape[]bioShapes(package private) booleanisActive(package private) shortmadDnaRna(package private) shortmadHelixSheet(package private) shortmadOn(package private) shortmadTurnRandom-
Fields inherited from class org.jmol.shape.Shape
bsColixSet, bsSizeSet, isBioShape, ms, myType, RADIUS_MAX, shapeID, translucentAllowed, translucentLevel, vf, vwr
-
-
Constructor Summary
Constructors Constructor Description BioShapeCollection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfindNearestAtomIndex(int xMouse, int yMouse, Atom[] closest, BS bsNot)BioShapegetBioShape(int i)(package private) intgetMpsShapeCount()java.lang.StringgetShapeState()intgetSizeG(Group group)(package private) voidinitialize()voidinitModelSet()voidinitShape()voidreplaceGroup(Group g0, Group g1)voidsetAtomClickability()voidsetModelVisibilityFlags(BS bsModels)protected voidsetPropBSC(java.lang.String propertyName, java.lang.Object value, BS bsSelected)voidsetProperty(java.lang.String propertyName, java.lang.Object value, BS bsSelected)voidsetShapeSizeRD(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, setPropS, setSize, setSizeRD, wasClicked
-
-
-
-
Method Detail
-
initModelSet
public final void initModelSet()
- Overrides:
initModelSetin classShape
-
replaceGroup
public void replaceGroup(Group g0, Group g1)
- Overrides:
replaceGroupin classShape
-
setShapeSizeRD
public void setShapeSizeRD(int size, RadiusData rd, BS bsSelected)- Overrides:
setShapeSizeRDin classShape
-
setProperty
public void setProperty(java.lang.String propertyName, java.lang.Object value, BS bsSelected)- Specified by:
setPropertyin classShape
-
setPropBSC
protected void setPropBSC(java.lang.String propertyName, java.lang.Object value, BS bsSelected)
-
getShapeState
public java.lang.String getShapeState()
- Specified by:
getShapeStatein classShape
-
initialize
void initialize()
-
findNearestAtomIndex
public void findNearestAtomIndex(int xMouse, int yMouse, Atom[] closest, BS bsNot)- Overrides:
findNearestAtomIndexin classShape
-
setModelVisibilityFlags
public void setModelVisibilityFlags(BS bsModels)
- Overrides:
setModelVisibilityFlagsin classShape
-
setAtomClickability
public void setAtomClickability()
- Overrides:
setAtomClickabilityin classShape
-
getMpsShapeCount
int getMpsShapeCount()
-
getBioShape
public BioShape getBioShape(int i)
-
-