HyperspaceExplorer 0.7.1
Public Member Functions | Static Public Attributes | Private Attributes
LSystem::Alphabet Class Reference

The alphabet for the Lindenmayer System. More...

Collaboration diagram for LSystem::Alphabet:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Alphabet (const std::string &letters)
std::shared_ptr< DisplayablegetDisplayable (char letter)
std::string toString () const

Static Public Attributes

static const char LEFT_X = '+'
static const char RIGHT_X = '-'
static const char LEFT_Y = '^'
static const char RIGHT_Y = 'v'
static const char LEFT_Z = '<'
static const char RIGHT_Z = '>'
static const char LEFT_W = '['
static const char RIGHT_W = ']'
static const char FORWARD = 'f'
static const char BACK = 'b'
static const char OPEN_GROUP = '{'
static const char CLOSE_GROUP = '}'
static const char SCALE = 's'
static const char ANGLE = 'a'

Private Attributes

std::vector< char > letters_

Detailed Description

The alphabet for the Lindenmayer System.

See http://en.wikipedia.org/wiki/L-system#L-system_structure for definitions.

The Alphabet may consist of uppercase letters.

The following characters are reserved:


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends

Generated on Mon Apr 9 2012 20:25:18 for HyperspaceExplorer 0.7.1 by doxygen 1.7.4  -  Hosted bySourceForge.net Logo