vrecko
virtual reality framework
|
Classes | |
class | Abstract0LSystem |
class | AbstractFile |
class | AbstractGenerator |
class | AbstractInterpret |
class | AbstractkLSystem |
class | AbstractLSystem |
class | AbstractTurtle |
class | Configuration |
class | D0LSystem |
class | HermitPipe |
class | JointedPipe |
class | LoftTurtle |
class | Log |
class | LongString |
class | LSFile |
struct | TurtleProperties |
class | LSGeode |
class | LSObject |
class | LSystem |
class | LSystemException |
class | ParsingException |
class | FileException |
class | ConfigurationException |
class | LSystemGenerator |
class | MovingTurtle |
class | Par2LSystem |
class | ParD0LSystem |
class | ParseableString |
class | ParStoch0LSystem |
class | Query |
class | QueryInterpret |
class | QueryTurtle |
class | RandomIndex |
class | Randomizer |
class | Rectangle |
struct | Rule |
class | StaticString |
class | StraightPipe |
class | TurtleInterpret |
class | TurtleStack |
class | StringUtils |
struct | Parameter |
class | XmlFile |
Enumerations | |
enum | InterpretErrorCodes { LS_OK, LS_NOTIMPLEMENTED, LS_ERR_PAR_BADTYPE, LS_ERR_PAR_INVALIDCOUNT, LS_ERR_DRAWFORWARD_NEGATIVEDISTANCE, LS_ERR_STACK_UNKNOWN_TURTLE_TYPE, LS_ERR_STACK_NULL_LSGEODE } |
enum | LSystemCapabilities { LS_0L = 0x00000001, LS_1LL = 0x00000002, LS_1LR = 0x00000004, LS_2L = 0x00000008, LS_IL = 0x00000080, LS_DETERMINISTIC = 0x00000100, LS_STOCHASTIC = 0x00000200, LS_PARAMETRIC = 0x00010000 } |
enum | TurtleType { LS_TURTLE_JOINTEDPIPE, LS_TURTLE_STRAIGHTPIPE, LS_TURTLE_HERMITPIPE, LS_TURTLE_OBJMODEL, LS_TURTLE_RECTANGLE, LS_TURTLE_QUERY } |
Functions | |
const osg::Vec3d | HeadVec (0.0, 1.0, 0.0) |
Turtle head vector. More... | |
const osg::Vec3d | UpVec (1.0, 0.0, 0.0) |
Turtle up vector. More... | |
const osg::Vec3d | LeftVec (0.0, 0.0, 1.0) |
Turtle left vector. More... | |
const osg::Vec3d | Center (0.0, 0.0, 0.0) |
Position of turtle. More... | |
const osg::Vec4d | White (1.0, 1.0, 1.0, 1.0) |
White color. More... | |
std::basic_ostream< char > & | operator<< (std::basic_ostream< char > &os, const ParseableString ps) |
Error codes that returns methods during interpretation. Error codes are used instead of exception because of higher performance. Can be translated to error messages using AbstractInterpret::errorText() method.
Enumerator | |
---|---|
LS_OK |
OK. No error. |
LS_NOTIMPLEMENTED |
Method is not implemented. |
LS_ERR_PAR_BADTYPE |
Module has a different type. |
LS_ERR_PAR_INVALIDCOUNT |
Invalid count of module parameters. |
LS_ERR_DRAWFORWARD_NEGATIVEDISTANCE |
Forward step has a negative length. |
LS_ERR_STACK_UNKNOWN_TURTLE_TYPE |
Unknown turtle ID. |
LS_ERR_STACK_NULL_LSGEODE |
Turtle not binded with LSGeode. |
All L-system capabilities. L-system type is built as bitmap from this values.
Turtle types
const osg::Vec3d AP_LSystem::Center | ( | 0. | 0, |
0. | 0, | ||
0. | 0 | ||
) |
Position of turtle.
const osg::Vec3d AP_LSystem::HeadVec | ( | 0. | 0, |
1. | 0, | ||
0. | 0 | ||
) |
Turtle head vector.
const osg::Vec3d AP_LSystem::LeftVec | ( | 0. | 0, |
0. | 0, | ||
1. | 0 | ||
) |
Turtle left vector.
std::basic_ostream< char > & AP_LSystem::operator<< | ( | std::basic_ostream< char > & | os, |
const ParseableString | ps | ||
) |
Output operator
const osg::Vec3d AP_LSystem::UpVec | ( | 1. | 0, |
0. | 0, | ||
0. | 0 | ||
) |
Turtle up vector.
const osg::Vec4d AP_LSystem::White | ( | 1. | 0, |
1. | 0, | ||
1. | 0, | ||
1. | 0 | ||
) |
White color.