Navigation menu |
A portable, open-source, coherent noise-generating library for C++ |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
noise::module::TranslatePoint Class Reference |
Public Member Functions | |
TranslatePoint () | |
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 | GetXTranslation () const |
Returns the translation amount to apply to the x coordinate of the input value. | |
double | GetYTranslation () const |
Returns the translation amount to apply to the y coordinate of the input value. | |
double | GetZTranslation () const |
Returns the translation amount to apply to the z coordinate of the input value. | |
void | SetTranslation (double translation) |
Sets the translation amount to apply to the input value. | |
void | SetTranslation (double xTranslation, double yTranslation, double zTranslation) |
Sets the translation amounts to apply to the ( x, y, z ) coordinates of the input value. | |
void | SetXTranslation (double xTranslation) |
Sets the translation amount to apply to the x coordinate of the input value. | |
void | SetYTranslation (double yTranslation) |
Sets the translation amount to apply to the y coordinate of the input value. | |
void | SetZTranslation (double zTranslation) |
Sets the translation amount to apply to the z coordinate of the input value. | |
Protected Attributes | |
double | m_xTranslation |
Translation amount applied to the x coordinate of the input value. | |
double | m_yTranslation |
Translation amount applied to the y coordinate of the input value. | |
double | m_zTranslation |
Translation amount applied to the z coordinate of the input value. |
|
Constructor. The default translation amount to apply to the x coordinate is set to noise::module::DEFAULT_TRANSLATE_POINT_X. The default translation amount to apply to the y coordinate is set to noise::module::DEFAULT_TRANSLATE_POINT_Y. The default translation amount to apply to the z coordinate is set to noise::module::DEFAULT_TRANSLATE_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 translation amount to apply to the x coordinate of the input value.
|
|
Returns the translation amount to apply to the y coordinate of the input value.
|
|
Returns the translation amount to apply to the z coordinate of the input value.
|
|
Sets the translation amounts to apply to the ( x, y, z ) coordinates of the input value.
|
|
Sets the translation amount to apply to the input value.
|
|
Sets the translation amount to apply to the x coordinate of the input value.
|
|
Sets the translation amount to apply to the y coordinate of the input value.
|
|
Sets the translation amount 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