|
Public Member Functions |
| | QUAD_DBM_2D (int xRes=128, int yRes=128, int iterations=10) |
| | DBM constructor.
|
| virtual | ~QUAD_DBM_2D () |
| | destructor
|
| bool | addParticle () |
| | add to aggregate
|
| bool | hitGround (CELL *cell=NULL) |
| | Hit ground yet?
|
| void | draw () |
| | draw the quadtree cells to OpenGL
|
| void | drawSegments () |
| | draw the DAG to OpenGL
|
| void | writeFields (const char *filename) |
| | write everything to a file
|
| void | readFields (const char *filename) |
| | read everything from a file
|
| bool | readImage (unsigned char *initial, unsigned char *attractors, unsigned char *repulsors, unsigned char *terminators, int xRes, int yRes) |
| | read in control parameters from an input file
|
| void | readDAG (const char *filename) |
| | read in a new DAG
|
| void | writeDAG (const char *filename) |
| | write out the current DAG
|
| float *& | renderOffscreen (int scale=1) |
| | render to a software-only buffer
|
| int | xRes () |
| | access the DBM x resolution
|
| int | yRes () |
| | access the DBM y resolution
|
| int | xDagRes () |
| | access the DAG x resolution
|
| int | yDagRes () |
| | access the DAG y resolution
|
| int | inputWidth () |
| | access the x resolution of the input image
|
| int | inputHeight () |
| | access the y resolution of the input image
|