#include <UT_Noise.h>
Public Types | |
| enum | UT_NoiseType { FAST, SPARSE, FAST_FIX, ALLIGATOR } |
Public Member Functions | |
| UT_Noise (unsigned seed=0) | |
| ~UT_Noise () | |
| void | setType (UT_NoiseType type=FAST) |
| void | setSeed (unsigned seed=0) |
| void | initialize (unsigned seed, UT_NoiseType type) |
| UT_NoiseType | getType () const |
| int | getSeed () const |
| fpreal | turbulence (const UT_Vector3 &pos, unsigned fractalDepth, fpreal rough=0.5F, fpreal atten=1) const |
| void | turbulence (const UT_Vector3 &pos, unsigned fractalDepth, UT_Vector3 &noise, fpreal rough=0.5F, fpreal atten=1) const |
| ut_NoiseVector * | getNoiseVector () |
Definition at line 56 of file UT_Noise.h.
| UT_Noise::UT_Noise | ( | unsigned | seed = 0 |
) | [explicit] |
| UT_Noise::~UT_Noise | ( | ) |
| ut_NoiseVector* UT_Noise::getNoiseVector | ( | ) | [inline] |
Definition at line 94 of file UT_Noise.h.
| int UT_Noise::getSeed | ( | ) | const [inline] |
Definition at line 84 of file UT_Noise.h.
| UT_NoiseType UT_Noise::getType | ( | void | ) | const [inline] |
Definition at line 83 of file UT_Noise.h.
| void UT_Noise::initialize | ( | unsigned | seed, | |
| UT_NoiseType | type | |||
| ) | [inline] |
Definition at line 75 of file UT_Noise.h.
| void UT_Noise::setSeed | ( | unsigned | seed = 0 |
) |
| void UT_Noise::setType | ( | UT_NoiseType | type = FAST |
) |
| void UT_Noise::turbulence | ( | const UT_Vector3 & | pos, | |
| unsigned | fractalDepth, | |||
| UT_Vector3 & | noise, | |||
| fpreal | rough = 0.5F, |
|||
| fpreal | atten = 1 | |||
| ) | const |
| fpreal UT_Noise::turbulence | ( | const UT_Vector3 & | pos, | |
| unsigned | fractalDepth, | |||
| fpreal | rough = 0.5F, |
|||
| fpreal | atten = 1 | |||
| ) | const |
1.5.9