vrecko
virtual reality framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
AP_LSystem::LSystemGenerator Class Reference

#include <lsystemgenerator.h>

Inheritance diagram for AP_LSystem::LSystemGenerator:
AP_LSystem::AbstractGenerator

Public Member Functions

 LSystemGenerator (void)
 
 ~LSystemGenerator (void)
 
virtual void loadFile (std::string &filename)
 
virtual void nextIteration ()
 
virtual ParseableStringgetWord ()
 
- Public Member Functions inherited from AP_LSystem::AbstractGenerator
 AbstractGenerator (void)
 
 AbstractGenerator (const AbstractGenerator &c)
 
AbstractGeneratoroperator= (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
ParseableStringm_Word
 word generated by generator More...
 
boost::shared_ptr
< AbstractLSystem
m_MainLSystem
 L-system that is used for generating. More...
 

Detailed Description

This is a default generator for L-system generating.

Constructor & Destructor Documentation

LSystemGenerator::LSystemGenerator ( void  )

Non-parametric constructor

LSystemGenerator::~LSystemGenerator ( void  )

Destructor

Member Function Documentation

ParseableString * LSystemGenerator::getWord ( )
virtual

Get a final word.

Returns
word, ready for an interpretation.

Implements AP_LSystem::AbstractGenerator.

void LSystemGenerator::loadFile ( std::string &  filename)
virtual

Loads an L-system. File is specified by it's filename.

Parameters
filenamefilename of file in one of supported L-system formats

Implements AP_LSystem::AbstractGenerator.

void LSystemGenerator::nextIteration ( )
virtual

Process next interation on the main L-system

Implements AP_LSystem::AbstractGenerator.


The documentation for this class was generated from the following files: