DAG Class Reference

#include <DAG.h>


Detailed Description

Directed acyclic graph that renders the final lightning.


Public Member Functions

 DAG (int xRes, int yRes)
 constructor
virtual ~DAG ()
 destructor
void buildLeader (int bottomHit)
 build the stepped ladder
bool addSegment (int index, int neighbor)
 add DAG segment
void draw ()
 draw to OpenGL
float *& drawOffscreen (int scale=1)
 draw to an offscreen buffer
void read (const char *filename)
 read in a new DAG
void write (const char *filename)
 write out the current DAG
int xRes ()
 quadtree x resolution accessor
int yRes ()
 quadtree y resolution accessor
int & inputWidth ()
 input image x resolution accessor
int & inputHeight ()
 input image y resolution accessor

Data Structures

struct  NODE
 node for line segment tree


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