vrecko
virtual reality framework
|
#include <loftturtle.h>
Public Member Functions | |
LoftTurtle (void) | |
~LoftTurtle (void) | |
Public Member Functions inherited from AP_LSystem::MovingTurtle | |
virtual int | turnLeft (std::vector< Parameter > &p) |
virtual int | turnRight (std::vector< Parameter > &p) |
virtual int | pitchDown (std::vector< Parameter > &p) |
virtual int | pitchUp (std::vector< Parameter > &p) |
virtual int | rollLeft (std::vector< Parameter > &p) |
virtual int | rollRight (std::vector< Parameter > &p) |
virtual int | turnArround () |
virtual int | rollArround () |
virtual int | rollUntilHorizontal () |
virtual int | randomTurnPitchRoll (std::vector< Parameter > &p) |
virtual int | multiplyLength (std::vector< Parameter > &p) |
virtual int | multiplyRadius (std::vector< Parameter > &p) |
virtual int | multiplyAngle (std::vector< Parameter > &p) |
virtual int | multiplyTropismElasticity (std::vector< Parameter > &p) |
virtual int | multiplyGravitropismElasticity (std::vector< Parameter > &p) |
virtual int | drawForward (std::vector< Parameter > &p) |
virtual int | drawForwardHalf () |
virtual int | moveForward (std::vector< Parameter > &p) |
virtual int | moveForwardHalf () |
Public Member Functions inherited from AP_LSystem::AbstractTurtle | |
virtual int | initialize () |
virtual int | finalize () |
virtual int | resetValues () |
TurtleProperties & | getProperties () |
virtual void | setProperties (TurtleProperties p) |
virtual void | inheritProperties (TurtleProperties p) |
void | bindGeode (LSGeode *geode) |
LSGeode * | getGeode () |
osg::Matrixd | getMatrix () |
virtual void | drawVector (const osg::Vec3d &vector, osg::Matrixd &matrix, osg::Vec4d &color) |
double | toRad (double angle) |
double | rand (double angle) |
Protected Member Functions | |
virtual int | drawStep (double dist) |
void | createCircleContour () |
virtual int | addContourLoftGeometry () |
virtual int | createLoftGeometryOpening () |
virtual int | insideStep () |
Protected Member Functions inherited from AP_LSystem::MovingTurtle | |
virtual int | makeRotate (osg::Quat &) |
virtual int | preRotate () |
virtual int | postRotate () |
virtual int | doStep (double dist) |
virtual int | preStep () |
virtual int | postStep () |
virtual void | drawFrame (osg::Matrixd &, osg::Vec4d *=NULL) |
virtual void | adjustMatrices () |
Additional Inherited Members | |
Protected Attributes inherited from AP_LSystem::AbstractTurtle | |
TurtleProperties | properties |
properties of turtle is used for getting parameters for generation of geometry More... | |
LSGeode * | geode |
all geometry generated by turtle is stored to this output geode More... | |
Abstract turtle for loft geometry (typically stems). Provides operations with contour and loft operation with it.
LoftTurtle::LoftTurtle | ( | void | ) |
LoftTurtle::~LoftTurtle | ( | void | ) |
|
protectedvirtual |
Creates a lofted contour.
|
inlineprotected |
Creates a circle countour of predefined detail. This contour is then used for loft operations.
|
protectedvirtual |
Create an openenig part of lofted geometry.
|
inlineprotectedvirtual |
Do a drawing step forward. Call preStep() before step, insideStep() in the middle of the step and postStep() performing the step
Reimplemented from AP_LSystem::MovingTurtle.
Reimplemented in AP_LSystem::HermitPipe.
|
inlineprotectedvirtual |
Reimplemented in AP_LSystem::StraightPipe.