vrecko
virtual reality framework
|
#include <lsystemgenerator.h>
Public Member Functions | |
LSystemGenerator (void) | |
~LSystemGenerator (void) | |
virtual void | loadFile (std::string &filename) |
virtual void | nextIteration () |
virtual ParseableString * | getWord () |
Public Member Functions inherited from AP_LSystem::AbstractGenerator | |
AbstractGenerator (void) | |
AbstractGenerator (const AbstractGenerator &c) | |
AbstractGenerator & | operator= (const AbstractGenerator &c) |
~AbstractGenerator (void) | |
virtual void | saveWordToFile (std::string &) |
virtual void | loadWordFromFile (std::string &) |
Additional Inherited Members | |
Static Public Member Functions inherited from AP_LSystem::AbstractGenerator | |
static boost::shared_ptr < AbstractLSystem > | createLSystem (AbstractFile *file) |
Protected Attributes inherited from AP_LSystem::AbstractGenerator | |
ParseableString * | m_Word |
word generated by generator More... | |
boost::shared_ptr < AbstractLSystem > | m_MainLSystem |
L-system that is used for generating. More... | |
This is a default generator for L-system generating.
LSystemGenerator::LSystemGenerator | ( | void | ) |
Non-parametric constructor
LSystemGenerator::~LSystemGenerator | ( | void | ) |
Destructor
|
virtual |
Get a final word.
Implements AP_LSystem::AbstractGenerator.
|
virtual |
Loads an L-system. File is specified by it's filename.
filename | filename of file in one of supported L-system formats |
Implements AP_LSystem::AbstractGenerator.
|
virtual |
Process next interation on the main L-system
Implements AP_LSystem::AbstractGenerator.