mimas::lsystem Class Reference
[L-System]

L-Systems. More...

#include <lsystem.h>

Inheritance diagram for mimas::lsystem:

Inheritance graph
[legend]
Collaboration diagram for mimas::lsystem:

Collaboration graph
[legend]
List of all members.

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 ()

Detailed Description

L-Systems.

Also see algorithmic botanic by Przemyslaw Prusinkiewicz.

Author:
Bala Amavasai (bala@amavasai.org)
Date:
Thu Dec 15 17:05:19 GMT 2005

Definition at line 21 of file lsystem.h.


The documentation for this class was generated from the following file:
[GNU/Linux] [Qt] [Mesa] [STL] [Lapack] [Boost] [Magick++] [Xalan-C and Xerces-C] [doxygen] [graphviz] [FFTW] [popt] [xine] [Gnuplot] [gnu-arch] [gcc] [gstreamer] [autoconf/automake/make] [freshmeat.net] [opensource.org] [sourceforge.net] [MMVL]
mimas 2.1 - Copyright Mon Oct 30 11:31:35 2006, Bala Amavasai, Stuart Meikle, Arul Selvan, Fabio Caparrelli, Jan Wedekind, Manuel Boissenin, ...