Package org.jmol.modelset
Class Model
java.lang.Object
org.jmol.modelset.Model
- Direct Known Subclasses:
BioModel
-
Field Summary
FieldsModifier and TypeFieldDescriptionintatom count; includes deleted atoms only if not being nulled (Jmol 14.31 or below)inttracks all presymmetry asymmetric unit atoms; atoms added using the ModelKit will add to this.Note that this bitset may or may not include bsAtomsDeletedprotected intChain[]intintlongintbooleanintbooleanbooleanbooleanbooleana flag that, when false, indicates that the model has atoms in different regions of the Atom[] arraybooleanintmat4 tracks the rotation/translation of the full model using rotateSelected or translateSelectedintintBE CAREFUL: FAILURE TO NULL REFERENCES TO modelSet WILL PREVENT FINALIZATION AND CREATE A MEMORY LEAK.intbooleanintP3[]P3[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidfixIndices(int modelIndex, int nAtomsDeleted, BS bsDeleted) protected voidfixIndicesM(int modelIndex, int nAtomsDeleted, BS bsDeleted) booleanfreeze()protected voidfreezeM()intgetChainAt(int i) intgetChainCount(boolean countWater) intintnot actually accessed -- just pointing out what it isgetUVWMatrix(boolean isUVW0) booleanisContainedIn(BS bs) voidvoidresetDSSR(boolean totally) Something has changed; clear the DSSR cache and possibly remove DSSR entirely.set(ModelSet modelSet, int modelIndex, int trajectoryBaseIndex, Map<String, Object> jmolData, Properties properties, Map<String, Object> auxiliaryInfo) voidsetSimpleCage(SymmetryInterface ucell) protected void
-
Field Details
-
ms
BE CAREFUL: FAILURE TO NULL REFERENCES TO modelSet WILL PREVENT FINALIZATION AND CREATE A MEMORY LEAK. -
mat4
mat4 tracks the rotation/translation of the full model using rotateSelected or translateSelected -
modelIndex
public int modelIndex -
isBioModel
public boolean isBioModel -
isPdbWithMultipleBonds
public boolean isPdbWithMultipleBonds -
isModelKit
public boolean isModelKit -
chains
-
simpleCage
-
dssrCache
-
orientation
-
auxiliaryInfo
-
properties
-
biosymmetry
-
loadState
-
loadScript
-
hasRasmolHBonds
public boolean hasRasmolHBonds -
structureTainted
public boolean structureTainted -
isJmolDataFrame
public boolean isJmolDataFrame -
trajectoryBaseIndex
public int trajectoryBaseIndex -
altLocCount
public int altLocCount -
act
public int actatom count; includes deleted atoms only if not being nulled (Jmol 14.31 or below) -
chainCount
protected int chainCount -
groupCount
public int groupCount -
hydrogenCount
public int hydrogenCount -
moleculeCount
public int moleculeCount -
firstAtomIndex
public int firstAtomIndex -
bsAtoms
Note that this bitset may or may not include bsAtomsDeleted -
bsAtomsDeleted
-
frameDelay
public long frameDelay -
selectedTrajectory
public int selectedTrajectory -
jmolFrameType
-
jmolFrameTypeInt
public int jmolFrameTypeInt -
dataFrames
-
dataSourceFrame
public int dataSourceFrame -
uvw
-
uvw0
-
pdbID
-
isOrderly
public boolean isOrderlya flag that, when false, indicates that the model has atoms in different regions of the Atom[] array -
bsAsymmetricUnit
tracks all presymmetry asymmetric unit atoms; atoms added using the ModelKit will add to this.
-
-
Constructor Details
-
Model
public Model()
-
-
Method Details
-
setupArrays
protected void setupArrays() -
set
-
getTrueAtomCount
public int getTrueAtomCount()not actually accessed -- just pointing out what it is- Returns:
- true atom count
-
isContainedIn
- Parameters:
bs-- Returns:
- true if all undeleted atom bits in this model are in bs
-
resetBoundCount
public void resetBoundCount() -
getBondCount
public int getBondCount() -
getChainCount
public int getChainCount(boolean countWater) -
getGroupCount
public int getGroupCount() -
getChainAt
-
resetDSSR
public void resetDSSR(boolean totally) Something has changed; clear the DSSR cache and possibly remove DSSR entirely.- Parameters:
totally- set TRUE if atoms have moved so we force a new DSSR calculation.
-
fixIndices
-
fixIndicesM
-
freeze
public boolean freeze() -
freezeM
protected void freezeM() -
setSimpleCage
-
getUVWMatrix
-