L-System

Mimas-API for generating L-Systems. More...

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

Detailed Description

Mimas-API for generating L-Systems.


Function Documentation

template<typename T>
void mimas::lsystem::drawLsystem ( image< T > &  image,
int  startx,
int  starty,
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:

std::string mimas::lsystem::getLstring (  )  [inherited]

Definition at line 60 of file lsystem.h.

void mimas::lsystem::iterate ( int  numIterations = 1  )  [inherited]

The number of iterations.

Definition at line 85 of file lsystem.h.

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]

Definition at line 54 of file lsystem.h.

Referenced by mimas::lsystem::lsystem().

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


[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:22 2006, Bala Amavasai, Stuart Meikle, Arul Selvan, Fabio Caparrelli, Jan Wedekind, Manuel Boissenin, ...