LSystem Class Reference
Models a Lindenmayer System, which may be used to simulate a varient of effects in Nature, such as plant growth and fractals. More...
#include <LSystem.h>
Inheritance diagram for LSystem:

Public Member Functions | |
Constructors | |
| LSystem (const std::string &rules, const std::string &axiom) | |
Main usage interface | |
| std::string | process (unsigned maxDepth) |
Protected Member Functions | |
| std::string | _process (const std::string &state, unsigned depth) |
| virtual std::string | _processRule (char c)=0 |
Protected Attributes | |
| std::string | m_rules |
| std::string | m_axiom |
Detailed Description
Models a Lindenmayer System, which may be used to simulate a varient of effects in Nature, such as plant growth and fractals.
- Date:
- December 2006
Definition at line 16 of file LSystem.h.
Constructor & Destructor Documentation
| LSystem::LSystem | ( | const std::string & | rules, | |
| const std::string & | axiom | |||
| ) | [inline] |
Member Function Documentation
| std::string LSystem::process | ( | unsigned | maxDepth | ) | [inline] |
| std::string LSystem::_process | ( | const std::string & | state, | |
| unsigned | depth | |||
| ) | [protected] |
Definition at line 13 of file LSystem.cpp.
| virtual std::string LSystem::_processRule | ( | char | c | ) | [protected, pure virtual] |
Implemented in HilbertSG< SG >.
Member Data Documentation
std::string LSystem::m_rules [protected] |
std::string LSystem::m_axiom [protected] |
The documentation for this class was generated from the following files:
Generated on 28 Feb 2009 for Milton by
1.5.6