|
Navigation menu |
A portable, open-source, coherent noise-generating library for C++ |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
noise::module::ScalePoint Class Reference |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Public Member Functions | |
| ScalePoint () | |
| Constructor. | |
| 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. | |
| double | GetXScale () const |
| Returns the scaling factor applied to the x coordinate of the input value. | |
| double | GetYScale () const |
| Returns the scaling factor applied to the y coordinate of the input value. | |
| double | GetZScale () const |
| Returns the scaling factor applied to the z coordinate of the input value. | |
| void | SetScale (double scale) |
| Sets the scaling factor to apply to the input value. | |
| void | SetScale (double xScale, double yScale, double zScale) |
| Sets the scaling factor to apply to the ( x, y, z ) coordinates of the input value. | |
| void | SetXScale (double xScale) |
| Sets the scaling factor to apply to the x coordinate of the input value. | |
| void | SetYScale (double yScale) |
| Sets the scaling factor to apply to the y coordinate of the input value. | |
| void | SetZScale (double zScale) |
| Sets the scaling factor to apply to the z coordinate of the input value. | |
Protected Attributes | |
| double | m_xScale |
| Scaling factor applied to the x coordinate of the input value. | |
| double | m_yScale |
| Scaling factor applied to the y coordinate of the input value. | |
| double | m_zScale |
| Scaling factor applied to the z coordinate of the input value. | |
|
|
Constructor. The default scaling factor applied to the x coordinate is set to noise::module::DEFAULT_SCALE_POINT_X. The default scaling factor applied to the y coordinate is set to noise::module::DEFAULT_SCALE_POINT_Y. The default scaling factor applied to the z coordinate is set to noise::module::DEFAULT_SCALE_POINT_Z. |
|
|
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. |
|
|
Returns the scaling factor applied to the x coordinate of the input value.
|
|
|
Returns the scaling factor applied to the y coordinate of the input value.
|
|
|
Returns the scaling factor applied to the z coordinate of the input value.
|
|
||||||||||||||||
|
Sets the scaling factor to apply to the ( x, y, z ) coordinates of the input value.
|
|
|
Sets the scaling factor to apply to the input value.
|
|
|
Sets the scaling factor to apply to the x coordinate of the input value.
|
|
|
Sets the scaling factor to apply to the y coordinate of the input value.
|
|
|
Sets the scaling factor to apply to the z coordinate of the input value.
|
© 2003-2005 Jason Bevins
The libnoise source documentation was generated by doxygen 1.3.9.1