UT_Noise Class Reference

#include <UT_Noise.h>

List of all members.

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_NoiseVectorgetNoiseVector ()


Detailed Description

Definition at line 56 of file UT_Noise.h.


Member Enumeration Documentation

Enumerator:
FAST 
SPARSE 
FAST_FIX 
ALLIGATOR 

Definition at line 63 of file UT_Noise.h.


Constructor & Destructor Documentation

UT_Noise::UT_Noise ( unsigned  seed = 0  )  [explicit]

UT_Noise::~UT_Noise (  ) 


Member Function Documentation

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


The documentation for this class was generated from the following file:

Generated on Mon Jan 28 00:30:13 2013 for HDK by  doxygen 1.5.9