HDK
|
#include <UT_Noise.h>
Public Types | |
enum | UT_NoiseType { FAST, SPARSE, FAST_FIX, ALLIGATOR } |
Public Member Functions | |
UT_Noise (unsigned seed=0, UT_NoiseType type=FAST) | |
~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_Vector3F &pos, unsigned fractalDepth, fpreal rough=0.5, fpreal atten=1.0) const |
void | turbulence (const UT_Vector3 &pos, unsigned fractalDepth, UT_Vector3 &noise, fpreal rough=0.5, fpreal atten=1.0) const |
void | turbulence (const UT_Vector3D &pos, unsigned fractalDepth, UT_Vector3D &noise, fpreal rough=0.5, fpreal atten=1.0) const |
const void * | getTextureData (int tex_index, int &xsize, int &ysize, int &comps, bool &fp) const |
Definition at line 28 of file UT_Noise.h.
Enumerator | |
---|---|
FAST | |
SPARSE | |
FAST_FIX | |
ALLIGATOR |
Definition at line 33 of file UT_Noise.h.
|
explicit |
UT_Noise::~UT_Noise | ( | ) |
|
inline |
Definition at line 66 of file UT_Noise.h.
const void* UT_Noise::getTextureData | ( | int | tex_index, |
int & | xsize, | ||
int & | ysize, | ||
int & | comps, | ||
bool & | fp | ||
) | const |
|
inline |
Definition at line 65 of file UT_Noise.h.
|
inline |
Definition at line 50 of file UT_Noise.h.
void UT_Noise::setSeed | ( | unsigned | seed = 0 | ) |
void UT_Noise::setType | ( | UT_NoiseType | type = FAST | ) |
fpreal UT_Noise::turbulence | ( | const UT_Vector3F & | pos, |
unsigned | fractalDepth, | ||
fpreal | rough = 0.5 , |
||
fpreal | atten = 1.0 |
||
) | const |
void UT_Noise::turbulence | ( | const UT_Vector3 & | pos, |
unsigned | fractalDepth, | ||
UT_Vector3 & | noise, | ||
fpreal | rough = 0.5 , |
||
fpreal | atten = 1.0 |
||
) | const |
void UT_Noise::turbulence | ( | const UT_Vector3D & | pos, |
unsigned | fractalDepth, | ||
UT_Vector3D & | noise, | ||
fpreal | rough = 0.5 , |
||
fpreal | atten = 1.0 |
||
) | const |