LLTreeParams Class Reference

#include <lltreeparams.h>

List of all members.

Public Member Functions

 LLTreeParams ()
virtual ~LLTreeParams ()

Static Public Member Functions

static F32 ShapeRatio (EShapeRatio shape, F32 ratio)

Public Attributes

EShapeRatio mShape
 determines length/radius of branches on tree -- ie: general 'shape'
U8 mLevels
 number of recursive branch levels...limit to MAX_NUM_LEVELS
F32 mBaseSize
F32 mScale
F32 mScaleV
F32 mScale0
F32 mScaleV0
U8 mLobes
F32 mLobeDepth
F32 mFlare
F32 mFlarePercentage
U8 mFlareRes
U8 mLeaves
F32 mLeafScaleX
 scale of the leaves
F32 mLeafScaleY
F32 mLeafQuality
F32 mDownAngle [MAX_NUM_LEVELS-1]
F32 mDownAngleV [MAX_NUM_LEVELS-1]
F32 mRotate [MAX_NUM_LEVELS-1]
F32 mRotateV [MAX_NUM_LEVELS-1]
U8 mBranches [MAX_NUM_LEVELS-1]
F32 mLength [MAX_NUM_LEVELS]
F32 mLengthV [MAX_NUM_LEVELS]
F32 mRatio
 ~ ratio and ratiopower determine radius/length
F32 mRatioPower
F32 mTaper [MAX_NUM_LEVELS]
U8 mBaseSplits
 SEG SPLITTING.
F32 mSegSplits [MAX_NUM_LEVELS]
 num segsplits at first curve cross section of trunk
F32 mSplitAngle [MAX_NUM_LEVELS]
F32 mSplitAngleV [MAX_NUM_LEVELS]
F32 mCurve [MAX_NUM_LEVELS]
F32 mCurveV [MAX_NUM_LEVELS]
U8 mCurveRes [MAX_NUM_LEVELS]
F32 mCurveBack [MAX_NUM_LEVELS]
U8 mVertices [MAX_NUM_LEVELS]


Detailed Description

Definition at line 46 of file lltreeparams.h.


Constructor & Destructor Documentation

LLTreeParams::LLTreeParams (  ) 

Definition at line 45 of file lltreeparams.cpp.

References mBaseSize, mBaseSplits, mBranches, mCurve, mCurveBack, mCurveRes, mCurveV, mDownAngle, mDownAngleV, mFlare, mFlarePercentage, mFlareRes, mLeafQuality, mLeafScaleX, mLeafScaleY, mLeaves, mLength, mLengthV, mLevels, mLobeDepth, mLobes, mRatio, mRatioPower, mRotate, mRotateV, mScale, mScale0, mScaleV, mScaleV0, mSegSplits, mShape, mSplitAngle, mSplitAngleV, mTaper, mVertices, and SR_TEND_FLAME.

LLTreeParams::~LLTreeParams (  )  [virtual]

Definition at line 173 of file lltreeparams.cpp.


Member Function Documentation

F32 LLTreeParams::ShapeRatio ( EShapeRatio  shape,
F32  ratio 
) [static]

Definition at line 178 of file lltreeparams.cpp.

References f, F_PI, sinf, SR_CONICAL, SR_CYLINDRICAL, SR_ENVELOPE, SR_FLAME, SR_HEMISPHERICAL, SR_INVERSE_CONICAL, SR_SPHERICAL, SR_TAPERED_CYLINDRICAL, and SR_TEND_FLAME.


Member Data Documentation

F32 LLTreeParams::mBaseSize

Definition at line 74 of file lltreeparams.h.

Referenced by LLTreeParams().

U8 LLTreeParams::mBaseSplits

SEG SPLITTING.

Definition at line 150 of file lltreeparams.h.

Referenced by LLTreeParams().

U8 LLTreeParams::mBranches[MAX_NUM_LEVELS-1]

Definition at line 133 of file lltreeparams.h.

Referenced by LLTreeParams().

F32 LLTreeParams::mCurve[MAX_NUM_LEVELS]

Definition at line 156 of file lltreeparams.h.

Referenced by LLTreeParams().

F32 LLTreeParams::mCurveBack[MAX_NUM_LEVELS]

Definition at line 159 of file lltreeparams.h.

Referenced by LLTreeParams().

U8 LLTreeParams::mCurveRes[MAX_NUM_LEVELS]

Definition at line 158 of file lltreeparams.h.

Referenced by LLTreeParams().

F32 LLTreeParams::mCurveV[MAX_NUM_LEVELS]

