SPIN Framework
Public Member Functions

spin::SharedVideoTexture Class Reference

Allows reception of video from an other process into an OSG texture. More...

#include <SharedVideoTexture.h>

Inheritance diagram for spin::SharedVideoTexture:
spin::Shader spin::ReferencedStateSet

List of all members.

Public Member Functions

 SharedVideoTexture (SceneManager *sceneManager, const char *initID)
void setTextureID (const char *id)
const char * getTextureID () const
const char * getPath () const
std::vector< lo_message > getState () const
void debug ()
void play ()
void pause ()

Detailed Description

Allows reception of video from an other process into an OSG texture.

This is accomplished by the use of libshmdata. http://code.sat.qc.ca/redmine/projects/libshmdata

Note however, that this node will be available regardless of the library's presence. This is because we still want to know about it on ALL servers or clients, regardless of platform or available libraries.

ie, this node still has reduced funtionality on non-supported platforms.


Member Function Documentation

void spin::SharedVideoTexture::debug ( ) [virtual]

Print debug information to console.

Reimplemented from spin::Shader.

std::vector< lo_message > spin::SharedVideoTexture::getState ( ) const [virtual]

Just like a ReferencedNode, each subclass of ReferencedStateSet must override the getState() method to pass it's current state.

Reimplemented from spin::Shader.


The documentation for this class was generated from the following files: