Classes | |
class | mimas::lsystem |
L-Systems. More... | |
Functions | |
mimas::lsystem::lsystem () | |
void | mimas::lsystem::setLstring (std::string str) |
std::string | mimas::lsystem::getLstring () |
void | mimas::lsystem::setAxiom (std::string str) |
The axiom of the L-system. This is set to "F" as the default and seldom changes. | |
void | mimas::lsystem::setRule (std::string rule) |
The rule for the L-system. | |
void | mimas::lsystem::setAngleStep (int val) |
The step angles used when drawing the L-system. | |
void | mimas::lsystem::iterate (int numIterations=1) |
The number of iterations. | |
void | mimas::lsystem::setLineLength (double val) |
The line lengths of each component when drawing. | |
template<typename T> | |
void | mimas::lsystem::drawLsystem (image< T > &image, int startx, int starty, T colour) |
draw the L-system into an image |
void mimas::lsystem::drawLsystem | ( | image< T > & | image, | |
int | startx, | |||
int | starty, | |||
T | colour | |||
) | [inherited] |
draw the L-system into an image
Definition at line 101 of file lsystem.h.
References mimas::drawLine().
Here is the call graph for this function:
void mimas::lsystem::iterate | ( | int | numIterations = 1 |
) | [inherited] |
mimas::lsystem::lsystem | ( | ) | [inherited] |
Definition at line 42 of file lsystem.h.
References mimas::lsystem::setAngleStep(), mimas::lsystem::setAxiom(), mimas::lsystem::setLineLength(), mimas::lsystem::setLstring(), and mimas::lsystem::setRule().
Here is the call graph for this function:
void mimas::lsystem::setAngleStep | ( | int | val | ) | [inherited] |
The step angles used when drawing the L-system.
Definition at line 79 of file lsystem.h.
Referenced by mimas::lsystem::lsystem().
void mimas::lsystem::setAxiom | ( | std::string | str | ) | [inherited] |
The axiom of the L-system. This is set to "F" as the default and seldom changes.
Definition at line 66 of file lsystem.h.
Referenced by mimas::lsystem::lsystem().
void mimas::lsystem::setLineLength | ( | double | val | ) | [inherited] |
The line lengths of each component when drawing.
Definition at line 94 of file lsystem.h.
Referenced by mimas::lsystem::lsystem().
void mimas::lsystem::setLstring | ( | std::string | str | ) | [inherited] |
void mimas::lsystem::setRule | ( | std::string | rule | ) | [inherited] |
The rule for the L-system.
Definition at line 72 of file lsystem.h.
Referenced by mimas::lsystem::lsystem().