Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

py_animate.C File Reference

#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 * once (PyObject *self, PyObject *args)
PyObject * rock (PyObject *self, PyObject *args)
PyObject * loop (PyObject *self, PyObject *args)
PyObject * style (PyObject *self, PyObject *args)
PyObject * anim_goto (PyObject *self, PyObject *args)
PyObject * reverse (PyObject *self, PyObject *args)
PyObject * forward (PyObject *self, PyObject *args)
PyObject * prev (PyObject *self, PyObject *args)
PyObject * next (PyObject *self, PyObject *args)
PyObject * pause (PyObject *self, PyObject *args)
PyObject * speed (PyObject *self, PyObject *args)
PyObject * skip (PyObject *self, PyObject *args)
PyObject * is_active (PyObject *self, PyObject *args)
PyObject * activate (PyObject *self, PyObject *args)
void initanimate ()

Variables

char once_doc [] = "once() -> None\nAnimate once through all frames."
char rock_doc [] = "rock() -> None\nAnimate back and forth between first and last frames."
char loop_doc [] = "loop() -> None\nAnimate in a continuous loop."
char style_doc [] = "style() -> string\nReturns current animation style ('rock', 'once', or 'loop')."
char goto_doc [] = "goto(frame) -> None\nGo to frame on the next display update."
char reverse_doc [] = "reverse() -> None\nStart animating in reverse."
char forward_doc [] = "forward() -> None\nStart animating forward."
char prev_doc [] = "prev() -> None\nAnimate to the previous frame and stop."
char next_doc [] = "next() -> None\nAnimate to the next frame and stop."
char pause_doc [] = "pause() -> None\nPause the animation."
char speed_doc [] = "speed(value) -> current value\nSet animation speed; pass -1 to get current speed; returns new speed."
char skip_doc [] = "skip(value) -> new value\nSet stride for animation frames; pass -1 to get current value only;\nreturns new value."
char is_active_doc [] = "is_active(molid) -> boolean\nIs given molecule active (animateable)?"
char activate_doc [] = "activate(molid, bool) -> None\nActivate/inactivate the given molecule."
PyMethodDef methods []


Function Documentation

PyObject* activate PyObject *    self,
PyObject *    args
[static]
 

Definition at line 204 of file py_animate.C.

References get_vmdapp, MoleculeList::mol_from_id, VMDApp::molecule_activate, VMDApp::moleculeList, and NULL.

PyObject* anim_goto PyObject *    self,
PyObject *    args
[static]
 

Definition at line 79 of file py_animate.C.

References VMDApp::animation_set_frame, get_vmdapp, and NULL.

PyObject* forward PyObject *    self,
PyObject *    args
[static]
 

Definition at line 106 of file py_animate.C.

References Animation::ANIM_FORWARD, VMDApp::animation_set_dir, get_vmdapp, and NULL.

void initanimate  
 

Definition at line 240 of file py_animate.C.

References methods.

Referenced by initvmd, and PythonTextInterp::PythonTextInterp.

PyObject* is_active PyObject *    self,
PyObject *    args
[static]
 

Definition at line 188 of file py_animate.C.

References DrawMolecule::active, get_vmdapp, MoleculeList::mol_from_id, VMDApp::moleculeList, and NULL.

PyObject* loop PyObject *    self,
PyObject *    args
[static]
 

Definition at line 56 of file py_animate.C.

References Animation::ANIM_LOOP, VMDApp::animation_set_style, get_vmdapp, and NULL.

PyObject* next PyObject *    self,
PyObject *    args
[static]
 

Definition at line 132 of file py_animate.C.

References Animation::ANIM_FORWARD1, VMDApp::animation_set_dir, get_vmdapp, and NULL.

PyObject* once PyObject *    self,
PyObject *    args
[static]
 

Definition at line 30 of file py_animate.C.

References Animation::ANIM_ONCE, VMDApp::animation_set_style, get_vmdapp, and NULL.

PyObject* pause PyObject *    self,
PyObject *    args
[static]
 

Definition at line 145 of file py_animate.C.

References Animation::ANIM_PAUSE, VMDApp::animation_set_dir, get_vmdapp, and NULL.

PyObject* prev PyObject *    self,
PyObject *    args
[static]
 

Definition at line 119 of file py_animate.C.

References Animation::ANIM_REVERSE1, VMDApp::animation_set_dir, get_vmdapp, and NULL.

PyObject* reverse PyObject *    self,
PyObject *    args
[static]
 

Definition at line 93 of file py_animate.C.

References Animation::ANIM_REVERSE, VMDApp::animation_set_dir, get_vmdapp, and NULL.

