RenderingSurface Class Reference

#include <RenderingSurface.h>

List of all members.

Public Slots

void processTimer ()
 this slot allowes to update the Renderer and Animation by calling it in a tight loop or by a timer
void screenShot ()
 this slot allowes to trigger a screenShot

Signals

void initGLFinished ()
 this signal is emitted when the initialization of OpenGL has finished.

Public Member Functions

 RenderingSurface (const QGLFormat &format, QWidget *parent=0, const QGLWidget *shareWidget=0, Qt::WindowFlags f=0)
virtual ~RenderingSurface ()

Private Member Functions

void initializeGL ()
 is called automatically for initializing OpenGL
void resizeGL (int w, int h)
 is called automatically when the OpenGL is resized
void paintGL ()
 is called automatically when OpenGL wants to be painted

Private Attributes

QTimer * animationTimer
 the rendering-loop timer: calls the slot processTimer


Detailed Description

surface where to render. Is derived from QGLWidget which provides the link to OpenGL

Constructor & Destructor Documentation

RenderingSurface::RenderingSurface ( const QGLFormat &  format,
QWidget *  parent = 0,
const QGLWidget *  shareWidget = 0,
Qt::WindowFlags  f = 0 
)

RenderingSurface::~RenderingSurface (  )  [virtual]


Member Function Documentation

void RenderingSurface::initGLFinished (  )  [signal]

this signal is emitted when the initialization of OpenGL has finished.

void RenderingSurface::processTimer (  )  [slot]

this slot allowes to update the Renderer and Animation by calling it in a tight loop or by a timer

void RenderingSurface::screenShot (  )  [slot]

this slot allowes to trigger a screenShot

void RenderingSurface::initializeGL (  )  [private]

is called automatically for initializing OpenGL

void RenderingSurface::resizeGL ( int  w,
int  h 
) [private]

is called automatically when the OpenGL is resized

void RenderingSurface::paintGL (  )  [private]

is called automatically when OpenGL wants to be painted


Member Data Documentation

the rendering-loop timer: calls the slot processTimer


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

Generated on Tue Dec 8 21:57:03 2009 for VolumeRendering by  doxygen 1.5.5