Package org.jmol.viewer
Class AnimationManager
java.lang.Object
org.jmol.viewer.AnimationManager
-
Field Summary
FieldsModifier and TypeFieldDescriptionintbooleanintintcurrent model indexintintbooleanintbooleanleft-right split-frame dual images; could be combined with stereo DTI -
Method Summary
Modifier and TypeMethodDescriptionbooleancurrentFrameIs(int f) booleanintintgetSplitFrameAtoms(boolean active) intintbooleanisSplitFrameSelectable(int atomIndex) voidmorph(float modelIndex) voidsetAnimationDirection(int animationDirection) booleanvoidsetAnimationOn(boolean animationOn) voidsetAnimationReplayMode(int animationReplayMode, float firstFrameDelay, float lastFrameDelay) voidsetFrame(int i) voidsetMorphCount(int n) voidsupport for PyMOL movies and anim FRAMES [....] currently no support for scripted moviesvoidsetSplitFrame(int modelIndex1, int modelIndex2) intsetSplitFrameMouse(int x) Adjust x-value of mouse action to be offset by the frame offset.voidsetUnitCellAtomIndex(int iAtom) voidstopThread(boolean isPaused)
-
Field Details
-
animationThread
-
vwr
-
animationOn
public boolean animationOn -
animationFps
public int animationFps -
firstFrameDelayMs
public int firstFrameDelayMs -
lastFrameDelayMs
public int lastFrameDelayMs -
animationReplayMode
public int animationReplayMode -
isMovie
public boolean isMovie -
cmi
public int cmicurrent model index -
splitFrame
public boolean splitFrameleft-right split-frame dual images; could be combined with stereo DTI -
currentSplitFrame
public int currentSplitFrame
-
-
Method Details
-
setAnimationOn
public void setAnimationOn(boolean animationOn) -
stopThread
public void stopThread(boolean isPaused) -
setAnimationNext
public boolean setAnimationNext() -
currentIsLast
public boolean currentIsLast() -
currentFrameIs
public boolean currentFrameIs(int f) -
setMorphCount
public void setMorphCount(int n) -
morph
public void morph(float modelIndex) -
setAnimationDirection
public void setAnimationDirection(int animationDirection) -
setAnimationReplayMode
public void setAnimationReplayMode(int animationReplayMode, float firstFrameDelay, float lastFrameDelay) -
setMovie
support for PyMOL movies and anim FRAMES [....] currently no support for scripted movies- Parameters:
info-
-
getFrameCount
public int getFrameCount() -
setFrame
public void setFrame(int i) -
getUnitCellAtomIndex
public int getUnitCellAtomIndex() -
setUnitCellAtomIndex
public void setUnitCellAtomIndex(int iAtom) -
setSplitFrame
public void setSplitFrame(int modelIndex1, int modelIndex2) -
setSplitFrameMouse
public int setSplitFrameMouse(int x) Adjust x-value of mouse action to be offset by the frame offset. This sets thisSplitFrame;- Parameters:
x-- Returns:
- x or offsetX
-
getSplitFrameModel
public int getSplitFrameModel() -
isSplitFrameSelectable
public boolean isSplitFrameSelectable(int atomIndex) -
getSplitFrameAtoms
- Parameters:
active-- Returns:
- either the active set of atoms or the other model's set or null
-
getCurrentSplitModelIndex
public int getCurrentSplitModelIndex() -
getSplitFrameModels
-