PyObject* rock PyObject *    self,
PyObject *    args
[static]
 

Definition at line 43 of file py_animate.C.

References Animation::ANIM_ROCK, VMDApp::animation_set_style, get_vmdapp, and NULL.

PyObject* skip PyObject *    self,
PyObject *    args
[static]
 

Definition at line 174 of file py_animate.C.

References VMDApp::anim, VMDApp::animation_set_stride, get_vmdapp, NULL, and Animation::skip.

PyObject* speed PyObject *    self,
PyObject *    args
[static]
 

Definition at line 158 of file py_animate.C.

References VMDApp::anim, VMDApp::animation_set_speed, get_vmdapp, NULL, and Animation::speed.

PyObject* style PyObject *    self,
PyObject *    args
[static]
 

Definition at line 69 of file py_animate.C.

References VMDApp::anim, Animation::anim_style, get_vmdapp, and NULL.


Variable Documentation

char activate_doc[] = "activate(molid, bool) -> None\nActivate/inactivate the given molecule." [static]
 

Definition at line 203 of file py_animate.C.

char forward_doc[] = "forward() -> None\nStart animating forward." [static]
 

Definition at line 105 of file py_animate.C.

char goto_doc[] = "goto(frame) -> None\nGo to frame on the next display update." [static]
 

Definition at line 78 of file py_animate.C.

char is_active_doc[] = "is_active(molid) -> boolean\nIs given molecule active (animateable)?" [static]
 

Definition at line 187 of file py_animate.C.

char loop_doc[] = "loop() -> None\nAnimate in a continuous loop." [static]
 

Definition at line 55 of file py_animate.C.

PyMethodDef methods[] [static]
 

Initial value:

 {
  {(char *)"once", (vmdPyMethod)once, METH_VARARGS, once_doc},
  {(char *)"rock", (vmdPyMethod)rock, METH_VARARGS, rock_doc },
  {(char *)"loop", (vmdPyMethod)loop, METH_VARARGS, loop_doc },
  {(char *)"style", (vmdPyMethod)style, METH_VARARGS, style_doc },
  {(char *)"goto", (vmdPyMethod)anim_goto, METH_VARARGS, goto_doc },
  {(char *)"reverse", (vmdPyMethod)reverse, METH_VARARGS, reverse_doc },
  {(char *)"forward", (vmdPyMethod)forward, METH_VARARGS, forward_doc },
  {(char *)"prev", (vmdPyMethod)prev, METH_VARARGS, prev_doc },
  {(char *)"next", (vmdPyMethod)next, METH_VARARGS, next_doc },
  {(char *)"pause", (vmdPyMethod)pause, METH_VARARGS, pause_doc },
  {(char *)"speed", (vmdPyMethod)speed, METH_VARARGS, speed_doc },
  {(char *)"skip", (vmdPyMethod)skip, METH_VARARGS, skip_doc },
  {(char *)"is_active", (vmdPyMethod)is_active, METH_VARARGS, is_active_doc },
  {(char *)"activate", (vmdPyMethod)activate, METH_VARARGS, activate_doc },
  {NULL, NULL}
}

Definition at line 222 of file py_animate.C.

Referenced by initanimate.

char next_doc[] = "next() -> None\nAnimate to the next frame and stop." [static]
 

Definition at line 131 of file py_animate.C.

char once_doc[] = "once() -> None\nAnimate once through all frames." [static]
 

Definition at line 29 of file py_animate.C.

char pause_doc[] = "pause() -> None\nPause the animation." [static]
 

Definition at line 144 of file py_animate.C.

char prev_doc[] = "prev() -> None\nAnimate to the previous frame and stop." [static]
 

Definition at line 118 of file py_animate.C.

char reverse_doc[] = "reverse() -> None\nStart animating in reverse." [static]
 

Definition at line 92 of file py_animate.C.

char rock_doc[] = "rock() -> None\nAnimate back and forth between first and last frames." [static]
 

Definition at line 42 of file py_animate.C.

char skip_doc[] = "skip(value) -> new value\nSet stride for animation frames; pass -1 to get current value only;\nreturns new value." [static]
 

Definition at line 173 of file py_animate.C.

char speed_doc[] = "speed(value) -> current value\nSet animation speed; pass -1 to get current speed; returns new speed." [static]
 

Definition at line 157 of file py_animate.C.

char style_doc[] = "style() -> string\nReturns current animation style ('rock', 'once', or 'loop')." [static]
 

Definition at line 68 of file py_animate.C.


Generated on Fri Jul 4 01:28:00 2008 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002