Constructor.
Returns the @a x displacement module.
Returns the @a y displacement module.
Returns the @a z displacement module.
Sets the @a x, @a y, and @a z displacement modules.
Sets the @a x displacement module.
Sets the @a y displacement module.
Sets the @a z displacement module.
Destructor.
Returns a reference to a source module connected to this noise module.
Returns the number of source modules required by this noise module.
Generates an output value given the coordinates of the specified input value.
Connects a source module to this noise module.
An array containing the pointers to each source module required by this noise module.
@addtogroup libnoise @{ @addtogroup modules @{ @defgroup transformermodules Transformer Mods @addtogroup transformermodules @{ Noise module that uses three source modules to displace each coordinate of the input value before returning the output value from a source module.
@image html moduledisplace.png
Unlike most other noise modules, the index value assigned to a source module determines its role in the displacement operation: - Source module 0 (left in the diagram) outputs a value. - Source module 1 (lower left in the diagram) specifies the offset to apply to the @a x coordinate of the input value. - Source module 2 (lower center in the diagram) specifies the offset to apply to the @a y coordinate of the input value. - Source module 3 (lower right in the diagram) specifies the offset to apply to the @a z coordinate of the input value.
The GetValue() method modifies the ( @a x, @a y, @a z ) coordinates of the input value using the output values from the three displacement modules before retrieving the output value from the source module.
The module::Turbulence noise module is a special case of the displacement module; internally, there are three Perlin-noise modules that perform the displacement operation.
This noise module requires four source modules.