#include "py_commands.h"
#include "CommandQueue.h"
#include "VMDApp.h"
#include "Molecule.h"
#include "MoleculeList.h"
#include "Animation.h"
Go to the source code of this file.
Functions | |
PyObject * | py_once (PyObject *self, PyObject *args) |
PyObject * | py_rock (PyObject *self, PyObject *args) |
PyObject * | py_loop (PyObject *self, PyObject *args) |
PyObject * | py_style (PyObject *self, PyObject *args) |
PyObject * | py_anim_goto (PyObject *self, PyObject *args, PyObject *kwargs) |
PyObject * | py_reverse (PyObject *self, PyObject *args) |
PyObject * | py_forward (PyObject *self, PyObject *args) |
PyObject * | py_prev (PyObject *self, PyObject *args) |
PyObject * | py_next (PyObject *self, PyObject *args) |
PyObject * | py_pause (PyObject *self, PyObject *args) |
PyObject * | py_speed (PyObject *self, PyObject *args, PyObject *kwargs) |
PyObject * | py_skip (PyObject *self, PyObject *args, PyObject *kwargs) |
PyObject * | py_is_active (PyObject *self, PyObject *args, PyObject *kwargs) |
PyObject * | py_activate (PyObject *self, PyObject *args, PyObject *kwargs) |
PyObject * | initanimate () |
Variables | |
const char | once_doc [] = "Animate once through all frames." |
const char | rock_doc [] = "Animate back and forth between first and last frames." |
const char | loop_doc [] = "Animate in a continuous loop." |
const char | style_doc [] |
const char | goto_doc [] |
const char | reverse_doc [] = "Start animating frames in reverse order." |
const char | forward_doc [] = "Start animating frames in forward order." |
const char | prev_doc [] = "Animate to the previous frame and stop." |
const char | next_doc [] = "Animate to the next frame and stop." |
const char | pause_doc [] = "Pause the animation." |
const char | speed_doc [] |
const char | skip_doc [] |
const char | is_active_doc [] |
const char | activate_doc [] |
PyMethodDef | methods [] |
const char | animate_moddoc [] |
|
Definition at line 339 of file py_animate.C. References animate_moddoc, and methods. |
|
Definition at line 278 of file py_animate.C. References get_vmdapp, MoleculeList::mol_from_id, VMDApp::molecule_activate, VMDApp::moleculeList, and NULL. |
|
Definition at line 90 of file py_animate.C. References VMDApp::animation_set_frame, get_vmdapp, and NULL. |
|
Definition at line 125 of file py_animate.C. References Animation::ANIM_FORWARD, VMDApp::animation_set_dir, get_vmdapp, and NULL. |
|
Definition at line 249 of file py_animate.C. References DrawMolecule::active, get_vmdapp, MoleculeList::mol_from_id, VMDApp::moleculeList, and NULL. |
|
Definition at line 58 of file py_animate.C. References Animation::ANIM_LOOP, VMDApp::animation_set_style, get_vmdapp, and NULL. |
|
Definition at line 152 of file py_animate.C. References Animation::ANIM_FORWARD1, VMDApp::animation_set_dir, get_vmdapp, and NULL. |
|
Definition at line 30 of file py_animate.C. References Animation::ANIM_ONCE, VMDApp::animation_set_style, get_vmdapp, and NULL. |
|
Definition at line 166 of file py_animate.C. References Animation::ANIM_PAUSE, VMDApp::animation_set_dir, get_vmdapp, and NULL. |
|
Definition at line 138 of file py_animate.C. References Animation::ANIM_REVERSE1, VMDApp::animation_set_dir, get_vmdapp, and NULL. |
|
Definition at line 111 of file py_animate.C. References Animation::ANIM_REVERSE, VMDApp::animation_set_dir, get_vmdapp, and NULL. |
|
Definition at line 44 of file py_animate.C. References Animation::ANIM_ROCK, VMDApp::animation_set_style, get_vmdapp, and NULL. |
|
Definition at line 218 of file py_animate.C. References VMDApp::anim, VMDApp::animation_set_stride, as_pyint, get_vmdapp, NULL, and Animation::skip. |
|
Definition at line 185 of file py_animate.C. References VMDApp::anim, VMDApp::animation_set_speed, get_vmdapp, NULL, and Animation::speed. |
|
Definition at line 75 of file py_animate.C. References VMDApp::anim, Animation::anim_style, as_pystring, get_vmdapp, and NULL. |
|
Initial value: "Set the active status of a molecule. Active molecules update their coordinate" " frames during animation, inactive ones do not.\n\n" "Args:\n" " molid (int): Molecule ID to change\n" " active (bool): New active status of molecule." Definition at line 272 of file py_animate.C. |
|
Initial value: "Methods for controlling molecules with multiple frames loaded" Definition at line 324 of file py_animate.C. Referenced by initanimate. |
|
Definition at line 124 of file py_animate.C. |
|
Initial value: "Display a givenframe on the next display update\n\n" "Args:\n" " frame (int): Frame index to display" Definition at line 86 of file py_animate.C. |
|
Initial value: "Returns whether a given molecule is active (updated during animation)\n\n" "Args:\n" " molid (int): Molecule ID to query\n\n" "Returns:\n" " (bool) If molecule is active" Definition at line 243 of file py_animate.C. |
|
Definition at line 57 of file py_animate.C. |
|
Initial value: { {"once", (PyCFunction) py_once, METH_NOARGS, once_doc}, {"rock", (PyCFunction) py_rock, METH_NOARGS, rock_doc }, {"loop", (PyCFunction) py_loop, METH_NOARGS, loop_doc }, {"style", (PyCFunction) py_style, METH_NOARGS, style_doc }, {"goto", (PyCFunction) py_anim_goto, METH_VARARGS | METH_KEYWORDS, goto_doc }, {"reverse", (PyCFunction) py_reverse, METH_NOARGS, reverse_doc }, {"forward", (PyCFunction) py_forward, METH_NOARGS, forward_doc }, {"prev", (PyCFunction) py_prev, METH_NOARGS, prev_doc }, {"next", (PyCFunction) py_next, METH_NOARGS, next_doc }, {"pause", (PyCFunction) py_pause, METH_NOARGS, pause_doc }, {"speed", (PyCFunction) py_speed, METH_VARARGS | METH_KEYWORDS, speed_doc }, {"skip", (PyCFunction) py_skip, METH_VARARGS | METH_KEYWORDS, skip_doc }, {"is_active", (PyCFunction) py_is_active, METH_VARARGS | METH_KEYWORDS, is_active_doc }, {"activate", (PyCFunction) py_activate, METH_VARARGS | METH_KEYWORDS, activate_doc }, {NULL, NULL} } Definition at line 305 of file py_animate.C. Referenced by initanimate. |
|
Definition at line 151 of file py_animate.C. |
|
Definition at line 29 of file py_animate.C. |
|
Definition at line 165 of file py_animate.C. |
|
Definition at line 137 of file py_animate.C. |
|
Definition at line 110 of file py_animate.C. |
|
Definition at line 43 of file py_animate.C. |
|
Initial value: "Set or get stride for animation frames. A skip value of 1 shows every frame,\n" "a value of 2 shows every other frame, etc.\n\n" "Args:\n" " value (int): New value for stride, or None to query\n\n" "Returns:\n" " (int) Current value for stride" Definition at line 211 of file py_animate.C. |
|
Initial value: "Set or get animation speed\n\n" "Args:\n" " value (float): New value for speed, between 0 and 1, or None to query\n" "Returns:\n" " (float) Current value for speed" Definition at line 179 of file py_animate.C. |
|
Initial value: "Returns current animation style\n\n" "Returns:\n" " (str) style, in ['Rock', 'Once', 'Loop']" Definition at line 71 of file py_animate.C. |