CellSpace Class Reference

#include <cellspace.h>

List of all members.

Public Member Functions

 CellSpace (Model *parent, int w, int h)
 ~CellSpace ()
void run (int iteration=1)
ModelgetParent ()
cl_mem * getSpace ()
int getWidth ()
int getHeight ()
unsigned char * renderToTexture ()


Constructor & Destructor Documentation

CellSpace::CellSpace ( Model parent,
int  w,
int  h 
)

Vytvory stavovy priestor modelu

Parameters:
parent rodic ku ktoremu je dany stavovy priestor priradeny
w sirka v pocte buniek
h vyska v pocte buniek

CellSpace::~CellSpace (  ) 


Member Function Documentation

int CellSpace::getHeight (  )  [inline]

Model* CellSpace::getParent (  )  [inline]

cl_mem* CellSpace::getSpace (  )  [inline]

int CellSpace::getWidth (  )  [inline]

unsigned char * CellSpace::renderToTexture (  ) 

Vykresli do textury aktualny stav priestoru

Returns:
pointer na pole pixmapy s formatom RGBA s rozmermy width height ktore vracia
See also:
CellSpace::getWidth CellSpace::getHeight

void CellSpace::run ( int  iteration = 1  ) 

Spusti simulaciu daneho pristoru

Parameters:
iteration pocet iteracii ktore sa maju vykonat


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