h o m e d o c u m e n t a t i o n c l a s s h i e r a r c h y

Noise Class Reference

#include <Noise.h>

List of all members.


Detailed Description

Class to provide Perlin Noise functionalities


Public Member Functions

 Noise ()
 ~Noise ()
float turbulence1 (float arg, float freq, float amp, unsigned oct=4)
float turbulence2 (Vec2f &v, float freq, float amp, unsigned oct=4)
float turbulence3 (Vec3f &v, float freq, float amp, unsigned oct=4)
float smoothNoise1 (float arg)
float smoothNoise2 (Vec2f &vec)
float smoothNoise3 (Vec3f &vec)

Constructor & Destructor Documentation

Noise  ) 
 

Builds a Noise object

~Noise  )  [inline]
 

Destructor


Member Function Documentation

float smoothNoise1 float  arg  ) 
 

Returns a smooth noise value for a 1D element

float smoothNoise2 Vec2f &  vec  ) 
 

Returns a smooth noise value for a 2D element

float smoothNoise3 Vec3f &  vec  ) 
 

Returns a smooth noise value for a 3D element

float turbulence1 float  arg,
float  freq,
float  amp,
unsigned  oct = 4
 

Returns a noise value for a 1D element

float turbulence2 Vec2f &  v,
float  freq,
float  amp,
unsigned  oct = 4
 

Returns a noise value for a 2D element

float turbulence3 Vec3f &  v,
float  freq,
float  amp,
unsigned  oct = 4
 

Returns a noise value for a 3D element


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