vrecko
virtual reality framework
|
#include <parstoch0lsystem.h>
Public Member Functions | |
ParStoch0LSystem (AbstractFile *) | |
ParStoch0LSystem (const ParStoch0LSystem &) | |
ParStoch0LSystem & | operator= (const ParStoch0LSystem &) |
virtual multimap< char, Rule > ::iterator * | selectRule (multimap< char, Rule >::iterator &begin, multimap< char, Rule >::iterator &end, LongString *word, unsigned int &pos, double *parameters) |
boost::shared_ptr < AbstractLSystem > | clone () const |
Public Member Functions inherited from AP_LSystem::Abstract0LSystem | |
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) | |
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::Abstract0LSystem | |
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 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 |
Parametric stochastic context-free L-system
ParStoch0LSystem::ParStoch0LSystem | ( | AbstractFile * | file | ) |
ParStoch0LSystem::ParStoch0LSystem | ( | const ParStoch0LSystem & | c | ) |
|
inlinevirtual |
Virtual copy constructor
Implements AP_LSystem::AbstractLSystem.
|
inlinestatic |
Decides if L-system of passed type can by processed by parametric stochastic context-free L-system
type | type of L-system that will be compared with ParStoch0LSytem capabilities |
ParStoch0LSystem & ParStoch0LSystem::operator= | ( | const ParStoch0LSystem & | c | ) |
|
virtual |
When some module is loaded this method selects max one rule that will be used for transcription. It search in range given by two iterators begin and end. The range contain only rules that has common predecessor. Current word and possition of predecessor must be passed. Parameters of selected module will be stored to parameters array.
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.