Definition at line 157 of file lltreeparams.h.

Referenced by LLTreeParams().

F32 LLTreeParams::mDownAngle[MAX_NUM_LEVELS-1]

Definition at line 125 of file lltreeparams.h.

Referenced by LLTreeParams().

F32 LLTreeParams::mDownAngleV[MAX_NUM_LEVELS-1]

Definition at line 126 of file lltreeparams.h.

Referenced by LLTreeParams().

F32 LLTreeParams::mFlare

Definition at line 98 of file lltreeparams.h.

Referenced by LLTreeParams().

F32 LLTreeParams::mFlarePercentage

Definition at line 102 of file lltreeparams.h.

Referenced by LLTreeParams().

U8 LLTreeParams::mFlareRes

Definition at line 105 of file lltreeparams.h.

Referenced by LLTreeParams().

F32 LLTreeParams::mLeafQuality

Definition at line 118 of file lltreeparams.h.

Referenced by LLTreeParams().

F32 LLTreeParams::mLeafScaleX

scale of the leaves

Definition at line 115 of file lltreeparams.h.

Referenced by LLTreeParams().

F32 LLTreeParams::mLeafScaleY

Definition at line 115 of file lltreeparams.h.

Referenced by LLTreeParams().

U8 LLTreeParams::mLeaves

Definition at line 112 of file lltreeparams.h.

Referenced by LLTreeParams().

F32 LLTreeParams::mLength[MAX_NUM_LEVELS]

Definition at line 136 of file lltreeparams.h.

Referenced by LLTreeParams().

F32 LLTreeParams::mLengthV[MAX_NUM_LEVELS]

Definition at line 137 of file lltreeparams.h.

Referenced by LLTreeParams().

U8 LLTreeParams::mLevels

number of recursive branch levels...limit to MAX_NUM_LEVELS

Definition at line 71 of file lltreeparams.h.

Referenced by LLTreeParams().

F32 LLTreeParams::mLobeDepth

Definition at line 91 of file lltreeparams.h.

Referenced by LLTreeParams().

U8 LLTreeParams::mLobes

Definition at line 87 of file lltreeparams.h.

Referenced by LLTreeParams().

F32 LLTreeParams::mRatio

~ ratio and ratiopower determine radius/length

Definition at line 140 of file lltreeparams.h.

Referenced by LLTreeParams().

F32 LLTreeParams::mRatioPower

Definition at line 140 of file lltreeparams.h.

Referenced by LLTreeParams().

F32 LLTreeParams::mRotate[MAX_NUM_LEVELS-1]

Definition at line 129 of file lltreeparams.h.

Referenced by LLTreeParams().

F32 LLTreeParams::mRotateV[MAX_NUM_LEVELS-1]

Definition at line 130 of file lltreeparams.h.

Referenced by LLTreeParams().

F32 LLTreeParams::mScale

Definition at line 77 of file lltreeparams.h.

Referenced by LLTreeParams().

F32 LLTreeParams::mScale0

Definition at line 80 of file lltreeparams.h.

Referenced by LLTreeParams().

F32 LLTreeParams::mScaleV

Definition at line 77 of file lltreeparams.h.

Referenced by LLTreeParams().

F32 LLTreeParams::mScaleV0

Definition at line 80 of file lltreeparams.h.

Referenced by LLTreeParams().

F32 LLTreeParams::mSegSplits[MAX_NUM_LEVELS]

num segsplits at first curve cross section of trunk

Definition at line 151 of file lltreeparams.h.

Referenced by LLTreeParams().

EShapeRatio LLTreeParams::mShape

determines length/radius of branches on tree -- ie: general 'shape'

Definition at line 68 of file lltreeparams.h.

Referenced by LLTreeParams().

F32 LLTreeParams::mSplitAngle[MAX_NUM_LEVELS]

Definition at line 152 of file lltreeparams.h.

Referenced by LLTreeParams().

F32 LLTreeParams::mSplitAngleV[MAX_NUM_LEVELS]

Definition at line 153 of file lltreeparams.h.

Referenced by LLTreeParams().

F32 LLTreeParams::mTaper[MAX_NUM_LEVELS]

Definition at line 143 of file lltreeparams.h.

Referenced by LLTreeParams().

U8 LLTreeParams::mVertices[MAX_NUM_LEVELS]

Definition at line 162 of file lltreeparams.h.

Referenced by LLTreeParams().


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:11:54 2010 for Second Life Viewer by  doxygen 1.4.7