vrecko
virtual reality framework
|
#include <par2lsystem.h>
Public Member Functions | |
Par2LSystem (AbstractFile *) | |
virtual void | processPredecessor (Rule &, string *, string::iterator &) |
virtual void | processRuleSuccessor (Rule &, string *, string::iterator &) |
virtual void | processHomomorphismSuccessor (Rule &, string *, string::iterator &) |
virtual multimap< char, Rule > ::iterator * | selectRule (multimap< char, Rule >::iterator &, multimap< char, Rule >::iterator &, LongString *, unsigned int &, double *) |
boost::shared_ptr < AbstractLSystem > | clone () const |
Public Member Functions inherited from AP_LSystem::AbstractkLSystem | |
AbstractkLSystem (AbstractFile *) | |
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) | |
AbstractLSystem & | operator= (const AbstractLSystem &c) |
unsigned int | getIteration () const |
Static Public Member Functions | |
static bool | isCapable (unsigned int type) |
Additional Inherited Members | |
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 void | generateSuccessor (LongString *word, multimap< char, Rule >::iterator &rule, double *params) |
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 |
Class for processing parametric stochastic 2L-systems
Par2LSystem::Par2LSystem | ( | AbstractFile * | file | ) |
|
inlinevirtual |
Virtual copy constructor
Implements AP_LSystem::AbstractLSystem.
|
inlinestatic |
|
virtual |
Implements AP_LSystem::LSystem.
|
virtual |
Implements AP_LSystem::LSystem.
|
virtual |
Implements AP_LSystem::LSystem.
|
virtual |
This method is called during each transcription. It selects one or no rule from union of rules that have common predecessor. The selection procedure depends on type of L-system.
begin | iterator to range of rules |
end | iterator to range of rules |
word | word that is currently processed |
pos | position of current predecessor in word |
parameters | array of parameters for transcription. Only double type. |
Reimplemented from AP_LSystem::LSystem.