![]() |
vrecko
virtual reality framework
|
#include <lsgeode.h>
Public Types | |
| enum | Flags { DRAW_DEBUG_GEOMETRY = 0x00000001, MINIMIZE_TWIST = 0x00000002, DEGREES_TO_RADIANS = 0x00000004, SEPARATE_GEOMETRY_FOR_TRANSLUCENT = 0x00000008, USE_QUERIES = 0x00000010, DRAW_PIPE_CAPS = 0x00000100 } |
Public Member Functions | |
| TurtleProperties () | |
| void | clean () |
Public Attributes | |
| osg::ref_ptr< osg::Geometry > | geometry |
| pointer for quick access to geode's geometry More... | |
| osg::Matrixd | matrix |
| matrix of turtle position and orientation More... | |
| osg::Matrixd | lastMatrix |
| matrix of previous turtle position and orientation More... | |
| osg::Matrixd | lastFrame |
| matrix for storing not twisted frame for contour drawing More... | |
| double | length |
| default length of one step More... | |
| double | lengthMultiplier |
| default length multiplier More... | |
| double | angle |
| default angle of rotation More... | |
| double | angleMultiplier |
| default angle multiplier More... | |
| unsigned int | angleVariance |
| variance of angle - in percents More... | |
| double | radius |
| default radius of each segment More... | |
| double | radiusMultiplier |
| default radius multiplier More... | |
| double | texCoordT |
| current texture coordinate in T direction More... | |
| unsigned int | texRepeatingS |
| number of repeatings of texture arround contour - S direction More... | |
| unsigned int | curveDetail |
| detail of generalized pipe curves More... | |
| osg::Vec3 | controlPoint |
| coordinates of center point of each move. Used for curve generating and for texturing. More... | |
| unsigned int | flags |
| double | elasticityMultiplier |
| default multiplier of gravitropism elasticity and diatropism elasticity More... | |
| double | gravitropismElasticity |
| response of stems to gravity More... | |
| double | tropismElasticity |
| response to general tropism More... | |
| double | tropismAngle |
| angle of general tropism More... | |
| osg::Vec3d | tropismVector |
| direction of general tropism More... | |
| std::string * | modelFile |
| filename of model file - only for turtles that load models More... | |
| osg::ref_ptr< osg::Vec3dArray > | contour |
| contour vertices More... | |
| osg::ref_ptr< osg::Vec3dArray > | contourLastV |
| used for loft turtles - predecessing contour vertices More... | |
| osg::ref_ptr< osg::Vec3dArray > | contourLastN |
| used for loft turtles - predecessing contour normals More... | |
| unsigned int | contourDetail |
| detail of circle contour More... | |
| vector< osg::ref_ptr < osg::Vec3dArray > > | hemisphere |
| hemisphere template geometry More... | |
| double | debugGeometryScale |
| scale of debug geometry More... | |
Struct for storing properties of turtles
Boolean properties of turtle
|
inline |
|
inline |
Destructor of all objects in properties structure. This function is called in AbstractTurtle destructor.
| double AP_LSystem::TurtleProperties::angle |
default angle of rotation
| double AP_LSystem::TurtleProperties::angleMultiplier |
default angle multiplier
| unsigned int AP_LSystem::TurtleProperties::angleVariance |
variance of angle - in percents
| osg::ref_ptr<osg::Vec3dArray> AP_LSystem::TurtleProperties::contour |
contour vertices
| unsigned int AP_LSystem::TurtleProperties::contourDetail |
detail of circle contour
| osg::ref_ptr<osg::Vec3dArray> AP_LSystem::TurtleProperties::contourLastN |
used for loft turtles - predecessing contour normals
| osg::ref_ptr<osg::Vec3dArray> AP_LSystem::TurtleProperties::contourLastV |
used for loft turtles - predecessing contour vertices
| osg::Vec3 AP_LSystem::TurtleProperties::controlPoint |
coordinates of center point of each move. Used for curve generating and for texturing.
| unsigned int AP_LSystem::TurtleProperties::curveDetail |
detail of generalized pipe curves
| double AP_LSystem::TurtleProperties::debugGeometryScale |
scale of debug geometry
| double AP_LSystem::TurtleProperties::elasticityMultiplier |
default multiplier of gravitropism elasticity and diatropism elasticity
| unsigned int AP_LSystem::TurtleProperties::flags |
| osg::ref_ptr<osg::Geometry> AP_LSystem::TurtleProperties::geometry |
pointer for quick access to geode's geometry
| double AP_LSystem::TurtleProperties::gravitropismElasticity |
response of stems to gravity
| vector<osg::ref_ptr<osg::Vec3dArray> > AP_LSystem::TurtleProperties::hemisphere |
hemisphere template geometry
| osg::Matrixd AP_LSystem::TurtleProperties::lastFrame |
matrix for storing not twisted frame for contour drawing
| osg::Matrixd AP_LSystem::TurtleProperties::lastMatrix |
matrix of previous turtle position and orientation
| double AP_LSystem::TurtleProperties::length |
default length of one step
| double AP_LSystem::TurtleProperties::lengthMultiplier |
default length multiplier
| osg::Matrixd AP_LSystem::TurtleProperties::matrix |
matrix of turtle position and orientation
| std::string* AP_LSystem::TurtleProperties::modelFile |
filename of model file - only for turtles that load models
| double AP_LSystem::TurtleProperties::radius |
default radius of each segment
| double AP_LSystem::TurtleProperties::radiusMultiplier |
default radius multiplier
| double AP_LSystem::TurtleProperties::texCoordT |
current texture coordinate in T direction
| unsigned int AP_LSystem::TurtleProperties::texRepeatingS |
number of repeatings of texture arround contour - S direction
| double AP_LSystem::TurtleProperties::tropismAngle |
angle of general tropism
| double AP_LSystem::TurtleProperties::tropismElasticity |
response to general tropism
| osg::Vec3d AP_LSystem::TurtleProperties::tropismVector |
direction of general tropism