vrecko
virtual reality framework
|
#include <lsgeode.h>
Public Member Functions | |
void | setTurtleType (const std::string &type) |
void | setTurtleType (TurtleType type) |
TurtleType | getTurtleType () |
void | setDefaultTurtleProperties (TurtleProperties &p) |
void | setDefaultTurtleProperties (int index) |
TurtleProperties & | getDefaultTurtleProperties () |
LSGeode (unsigned int index) | |
OSG geometric node with added
LSGeode::LSGeode | ( | unsigned int | index | ) |
TurtleProperties & LSGeode::getDefaultTurtleProperties | ( | ) |
Get default properties
TurtleType LSGeode::getTurtleType | ( | ) |
Get turtle type.
void LSGeode::setDefaultTurtleProperties | ( | TurtleProperties & | p | ) |
Set the default properties by copying another properties
p | This properties are copied |
void LSGeode::setDefaultTurtleProperties | ( | int | index | ) |
Set the default properties by gathering info about L-system from Configuration.
index | unique L-system ID |
void LSGeode::setTurtleType | ( | const std::string & | type | ) |
Set turtle type.
type | string is converted to turtle type and assigned to this LSGeode instance |
void LSGeode::setTurtleType | ( | TurtleType | type | ) |
Set turtle type.
type | this type is assigned to this LSGeode instance |