org.jmol.modelset
Class Model
java.lang.Object
org.jmol.modelset.Model
public final class Model
- extends Object
Method Summary |
(package private) void |
addSecondaryStructure(byte type,
String structureID,
int serialID,
int strandCount,
char startChainID,
int startSeqcode,
char endChainID,
int endSeqcode)
|
(package private) void |
calcSelectedGroupsCount(BitSet bsSelected)
|
(package private) void |
calcSelectedMonomersCount(BitSet bsSelected)
|
(package private) String |
calculateStructures(boolean asDSSP,
boolean doReport,
boolean dsspIgnoreHydrogen,
boolean setStructure,
boolean includeAlpha)
|
(package private) void |
fixIndices(int modelIndex,
int nAtomsDeleted,
BitSet bsDeleted)
|
Polymer |
getBioPolymer(int polymerIndex)
|
int |
getBioPolymerCount()
|
(package private) int |
getBondCount()
|
(package private) Chain |
getChain(char chainID)
|
(package private) Chain |
getChain(int i)
|
int |
getChainCount(boolean countWater)
|
Chain[] |
getChains()
|
(package private) void |
getDefaultLargePDBRendering(StringBuffer sb,
int maxAtoms)
|
(package private) int |
getGroupCount()
|
int |
getGroupCount(boolean isHetero)
|
int |
getModelIndex()
|
String |
getModelNumberDotted()
|
ModelSet |
getModelSet()
BE CAREFUL: FAILURE TO NULL REFERENCES TO modelSet WILL PREVENT FINALIZATION
AND CREATE A MEMORY LEAK. |
String |
getModelTitle()
|
(package private) boolean |
getPdbConformation(BitSet bsConformation,
int conformationIndex)
|
int |
getTrueAtomCount()
|
boolean |
isAtomHidden(int index)
|
boolean |
isModelkit()
|
boolean |
isStructureTainted()
|
void |
resetBoundCount()
|
(package private) void |
selectSeqcodeRange(int seqcodeA,
int seqcodeB,
char chainID,
BitSet bs,
boolean caseSensitive)
|
(package private) void |
setConformation(BitSet bsConformation)
|
(package private) void |
setNAltLocs(int nAltLocs)
|
(package private) void |
setNInsertions(int nInsertions)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
modelSet
ModelSet modelSet
modelIndex
public int modelIndex
fileIndex
int fileIndex
hydrogenCount
int hydrogenCount
isPDB
boolean isPDB
loadState
String loadState
loadScript
StringBuffer loadScript
isModelKit
boolean isModelKit
isTrajectory
boolean isTrajectory
trajectoryBaseIndex
int trajectoryBaseIndex
selectedTrajectory
int selectedTrajectory
hasRasmolHBonds
boolean hasRasmolHBonds
dataFrames
Hashtable dataFrames
dataSourceFrame
int dataSourceFrame
jmolData
String jmolData
jmolFrameType
String jmolFrameType
firstAtomIndex
int firstAtomIndex
atomCount
int atomCount
bsAtoms
final BitSet bsAtoms
bsDeleted
final BitSet bsDeleted
bondCount
private int bondCount
firstMoleculeIndex
int firstMoleculeIndex
moleculeCount
int moleculeCount
nAltLocs
public int nAltLocs
nInsertions
int nInsertions
groupCount
int groupCount
chainCount
int chainCount
chains
Chain[] chains
bioPolymerCount
int bioPolymerCount
bioPolymers
Polymer[] bioPolymers
biosymmetryCount
int biosymmetryCount
auxiliaryInfo
Hashtable auxiliaryInfo
properties
Properties properties
defaultRotationRadius
float defaultRotationRadius
orientation
StateManager.Orientation orientation
structureTainted
boolean structureTainted
isJmolDataFrame
boolean isJmolDataFrame
Model
Model(ModelSet modelSet,
int modelIndex,
int trajectoryBaseIndex,
String jmolData,
Properties properties,
Hashtable auxiliaryInfo)
getModelSet
public ModelSet getModelSet()
- BE CAREFUL: FAILURE TO NULL REFERENCES TO modelSet WILL PREVENT FINALIZATION
AND CREATE A MEMORY LEAK.
- Returns:
- associated ModelSet
isModelkit
public boolean isModelkit()
getTrueAtomCount
public int getTrueAtomCount()
resetBoundCount
public void resetBoundCount()
getBondCount
int getBondCount()
setNAltLocs
void setNAltLocs(int nAltLocs)
setNInsertions
void setNInsertions(int nInsertions)
addSecondaryStructure
void addSecondaryStructure(byte type,
String structureID,
int serialID,
int strandCount,
char startChainID,
int startSeqcode,
char endChainID,
int endSeqcode)
getModelNumberDotted
public String getModelNumberDotted()
getModelTitle
public String getModelTitle()
calculateStructures
String calculateStructures(boolean asDSSP,
boolean doReport,
boolean dsspIgnoreHydrogen,
boolean setStructure,
boolean includeAlpha)
isStructureTainted
public boolean isStructureTainted()
setConformation
void setConformation(BitSet bsConformation)
getPdbConformation
boolean getPdbConformation(BitSet bsConformation,
int conformationIndex)
getChains
public Chain[] getChains()
getChainCount
public int getChainCount(boolean countWater)
getGroupCount
public int getGroupCount(boolean isHetero)
getBioPolymerCount
public int getBioPolymerCount()
calcSelectedGroupsCount
void calcSelectedGroupsCount(BitSet bsSelected)
calcSelectedMonomersCount
void calcSelectedMonomersCount(BitSet bsSelected)
selectSeqcodeRange
void selectSeqcodeRange(int seqcodeA,
int seqcodeB,
char chainID,
BitSet bs,
boolean caseSensitive)
getGroupCount
int getGroupCount()
getChain
Chain getChain(char chainID)
getChain
Chain getChain(int i)
getBioPolymer
public Polymer getBioPolymer(int polymerIndex)
getDefaultLargePDBRendering
void getDefaultLargePDBRendering(StringBuffer sb,
int maxAtoms)
isAtomHidden
public boolean isAtomHidden(int index)
getModelIndex
public int getModelIndex()
fixIndices
void fixIndices(int modelIndex,
int nAtomsDeleted,
BitSet bsDeleted)