C# Class LibNoise.FilterModule

Base class for all filter module Provides some commons or usefull properties and constants
Inheritance: IModule
显示文件 Open project: everbytes/LibNoise Class Usage Examples

Protected Properties

Property Type Description
_frequency float
_gain float
_lacunarity float
_octaveCount float
_offset float
_source1D IModule1D
_source2D IModule2D
_source3D IModule3D
_source4D IModule4D
_spectralExponent float
_spectralWeights float[]

Protected Methods

Method Description
ComputeSpectralWeights ( ) : void

Calculates the spectral weights for each octave.

FilterModule ( ) : System

Template default constructor

FilterModule ( float frequency, float lacunarity, float exponent, float octaveCount ) : System

Template constructor

Method Details

ComputeSpectralWeights() protected method

Calculates the spectral weights for each octave.
protected ComputeSpectralWeights ( ) : void
return void

FilterModule() protected method

Template default constructor
protected FilterModule ( ) : System
return System

FilterModule() protected method

Template constructor
protected FilterModule ( float frequency, float lacunarity, float exponent, float octaveCount ) : System
frequency float
lacunarity float
exponent float
octaveCount float
return System

Property Details

_frequency protected_oe property

Frequency of the first octave
protected float _frequency
return float

_gain protected_oe property

protected float _gain
return float

_lacunarity protected_oe property

The lacunarity specifies the frequency multipler between successive octaves. The effect of modifying the lacunarity is subtle; you may need to play with the lacunarity value to determine the effects. For best results, set the lacunarity to a number between 1.5 and 3.5.
protected float _lacunarity
return float

_octaveCount protected_oe property

The number of octaves control the amount of detail of the noise. Adding more octaves increases the detail of the noise, but with the drawback of increasing the calculation time. An octave is one of the coherent-noise functions in a series of coherent-noise functions that are added together to form noise.
protected float _octaveCount
return float

_offset protected_oe property

protected float _offset
return float

_source1D protected_oe property

protected IModule1D _source1D
return IModule1D

_source2D protected_oe property

protected IModule2D _source2D
return IModule2D

_source3D protected_oe property

protected IModule3D _source3D
return IModule3D

_source4D protected_oe property

protected IModule4D _source4D
return IModule4D

_spectralExponent protected_oe property

protected float _spectralExponent
return float

_spectralWeights protected_oe property

protected float[] _spectralWeights
return float[]