GLwidget Class Reference

#include <glwidget.h>

List of all members.

Public Slots

void runSimulation ()

Public Member Functions

 GLwidget (const QGLFormat &format, QWidget *parent=0, CellSpace *space=NULL)
 ~GLwidget ()
void loadTexture (int w, int h, unsigned char *texture_data)
QSize sizeHint () const
void mouseMoveEvent (QMouseEvent *event)
void mousePressEvent (QMouseEvent *event)
void wheelEvent (QWheelEvent *event)
void startSimulation ()
void stopSimulation ()
CellSpacegetSpace ()

Protected Member Functions

void initializeGL ()
void paintGL ()
void resizeGL (int w, int h)


Constructor & Destructor Documentation

GLwidget::GLwidget ( const QGLFormat &  format,
QWidget *  parent = 0,
CellSpace space = NULL 
)

Parameters:
format format ktory sa ma pouzit pri vytvarani OpenGL okna. pozri Qt dokumentaciu ku QGLWidget
parent Qt rodic
space model ktory sa priradi aktualnemu oknu

GLwidget::~GLwidget (  ) 


Member Function Documentation

CellSpace* GLwidget::getSpace (  )  [inline]

void GLwidget::initializeGL (  )  [protected]

Inicializacia OpenGL

void GLwidget::loadTexture ( int  w,
int  h,
unsigned char *  texture 
)

Nacita texturu do OpenGL do akktualneho widgetu

Parameters:
w sirka textury
h vyska textury
texture pixelove data textury

void GLwidget::mouseMoveEvent ( QMouseEvent *  event  ) 

void GLwidget::mousePressEvent ( QMouseEvent *  event  ) 

void GLwidget::paintGL (  )  [protected]

Vykreslovanie OpenGL sceny

void GLwidget::resizeGL ( int  w,
int  h 
) [protected]

void GLwidget::runSimulation (  )  [slot]

QSize GLwidget::sizeHint (  )  const [inline]

void GLwidget::startSimulation (  ) 

void GLwidget::stopSimulation (  ) 

void GLwidget::wheelEvent ( QWheelEvent *  event  ) 


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

Generated on Tue May 11 22:08:03 2010 for Cellula by  doxygen 1.5.8