Blender  V2.59
Functions | Variables
blendVideoTex.cpp File Reference
#include <PyObjectPlus.h>
#include <RAS_GLExtensionManager.h>
#include <RAS_IPolygonMaterial.h>
#include "ImageBase.h"
#include "FilterBase.h"
#include "Texture.h"
#include "Exception.h"

Go to the source code of this file.

Functions

static PyObject * getMaterialID (PyObject *self, PyObject *args)
static PyObject * getLastError (PyObject *self, PyObject *args)
static PyObject * setLogFile (PyObject *self, PyObject *args)
static PyObject * imageToArray (PyObject *self, PyObject *args)
static void registerAllTypes (void)
PyObject * initVideoTexture (void)

Variables

static PyMethodDef moduleMethods []
PyTypeObject FilterBlueScreenType
PyTypeObject FilterGrayType
PyTypeObject FilterColorType
PyTypeObject FilterLevelType
PyTypeObject FilterNormalType
PyTypeObject FilterRGB24Type
PyTypeObject FilterRGBA32Type
PyTypeObject FilterBGR24Type
PyTypeObject ImageBuffType
PyTypeObject ImageMixType
PyTypeObject ImageRenderType
PyTypeObject ImageMirrorType
PyTypeObject ImageViewportType
static struct PyModuleDef VideoTexture_module_def

Detailed Description

Definition in file blendVideoTex.cpp.


Function Documentation

static PyObject* getLastError ( PyObject *  self,
PyObject *  args 
) [static]

Definition at line 71 of file blendVideoTex.cpp.

References Exception::m_lastError.

static PyObject* getMaterialID ( PyObject *  self,
PyObject *  args 
) [static]

Definition at line 47 of file blendVideoTex.cpp.

References NULL.

static PyObject* imageToArray ( PyObject *  self,
PyObject *  args 
) [static]

Definition at line 88 of file blendVideoTex.cpp.

References Image_getImage(), PyTypeList::in(), NULL, and pyImageTypes.

PyObject* initVideoTexture ( void  )
static void registerAllTypes ( void  ) [static]
static PyObject* setLogFile ( PyObject *  self,
PyObject *  args 
) [static]

Definition at line 77 of file blendVideoTex.cpp.

References Exception::m_logFile.


Variable Documentation

PyTypeObject FilterBGR24Type

Definition at line 130 of file FilterSource.cpp.

Referenced by registerAllTypes().

PyTypeObject FilterBlueScreenType

Definition at line 139 of file FilterBlueScreen.cpp.

Referenced by registerAllTypes().

PyTypeObject FilterColorType

Definition at line 176 of file FilterColor.cpp.

Referenced by registerAllTypes().

PyTypeObject FilterGrayType

Definition at line 45 of file FilterColor.cpp.

Referenced by registerAllTypes().

PyTypeObject FilterLevelType

Definition at line 309 of file FilterColor.cpp.

Referenced by registerAllTypes().

PyTypeObject FilterNormalType

Definition at line 128 of file FilterNormal.cpp.

Referenced by registerAllTypes().

PyTypeObject FilterRGB24Type

Definition at line 40 of file FilterSource.cpp.

Referenced by registerAllTypes().

PyTypeObject FilterRGBA32Type

Definition at line 85 of file FilterSource.cpp.

Referenced by registerAllTypes().

PyTypeObject ImageBuffType

Definition at line 380 of file ImageBuff.cpp.

Referenced by plot(), and registerAllTypes().

PyTypeObject ImageMirrorType

Definition at line 721 of file ImageRender.cpp.

Referenced by registerAllTypes().

PyTypeObject ImageMixType

Definition at line 171 of file ImageMix.cpp.

Referenced by registerAllTypes().

PyTypeObject ImageRenderType

Definition at line 387 of file ImageRender.cpp.

Referenced by registerAllTypes().

PyTypeObject ImageViewportType

Definition at line 132 of file blendVideoTex.cpp.

Referenced by registerAllTypes().

PyMethodDef moduleMethods[] [static]
Initial value:
{
        {"materialID", getMaterialID, METH_VARARGS, "Gets object's Blender Material ID"},
        {"getLastError", getLastError, METH_NOARGS, "Gets last error description"},
        {"setLogFile", setLogFile, METH_VARARGS, "Sets log file name"},
        {"imageToArray", imageToArray, METH_VARARGS, "get buffer from image source, color channels are selectable"},
        {NULL}  
}

Definition at line 106 of file blendVideoTex.cpp.

struct PyModuleDef VideoTexture_module_def [static]
Initial value:
 {
        {}, 
        "VideoTexture",  
        "Module that allows to play video files on textures in GameBlender.",  
        0,  
        moduleMethods,  
        0,  
        0,  
        0,  
        0,  
}

Definition at line 157 of file blendVideoTex.cpp.

Referenced by initVideoTexture().