#include <lsystem.h>
Inheritance diagram for mimas::lsystem:
Public Member Functions | |
void | setLstring (std::string str) |
std::string | getLstring () |
void | setAxiom (std::string str) |
The axiom of the L-system. This is set to "F" as the default and seldom changes. | |
void | setRule (std::string rule) |
The rule for the L-system. | |
void | setAngleStep (int val) |
The step angles used when drawing the L-system. | |
void | iterate (int numIterations=1) |
The number of iterations. | |
void | setLineLength (double val) |
The line lengths of each component when drawing. | |
template<typename T> | |
void | drawLsystem (image< T > &image, int startx, int starty, T colour) |
draw the L-system into an image | |
lsystem () |
Also see algorithmic botanic by Przemyslaw Prusinkiewicz.
Definition at line 21 of file lsystem.h.