Package org.jmol.modelsetbio
Class ProteinStructure
java.lang.Object
org.jmol.modelsetbio.ProteinStructure
- All Implemented Interfaces:
Structure
- Direct Known Subclasses:
Annotation,Helix,Sheet
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcalcAxis()findMonomer(BS bsAtoms, boolean isFirst) intP3[]protected voidbooleanisWithin(int monomerIndex) voidsetAtomBits(BS bs) voidsetAtomBitsAndClear(BS bs, BS bsOut) protected voidsetupPS(AlphaPolymer apolymer, STR type, int monomerIndex, int monomerCount) toString()
-
Field Details
-
nRes
public int nRes -
apolymer
-
monomerIndexFirst
public int monomerIndexFirst -
axisA
-
axisB
-
axisUnitVector
-
vectorProjection
-
-
Constructor Details
-
ProteinStructure
protected ProteinStructure()
-
-
Method Details
-
incrementID
protected void incrementID() -
setupPS
- Parameters:
apolymer-type-monomerIndex-monomerCount-
-
calcAxis
public void calcAxis() -
isWithin
public boolean isWithin(int monomerIndex) -
getIndex
-
getSegments
- Returns:
- points for rocket segment rendering
-
getAxisStartPoint
-
getAxisEndPoint
-
setAtomBits
- Specified by:
setAtomBitsin interfaceStructure
-
setAtomBitsAndClear
- Specified by:
setAtomBitsAndClearin interfaceStructure
-
findMonomer
-
toString
-