GLwidget Class Reference

#include <glwidget.h>

List of all members.

Public Member Functions

 GLwidget (const QGLFormat &format, QWidget *parent=0)
 ~GLwidget ()
void loadTexture (int w, int h, unsigned char *texture_data)

Protected Member Functions

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


Constructor & Destructor Documentation

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

Parameters:
format format ktory sa ma pouzit pri vytvarani OpenGL okna. pozri Qt dokumentaciu ku QGLWidget
parent Qt rodic

GLwidget::~GLwidget (  ) 


Member Function Documentation

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::paintGL (  )  [protected]

Vykreslovanie OpenGL sceny

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


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

Generated on Tue Mar 9 14:51:38 2010 for Cellula by  doxygen 1.5.8