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

py_render.C File Reference

#include "py_commands.h"
#include "VMDApp.h"

Go to the source code of this file.

Functions

PyObject * py_listall (PyObject *self, PyObject *args)
PyObject * py_render (PyObject *self, PyObject *args, PyObject *kwargs)
PyObject * initrender (void)

Variables

const char listall_doc []
const char render_doc []
PyMethodDef methods []
const char render_moddoc []


Function Documentation

PyObject* initrender void   
 

Definition at line 110 of file py_render.C.

References methods, and render_moddoc.

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

Definition at line 28 of file py_render.C.

References as_pystring, VMDApp::filerender_name, VMDApp::filerender_num, get_vmdapp, and NULL.

PyObject* py_render PyObject *    self,
PyObject *    args,
PyObject *    kwargs
[static]
 

Definition at line 66 of file py_render.C.

References VMDApp::filerender_render, get_vmdapp, and NULL.


Variable Documentation

const char listall_doc[] [static]
 

Initial value:

"List all supported render methods\n\n"
"Returns:\n"
"    (list of str): Supported render methods, suitable for calls to `render()`"

Definition at line 24 of file py_render.C.

PyMethodDef methods[] [static]
 

Initial value:

 {
  {"listall", (PyCFunction)py_listall, METH_NOARGS, listall_doc},
  {"render", (PyCFunction)py_render, METH_VARARGS | METH_KEYWORDS, render_doc},
  {NULL, NULL}
}

Definition at line 88 of file py_render.C.

Referenced by initrender.

const char render_doc[] [static]
 

Initial value:

"Render the current scene with an external or internal renderer. For some\n"
"rendering engines this entails writing an input file and then invoking an\n"
"external program\n\n"
"Args:\n"
"    method (str): Render method. See `render.listall()` for supported values\n"
"    filename (str): File name to render to. For external rendering engines,\n"
"        filename may be input file to external program"

Definition at line 58 of file py_render.C.

const char render_moddoc[] [static]
 

Initial value:

"Methods to render the current scene using a specified rendering engine"

Definition at line 95 of file py_render.C.

Referenced by initrender.


Generated on Sun Nov 3 02:46:14 2024 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002