Navigation menu |
A portable, open-source, coherent noise-generating library for C++ |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
noise::module::RotatePoint Class Reference |
Public Member Functions | |
RotatePoint () | |
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 | GetXAngle () const |
Returns the rotation angle around the x axis to apply to the input value. | |
double | GetYAngle () const |
Returns the rotation angle around the y axis to apply to the input value. | |
double | GetZAngle () const |
Returns the rotation angle around the z axis to apply to the input value. | |
void | SetAngles (double xAngle, double yAngle, double zAngle) |
Sets the rotation angles around all three axes to apply to the input value. | |
void | SetXAngle (double xAngle) |
Sets the rotation angle around the x axis to apply to the input value. | |
void | SetYAngle (double yAngle) |
Sets the rotation angle around the y axis to apply to the input value. | |
void | SetZAngle (double zAngle) |
Sets the rotation angle around the z axis to apply to the input value. | |
Protected Attributes | |
double | m_x1Matrix |
An entry within the 3x3 rotation matrix used for rotating the input value. | |
double | m_x2Matrix |
An entry within the 3x3 rotation matrix used for rotating the input value. | |
double | m_x3Matrix |
An entry within the 3x3 rotation matrix used for rotating the input value. | |
double | m_xAngle |
x rotation angle applied to the input value, in degrees. | |
double | m_y1Matrix |
An entry within the 3x3 rotation matrix used for rotating the input value. | |
double | m_y2Matrix |
An entry within the 3x3 rotation matrix used for rotating the input value. | |
double | m_y3Matrix |
An entry within the 3x3 rotation matrix used for rotating the input value. | |
double | m_yAngle |
y rotation angle applied to the input value, in degrees. | |
double | m_z1Matrix |
An entry within the 3x3 rotation matrix used for rotating the input value. | |
double | m_z2Matrix |
An entry within the 3x3 rotation matrix used for rotating the input value. | |
double | m_z3Matrix |
An entry within the 3x3 rotation matrix used for rotating the input value. | |
double | m_zAngle |
z rotation angle applied to the input value, in degrees. |
|
Constructor. The default rotation angle around the x axis, in degrees, is set to noise::module::DEFAULT_ROTATE_X. The default rotation angle around the y axis, in degrees, is set to noise::module::DEFAULT_ROTATE_Y. The default rotation angle around the z axis, in degrees, is set to noise::module::DEFAULT_ROTATE_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 rotation angle around the x axis to apply to the input value.
|
|
Returns the rotation angle around the y axis to apply to the input value.
|
|
Returns the rotation angle around the z axis to apply to the input value.
|
|
Sets the rotation angles around all three axes to apply to the input value.
|
|
Sets the rotation angle around the x axis to apply to the input value.
|
|
Sets the rotation angle around the y axis to apply to the input value.
|
|
Sets the rotation angle around the z axis to apply to the input value.
|
© 2003-2005 Jason Bevins
The libnoise source documentation was generated by doxygen 1.3.9.1