1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
|
/*
* PyMOL Scene C++ implementation
*
* (c) 2014 Schrodinger, Inc.
*/
#ifndef _H_MOVIESCENE
#define _H_MOVIESCENE
#include "os_python.h"
#include "Base.h"
#include "PyMOLGlobals.h"
#include <vector>
#include <string>
enum {
cMovieSceneStackDefault = 0,
cMovieSceneStack_SIZE
};
bool MovieSceneFunc(PyMOLGlobals * G, const char * name,
const char * action,
const char * message = "",
bool store_view = true,
bool store_color = true,
bool store_active = true,
bool store_rep = true,
bool store_frame = true,
float animate = -1.0,
const char * new_key = "",
bool hand = true,
const char * sele = "all",
size_t stack = cMovieSceneStackDefault);
bool MovieSceneRecall(PyMOLGlobals * G, const char * name, float animate = -1.0,
bool recall_view = true,
bool recall_color = true,
bool recall_active = true,
bool recall_rep = true,
bool recall_frame = true,
const char * sele = "all",
size_t stack = cMovieSceneStackDefault);
bool MovieSceneDelete(PyMOLGlobals * G, const char * name,
size_t stack = cMovieSceneStackDefault);
bool MovieSceneOrder(PyMOLGlobals * G, const char * names,
bool sort = false,
const char * location = NULL /* "current" */);
const std::vector<std::string> & MovieSceneGetOrder(PyMOLGlobals * G);
void MovieScenesInit(PyMOLGlobals * G);
void MovieScenesFree(PyMOLGlobals * G);
PyObject * MovieScenesAsPyList(PyMOLGlobals * G);
void MovieScenesFromPyList(PyMOLGlobals * G, PyObject * o);
#endif
|