GLFramebuffer Class Reference

#include <GLFramebuffer.h>

List of all members.

Public Member Functions

 GLFramebuffer ()
 ~GLFramebuffer ()
GLuint getBuffer ()
GLuint getWidth ()
GLuint getHeight ()
GLTexturecreateTexture ()
GLTexturegetTexture (int index=0)
void create (GLuint width, GLuint height)
void free ()

Private Attributes

GLuint buffer
GLuint width
GLuint height
vector< GLTexturetextures


Detailed Description

Definition at line 11 of file GLFramebuffer.h.


Constructor & Destructor Documentation

GLFramebuffer::GLFramebuffer (  ) 

Definition at line 5 of file GLFramebuffer.cpp.

References buffer.

GLFramebuffer::~GLFramebuffer (  ) 

Definition at line 10 of file GLFramebuffer.cpp.

References free().


Member Function Documentation

void GLFramebuffer::create ( GLuint  width,
GLuint  height 
)

Definition at line 41 of file GLFramebuffer.cpp.

References buffer, free(), getTexture(), and textures.

Referenced by GL3DView::initializeGL(), and GL3DView::paintGL().

GLTexture * GLFramebuffer::createTexture (  ) 

Definition at line 30 of file GLFramebuffer.cpp.

References textures.

Referenced by GL3DView::GL3DView().

void GLFramebuffer::free (  ) 

Definition at line 121 of file GLFramebuffer.cpp.

References buffer, and textures.

Referenced by create(), GL3DView::uninitializeGL(), and ~GLFramebuffer().

GLuint GLFramebuffer::getBuffer (  ) 

Definition at line 15 of file GLFramebuffer.cpp.

References buffer.

Referenced by GL3DView::drawColorCubes(), and GL3DView::drawVolume().

GLuint GLFramebuffer::getHeight (  ) 

Definition at line 25 of file GLFramebuffer.cpp.

References height.

Referenced by GL3DView::drawVolume().

GLTexture * GLFramebuffer::getTexture ( int  index = 0  ) 

Definition at line 36 of file GLFramebuffer.cpp.

References textures.

Referenced by create(), GL3DView::drawVolume(), and GL3DView::paintGL().

GLuint GLFramebuffer::getWidth (  ) 

Definition at line 20 of file GLFramebuffer.cpp.

References width.

Referenced by GL3DView::drawVolume().


Member Data Documentation

GLuint GLFramebuffer::buffer [private]

Definition at line 25 of file GLFramebuffer.h.

Referenced by create(), free(), getBuffer(), and GLFramebuffer().

GLuint GLFramebuffer::height [private]

Definition at line 26 of file GLFramebuffer.h.

Referenced by getHeight().

Definition at line 27 of file GLFramebuffer.h.

Referenced by create(), createTexture(), free(), and getTexture().

GLuint GLFramebuffer::width [private]

Definition at line 26 of file GLFramebuffer.h.

Referenced by getWidth().


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

Generated on Wed Dec 10 13:50:14 2008 for Tido Visualization by  doxygen 1.5.7.1