QUAD_POISSON Class Reference

#include <QUAD_POISSON.h>


Detailed Description

Quadtree Poisson solver.


Public Member Functions

 QUAD_POISSON (int xRes, int yRes, int iterations=10)
 quadtree constructor
virtual ~QUAD_POISSON ()
 destructor
void draw (CELL *cell=NULL)
 OpenGL drawing function.
void drawCell (CELL *cell, float r=1.0f, float g=0.0f, float b=0.0f)
 Draw a single OpenGL cell.
int solve ()
 Solve the Poisson problem.
CELLinsert (float xPos, float yPos)
 insert point at maximum subdivision level
CELLinsert (int xPos, int yPos)
 insert point at maximum subdivision level
void getAllLeaves (list< CELL * > &leaves, CELL *currentCell=NULL)
 get all the leaf nodes
list< CELL * > & getSmallestLeaves ()
 get all the leaf nodes at finest subdivision level
int & maxRes ()
 maximum resolution accessor
int & maxDepth ()
 maximum depth accessor


The documentation for this class was generated from the following files:
Generated on Wed Oct 25 03:19:42 2006 for Lumos by  doxygen 1.4.6