Navigation menu |
A portable, open-source, coherent noise-generating library for C++ |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
noise::module::Billow Class Reference |
Public Member Functions | |
Billow () | |
Constructor. | |
double | GetFrequency () const |
Returns the frequency of the first octave. | |
double | GetLacunarity () const |
Returns the lacunarity of the billowy noise. | |
noise::NoiseQuality | GetNoiseQuality () const |
Returns the quality of the billowy noise. | |
int | GetOctaveCount () const |
Returns the number of octaves that generate the billowy noise. | |
double | GetPersistence () const |
Returns the persistence value of the billowy noise. | |
int | GetSeed () const |
Returns the seed value used by the billowy-noise function. | |
virtual int | GetSourceModuleCount () const |
Returns the number of source modules required by this noise module. | |
virtual double | GetValue (double x, double y, double z) const |
Generates an output value given the coordinates of the specified input value. | |
void | SetFrequency (double frequency) |
Sets the frequency of the first octave. | |
void | SetLacunarity (double lacunarity) |
Sets the lacunarity of the billowy noise. | |
void | SetNoiseQuality (noise::NoiseQuality noiseQuality) |
Sets the quality of the billowy noise. | |
void | SetOctaveCount (int octaveCount) |
Sets the number of octaves that generate the billowy noise. | |
void | SetPersistence (double persistence) |
Sets the persistence value of the billowy noise. | |
void | SetSeed (int seed) |
Sets the seed value used by the billowy-noise function. | |
Protected Attributes | |
double | m_frequency |
Frequency of the first octave. | |
double | m_lacunarity |
Frequency multiplier between successive octaves. | |
noise::NoiseQuality | m_noiseQuality |
Quality of the billowy noise. | |
int | m_octaveCount |
Total number of octaves that generate the billowy noise. | |
double | m_persistence |
Persistence value of the billowy noise. | |
int | m_seed |
Seed value used by the billowy-noise function. |
|
Constructor. The default frequency is set to noise::module::DEFAULT_BILLOW_FREQUENCY. The default lacunarity is set to noise::module::DEFAULT_BILLOW_LACUNARITY. The default number of octaves is set to noise::module::DEFAULT_BILLOW_OCTAVE_COUNT. The default persistence value is set to noise::module::DEFAULT_BILLOW_PERSISTENCE. The default seed value is set to noise::module::DEFAULT_BILLOW_SEED. |
|
Returns the frequency of the first octave.
|
|
Returns the lacunarity of the billowy noise.
|
|
Returns the quality of the billowy noise.
|
|
Returns the number of octaves that generate the billowy noise.
|
|
Returns the persistence value of the billowy noise.
|
|
Returns the seed value used by the billowy-noise function.
|
|
Returns the number of source modules required by this noise module.
Implements noise::module::Module. |
|
Generates an output value given the coordinates of the specified input value.
To determine the number of source modules required by this noise module, call the GetSourceModuleCount() method. Implements noise::module::Module. |
|
Sets the frequency of the first octave.
|
|
Sets the lacunarity of the billowy noise.
For best results, set the lacunarity to a number between 1.5 and 3.5. |
|
Sets the quality of the billowy noise.
|
|
Sets the number of octaves that generate the billowy noise.
The larger the number of octaves, the more time required to calculate the billowy-noise value. |
|
Sets the persistence value of the billowy noise.
For best results, set the persistence value to a number between 0.0 and 1.0. |
|
Sets the seed value used by the billowy-noise function.
|
© 2003-2005 Jason Bevins
The libnoise source documentation was generated by doxygen 1.3.9.1