eXperiment robotics framework

FBO_GLSL_Plugin Class Reference
[Plugin: Framebuffer Object]

Frame Buffer Objects, used for applying GLSL shader effects to textures. More...

#include <erf_fbo_glsl.hpp>

Inheritance diagram for FBO_GLSL_Plugin:

Inheritance graph
[legend]
Collaboration diagram for FBO_GLSL_Plugin:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 FBO_GLSL_Plugin ()
 ~FBO_GLSL_Plugin ()
void update ()
void display ()
void run ()
 run gets called every time. Draw your vizualizations here.
void clean ()
 function to be called before exiting program.
void init ()
 initialize the plugin. Called once when the plugin starts.

Public Attributes

string frag
string vert
std::auto_ptr< FramebufferObject_fbo
 The framebuffer object used for rendering to the texture.
GLuint _iTexture [2]
 The texture used as a data array.
GLint _texUnit
 a parameter to the fragment program to specify the base texture
GLint _currentDrawbuf
GLuint program
string sourceImageFile
Texture sourceImage
Window3dwindow3d


Detailed Description

Frame Buffer Objects, used for applying GLSL shader effects to textures.

Definition at line 33 of file erf_fbo_glsl.hpp.


Constructor & Destructor Documentation

FBO_GLSL_Plugin::FBO_GLSL_Plugin (  ) 

FBO_GLSL_Plugin::~FBO_GLSL_Plugin (  )  [inline]

Definition at line 36 of file erf_fbo_glsl.hpp.

References clean().


Member Function Documentation

void FBO_GLSL_Plugin::update (  ) 

void FBO_GLSL_Plugin::display (  ) 

void FBO_GLSL_Plugin::run (  )  [virtual]

run gets called every time. Draw your vizualizations here.

Reimplemented from Plugin.

void FBO_GLSL_Plugin::clean (  )  [inline, virtual]

function to be called before exiting program.

Reimplemented from Plugin.

Definition at line 58 of file erf_fbo_glsl.hpp.

References _iTexture, and sourceImage.

Referenced by ~FBO_GLSL_Plugin().

void FBO_GLSL_Plugin::init (  )  [virtual]

initialize the plugin. Called once when the plugin starts.

Reimplemented from Plugin.


Member Data Documentation

Definition at line 38 of file erf_fbo_glsl.hpp.

Definition at line 39 of file erf_fbo_glsl.hpp.

The framebuffer object used for rendering to the texture.

Definition at line 41 of file erf_fbo_glsl.hpp.

The texture used as a data array.

Definition at line 43 of file erf_fbo_glsl.hpp.

Referenced by clean().

a parameter to the fragment program to specify the base texture

Definition at line 45 of file erf_fbo_glsl.hpp.

Definition at line 46 of file erf_fbo_glsl.hpp.

Definition at line 47 of file erf_fbo_glsl.hpp.

Definition at line 49 of file erf_fbo_glsl.hpp.

Definition at line 50 of file erf_fbo_glsl.hpp.

Referenced by clean().

Definition at line 52 of file erf_fbo_glsl.hpp.


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

The miarn project - written by Joao Xavier