Main Page | Class Hierarchy | Class List | File List | Class Members

VNoise Class Reference

#include <noise.h>

Inheritance diagram for VNoise:

Noise< Vector3, Vector3 > List of all members.

Public Member Functions

 VNoise (NBase *ngx, NBase *ngy, NBase *ngz, long seedValue=123)
void seed (long seedValue)
Vector3 evalN (const Vector3 &p) const
Vector3 eval01 (const Vector3 &p) const

Detailed Description

Noise vector generator. Generates continous noisy 3D vector field.
Author:
Micha Riser


Constructor & Destructor Documentation

VNoise::VNoise NBase ngx,
NBase ngy,
NBase ngz,
long  seedValue = 123
[inline]
 

Constructor, takes 3 noise generator for the individual vector components. Generators are destroyed when the VNoise object gets destroyed.


Member Function Documentation

Vector3 VNoise::eval01 const Vector3 p  )  const [inline, virtual]
 

Noise in the range [0,1]

Implements Noise< Vector3, Vector3 >.

Vector3 VNoise::evalN const Vector3 p  )  const [inline, virtual]
 

Standard normal distributed noise

Implements Noise< Vector3, Vector3 >.


The documentation for this class was generated from the following file:
Generated on Thu Jan 27 12:16:07 2005 for raytracer.kdevelop by doxygen 1.3.8