HyperspaceExplorer 0.7.1
|
Classes | |
class | Alphabet |
The alphabet for the Lindenmayer System. More... | |
Public Member Functions | |
LSystem (unsigned level=3) | |
virtual std::string | getFunctionName () const |
virtual void | SetParameters (const ParameterMap ¶meters) |
Set parameters to the Displayable. | |
Protected Member Functions | |
virtual void | Initialize () |
This abstract function is called in the constructor of descendants. | |
Private Member Functions | |
LSystem | generate (unsigned level) |
void | parse (const Axiom &axiom, const Ruleset &rules) |
std::string | expand (const std::string &axiom, unsigned level) |
Private Attributes | |
unsigned | level_ |
Alphabet | alphabet_ |
Ruleset | rules_ |
Axiom | axiom_ |
std::vector< VecMath::Matrix< 4 > > | Rstate_ |
std::vector< VecMath::Vector< 4 > > | xstate_ |
std::vector< double > | scalestate_ |
std::string LSystem::getFunctionName | ( | ) | const [virtual] |
Implements Displayable.
Referenced by SetParameters().
void LSystem::SetParameters | ( | const ParameterMap & | ) | [virtual] |
Set parameters to the Displayable.
Reimplemented from Displayable.
References std::map< _Key, _Tp, _Compare, _Alloc >::begin(), std::cerr, std::map< _Key, _Tp, _Compare, _Alloc >::end(), std::endl(), and getFunctionName().