Navigation menu |
A portable, open-source, coherent noise-generating library for C++ |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
noise::model::Line Class Reference |
Public Member Functions | |
Line () | |
Constructor. | |
Line (const module::Module &module) | |
Constructor. | |
bool | GetAttenuate () const |
Returns a flag indicating whether the output value is to be attenuated (moved toward 0.0) as the ends of the line segment are approached by the input value. | |
const module::Module & | GetModule () const |
Returns the noise module that is used to generate the output values. | |
double | GetValue (double p) const |
Returns the output value from the noise module given the one-dimensional coordinate of the specified input value located on the line segment. | |
void | SetAttenuate (bool att) |
Sets a flag indicating that the output value is to be attenuated (moved toward 0.0) as the ends of the line segment are approached. | |
void | SetEndPoint (double x, double y, double z) |
Sets the position ( x, y, z ) of the end of the line segment to choose values along. | |
void | SetModule (const module::Module &module) |
Sets the noise module that is used to generate the output values. | |
void | SetStartPoint (double x, double y, double z) |
Sets the position ( x, y, z ) of the start of the line segment to choose values along. |
|
Constructor.
|
|
Returns a flag indicating whether the output value is to be attenuated (moved toward 0.0) as the ends of the line segment are approached by the input value.
|
|
Returns the noise module that is used to generate the output values.
|
|
Returns the output value from the noise module given the one-dimensional coordinate of the specified input value located on the line segment.
If the value is not to be attenuated, p can safely range outside the 0.0 to 1.0 range; the output value will be extrapolated along the line that this segment is part of. |
|
Sets a flag indicating that the output value is to be attenuated (moved toward 0.0) as the ends of the line segment are approached.
|
|
Sets the position ( x, y, z ) of the end of the line segment to choose values along.
|
|
Sets the noise module that is used to generate the output values.
|
|
Sets the position ( x, y, z ) of the start of the line segment to choose values along.
|
© 2003-2005 Jason Bevins
The libnoise source documentation was generated by doxygen 1.3.9.1