vrecko
virtual reality framework
|
#include <abstract0lsystem.h>
Public Member Functions | |
Abstract0LSystem (AbstractFile *) | |
Abstract0LSystem (const Abstract0LSystem &) | |
Public Member Functions inherited from AP_LSystem::LSystem | |
LSystem (AbstractFile *) | |
LSystem (const LSystem &) | |
~LSystem () | |
LSystem & | operator= (const LSystem &) |
virtual void | loadFromFile (AbstractFile *file) |
unsigned int | wordLength () |
virtual void | transcribeSubSystems () |
virtual LongString * | translate () |
virtual void | processCutSymbol () |
Public Member Functions inherited from AP_LSystem::AbstractLSystem | |
AbstractLSystem () | |
AbstractLSystem (const AbstractLSystem &c) | |
virtual boost::shared_ptr < AbstractLSystem > | clone () const =0 |
AbstractLSystem & | operator= (const AbstractLSystem &c) |
unsigned int | getIteration () const |
Protected Member Functions | |
virtual void | processPredecessor (Rule &rule, string *str, string::iterator &pos) |
virtual void | processRuleSuccessor (Rule &rule, string *str, string::iterator &pos) |
virtual void | processHomomorphismSuccessor (Rule &rule, string *str, string::iterator &pos) |
Protected Member Functions inherited from AP_LSystem::LSystem | |
virtual void | setAxiom (std::string &) |
virtual void | addRule (std::string *) |
virtual void | addHomomorphism (std::string *) |
virtual bool | nextIteration () |
virtual bool | transcribe (multimap< char, Rule > &rules) |
virtual multimap< char, Rule > ::iterator * | selectRule (multimap< char, Rule >::iterator &begin, multimap< char, Rule >::iterator &end, LongString *word, unsigned int &pos, double *parameters) |
virtual void | generateSuccessor (LongString *word, multimap< char, Rule >::iterator &rule, double *params) |
Additional Inherited Members | |
Protected Attributes inherited from AP_LSystem::LSystem | |
LongString * | m_Word |
multimap< char, Rule > | m_Rules |
multimap< char, Rule > | m_Homomorphisms |
vector< string > | m_SubSystemsFilenames |
vector< LongString * > | m_SubSystemsWords |
string | m_Ignore |
Abstract class for context-free 0L-systems
Abstract0LSystem::Abstract0LSystem | ( | AbstractFile * | file | ) |
Abstract0LSystem::Abstract0LSystem | ( | const Abstract0LSystem & | c | ) |
|
protectedvirtual |
Parses a homomorphism successor and stores it to Rule structure
rule | structure of rule for storing parsed data |
str | string with rule |
pos | position of predecessor in rule string |
Implements AP_LSystem::LSystem.
|
protectedvirtual |
Parses a predecessor of rule or homomorphism and stores it to Rule structure
rule | structure of rule for storing parsed data |
str | string with rule |
pos | position of predecessor in rule string |
Implements AP_LSystem::LSystem.
|
protectedvirtual |
Parses a rule successor and stores it to Rule structure
rule | structure of rule for storing parsed data |
str | string with rule |
pos | position of predecessor in rule string |
Implements AP_LSystem::LSystem.